|
|
@@ -31,6 +31,7 @@ |
|
|
|
<view class="tSec2ListR"> |
|
|
|
<view class="tSec2ListBox"> |
|
|
|
<view class="tSec2ListT">{{ k.LessonName }}</view> |
|
|
|
<view class="tSec2ListTxt">{{ k.ClassName }}</view> |
|
|
|
<view class="tSec2ListTxt"> |
|
|
|
<text class="text-xxl cuIcon cuIcon-profile"></text> |
|
|
|
{{ k.EmpName }} |
|
|
@@ -97,11 +98,12 @@ export default { |
|
|
|
this.OFF('timeTable'); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async init() { |
|
|
|
// console.log(555) |
|
|
|
async init(obj) { |
|
|
|
//console.log(obj) |
|
|
|
let _this = this; |
|
|
|
_this.todayWeek = common.weekday(); |
|
|
|
_this.semester = common.judgeDate(); |
|
|
|
_this.todayWeek = common.weekday(obj); |
|
|
|
//console.log(_this.todayWeek) |
|
|
|
_this.semester = common.judgeDate(obj); |
|
|
|
_this.weekDayTime = 7 * common.oneDayTime(); |
|
|
|
_this.user = _this.GET_GLOBAL('loginUser'); |
|
|
|
_this.loadData(_this.todayWeek.Monday, _this.todayWeek.Sunday); |
|
|
@@ -208,23 +210,17 @@ export default { |
|
|
|
_this.TOAST(msg); |
|
|
|
} |
|
|
|
else { |
|
|
|
// var param = { |
|
|
|
// AcademicYearNo: data.AcademicYear, |
|
|
|
// ClassRoomNo: data.ClassRoomNo, |
|
|
|
// EmpNo: data.EmpNo, |
|
|
|
// LessonDate: data.LessonDate, |
|
|
|
// LessonNo: data.LessonNo, |
|
|
|
// LessonSortNo: data.LessonSortNo, |
|
|
|
// LessonTime: data.LessonTime, |
|
|
|
// Semester: data.Semester |
|
|
|
// }; |
|
|
|
this.NAV_TO('./leaveFrom', data, true); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
onfun(obj){ |
|
|
|
this.init(obj); |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.ON('timeTable', this.init); |
|
|
|
//this.ON('timeTable', this.init); |
|
|
|
this.ON('timeTable', this.onfun); |
|
|
|
this.init() |
|
|
|
} |
|
|
|
}; |
|
|
@@ -335,7 +331,7 @@ export default { |
|
|
|
.tSec2ListLi { |
|
|
|
border-bottom: 1px solid #d5eaf7; |
|
|
|
overflow: hidden; |
|
|
|
height: 60px; |
|
|
|
height: 64px; |
|
|
|
} |
|
|
|
.tSec2ListL { |
|
|
|
float: left; |
|
|
@@ -364,7 +360,7 @@ export default { |
|
|
|
.tSec2ListT { |
|
|
|
color: #3e3e3e; |
|
|
|
font-size: 15px; |
|
|
|
margin: 5px 0; |
|
|
|
margin: 2px 0; |
|
|
|
overflow: hidden; |
|
|
|
white-space: nowrap; |
|
|
|
text-overflow: ellipsis; |
|
|
|