From 9e77733ee364c86d31277338fce342a969d8e2e2 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sun, 24 Apr 2022 15:13:53 +0800 Subject: [PATCH] feat: There is no way the, --- .../pages/creatProcess/qbfs/common/formList.vue | 2 +- src/pages/processCenter/pages/creatProcess/qbfs/step3.vue | 3 ++- src/pages/processCenter/pages/creatProcess/qbfs/step4.vue | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue b/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue index cff1b8221..d24a98a89 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue @@ -898,7 +898,7 @@ export default { form: { handler: function (val) { if(val){ - this.$emit('formCancel', this.form, this.FBGBUSSFileList,this.LSBBBUSSFileList,this.BZSMBUSSFileList,this.QTWJBUSSFileList,this.GLWJBUSSFileList,this.FSDList,this.LXDList); + this.$emit('formCancel', this.form, this.FBGBUSSFileList,this.LSBBBUSSFileList,this.BZSMBUSSFileList,this.QTWJBUSSFileList,this.GLWJBUSSFileList,this.LXDList,this.FSDList); } }, deep: true //对象的深度验证 diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue index a568ff255..a622f08c0 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue @@ -178,6 +178,8 @@ export default { callback(new Error('请先在线编辑,再提交流程!')) } } + }else { + callback(new Error('请先在线编辑,再提交流程!')) } }; return { @@ -385,7 +387,6 @@ export default { this.choiceZRRList(type, title, id) }, formCancel (form, list1,list2,list3,list4,list5,list6,list7) { - console.log(form) this.qbfsForm = form this.FBGBUSSFileList = list1 this.LSBBBUSSFileList = list2 diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue index 299341e8c..8069a53e0 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue @@ -178,6 +178,8 @@ export default { callback(new Error('请先在线编辑,再提交流程!')) } } + }else { + callback(new Error('请先在线编辑,再提交流程!')) } }; const validateFsOnlineFile = async (rule, value, callback) => { @@ -192,6 +194,8 @@ export default { callback(new Error('请先在线编辑,再提交流程!')) } } + }else { + callback(new Error('请先在线编辑,再提交流程!')) } }; return { @@ -316,7 +320,7 @@ export default { this.qbfsForm.QCRBUSS=nameList; this.formKey++ } - if(data !== undefined && data && data.length > 0){ + if(data && data.length > 0){ const institutionIdList = this.unique(data.map(item => item.institutionId)).join(",") const institutionNameList = this.unique(data.map(item => item.institutionName)).join(",") this.qbfsForm.QCDWID = institutionIdList