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 = {}