diff --git a/src/views/lecturer/ExternalLecturer.vue b/src/views/lecturer/ExternalLecturer.vue index ddba1785..ae40b133 100644 --- a/src/views/lecturer/ExternalLecturer.vue +++ b/src/views/lecturer/ExternalLecturer.vue @@ -56,18 +56,10 @@
-
- +
+
@@ -535,7 +527,7 @@ export default { //调用接口 let ids = { id: state.editTeacherid, - newStatus: state.newStatus + status: state.newStatus } console.log(ids) updateTeacherState(ids).then((res) => { diff --git a/src/views/lecturer/ExternalTeaching.vue b/src/views/lecturer/ExternalTeaching.vue index cfe826b8..8525a81d 100644 --- a/src/views/lecturer/ExternalTeaching.vue +++ b/src/views/lecturer/ExternalTeaching.vue @@ -101,18 +101,10 @@
-
- +
+
@@ -1178,4 +1170,22 @@ const handleImport = () => { .ant-col-12{ height:80px; } +.tableBox { +padding-bottom: 20px; + margin: 20px 38px 30px; +::v-deep .ant-select-dropdown{ + display: inline-block; +} +::v-deep .ant-select-selection-item{ +margin-left: 3px; +} +::v-deep .ant-pagination-options-size-changer.ant-select{ +width: 84px; +} +.pa { +width: 100%; +display: flex; +justify-content: right; +} +} \ No newline at end of file diff --git a/src/views/lecturer/InsideLecturer.vue b/src/views/lecturer/InsideLecturer.vue index 5458e9cd..f589e6d0 100644 --- a/src/views/lecturer/InsideLecturer.vue +++ b/src/views/lecturer/InsideLecturer.vue @@ -105,8 +105,7 @@
-
- +
@@ -948,6 +947,8 @@ export default { state.deleteInTeacherdialog = false getTableDate(); } + }).catch((err)=>{ + state.deleteInTeacherdialog = false }) } //确认启用停用 @@ -955,13 +956,15 @@ export default { //调用接口 let ids = { id: state.editTeacherid, - newStatus: state.newStatus + status: state.newStatus } console.log(ids) updateTeacherState(ids).then((res) => { message.success("操作成功"); state.editTeacher = false getTableDate(); + }).catch((err)=>{ + state.editTeacher = false }) } //取消按钮 清空输入的数据 @@ -1491,4 +1494,22 @@ export default { ::v-deep .ant-modal-close { display: none; } - \ No newline at end of file +.tableBox { +padding-bottom: 20px; + margin: 20px 38px 30px; +::v-deep .ant-select-dropdown{ + display: inline-block; +} +::v-deep .ant-select-selection-item{ +margin-left: 3px; +} +::v-deep .ant-pagination-options-size-changer.ant-select{ +width: 84px; +} +.pa { +width: 100%; +display: flex; +justify-content: right; +} +} + \ No newline at end of file diff --git a/src/views/lecturer/InsideTeaching.vue b/src/views/lecturer/InsideTeaching.vue index 0f0f4b03..0971eb2f 100644 --- a/src/views/lecturer/InsideTeaching.vue +++ b/src/views/lecturer/InsideTeaching.vue @@ -124,10 +124,10 @@
-
- +
+
@@ -1593,4 +1593,22 @@ export default { ::v-deep .ant-select-multiple .ant-select-selection-item { height: 34px } +.tableBox { +padding-bottom: 20px; + margin: 20px 38px 30px; +::v-deep .ant-select-dropdown{ + display: inline-block; +} +::v-deep .ant-select-selection-item{ +margin-left: 3px; +} +::v-deep .ant-pagination-options-size-changer.ant-select{ +width: 84px; +} +.pa { +width: 100%; +display: flex; +justify-content: right; +} +} \ No newline at end of file diff --git a/src/views/lecturer/LookExternalLecturer.vue b/src/views/lecturer/LookExternalLecturer.vue index 59ec47f9..c874d173 100644 --- a/src/views/lecturer/LookExternalLecturer.vue +++ b/src/views/lecturer/LookExternalLecturer.vue @@ -84,7 +84,8 @@ ExternalLecturer