BUG 30381

This commit is contained in:
aixianling
2022-06-28 15:03:50 +08:00
parent e1760adf4e
commit 315d852eaf
2 changed files with 5 additions and 16 deletions

View File

@@ -112,14 +112,7 @@ export default {
isSelectImg: false, isSelectImg: false,
isSelectUnit: false, isSelectUnit: false,
isSelectPerson: false, isSelectPerson: false,
nodeObj: { nodeObj: {},
candidateApproverType: '1',
candidateList: [],
nodeIndex: '',
nodeName: '',
nodeType: '',
scopeCandidates: ''
},
indexType: '', indexType: '',
titleType: '', titleType: '',
bomIndex: '', bomIndex: '',
@@ -173,9 +166,7 @@ export default {
this.nodeObj = JSON.parse(JSON.stringify(item)); this.nodeObj = JSON.parse(JSON.stringify(item));
} else { } else {
this.titleType = '添加审批步骤'; this.titleType = '添加审批步骤';
if (this.form.processNodeList.length > 0) { this.init();
this.init();
}
} }
}, },
// 确定添加审批步骤 // 确定添加审批步骤
@@ -200,7 +191,7 @@ export default {
nodeIndex: '', nodeIndex: '',
nodeName: '', nodeName: '',
nodeType: '', nodeType: '',
scopeCandidates: '1' scopeCandidates: '1',
}; };
this.$refs['addForm'].resetFields(); this.$refs['addForm'].resetFields();
}, },

View File

@@ -117,7 +117,7 @@ export default {
isSelectImg: false, isSelectImg: false,
isSelectUnit: false, isSelectUnit: false,
isSelectPerson: false, isSelectPerson: false,
nodeObj: {areaFilter: [], annexEnable: null, pictureEnable: null}, nodeObj: {},
indexType: '', indexType: '',
titleType: '', titleType: '',
bomIndex: '', bomIndex: '',
@@ -173,9 +173,7 @@ export default {
this.nodeObj = this.$copy(item) this.nodeObj = this.$copy(item)
} else { } else {
this.titleType = '添加审批步骤'; this.titleType = '添加审批步骤';
if (this.form.processNodeList.length > 0) { this.init();
this.init();
}
} }
}, },
// 确定添加审批步骤 // 确定添加审批步骤