Merge branch 'hcb' of SH-Arbitrate/Mediation-Frontend into dev
This commit was merged in pull request #116.
This commit is contained in:
@@ -1232,6 +1232,18 @@ export default {
|
||||
this.$refs["ruleForm"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.addModifyData == 3) {
|
||||
this.formData.affiliate.applicant.forEach((item) => {
|
||||
// this.$set(item,"organizeFlag",0);
|
||||
// this.$set(item,"roleType",2)
|
||||
item.applicantAgent.organizeFlag = 0;
|
||||
item.applicantAgent.roleType = 2;
|
||||
})
|
||||
this.formData.affiliate.res.forEach((item) => {
|
||||
// this.$set(item,"organizeFlag",0);
|
||||
// this.$set(item,"roleType",4)
|
||||
item.resAgent.organizeFlag = 0;
|
||||
item.applicantAgent.roleType = 4;
|
||||
})
|
||||
this.modifyData(this.formData);
|
||||
} else if (this.addModifyData == 1) {
|
||||
this.insertFn(this.formData);
|
||||
|
||||
Reference in New Issue
Block a user