From 0c876fb615f610de6814afee23335c44c427432e Mon Sep 17 00:00:00 2001 From: zyn Date: Tue, 31 Jan 2023 16:33:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E5=88=B6=E4=BF=AE=E8=AE=A2?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=AE=A1=E6=8E=A7-=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E8=B5=B7=E8=8D=89-=E4=BC=81=E6=A0=87=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=20=E5=AF=BC=E8=87=B4=20=E8=B5=B7=E8=8D=89?= =?UTF-8?q?=E9=A1=B5=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbzxdjhgk/step1.vue | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue index 2fbf2dd7a..2ba6bd9a6 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue @@ -36,7 +36,8 @@ - + +
@@ -272,8 +273,12 @@ export default { delay, cancel }, + created() { + console.log(!!this.$route.query.taskIds) + }, data() { return { + isWrite:!this.$route.query.taskIds, disabledXX:!!this.$route.query.disabledXX, submitFlag: '', toggleType: '5', @@ -281,8 +286,9 @@ export default { active: "1", commentText: "", comName: "establish", - qbfsForm: {}, isTrue:true, + qbfsForm: {}, + componentKey:1, formLoading: false, approvalFlag: false, showFlag: true, @@ -379,7 +385,7 @@ export default { }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) - this.getFormFieldList(JSON.parse(JSON.stringify(processForm))) + this.getFormFieldList(processForm) } }).catch(e => { }) @@ -426,11 +432,11 @@ export default { this.comName = "establish" break } - this.qbfsForm = item.qbfsForm || JSON.parse(JSON.stringify(item)); - this.isTrue = false - this.$nextTick(()=>{ - this.isTrue = true - }) + this.qbfsForm = item.qbfsForm || item + // this.isTrue = false + // this.$nextTick(()=>{ + // this.isTrue = true + // }) // if (this.qbfsForm.bussSort){ // if(this.qbfsForm.bussSort instanceof Array){ // // if(this.getType(this.qbfsForm.bussSort) === 'array'){ @@ -466,6 +472,7 @@ export default { }, handleTabs(name) { this.active = name; + this.isWrite = true }, toggleComName(name) { this.qbfsForm = {}