|
@@ -8,6 +8,7 @@
|
|
append-to-body
|
|
append-to-body
|
|
fullscreen
|
|
fullscreen
|
|
@open="visibleChange"
|
|
@open="visibleChange"
|
|
|
|
+ @closed="disalogClosed"
|
|
>
|
|
>
|
|
<div slot="title">
|
|
<div slot="title">
|
|
<span class="el-dialog__title">新增命题申请</span>
|
|
<span class="el-dialog__title">新增命题申请</span>
|
|
@@ -169,7 +170,7 @@ export default {
|
|
this.flowList[0].type = "success";
|
|
this.flowList[0].type = "success";
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- async initData() {
|
|
|
|
|
|
+ initData() {
|
|
const examTaskDetail = Object.assign({}, initExamTaskDetail, {
|
|
const examTaskDetail = Object.assign({}, initExamTaskDetail, {
|
|
includePaper: this.examRule.includePaper,
|
|
includePaper: this.examRule.includePaper,
|
|
review: this.examRule.review,
|
|
review: this.examRule.review,
|
|
@@ -186,11 +187,13 @@ export default {
|
|
this.dataReady = true;
|
|
this.dataReady = true;
|
|
},
|
|
},
|
|
visibleChange() {
|
|
visibleChange() {
|
|
- this.dataReady = false;
|
|
|
|
- this.loading = false;
|
|
|
|
if (!this.flowList.length) this.getFlowList();
|
|
if (!this.flowList.length) this.getFlowList();
|
|
this.initData();
|
|
this.initData();
|
|
},
|
|
},
|
|
|
|
+ disalogClosed() {
|
|
|
|
+ this.dataReady = false;
|
|
|
|
+ this.loading = false;
|
|
|
|
+ },
|
|
dataChange(data) {
|
|
dataChange(data) {
|
|
// console.log(data);
|
|
// console.log(data);
|
|
Object.entries(data).forEach(([key, val]) => {
|
|
Object.entries(data).forEach(([key, val]) => {
|