mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-17 20:56:45 +08:00
Merge branch 'dev' of http://112.124.100.131/GFRS/ebiz-h5 into dev
This commit is contained in:
@@ -44,28 +44,24 @@
|
|||||||
<van-radio name="0" class="mr150 ml70">是</van-radio>
|
<van-radio name="0" class="mr150 ml70">是</van-radio>
|
||||||
<van-radio name="1">否</van-radio>
|
<van-radio name="1">否</van-radio>
|
||||||
</van-radio-group>
|
</van-radio-group>
|
||||||
<!-- {{ item.show }} -->
|
|
||||||
<div v-if="item.impartCode == '14a'">
|
|
||||||
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
||||||
<div v-if="it.questionType == '0'">
|
<div v-if="it.extra">
|
||||||
<van-field v-model="it.answer" placeholder="请输入" :label="it.questionContent" clearable v-validate="'required'" data-vv-name="答案" />
|
<van-field v-model="it.answer" placeholder="请输入" :label="it.questionContent" clearable v-validate="'required'" data-vv-name="答案" />
|
||||||
</div>
|
</div>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</div>
|
|
||||||
<div v-if="item.show">
|
<div v-if="item.show">
|
||||||
<div v-if="item.impartCode == '14a'">
|
|
||||||
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
||||||
<div v-if="it.questionType != '0'">
|
<van-field
|
||||||
<van-field v-model="it.answer" placeholder="请输入" :label="it.questionContent" clearable v-validate="'required'" data-vv-name="答案" />
|
v-model="it.answer"
|
||||||
</div>
|
placeholder="请输入"
|
||||||
|
:label="it.questionContent"
|
||||||
|
clearable
|
||||||
|
v-validate="'required'"
|
||||||
|
data-vv-name="答案"
|
||||||
|
v-if="!it.extra"
|
||||||
|
/>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
|
||||||
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
|
||||||
<van-field v-model="it.answer" placeholder="请输入" :label="it.questionContent" clearable v-validate="'required'" data-vv-name="答案" />
|
|
||||||
</van-cell-group>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
@@ -120,7 +116,7 @@ export default {
|
|||||||
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||||
// 获取告知消息
|
// 获取告知消息
|
||||||
this.information()
|
this.information()
|
||||||
//投被同人取到年纪性别去判断是是否显示内容
|
//投被同人取到年纪和性别去判断是是否显示内容
|
||||||
this.saleInsuredAge = utilsAge.getAge(this.saleInsuredInfo.birthday, new Date())
|
this.saleInsuredAge = utilsAge.getAge(this.saleInsuredInfo.birthday, new Date())
|
||||||
this.saleInsuredSex = this.saleInsuredInfo.sex
|
this.saleInsuredSex = this.saleInsuredInfo.sex
|
||||||
//投被不同人取到年纪和性别去判断是是否显示内容
|
//投被不同人取到年纪和性别去判断是是否显示内容
|
||||||
@@ -246,16 +242,6 @@ export default {
|
|||||||
// console.log(res)
|
// console.log(res)
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
res.productImpartLstDTO.impartDTOS.map(item => {
|
res.productImpartLstDTO.impartDTOS.map(item => {
|
||||||
// that.impartItemDTOS = item.impartItemDTOS
|
|
||||||
// console.log(item)
|
|
||||||
// if (item.impartType == '0' || item.impartType == '1') {
|
|
||||||
// item.impartItemDTOS.map(items => {
|
|
||||||
// if (items.impartCode == '14a') {
|
|
||||||
// // console.log('111111111111')
|
|
||||||
// items.show = true
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
item.impartItemDTOS.map(im => {
|
item.impartItemDTOS.map(im => {
|
||||||
// debugger
|
// debugger
|
||||||
im.impartAnswer = ''
|
im.impartAnswer = ''
|
||||||
@@ -271,21 +257,15 @@ export default {
|
|||||||
})
|
})
|
||||||
if (this.relationToAppnt == '1') {
|
if (this.relationToAppnt == '1') {
|
||||||
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
||||||
// console.log(index)
|
|
||||||
// gai
|
|
||||||
if (item.impartType == '1') {
|
if (item.impartType == '1') {
|
||||||
array.splice(index, 1)
|
array.splice(index, 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
|
||||||
// console.log(index)
|
|
||||||
// gai
|
|
||||||
if (item.impartType == '3') {
|
if (item.impartType == '3') {
|
||||||
array.splice(index, 1)
|
array.splice(index, 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// debugger
|
|
||||||
|
|
||||||
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
||||||
that.isShowList()
|
that.isShowList()
|
||||||
//投被同人时候判断
|
//投被同人时候判断
|
||||||
@@ -296,7 +276,6 @@ export default {
|
|||||||
//投被不同人时候判断
|
//投被不同人时候判断
|
||||||
this.activeNames.push(res.productImpartLstDTO.impartDTOS.length)
|
this.activeNames.push(res.productImpartLstDTO.impartDTOS.length)
|
||||||
}
|
}
|
||||||
// that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -316,11 +295,6 @@ export default {
|
|||||||
item.impartItemDTOS.map(i => {
|
item.impartItemDTOS.map(i => {
|
||||||
delete i.extra2
|
delete i.extra2
|
||||||
delete i.show
|
delete i.show
|
||||||
if (i.impartCode == '14a') {
|
|
||||||
i.questions.map(items => {
|
|
||||||
items.questionType = '4'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
obj = item
|
obj = item
|
||||||
return obj
|
return obj
|
||||||
@@ -338,11 +312,11 @@ export default {
|
|||||||
item.impartItemDTOS.map(i => {
|
item.impartItemDTOS.map(i => {
|
||||||
delete i.extra2
|
delete i.extra2
|
||||||
delete i.show
|
delete i.show
|
||||||
if (i.impartCode == '14a') {
|
// if (i.impartCode == '14a') {
|
||||||
i.questions.map(items => {
|
// i.questions.map(items => {
|
||||||
items.questionType = '4'
|
// items.questionType = '4'
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
})
|
})
|
||||||
objInsured = item
|
objInsured = item
|
||||||
return objInsured
|
return objInsured
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ export default {
|
|||||||
orderDTO: {
|
orderDTO: {
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
// orderNo: window.localStorage.getItem('orderNo')
|
// orderNo: window.localStorage.getItem('orderNo')
|
||||||
orderNo: '8186270000001106'
|
orderNo: '8186270000001169'
|
||||||
},
|
},
|
||||||
ebizSignDTOS: [
|
ebizSignDTOS: [
|
||||||
{
|
{
|
||||||
@@ -144,7 +144,7 @@ export default {
|
|||||||
// signId: that.appntSign.signId,
|
// signId: that.appntSign.signId,
|
||||||
signId: '245',
|
signId: '245',
|
||||||
// orderNo: window.localStorage.getItem('orderNo'),
|
// orderNo: window.localStorage.getItem('orderNo'),
|
||||||
orderNo: '8186270000001106',
|
orderNo: '8186270000001169',
|
||||||
documentStatus: '3',
|
documentStatus: '3',
|
||||||
signType: '1',
|
signType: '1',
|
||||||
baseEncryp: that.base64,
|
baseEncryp: that.base64,
|
||||||
|
|||||||
Reference in New Issue
Block a user