...
|
...
|
@@ -159,6 +159,7 @@ Page({ |
|
|
console.log(tempRist)
|
|
|
// 已经添加的主险
|
|
|
let tempMain_list = Object.assign(this.data.main_array, {})
|
|
|
console.log(type)
|
|
|
if (type == 'zhuxian') {
|
|
|
if (tempMain_list.length > 0) {
|
|
|
for (let i in tempProjectlist) {
|
...
|
...
|
@@ -167,7 +168,6 @@ Page({ |
|
|
tempProjectlist[i].choose_status = true
|
|
|
for (let g in tempProjectlist[i].title) {
|
|
|
tempProjectlist[i].title[g].t_id == tempMain_list[j].t_id ? tempProjectlist[i].title[g].label_state = true : ''
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -839,7 +839,7 @@ Page({ |
|
|
var FamilyId = this.data.FamilyId
|
|
|
let url = 'counselor/familyname'
|
|
|
let params = {
|
|
|
FamilyId: FamilyId||id,
|
|
|
FamilyId: FamilyId || id,
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
// console.log(res)
|
...
|
...
|
@@ -1149,9 +1149,12 @@ Page({ |
|
|
|
|
|
//获取编辑保单接口
|
|
|
getlistVerify(id) {
|
|
|
wx.setNavigationBarTitle({
|
|
|
title: '编辑保单',
|
|
|
})
|
|
|
let url = 'counselor/infordef'
|
|
|
let params = {
|
|
|
InfoId: this.data.inforid||id,
|
|
|
InfoId: this.data.inforid || id,
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
if (res.data.code == 200) {
|
...
|
...
|
@@ -1240,16 +1243,16 @@ Page({ |
|
|
// inforid: 0
|
|
|
// })
|
|
|
// }
|
|
|
options.inforid ? (that.getlistVerify(options.inforid),that.setData({
|
|
|
options.inforid ? (that.getlistVerify(options.inforid), that.setData({
|
|
|
inforid: options.inforid,
|
|
|
edit_state: true
|
|
|
})): ""
|
|
|
})) : ""
|
|
|
options.def_id ? that.setData({
|
|
|
def_id: options.def_id,
|
|
|
}) : ""
|
|
|
options.FamilyId ? (that.familyMember(options.FamilyId),that.setData({
|
|
|
options.FamilyId ? (that.familyMember(options.FamilyId), that.setData({
|
|
|
FamilyId: options.FamilyId
|
|
|
})):'';
|
|
|
})) : '';
|
|
|
|
|
|
// if (options.FamilyId != '') {
|
|
|
// this.familyMember()
|
...
|
...
|
@@ -1311,4 +1314,4 @@ Page({ |
|
|
onShareAppMessage: function() {
|
|
|
|
|
|
}
|
|
|
}) |
|
|
\ No newline at end of file |
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|