Commit 60812710 authored by 郭志伟's avatar 郭志伟

fix: 保单填写完善

parent 273bcb0b
export default {
// basicHost: "http://yapi.quantgroups.com/mock/329/",
basicHost: "http://192.168.29.211:8964/",
basicHost: "http://yapi.quantgroups.com/mock/329/",
// basicHost: "http://192.168.29.211:8964/",
wxAppId: "wx514de17b23d53a20"
};
......@@ -265,7 +265,12 @@ export default {
if (this.hasAutoSaveData(AUTO_SAVE_KEY)) {
this.getSaveInfoHandler(AUTO_SAVE_KEY, AUTO_SAVE_TARGET);
} else {
(this.showAuthXyqb || this.mongoToken) && this.relationChange();
const queryId = this.$route.query.userInfoSecId;
let relation = this.formData.relation;
if (queryId) {
relation = this.familyList.filter(item => item.userInfoSecId === queryId)[0].relation;
}
(this.showAuthXyqb || this.mongoToken) && this.relationChange(relation);
}
}
},
......
......@@ -579,7 +579,12 @@ export default {
if (this.hasAutoSaveData(AUTO_SAVE_KEY)) {
this.getSaveInfoHandler(AUTO_SAVE_KEY, AUTO_SAVE_TARGET);
} else {
(this.showAuthXyqb || this.mongoToken) && this.relationChange();
const queryId = this.$route.query.userInfoSecId;
let relation = this.formData.insuredUserInfo.relation;
if (queryId) {
relation = this.familyList.filter(item => item.userInfoSecId === queryId)[0].relation;
}
(this.showAuthXyqb || this.mongoToken) && this.relationChange(relation);
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment