周
月
@@ -195,7 +169,9 @@
调课不审批
-
设定【调课不审批】后,在教学信息系统中调课时,如果只是更改教员,或更改授课地点,调课申请会立即生效。而对于改变授课地点,调课申请会立即生效。而对于改变授课时间、增加或减少授课教员的调课申请依然不受该设置影响,依然需要逐级审批后才能生效。
+
+ 设定【调课不审批】后,在教学信息系统中调课时,如果只是更改教员,或更改授课地点,调课申请会立即生效。而对于改变授课地点,调课申请会立即生效。而对于改变授课时间、增加或减少授课教员的调课申请依然不受该设置影响,依然需要逐级审批后才能生效。
+
@@ -236,6 +212,8 @@ export default {
semesterList: [],
// 选中的学期数组
ids: [],
+ // 当前点击选中的学期
+ currentSemester: null,
// 非单个禁用
single: true,
// 非多个禁用
@@ -358,6 +336,10 @@ export default {
this.single = selection.length !== 1
this.multiple = !selection.length
},
+ /** 单击行选中变化:记录当前选中的学期,用于启用「编辑校历」 */
+ handleCurrentChange(currentRow) {
+ this.currentSemester = currentRow || null
+ },
/** 组装提交数据 */
buildPayload(form) {
const lockValue = form.lockValue !== undefined && form.lockValue !== null ? form.lockValue : ''
@@ -421,15 +403,15 @@ export default {
}
this.open = true
this.title = "学期信息 - 编辑"
- }).catch(() => {})
+ }).catch(() => { })
},
- /** 编辑校历按钮 */
- handleEditCalendar(row) {
- const nd = row && row.nd ? row.nd : this.ids[0]
- if (!nd) return
+ /** 编辑校历按钮:对当前选中的学期编辑校历 */
+ handleEditCalendar() {
+ const row = this.currentSemester
+ if (!row || !row.nd) return
this.$router.push({
path: '/teachBusiness/semester/semesterCalendar',
- query: { nd: nd, name: this.getSemesterName(nd) }
+ query: { nd: row.nd, name: this.getSemesterName(row.nd) }
})
},
/** 删除按钮 */
@@ -444,7 +426,7 @@ export default {
}).then(() => {
this.getList()
this.$modal.msgSuccess("删除成功")
- }).catch(() => {})
+ }).catch(() => { })
},
/** 提交表单 */
submitForm() {
@@ -465,7 +447,7 @@ export default {
this.$modal.msgSuccess(this.isAdd ? "新增成功" : "修改成功")
this.open = false
this.getList()
- }).catch(() => {})
+ }).catch(() => { })
}
})
},
diff --git a/frontend/src/views/teachBusiness/teachingTask/index.vue b/frontend/src/views/teachBusiness/teachingTask/index.vue
index 1ff0e646..e26aba51 100644
--- a/frontend/src/views/teachBusiness/teachingTask/index.vue
+++ b/frontend/src/views/teachBusiness/teachingTask/index.vue
@@ -60,9 +60,9 @@
无数据!
-
-
-
+
+
+
@@ -70,11 +70,11 @@
-
-
-
-
-
+
+
+
+
+
详情
diff --git a/frontend/src/views/teachBusiness/timetable/index.vue b/frontend/src/views/teachBusiness/timetable/index.vue
index 38347f3d..ad328d5e 100644
--- a/frontend/src/views/teachBusiness/timetable/index.vue
+++ b/frontend/src/views/teachBusiness/timetable/index.vue
@@ -90,14 +90,6 @@
下一周
-
-
diff --git a/frontend/src/views/teachBusiness/timetableAdjust/index.vue b/frontend/src/views/teachBusiness/timetableAdjust/index.vue
index f3dc6b78..acf9bd7d 100644
--- a/frontend/src/views/teachBusiness/timetableAdjust/index.vue
+++ b/frontend/src/views/teachBusiness/timetableAdjust/index.vue
@@ -2,7 +2,6 @@
-
调课申请统计(当前页)
-
-
+
+
{{ scope.row.sqjyxm || scope.row.sqjybh || '-' }}
-
-
+
+
{{ fmtRqJc(scope.row.rq, scope.row.jc) }}
-
-
+
+
{{ auditStatusTag(scope.row.jyspzzt).label }}
-
+
{{ receiveStatusTag(scope.row.jyscszt).label }}
@@ -76,7 +75,7 @@
{{ fmtDateTime(scope.row.cjsj) }}
-
+
详情
diff --git a/frontend/src/views/teachBusiness/trainingPlan/index.vue b/frontend/src/views/teachBusiness/trainingPlan/index.vue
index 67cc4f44..be3ec9d4 100644
--- a/frontend/src/views/teachBusiness/trainingPlan/index.vue
+++ b/frontend/src/views/teachBusiness/trainingPlan/index.vue
@@ -6,22 +6,22 @@
-
+
-
+
-
+
-
+
@@ -65,17 +65,17 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
{{ fmtYesNo(scope.row.zgzy) }}
@@ -92,7 +92,7 @@
{{ fmtDateTime(scope.row.tysj) }}
-
+
详情
编辑
@@ -122,7 +122,7 @@
-
+
@@ -495,7 +495,8 @@ export default {
return this.isTrue(val) ? '是' : '否'
},
fmtDateTime(val) {
- return (val || '').substring(0, 19) || '-'
+ const s = (val || '').substring(0, 10)
+ return s || '-'
},
fmtVal(val) {
return val === '' || val === null || val === undefined ? '-' : val
diff --git a/frontend/src/views/teachBusiness/venue/index.vue b/frontend/src/views/teachBusiness/venue/index.vue
index 561b433b..a43982e7 100644
--- a/frontend/src/views/teachBusiness/venue/index.vue
+++ b/frontend/src/views/teachBusiness/venue/index.vue
@@ -55,11 +55,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -74,8 +74,8 @@
-
-
+
+
编辑
删除
@@ -100,11 +100,6 @@
:close-on-click-modal="false">
-
-
-
-
-
@@ -230,7 +225,6 @@ export default {
form: this.createEmptyForm()
},
rules: {
- id: [{ required: true, message: '请输入主键编号', trigger: 'blur' }],
jsbh: [{ required: true, message: '请输入教室编号', trigger: 'blur' }],
jsmc: [{ required: true, message: '请输入教室名称', trigger: 'blur' }]
}
diff --git a/frontend/src/views/teachOffice/teacher/index.vue b/frontend/src/views/teachOffice/teacher/index.vue
index e4ac3763..112a8cf2 100644
--- a/frontend/src/views/teachOffice/teacher/index.vue
+++ b/frontend/src/views/teachOffice/teacher/index.vue
@@ -50,26 +50,26 @@
@selection-change="handleSelectionChange">
-
-
-
+
+
+
{{ fmtGender(row.xb) }}
-
-
-
-
-
+
+
+
+
+
{{ fmtDateTime(row.cssj) || '-' }}
-
+
{{ fmtDateTime(row.rwgzsj) || '-' }}
-
-
+
+
{{ fmtXslx(row.xslx) }}
-
+
查看属性
编辑