This commit is contained in:
gyj
2024-03-07 17:34:06 +08:00
4 changed files with 33 additions and 21 deletions
+17 -11
View File
@@ -545,14 +545,6 @@ export default {
this.getUserInfoFn();
this.modelFlag = false;
this.buttonFlag = true;
this.formData = {
affiliate: {
organizeFlag: 0,
respondentSex: 0,
},
columnValueList: [],
caseAttachList: [],
};
} else if (val == 3) {
this.title = "修改案件";
this.modelFlag = true;
@@ -565,6 +557,20 @@ export default {
},
addVisable(val) {
if (val) {
if(this.addModifyData == 1){
this.formData = {
affiliate: {
organizeFlag: 0,
respondentSex: 0,
},
columnValueList: [],
caseAttachList: [],
};
this.$set(this.formData.affiliate, "applicationName", this.getUserInfoList.nickName);
this.$set(this.formData.affiliate, "code", this.getUserInfoList.idCard);
this.$set(this.formData.affiliate, "applicationEmail", this.getUserInfoList.email);
this.$set(this.formData.affiliate, "applicationPhone", this.getUserInfoList.phonenumber);
}
this.activeName = "first";
this.showmediate = false;
this.getTemplateFn();
@@ -605,7 +611,7 @@ export default {
if (item.annexType == 2) {
this.applicantEvidence.push(item);
} else if (item.annexType == 6) {
this.respondentEvidence.push(item);
// this.respondentEvidence.push(item);
} else if (item.annexType == 7) {
this.showmediate = true
}
@@ -765,8 +771,8 @@ export default {
// this.$set(this.formData.affiliate, 'applicantHome', this.formZipData.affiliate.applicantHome);
// this.$set(this.formData.affiliate, 'applicantAddress', this.formZipData.affiliate.applicantAddress);
// this.$set(this.formData.affiliate, 'contactTelphoneAgent', this.formZipData.affiliate.contactTelphoneAgent);
this.$set(this.formData.affiliate, 'nameAgent', this.formZipData.affiliate.nameAgent);
this.$set(this.formData.affiliate, 'agentEmail', this.formZipData.affiliate.agentEmail);
// this.$set(this.formData.affiliate, 'nameAgent', this.formZipData.affiliate.nameAgent);
// this.$set(this.formData.affiliate, 'agentEmail', this.formZipData.affiliate.agentEmail);
this.$set(this.formData.affiliate, 'respondentName', this.formZipData.affiliate.respondentName);
this.$set(this.formData.affiliate, 'respondentPhone', this.formZipData.affiliate.respondentPhone);
this.$set(this.formData.affiliate, 'respondentIdentityNum', this.formZipData.affiliate.respondentIdentityNum);