Commit 759e9c89 by wangzhihui

```

feat(longCourse): 优化配课功能并修复表格显示问题

- 在courseAllocation.vue中添加finally回调处理loading状态
- 移除multiple.vue中的调试console.log语句
- 为courseList.vue中的配课人员列添加固定宽度180px
```
1 parent f407e6e2
......@@ -607,13 +607,20 @@ export default {
this.submit(params)
},
submit(params) {
insertOrUpdate(params).then((res) => {
this.isFlag = true
this.notice.okTips("操作成功")
this.multipleVisible = false
this.selectStaffCourseList = []
this.$emit("handleConfigureCourse")
})
insertOrUpdate(params)
.then((res) => {
console.log(res)
this.isFlag = true
this.notice.okTips("操作成功")
this.multipleVisible = false
this.selectStaffCourseList = []
this.$emit("handleConfigureCourse")
})
.finally(() => {
if (this.$refs.multipleDialog) {
this.$refs.multipleDialog.loading = false
}
})
},
async handleSubmit() {
let params = this.handleParams()
......
......@@ -161,7 +161,6 @@ export default {
if (this.isFlag) {
this.isFlag = false
let arr = this.selectStaffList.filter((item) => item.active)
// console.log(arr)
this.$emit("handleMultiple", arr)
// this.visible = false
}
......
......@@ -318,7 +318,8 @@ export default {
},
{
label: "配课人员",
prop: "taskCreatedBy"
prop: "taskCreatedBy",
width: "180"
},
{
label: "课程配置时间",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!