...
|
...
|
@@ -16,7 +16,9 @@ Page({ |
|
|
insure: ['投保人', '投保人2'],
|
|
|
insureindex: -1,
|
|
|
beneficiary_list: [{
|
|
|
name_array: ['受益人1', '受益人2'],
|
|
|
// name_array: ['受益人1', '受益人2'],
|
|
|
// beneficiary_name:'',
|
|
|
name: '',
|
|
|
unit: ''
|
|
|
}],
|
|
|
beneficiaryindex: -1,
|
...
|
...
|
@@ -36,7 +38,7 @@ Page({ |
|
|
risk_list: [{
|
|
|
name: '',
|
|
|
mo: [],
|
|
|
project_time: '',
|
|
|
// project_time: '',
|
|
|
title: '',
|
|
|
num: ''
|
|
|
}],
|
...
|
...
|
@@ -52,15 +54,20 @@ Page({ |
|
|
InfoId: 0,
|
|
|
def_id: '',
|
|
|
edit_state: false,
|
|
|
risk_listitm: '',
|
|
|
// risk_listitm: '',
|
|
|
storge_state: false,
|
|
|
warranty_info: '请输入',
|
|
|
warranty_state: false,
|
|
|
warranty_info1: '请输入',
|
|
|
warranty_state1: false,
|
|
|
coverage: '',
|
|
|
focus: false,
|
|
|
},
|
|
|
cancleMask() {
|
|
|
this.setData({
|
|
|
popup_state: false,
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//保单号
|
|
|
policyNum(e) {
|
|
|
this.setData({
|
...
|
...
|
@@ -158,19 +165,28 @@ Page({ |
|
|
|
|
|
//保障项目弹窗
|
|
|
ensureProject(e) {
|
|
|
this.setData({
|
|
|
edit_state: true
|
|
|
})
|
|
|
console.log(this.data.projectlist)
|
|
|
if (this.data.inforid != 0) {
|
|
|
this.setData({
|
|
|
edit_state: true
|
|
|
})
|
|
|
}
|
|
|
|
|
|
|
|
|
let that = this;
|
|
|
let type = e.currentTarget.dataset.type;
|
|
|
let index = e.currentTarget.dataset.xulie;
|
|
|
let tempProjectlist = Object.assign(this.data.projectlist, {});
|
|
|
// 已经添加的附加险
|
|
|
let risk_list = Object.assign(this.data.risk_list, {});
|
|
|
// console.log(risk_list)
|
|
|
let tempRist = risk_list[index].mo;
|
|
|
console.log(tempRist)
|
|
|
|
|
|
|
|
|
if (type == 'fujiaxian') {
|
|
|
this.setData({
|
|
|
focus: true
|
|
|
})
|
|
|
}
|
|
|
|
|
|
// 已经添加的主险
|
|
|
let tempMain_list = Object.assign(this.data.main_array, {})
|
|
|
if (type == 'zhuxian') {
|
...
|
...
|
@@ -179,6 +195,7 @@ Page({ |
|
|
for (let j in tempMain_list) {
|
|
|
if (tempProjectlist[i].id == tempMain_list[j].id) {
|
|
|
tempProjectlist[i].choose_status = true
|
|
|
tempProjectlist[i].num = tempMain_list[j].num
|
|
|
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 : ''
|
|
|
|
...
|
...
|
@@ -193,8 +210,8 @@ Page({ |
|
|
for (let j in tempRist) {
|
|
|
if (tempProjectlist[i].id == tempRist[j].id) {
|
|
|
tempProjectlist[i].choose_status = true
|
|
|
tempProjectlist[i].num = tempRist[j].num
|
|
|
for (let g in tempProjectlist[i].title) {
|
|
|
console.log(tempProjectlist[i].title[g])
|
|
|
tempProjectlist[i].title[g].t_id == tempRist[j].t_id ? tempProjectlist[i].title[g].label_state = true : ''
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -279,7 +296,7 @@ Page({ |
|
|
var index = e.currentTarget.dataset.index;
|
|
|
var projectlist = this.data.projectlist;
|
|
|
projectlist[index].choose_status = !projectlist[index].choose_status;
|
|
|
// console.log(projectlist)
|
|
|
|
|
|
this.setData({
|
|
|
projectlist: projectlist,
|
|
|
})
|
...
|
...
|
@@ -319,7 +336,7 @@ Page({ |
|
|
tempRist[index]['mo'] = main_array;
|
|
|
that.setData({
|
|
|
risk_list: tempRist,
|
|
|
risk_listitm: tempRist
|
|
|
// risk_listitm: tempRist
|
|
|
})
|
|
|
console.log(this.data.risk_list)
|
|
|
} else {
|
...
|
...
|
@@ -381,45 +398,48 @@ Page({ |
|
|
|
|
|
//主险保障其
|
|
|
addRiskUnit(e) {
|
|
|
console.log(e)
|
|
|
var risk_list = this.data.risk_list
|
|
|
console.log(risk_list)
|
|
|
var index = e.currentTarget.dataset.index
|
|
|
risk_list[index].num = e.detail.value
|
|
|
console.log(risk_list)
|
|
|
this.setData({
|
|
|
risk_list: risk_list
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
//重组附加险整体数据结构
|
|
|
tempAddRisk() {
|
|
|
console.log('storte')
|
|
|
var risk_list = this.data.risk_list
|
|
|
|
|
|
console.log(risk_list)
|
|
|
var sub_array = []
|
|
|
var temp_risk = this.data.risk_listitm;
|
|
|
var temp = this.data.risk_listitm;
|
|
|
var temp_risk = this.data.risk_list;
|
|
|
var temp = this.data.risk_list;
|
|
|
|
|
|
for (var i = 0; i < temp.length; i++) {
|
|
|
for (var j = 0; j < temp[i].mo.length; j++) {
|
|
|
for (var k = 0; k < temp[i].mo[j].title.length; k++) {
|
|
|
if (temp[i].name != '') {
|
|
|
// var temp = {}
|
|
|
// var subtemp = {}
|
|
|
if (temp[i].mo[j].choose_status) {
|
|
|
if (temp[i].mo[j].title[k].label_state) {
|
|
|
temp_risk[i].name = temp[i].name
|
|
|
temp_risk[i].num = temp[i].num
|
|
|
temp_risk[i].title = temp[i].title
|
|
|
console.log(temp[i].title, temp_risk[i].title)
|
|
|
temp_risk[i].mo[j].t_id = temp[i].mo[j].title[k].t_id
|
|
|
temp_risk[i].mo[j].id = temp[i].mo[j].id
|
|
|
temp_risk[i].mo[j].name = temp[i].mo[j].name
|
|
|
temp_risk[i].mo[j].num = temp[i].mo[j].num
|
|
|
temp_risk[i].mo[j].title = temp[i].mo[j].title[k].name
|
|
|
console.log(temp_risk)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
console.log(temp_risk)
|
|
|
this.setData({
|
|
|
more: temp_risk
|
|
|
})
|
...
|
...
|
@@ -439,14 +459,18 @@ Page({ |
|
|
// 获取当前已选择的收益人
|
|
|
let tempBenefice = Object.assign(this.data.beneficiaryList, {})
|
|
|
// 当前选择的收益人
|
|
|
let nowPerson = beneficiary_list[index].name_array[e.detail.value];
|
|
|
// let nowPerson = beneficiary_list[index].name_array[e.detail.value];
|
|
|
// let nowPerson = beneficiary_list[index].beneficiary_name
|
|
|
let nowPerson = beneficiary_list[index].name
|
|
|
// 判断受益人是否已经添加
|
|
|
const add = tempBenefice.every((tempBenefice) => {
|
|
|
return tempBenefice != nowPerson
|
|
|
})
|
|
|
if (add) {
|
|
|
beneficiary_list[index].beneficiary_name = nowPerson;
|
|
|
// beneficiary_list[index].beneficiary_name = nowPerson;
|
|
|
beneficiary_list[index].name = nowPerson;
|
|
|
tempBenefice.push(nowPerson)
|
|
|
console.log(tempBenefice)
|
|
|
} else {
|
|
|
wx.showToast({
|
|
|
title: '请不要重复添加受益人',
|
...
|
...
|
@@ -475,6 +499,37 @@ Page({ |
|
|
this.setData({
|
|
|
beneficiary_list: beneficiary_list,
|
|
|
})
|
|
|
},
|
|
|
//添加收益比例
|
|
|
addUnit2(e) {
|
|
|
var beneficiary_list = this.data.beneficiary_list;
|
|
|
var index = e.currentTarget.dataset.index
|
|
|
beneficiary_list[index].unit = e.detail.value;
|
|
|
if (beneficiary_list[index].unit > 100) {
|
|
|
wx.showToast({
|
|
|
title: '请重新输入收益比例',
|
|
|
icon: 'none'
|
|
|
})
|
|
|
beneficiary_list[index].unit = 0
|
|
|
}
|
|
|
this.setData({
|
|
|
beneficiary_list: beneficiary_list,
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//添加受益人名字
|
|
|
addPeople(e) {
|
|
|
// console.log(e)
|
|
|
console.log(this.data.beneficiary_list)
|
|
|
var beneficiary_list = this.data.beneficiary_list;
|
|
|
|
|
|
var index = e.currentTarget.dataset.index
|
|
|
// beneficiary_list[beneficiary_list.length - 1].beneficiary_name = e.detail.value;
|
|
|
beneficiary_list[index].name = e.detail.value;
|
|
|
|
|
|
this.setData({
|
|
|
beneficiary_list: beneficiary_list,
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
...
|
...
|
@@ -482,9 +537,38 @@ Page({ |
|
|
addPersons(e) {
|
|
|
var list = this.data.beneficiary_list;
|
|
|
var len = list.length
|
|
|
if (list[len - 1].beneficiary_name == undefined) {
|
|
|
// if (list[len - 1].beneficiary_name == undefined) {
|
|
|
if (list[len - 1].name == undefined) {
|
|
|
wx.showToast({
|
|
|
title: '请输入受益人',
|
|
|
icon: 'none'
|
|
|
})
|
|
|
} else if (list[len - 1].unit == '') {
|
|
|
wx.showToast({
|
|
|
title: '请输入收益比',
|
|
|
icon: 'none'
|
|
|
})
|
|
|
} else {
|
|
|
list[len] = {
|
|
|
// name_array: this.data.insure,
|
|
|
// beneficiary_name:'',
|
|
|
name: '',
|
|
|
unit: ''
|
|
|
}
|
|
|
}
|
|
|
this.setData({
|
|
|
beneficiary_list: list
|
|
|
})
|
|
|
// console.log(this.data.beneficiary_list)
|
|
|
},
|
|
|
|
|
|
//添加受益人
|
|
|
addPersons2(e) {
|
|
|
var list = this.data.beneficiary_list;
|
|
|
var len = list.length
|
|
|
if (list[len - 1].name == undefined) {
|
|
|
wx.showToast({
|
|
|
title: '请选择受益人',
|
|
|
title: '请输入受益人',
|
|
|
icon: 'none'
|
|
|
})
|
|
|
} else if (list[len - 1].unit == '') {
|
...
|
...
|
@@ -495,7 +579,8 @@ Page({ |
|
|
})
|
|
|
} else {
|
|
|
list[len] = {
|
|
|
name_array: this.data.insure,
|
|
|
// name_array: this.data.insure,
|
|
|
name: '',
|
|
|
unit: ''
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -504,7 +589,6 @@ Page({ |
|
|
})
|
|
|
console.log(this.data.beneficiary_list)
|
|
|
},
|
|
|
|
|
|
//重组添加受益人
|
|
|
tempBeneficiary() {
|
|
|
var beneficiary_list = this.data.beneficiary_list
|
...
|
...
|
@@ -513,7 +597,7 @@ Page({ |
|
|
for (var i = 0; i < beneficiary_list.length; i++) {
|
|
|
var temp = {}
|
|
|
if (beneficiary_list[i].unit != '') {
|
|
|
temp.name = beneficiary_list[i].beneficiary_name
|
|
|
temp.name = beneficiary_list[i].name
|
|
|
temp.unit = beneficiary_list[i].unit;
|
|
|
}
|
|
|
tempfavoree1.push(temp)
|
...
|
...
|
@@ -530,7 +614,8 @@ Page({ |
|
|
let tempbenefict = Object.assign(this.data.beneficiary_list, {});
|
|
|
let beneficiaryList = Object.assign(this.data.beneficiaryList, {});
|
|
|
// 获取当前选项的受益人
|
|
|
let person = tempbenefict[index].beneficiary_name;
|
|
|
// let person = tempbenefict[index].beneficiary_name;
|
|
|
let person = tempbenefict[index].name;
|
|
|
tempbenefict.splice(index, 1);
|
|
|
if (person) beneficiaryList.splice(beneficiaryList.indexOf(person), 1)
|
|
|
|
...
|
...
|
@@ -552,7 +637,7 @@ Page({ |
|
|
risk_list[len] = {
|
|
|
name: '',
|
|
|
mo: [],
|
|
|
project_time: '',
|
|
|
// project_time: '',
|
|
|
title: '',
|
|
|
num: ''
|
|
|
}
|
...
|
...
|
@@ -681,8 +766,11 @@ Page({ |
|
|
})
|
|
|
}
|
|
|
var guarantee_name = e.detail.value
|
|
|
var warranty_two = this.data.warranty_two
|
|
|
warranty_two.num = guarantee_name
|
|
|
this.setData({
|
|
|
guarantee_name: e.detail.value
|
|
|
guarantee_name: e.detail.value,
|
|
|
warranty_two: warranty_two
|
|
|
})
|
|
|
this.countImpletionTime2()
|
|
|
},
|
...
|
...
|
@@ -772,8 +860,11 @@ Page({ |
|
|
})
|
|
|
}
|
|
|
var time_name = e.detail.value
|
|
|
var long_money = this.data.long_money
|
|
|
long_money.num = time_name
|
|
|
this.setData({
|
|
|
time_name: time_name
|
|
|
time_name: time_name,
|
|
|
long_money: long_money
|
|
|
})
|
|
|
this.countImpletionTime()
|
|
|
},
|
...
|
...
|
@@ -881,18 +972,18 @@ Page({ |
|
|
FamilyId: FamilyId || id,
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
// console.log(res)
|
|
|
var beneficiary_list = this.data.beneficiary_list
|
|
|
for (var i in beneficiary_list) {
|
|
|
beneficiary_list[i].name_array = res.data.data.list
|
|
|
}
|
|
|
// console.log(beneficiary_list)
|
|
|
// 受益人数组
|
|
|
// var beneficiary_list = this.data.beneficiary_list
|
|
|
// for (var i in beneficiary_list) {
|
|
|
// beneficiary_list[i].name_array = res.data.data.list
|
|
|
// }
|
|
|
|
|
|
|
|
|
if (res.data.code == 200) {
|
|
|
this.setData({
|
|
|
insure: res.data.data.list,
|
|
|
recognizee: res.data.data.list,
|
|
|
beneficiary_list: beneficiary_list,
|
|
|
// beneficiary_list: beneficiary_list,
|
|
|
})
|
|
|
}
|
|
|
})
|
...
|
...
|
@@ -984,8 +1075,15 @@ Page({ |
|
|
unit3 = type_money
|
|
|
var beneficiary_list = res.data.data.def.favoree
|
|
|
for (var obj in beneficiary_list) {
|
|
|
beneficiary_list[obj].beneficiary_name = beneficiary_list[obj].name
|
|
|
beneficiary_list[obj].name_array = this.data.insure
|
|
|
if (beneficiary_list[obj] != '') {
|
|
|
beneficiary_list[obj].name = beneficiary_list[obj].name
|
|
|
beneficiary_list[obj].unit = beneficiary_list[obj].unit
|
|
|
// beneficiary_list[obj].name_array = this.data.insure
|
|
|
} else {
|
|
|
beneficiary_list[0].name = ''
|
|
|
beneficiary_list[0].unit = ''
|
|
|
// beneficiary_list[obj].name_array = this.data.insure
|
|
|
}
|
|
|
}
|
|
|
|
|
|
this.setData({
|
...
|
...
|
@@ -1025,12 +1123,16 @@ Page({ |
|
|
this.tempburningTime()
|
|
|
this.tempMain()
|
|
|
this.tempAddRisk()
|
|
|
var favoree = JSON.stringify(this.data.tempfavoree)
|
|
|
if (this.data.tempfavoree.length == 1) {
|
|
|
var favoree = JSON.stringify(this.data.beneficiary_list)
|
|
|
} else {
|
|
|
var favoree = JSON.stringify(this.data.tempfavoree)
|
|
|
}
|
|
|
var warranty_two = JSON.stringify(this.data.warranty_two)
|
|
|
var long_money = JSON.stringify(this.data.long_money)
|
|
|
var more = JSON.stringify(this.data.more)
|
|
|
var guarantee = JSON.stringify(this.data.guarantee)
|
|
|
} else if (this.data.edit_state) {
|
|
|
} else if (this.data.edit_state || wx.getStorageSync('storge_state')) {
|
|
|
var favoree = JSON.stringify(this.data.beneficiary_list)
|
|
|
var warranty_two = JSON.stringify(this.data.warranty_two)
|
|
|
var long_money = JSON.stringify(this.data.long_money)
|
...
|
...
|
@@ -1042,7 +1144,11 @@ Page({ |
|
|
this.tempburningTime()
|
|
|
this.tempMain()
|
|
|
this.tempAddRisk()
|
|
|
var favoree = JSON.stringify(this.data.tempfavoree)
|
|
|
if (this.data.tempfavoree.length == 1) {
|
|
|
var favoree = JSON.stringify(this.data.beneficiary_list)
|
|
|
} else {
|
|
|
var favoree = JSON.stringify(this.data.tempfavoree)
|
|
|
}
|
|
|
var warranty_two = JSON.stringify(this.data.warranty_two)
|
|
|
var long_money = JSON.stringify(this.data.long_money)
|
|
|
var more = JSON.stringify(this.data.more)
|
...
|
...
|
@@ -1069,44 +1175,46 @@ Page({ |
|
|
var continue1 = e.detail.target.dataset.type
|
|
|
var complete = e.detail.target.dataset.type
|
|
|
|
|
|
// else if(firm == '') {
|
|
|
// warn = '请输入所属公司!'
|
|
|
// } else if (applicant == '') {
|
|
|
// warn = '请输入投保人!'
|
|
|
// } else if (recognizee == '') {
|
|
|
// warn = '请输入被保险人!'
|
|
|
// } else if (favoree == '') {
|
|
|
// warn = '请输入受益人!'
|
|
|
// } else if (bank_num == '') {
|
|
|
// warn = '请输入续费账号!'
|
|
|
// } else if (!(/^[0-9]+.?[0-9]*/.test(bank_num))) {
|
|
|
// warn = '请输入正确续费账号!'
|
|
|
// } else if (impletion_time == '') {
|
|
|
// warn = '请输入缴费期满日!'
|
|
|
// } else if (warranty_one == '') {
|
|
|
// warn = '请输入主险保障期!'
|
|
|
// } else if (more == '') {
|
|
|
// warn = '请输入附加险!'
|
|
|
// } else if (picurl.length == 2) {
|
|
|
// warn = '请选择图片!'
|
|
|
// } else if (compact_time == '') {
|
|
|
// warn = '请输入合同生效日!'
|
|
|
// } else if (warranty_two.num == '') {
|
|
|
// warn = '请输入保障期!'
|
|
|
// } else if (long_money.num == '') {
|
|
|
// warn = '请输入缴费时长!'
|
|
|
// } else if (type_money == '') {
|
|
|
// warn = '请输入缴费方式!'
|
|
|
// } else if (bank == '') {
|
|
|
// warn = '请输入续费银行!'
|
|
|
// }
|
|
|
|
|
|
if (in_num == '') {
|
|
|
warn = '请输入保单号!'
|
|
|
} else if (firm == '') {
|
|
|
warn = '请输入所属公司!'
|
|
|
} else if (applicant == '') {
|
|
|
warn = '请输入投保人!'
|
|
|
} else if (recognizee == '') {
|
|
|
warn = '请输入被保险人!'
|
|
|
} else if (favoree == '') {
|
|
|
warn = '请输入受益人!'
|
|
|
} else if (main_risks == '') {
|
|
|
warn = '请输入主险名称!'
|
|
|
} else if (coverage == '') {
|
|
|
warn = '请输入主险基本保额!'
|
|
|
} else if (year_money == '') {
|
|
|
warn = '请输入年交保费!'
|
|
|
} else if (compact_time == '') {
|
|
|
warn = '请输入合同生效日!'
|
|
|
} else if (warranty_two.num == '') {
|
|
|
warn = '请输入保障期!'
|
|
|
} else if (long_money.num == '') {
|
|
|
warn = '请输入缴费时长!'
|
|
|
} else if (type_money == '') {
|
|
|
warn = '请输入缴费方式!'
|
|
|
} else if (bank == '') {
|
|
|
warn = '请输入续费银行!'
|
|
|
} else if (bank_num == '') {
|
|
|
warn = '请输入续费账号!'
|
|
|
} else if (!(/^[0-9]+.?[0-9]*/.test(bank_num))) {
|
|
|
warn = '请输入正确续费账号!'
|
|
|
} else if (impletion_time == '') {
|
|
|
warn = '请输入缴费期满日!'
|
|
|
} else if (warranty_one == '') {
|
|
|
warn = '请输入主险保障期!'
|
|
|
} else if (more == '') {
|
|
|
warn = '请输入附加险!'
|
|
|
// else if (picurl.length == 2) {
|
|
|
// warn = '请选择图片!'
|
|
|
// }
|
|
|
|
|
|
warn = '请输入保费!'
|
|
|
} else {
|
|
|
flag = false
|
|
|
// 添加、修改保单接口调取
|
...
|
...
|
@@ -1143,14 +1251,17 @@ Page({ |
|
|
duration: 2000,
|
|
|
})
|
|
|
this.setData({
|
|
|
inforid: 0,
|
|
|
in_num: '',
|
|
|
firm: '',
|
|
|
applicant_name: '',
|
|
|
recognizee_name: '',
|
|
|
// beneficiary_list: [{
|
|
|
// name_array: [],
|
|
|
// unit: ''
|
|
|
// }],
|
|
|
// recognizee_name: '',
|
|
|
beneficiary_list: [{
|
|
|
// name_array: [],
|
|
|
name: '',
|
|
|
unit: ''
|
|
|
}],
|
|
|
coverage: '',
|
|
|
main_risks: '',
|
|
|
main_array: '',
|
|
|
year_money: '',
|
...
|
...
|
@@ -1161,7 +1272,13 @@ Page({ |
|
|
bank_num: '',
|
|
|
impletion_time: '',
|
|
|
warranty_one: '',
|
|
|
// risk_list:'',
|
|
|
risk_list: [{
|
|
|
name: '',
|
|
|
mo: [],
|
|
|
// project_time: '',
|
|
|
title: '',
|
|
|
num: ''
|
|
|
}],
|
|
|
imgs: '',
|
|
|
unit: '',
|
|
|
unit2: '',
|
...
|
...
|
@@ -1200,6 +1317,7 @@ Page({ |
|
|
InfoId: this.data.inforid || id,
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
console.log(res)
|
|
|
if (res.data.code == 200) {
|
|
|
var warranty_two = res.data.data.def.warranty_two
|
|
|
var unit = this.data.unit
|
...
|
...
|
@@ -1212,8 +1330,15 @@ Page({ |
|
|
unit3 = type_money
|
|
|
var beneficiary_list = res.data.data.def.favoree
|
|
|
for (var obj in beneficiary_list) {
|
|
|
beneficiary_list[obj].beneficiary_name = beneficiary_list[obj].name
|
|
|
beneficiary_list[obj].name_array = this.data.insure
|
|
|
if (beneficiary_list[obj] != '') {
|
|
|
beneficiary_list[obj].name = beneficiary_list[obj].name
|
|
|
beneficiary_list[obj].unit = beneficiary_list[obj].unit
|
|
|
// beneficiary_list[obj].name_array = this.data.insure
|
|
|
} else {
|
|
|
// beneficiary_list[0].name = ''
|
|
|
// beneficiary_list[0].unit = ''
|
|
|
// beneficiary_list[obj].name_array = this.data.insure
|
|
|
}
|
|
|
}
|
|
|
|
|
|
var risk_list = res.data.data.def.more
|
...
|
...
|
@@ -1285,9 +1410,13 @@ Page({ |
|
|
options.def_id ? that.setData({
|
|
|
def_id: options.def_id,
|
|
|
}) : ""
|
|
|
options.name ? (that.setData({
|
|
|
recognizee_name: options.name
|
|
|
})) : '';
|
|
|
options.FamilyId ? (that.familyMember(options.FamilyId), that.setData({
|
|
|
FamilyId: options.FamilyId
|
|
|
})) : '';
|
|
|
|
|
|
if (wx.getStorageSync('storge_state') && options.inforid == undefined) {
|
|
|
this.getStorage()
|
|
|
}
|
...
|
...
|
|