秀山需求变更
This commit is contained in:
@@ -84,8 +84,8 @@
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="附件图片">
|
||||
<el-checkbox v-model="nodeObj.annexEnable" label="1">附件</el-checkbox>
|
||||
<el-checkbox v-model="nodeObj.pictureEnable" label="1">图片</el-checkbox>
|
||||
<el-checkbox v-model="nodeObj.annexEnable" true-label="1" false-label="0">附件</el-checkbox>
|
||||
<el-checkbox v-model="nodeObj.pictureEnable" true-label="1" false-label="0">图片</el-checkbox>
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-form>
|
||||
@@ -117,14 +117,7 @@ export default {
|
||||
isSelectImg: false,
|
||||
isSelectUnit: false,
|
||||
isSelectPerson: false,
|
||||
nodeObj: {
|
||||
candidateApproverType: '1',
|
||||
candidateList: [],
|
||||
nodeIndex: '',
|
||||
nodeName: '',
|
||||
nodeType: '',
|
||||
scopeCandidates: ''
|
||||
},
|
||||
nodeObj: {},
|
||||
indexType: '',
|
||||
titleType: '',
|
||||
bomIndex: '',
|
||||
@@ -176,9 +169,7 @@ export default {
|
||||
if (index == 2) {
|
||||
this.titleType = '编辑审批步骤';
|
||||
item.nodeType = item.nodeType * 1;
|
||||
item.areaFilter = item.areaFilter * 1;
|
||||
item.candidateApproverType = item.candidateApproverType * 1;
|
||||
item.scopeCandidates = item.scopeCandidates * 1;
|
||||
this.nodeObj = this.$copy(item)
|
||||
} else {
|
||||
this.titleType = '添加审批步骤';
|
||||
@@ -191,7 +182,7 @@ export default {
|
||||
saveAddProgress() {
|
||||
this.$refs.addForm.validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.nodeObj.scopeCandidates == 0) this.nodeObj.candidateList = [];
|
||||
if (this.nodeObj.scopeCandidates == '0') this.nodeObj.candidateList = [];
|
||||
if (this.indexType == 1) {
|
||||
this.form.processNodeList.push(this.$copy(this.nodeObj));
|
||||
} else {
|
||||
@@ -209,7 +200,10 @@ export default {
|
||||
nodeIndex: '',
|
||||
nodeName: '',
|
||||
nodeType: '',
|
||||
scopeCandidates: '1'
|
||||
scopeCandidates: '1',
|
||||
annexEnable: null,
|
||||
pictureEnable: null,
|
||||
areaFilter: null
|
||||
};
|
||||
this.$refs.addForm?.resetFields();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user