Browse Source

bug#1889智能填表”提交“后应跳转到详情页,并刷新详情页的提交状态为”已提交“。

feture-12345
mk 9 months ago
parent
commit
3e6161248b
  1. 1
      src/views/modules/base/smartExcel/cpts/excel-view.vue
  2. 7
      src/views/modules/base/smartExcel/cpts/filling-info.vue

1
src/views/modules/base/smartExcel/cpts/excel-view.vue

@ -253,6 +253,7 @@ export default {
const { data, code, msg } = await requestPost(url, parm)
if (code === 0) {
this.$message.success('操作成功')
this.$emit('close')
} else {
console.log(msg);
}

7
src/views/modules/base/smartExcel/cpts/filling-info.vue

@ -142,7 +142,6 @@ export default {
},
methods: {
async getPeriodTaskList() {
console.log(this.formData, "sdfkljlksdf");
let parms = {
pageNo: 1,
pageSize: 100,
@ -164,8 +163,10 @@ export default {
this.infoObj = { id, taskId, taskTitle, taskPeriod, taskType, taskIntroduction }
});
},
close() {
this.showView = false
async close() {
this.showView = false;
await this.getDetail();
await this.getPeriodTaskList();
},
handleClickBack() {
this.$emit('close')

Loading…
Cancel
Save