-
+
@@ -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