入司代码优化

This commit is contained in:
mengxiaolong
2020-10-29 10:47:06 +08:00
parent f72879644d
commit 054ce508e5
13 changed files with 43 additions and 304 deletions

View File

@@ -175,11 +175,7 @@ export default {
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {}
// userModel: { //线上去掉
// mobile: '13000000000'
// }
}
agentAll(data).then(res => { agentAll(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
if (res.content.ebizRelationDtoLst.length != 0) { if (res.content.ebizRelationDtoLst.length != 0) {
@@ -332,9 +328,6 @@ export default {
}) })
let params = { let params = {
entryType: 'CUSTOMER_RELATION', entryType: 'CUSTOMER_RELATION',
// userModel: { //线上去掉
// mobile: '13000000000'
// },
ebizRelationDtoLst: {} ebizRelationDtoLst: {}
} }
params.ebizRelationDtoLst = that.userInfo params.ebizRelationDtoLst = that.userInfo

View File

@@ -94,7 +94,6 @@ export default {
}, },
mounted() { mounted() {
document.body.style.backgroundColor = '#fff' document.body.style.backgroundColor = '#fff'
// this.getImpart()
this.agentAll() this.agentAll()
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
@@ -136,12 +135,7 @@ export default {
//获取健康告知列表 //获取健康告知列表
getImpart(dataItemLst) { getImpart(dataItemLst) {
let that = this let that = this
let data = { let data = {}
// userModel: {
// //线上去掉
// mobile: '18888888888'
// }
}
that.$toast.loading({ that.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -150,7 +144,6 @@ export default {
}) })
getImpart(data).then(res => { getImpart(data).then(res => {
that.$toast.clear() that.$toast.clear()
console.log(res)
res.map((item, index) => { res.map((item, index) => {
if (dataItemLst && dataItemLst.length > 0) { if (dataItemLst && dataItemLst.length > 0) {
let showLst = dataItemLst.filter(itemC => { let showLst = dataItemLst.filter(itemC => {
@@ -162,17 +155,7 @@ export default {
item.bigCode = 'A' + index + 1 item.bigCode = 'A' + index + 1
if (item.itemDtoLst) { if (item.itemDtoLst) {
item.itemDtoLst.map((it, index) => { item.itemDtoLst.map((it, index) => {
// let showSubLst = showLst.filter(itemB => {
let showSubLst = showLst[0].itemDtoLst.filter(itemB => { let showSubLst = showLst[0].itemDtoLst.filter(itemB => {
console.log(
'!!!!!!!!!!',
item.itemDtoLst,
showLst,
showLst[0].itemDtoLst,
it,
itemB,
itemB.impartNo == it.impartNo && itemB.impartType == it.impartType
)
return itemB.impartNo == it.impartNo && itemB.impartType == it.impartType return itemB.impartNo == it.impartNo && itemB.impartType == it.impartType
}) })
if (showSubLst && showSubLst.length > 0) { if (showSubLst && showSubLst.length > 0) {
@@ -312,10 +295,6 @@ export default {
let params = { let params = {
entryType: 'CUSTOMER_ITEM', entryType: 'CUSTOMER_ITEM',
ebizItemDtoLst: {} ebizItemDtoLst: {}
// userModel: {
// //线上去掉
// mobile: '13000000000'
// }
} }
params.ebizItemDtoLst = that.impartDTOS params.ebizItemDtoLst = that.impartDTOS
saveOrUpdateInfo(params).then(res => { saveOrUpdateInfo(params).then(res => {
@@ -326,8 +305,6 @@ export default {
extra: { extra: {
url: location.origin + '/#/agentEenter/signContract', url: location.origin + '/#/agentEenter/signContract',
pullRefresh: '1' pullRefresh: '1'
// forbidSwipeBack: '1',
// backToFirst: '1'
}, },
routerInfo: { routerInfo: {
path: '/agentEenter/signContract' path: '/agentEenter/signContract'

View File

@@ -40,8 +40,6 @@
@click="toSelect('1')" @click="toSelect('1')"
required required
/> />
<!-- <van-field :value="census" label="户籍" name="户籍" v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="censusShow = true" /> -->
<!-- <van-field v-model="userInfo.homeProvince" label="户口所在地" name="户口所在地" v-validate="'required'" placeholder="请输入" /> -->
<van-field <van-field
:value="userInfo.rgtAddress | idToText('rsnativePlace')" :value="userInfo.rgtAddress | idToText('rsnativePlace')"
label="户口所在地" label="户口所在地"
@@ -54,18 +52,7 @@
maxlength="20" maxlength="20"
required required
/> />
<!-- <van-field v-model="userInfo.title" label="职称" name="职称" v-validate="'required'" placeholder="请输入" required /> -->
<van-field v-model="userInfo.title" label="职称" name="职称" placeholder="请输入" /> <van-field v-model="userInfo.title" label="职称" name="职称" placeholder="请输入" />
<!-- <van-field
:value="userInfo.health | idToText('rshealthCondition')"
label="健康状况"
name="健康状况"
v-validate="'required'"
readonly
right-icon="arrow"
placeholder="请选择"
@click="toSelect('3')"
/> -->
<van-field <van-field
:value="userInfo.marriage | idToText('rsmarriage')" :value="userInfo.marriage | idToText('rsmarriage')"
label="婚姻状况" label="婚姻状况"
@@ -105,18 +92,14 @@
label="所学专业" label="所学专业"
name="所学专业" name="所学专业"
placeholder="请输入" placeholder="请输入"
v-validate="Number(userInfo.degree) == 11 || Number(userInfo.degree) == 10 || Number(userInfo.degree) <= 4 ? 'required' : ''" :required="isDegreeRequired(userInfo.degree) === 'required'"
v-validate="isDegreeRequired(userInfo.degree)"
clearable clearable
/> />
<!-- <van-field v-model="userInfo.discipline" label="所学专业" name="所学专业" placeholder="请输入" v-validate="'required'" required clearable /> -->
<van-field v-model="userInfo.mobile" label="手机" name="手机" required readonly /> <van-field v-model="userInfo.mobile" label="手机" name="手机" required readonly />
<van-field :value="userInfo.idType | idToText('idType')" v-validate="'required'" label="证件类型" name="证件类型" required readonly /> <van-field :value="userInfo.idType | idToText('idType')" v-validate="'required'" label="证件类型" name="证件类型" required readonly />
<!-- <van-field v-model="userInfo.idNo" v-validate="'required|idNo'" maxlength="18" label="证件号码" name="证件号码" placeholder="请输入" clearable> --> <van-field v-model="userInfo.idNo" label="证件号码" readonly />
<van-field v-model="userInfo.idNo" label="证件号码" readonly>
<!-- <van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button> -->
</van-field>
<van-field v-model="userInfo.address" label="联系地址" name="联系地址" placeholder="请输入" v-validate="'required'" required clearable /> <van-field v-model="userInfo.address" label="联系地址" name="联系地址" placeholder="请输入" v-validate="'required'" required clearable />
<!-- <van-field v-model="userInfo.zip" label="邮政编码" name="邮政编码" placeholder="请输入" v-validate="'required|zipCode'" required clearable /> -->
<van-field v-model="userInfo.zip" label="邮政编码" name="邮政编码" placeholder="请输入" v-validate="'zipCode'" clearable /> <van-field v-model="userInfo.zip" label="邮政编码" name="邮政编码" placeholder="请输入" v-validate="'zipCode'" clearable />
<van-field <van-field
placeholder="请选择" placeholder="请选择"
@@ -128,13 +111,6 @@
required required
readonly readonly
/> />
<!-- @click="focus"
right-icon="arrow"
data-vv-name="开户银行" -->
<!-- <van-field v-model="userInfo.bankName" label="开户银行" name="开户银行" placeholder="请输入" v-validate="'required'" /> -->
<!-- <van-field v-model="bank" label="开户银行" placeholder="请选择" required @click="focus" v-validate="'required'" data-vv-name="开户银行" /> -->
<van-field v-model="userInfo.bankAddress" label="开户地" name="开户地" placeholder="请输入" v-validate="'required'" required clearable /> <van-field v-model="userInfo.bankAddress" label="开户地" name="开户地" placeholder="请输入" v-validate="'required'" required clearable />
<van-field v-model="userInfo.accountName" label="开户姓名" name="开户姓名" placeholder="请输入" v-validate="'required'" required clearable /> <van-field v-model="userInfo.accountName" label="开户姓名" name="开户姓名" placeholder="请输入" v-validate="'required'" required clearable />
<van-field <van-field
@@ -169,16 +145,6 @@
v-validate="'onlyInteger'" v-validate="'onlyInteger'"
clearable clearable
/> />
<!-- <van-field
v-model="userInfo.perationPeriod"
type="digit"
label="从业年限"
name="从业年限"
placeholder="请输入整数"
v-validate="'required|onlyInteger'"
required
clearable
/> -->
<van-field v-model="userInfo.oldCompany" label="原工作单位" name="原工作单位" placeholder="请输入" required v-validate="'required'" clearable /> <van-field v-model="userInfo.oldCompany" label="原工作单位" name="原工作单位" placeholder="请输入" required v-validate="'required'" clearable />
<van-field <van-field
:value="userInfo.oldOccupation | idToText('oldOccupation')" :value="userInfo.oldOccupation | idToText('oldOccupation')"
@@ -308,7 +274,6 @@ import { getBankList } from '@/api/ebiz/sale/sale'
import MinXin from '@/components/ebiz/account/mixins' import MinXin from '@/components/ebiz/account/mixins'
import { import {
selectComp, selectComp,
// appCallBack,
chooseOccupation, chooseOccupation,
toSelect, toSelect,
onConfirm, onConfirm,
@@ -387,8 +352,6 @@ export default {
columns: [], columns: [],
valueKey: 'text', valueKey: 'text',
census: '', //户籍 census: '', //户籍
// areaName: '', //单位地址
// homeName: '', //家庭地址
companyDefault: false, //设置公司地址为默认地址 companyDefault: false, //设置公司地址为默认地址
homeDefault: false, //设置家庭地址为默认地址 homeDefault: false, //设置家庭地址为默认地址
setDefaultAddress: false, //设为联系地址 setDefaultAddress: false, //设为联系地址
@@ -402,14 +365,12 @@ export default {
mobile: '', //移动电话 mobile: '', //移动电话
nativePlace: '', //籍贯 nativePlace: '', //籍贯
ethnic: '', //民族 ethnic: '', //民族
// homeProvince: '', //家庭省
health: '', //健康状况 health: '', //健康状况
marriage: '', //婚姻状况 marriage: '', //婚姻状况
political: '', //政治面貌 political: '', //政治面貌
degree: '', //学历 degree: '', //学历
school: '', // 学校 school: '', // 学校
discipline: '', // 专业 discipline: '', // 专业
// homePhone: '', //家庭电话
idType: '1', //证件类型 idType: '1', //证件类型
idNo: '', //证件号码 idNo: '', //证件号码
dateStart: '', //证件起始日期 dateStart: '', //证件起始日期
@@ -455,11 +416,15 @@ export default {
}, },
mounted() { mounted() {
// 筛选按钮的点击事件 // 筛选按钮的点击事件
// window.appCallBack = this.appCallBack
window.appCallBack = this.appCallBack window.appCallBack = this.appCallBack
this.agentAll() this.agentAll()
}, },
methods: { methods: {
isDegreeRequired(degree) {
degree = Number(degree)
if (degree === 11 || degree === 10 || degree <= 4) return 'required'
return ''
},
// 获取银行卡列表 // 获取银行卡列表
getBankList() { getBankList() {
let data = { let data = {
@@ -474,7 +439,6 @@ export default {
} }
}) })
}, },
getBank(bank) { getBank(bank) {
//获取银行名称 //获取银行名称
this.bankName = bank.bankName this.bankName = bank.bankName
@@ -482,11 +446,8 @@ export default {
}, },
//获取推荐人信息 //获取推荐人信息
agentAll() { agentAll() {
let data = { let data = {}
// userModel: { mobile: 13000000000 } //线上去掉 this.$toast.loading({
}
let that = this
that.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
loadingType: 'spinner', loadingType: 'spinner',
@@ -494,7 +455,7 @@ export default {
}) })
agentAll(data).then(res => { agentAll(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
that.$toast.clear() this.$toast.clear()
this.userInfo = res.content.ebizEnterCustomerDto this.userInfo = res.content.ebizEnterCustomerDto
this.bankCode = this.userInfo.bankCode this.bankCode = this.userInfo.bankCode
this.ebiz_referrer = res.content.ebizReferrerDto this.ebiz_referrer = res.content.ebizReferrerDto
@@ -512,7 +473,6 @@ export default {
} }
}) })
}, },
//监听名字变化 //监听名字变化
nameChange(name) { nameChange(name) {
this.userInfo.name = name this.userInfo.name = name
@@ -520,13 +480,11 @@ export default {
selectClick(index) { selectClick(index) {
selectComp(this, index, '1') selectComp(this, index, '1')
}, },
chooseOccupation() { chooseOccupation() {
chooseOccupation(this, '1') chooseOccupation(this, '1')
}, },
//弹框选择 //弹框选择
toSelect(pickerType, valueKey) { toSelect(pickerType, valueKey) {
console.log(pickerType)
toSelect(this, pickerType, valueKey, '1') toSelect(this, pickerType, valueKey, '1')
}, },
//确认选择字段 //确认选择字段
@@ -574,17 +532,10 @@ export default {
if (this.userInfo.name != this.userInfo.accountName) { if (this.userInfo.name != this.userInfo.accountName) {
return this.$toast('姓名与开户名要一致') return this.$toast('姓名与开户名要一致')
} }
// if (this.userInfo.bankName == '工商银行') {
// this.userInfo.bankName = '102'
// }
this.userInfo.bankName = getBankCode(this.bankList, this.bankName) this.userInfo.bankName = getBankCode(this.bankList, this.bankName)
if ( const degree = Number(this.userInfo.degree)
//学历为初中、小学、其他、文盲阻断入司 // 学历为初中、小学、其他、文盲阻断入司
Number(this.userInfo.degree) == 13 || if (degree == 13 || degree == 12 || degree == 8 || degree == 6) {
Number(this.userInfo.degree) == 12 ||
Number(this.userInfo.degree) == 8 ||
Number(this.userInfo.degree) == 6
) {
return this.$toast('您的学历不符合入司要求,不允许入司。') return this.$toast('您的学历不符合入司要求,不允许入司。')
} }
this.bankCodeConfirm() this.bankCodeConfirm()
@@ -634,10 +585,6 @@ export default {
getCode() { getCode() {
getCode(this, '1') getCode(this, '1')
}, },
//证件扫描
// goScan() {
// this.isScan = true
// },
//长期状态改变时 //长期状态改变时
effectiveDataTypeChange(val) { effectiveDataTypeChange(val) {
if (val) { if (val) {

View File

@@ -16,17 +16,6 @@
@click="toSelect('1')" @click="toSelect('1')"
required required
/> />
<!-- <van-field
:value="userInfo.type | idToText('classification')"
v-validate="'required'"
readonly
label="类别"
name="类别"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('2')"
required
/> -->
<van-field :value="userInfo.type | idToText('classification')" v-validate="'required'" readonly label="类别" name="类别" disabled /> <van-field :value="userInfo.type | idToText('classification')" v-validate="'required'" readonly label="类别" name="类别" disabled />
<van-field label="姓名" type="text" name="姓名" placeholder="请输入" v-validate="'required|name'" clearable v-model="userInfo.name" required /> <van-field label="姓名" type="text" name="姓名" placeholder="请输入" v-validate="'required|name'" clearable v-model="userInfo.name" required />
<select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" required :value.sync="userInfo.sex"></select-radio> <select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" required :value.sync="userInfo.sex"></select-radio>
@@ -43,8 +32,6 @@
/> />
<van-field label="单位" type="text" name="单位" placeholder="请输入" clearable v-model="userInfo.company" /> <van-field label="单位" type="text" name="单位" placeholder="请输入" clearable v-model="userInfo.company" />
<van-field label="家庭地址" type="text" name="家庭地址" placeholder="请输入" clearable v-model="userInfo.homeAdress" /> <van-field label="家庭地址" type="text" name="家庭地址" placeholder="请输入" clearable v-model="userInfo.homeAdress" />
<!-- <van-field label="单位" type="text" name="单位" placeholder="请输入" v-validate="'required'" clearable v-model="userInfo.company" required /> -->
<!-- <van-field label="家庭地址" type="text" name="家庭地址" placeholder="请输入" v-validate="'required'" clearable v-model="userInfo.homeAdress" required /> -->
<van-field <van-field
v-model="userInfo.mobile" v-model="userInfo.mobile"
label="手机号码" label="手机号码"
@@ -146,10 +133,7 @@ export default {
}, },
//信息返显 //信息返显
agentAll() { agentAll() {
let that = this let data = {}
let data = {
// userModel: { mobile: '13000000000' }, //线上去掉
}
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -157,9 +141,9 @@ export default {
message: '加载中……' message: '加载中……'
}) })
agentAll(data).then(res => { agentAll(data).then(res => {
that.$toast.clear() this.$toast.clear()
if (res.content.ebizGuarantorDto.length != 0) { if (res.content.ebizGuarantorDto.length != 0) {
that.userInfo = res.content.ebizGuarantorDto this.userInfo = res.content.ebizGuarantorDto
//性别返显 //性别返显
if (res.content.ebizGuarantorDto.sex == null) { if (res.content.ebizGuarantorDto.sex == null) {
this.userInfo.sex = '0' this.userInfo.sex = '0'
@@ -191,11 +175,9 @@ export default {
this.popupShow = false this.popupShow = false
if (this.pickerType == '1') { if (this.pickerType == '1') {
this.userInfo.relation = value.id this.userInfo.relation = value.id
// this.$forceUpdate()
} }
if (this.pickerType == '2') { if (this.pickerType == '2') {
this.userInfo.type = value.id this.userInfo.type = value.id
// this.$forceUpdate()
} }
}, },
// 下一步 // 下一步
@@ -221,8 +203,7 @@ export default {
}) })
}, },
save() { save() {
let that = this this.$toast.loading({
that.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
loadingType: 'spinner', loadingType: 'spinner',
@@ -230,12 +211,11 @@ export default {
}) })
let params = { let params = {
entryType: 'CUSTOMER_GUARANTOR', entryType: 'CUSTOMER_GUARANTOR',
// userModel: { mobile: '13000000000' }, //线上去掉
ebizGuarantorDto: {} ebizGuarantorDto: {}
} }
params.ebizGuarantorDto = that.userInfo params.ebizGuarantorDto = this.userInfo
saveOrUpdateInfo(params).then(res => { saveOrUpdateInfo(params).then(res => {
that.$toast.clear() this.$toast.clear()
if (res.result == '0') { if (res.result == '0') {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',

View File

@@ -224,13 +224,13 @@ export default {
} }
}, },
sign() { sign() {
// let that = this
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' message: '加载中……'
}) })
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: localStorage.idNo, number: localStorage.idNo,
@@ -273,6 +273,7 @@ export default {
if (this.isWeixin) { if (this.isWeixin) {
this.toAirSign('0', '担保人签名', '5', '1') this.toAirSign('0', '担保人签名', '5', '1')
} else { } else {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: localStorage.idNoD, number: localStorage.idNoD,
@@ -327,12 +328,7 @@ export default {
this.goBack() this.goBack()
} else { } else {
let data = { let data = {
// userModel: {
// mobile: '13000000000'
// },
baseEncryp: this.code == '0' ? this.base64 : this.base64D, baseEncryp: this.code == '0' ? this.base64 : this.base64D,
// otherBaseEncryp: this.base64D,
// baseEncryp: '123456',
ebizAgreementDto: this.appntSign ebizAgreementDto: this.appntSign
} }
console.log('baseEncryp', data.baseEncryp) console.log('baseEncryp', data.baseEncryp)
@@ -367,24 +363,6 @@ export default {
} }
}) })
} }
// }
// else {
// if (this.isReSign == '1') {
// // 您已签名
// this.$toast('您已签名')
// }
// }
// this.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + `/#/agentEenter/confirmation`
// },
// routerInfo: {
// path: `/agentEenter/confirmation`
// }
// })
}, },
goBack() { goBack() {
this.$jump({ this.$jump({
@@ -411,14 +389,12 @@ export default {
watch: { watch: {
listenChange(val) { listenChange(val) {
let that = this let that = this
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
that.isDisable = false that.isDisable = false
} else { } else {
that.isDisable = true that.isDisable = true
} }
// if (val.isOver == true && val.radio != '' && val.appntSign.signStateD !== '1') {
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
that.isDisableD = false that.isDisableD = false
} else { } else {

View File

@@ -3,7 +3,6 @@
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar> <van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe> <iframe :src="src + pdfUrl" class="iframe"></iframe>
<div class="fixed bottom0 left0 bg-white" style="width:100%"> <div class="fixed bottom0 left0 bg-white" style="width:100%">
<!-- <van-checkbox class="p15 pt20" v-model="radio" @click="click" shape="square">本人确认已阅读<span class="blue">个险营销员健康告知书</span></van-checkbox> -->
<van-radio-group v-model="radio" class="pb10 pt20 pl30"> <van-radio-group v-model="radio" class="pb10 pt20 pl30">
<van-radio name="1" @click="click" class="fs12"> <van-radio name="1" @click="click" class="fs12">
本人确认已阅读 本人确认已阅读
@@ -67,7 +66,6 @@ export default {
[Button.name]: Button, [Button.name]: Button,
[Radio.name]: Radio, [Radio.name]: Radio,
[RadioGroup.name]: RadioGroup, [RadioGroup.name]: RadioGroup,
// [CheckboxGroup.name]: CheckboxGroup,
[NoticeBar.name]: NoticeBar, [NoticeBar.name]: NoticeBar,
[Dialog.name]: Dialog [Dialog.name]: Dialog
}, },
@@ -132,7 +130,6 @@ export default {
} }
}, },
sign() { sign() {
// let that = this
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -170,9 +167,6 @@ export default {
} else { } else {
let that = this let that = this
let data = { let data = {
// userModel: {
// mobile: '13000000000'
// },
baseEncryp: that.base64, baseEncryp: that.base64,
ebizAgreementDto: that.appntSign ebizAgreementDto: that.appntSign
} }
@@ -205,16 +199,6 @@ export default {
} }
}) })
} }
// this.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + `/#/agentEenter/confirmation`
// },
// routerInfo: {
// path: `/agentEenter/confirmation`
// }
// })
}, },
goBack() { goBack() {
this.$jump({ this.$jump({
@@ -242,7 +226,6 @@ export default {
listenChange(val) { listenChange(val) {
let that = this let that = this
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
that.isDisable = false that.isDisable = false
} else { } else {
that.isDisable = true that.isDisable = true
@@ -253,10 +236,6 @@ export default {
} else { } else {
that.isDisabledComplite = true that.isDisabledComplite = true
} }
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
} }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {

View File

@@ -3,7 +3,6 @@
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar> <van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe> <iframe :src="src + pdfUrl" class="iframe"></iframe>
<div class="fixed bottom0 left0 bg-white" style="width:100%"> <div class="fixed bottom0 left0 bg-white" style="width:100%">
<!-- <van-checkbox class="p15 pt20" v-model="radio" @click="click" shape="square">本人确认已阅读<span class="blue">个险营销员健康告知书</span></van-checkbox> -->
<van-radio-group v-model="radio" class="pb10 pt20 pl30"> <van-radio-group v-model="radio" class="pb10 pt20 pl30">
<van-radio name="1" @click="click" class="fs12"> <van-radio name="1" @click="click" class="fs12">
本人确认已阅读 本人确认已阅读
@@ -22,7 +21,7 @@
</template> </template>
<script> <script>
import { Field, Icon, Button, Radio, CheckboxGroup, NoticeBar, Dialog, RadioGroup } from 'vant' import { Field, Icon, Button, Radio, NoticeBar, Dialog, RadioGroup } from 'vant'
import { agreementQuery, signAgreement } from '@/api/ebiz/agentEenter/agentEenter.js' import { agreementQuery, signAgreement } from '@/api/ebiz/agentEenter/agentEenter.js'
import config from '@/config' import config from '@/config'
import { filtSignList, getAgreementNextPagePath } from './js/methods' import { filtSignList, getAgreementNextPagePath } from './js/methods'
@@ -68,7 +67,6 @@ export default {
[Button.name]: Button, [Button.name]: Button,
[Radio.name]: Radio, [Radio.name]: Radio,
[RadioGroup.name]: RadioGroup, [RadioGroup.name]: RadioGroup,
// [CheckboxGroup.name]: CheckboxGroup,
[NoticeBar.name]: NoticeBar, [NoticeBar.name]: NoticeBar,
[Dialog.name]: Dialog [Dialog.name]: Dialog
}, },
@@ -83,11 +81,7 @@ export default {
//获取签署协议人信息 //获取签署协议人信息
agreementQuery() { agreementQuery() {
let that = this let that = this
let data = { let data = {}
// userModel: { //线上去掉
// mobile: '13000000000'
// }
}
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -138,7 +132,6 @@ export default {
} }
}, },
sign() { sign() {
// let that = this
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -176,11 +169,7 @@ export default {
} else { } else {
let that = this let that = this
let data = { let data = {
// userModel: {
// mobile: '13000000000'
// },
baseEncryp: that.base64, baseEncryp: that.base64,
// baseEncryp: '123456',
ebizAgreementDto: that.appntSign ebizAgreementDto: that.appntSign
} }
this.$toast.loading({ this.$toast.loading({
@@ -199,12 +188,10 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
// url: location.origin + `/#/agentEenter/Guarantee`
url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`, url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`,
pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0' pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0'
}, },
routerInfo: { routerInfo: {
// path: `/agentEenter/Guarantee`
path: `/agentEenter/${that.nextPagePath}?code=${that.code}` path: `/agentEenter/${that.nextPagePath}?code=${that.code}`
} }
}) })
@@ -214,16 +201,6 @@ export default {
} }
}) })
} }
// this.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + `/#/agentEenter/confirmation`
// },
// routerInfo: {
// path: `/agentEenter/confirmation`
// }
// })
}, },
goBack() { goBack() {
this.$jump({ this.$jump({
@@ -251,7 +228,6 @@ export default {
listenChange(val) { listenChange(val) {
let that = this let that = this
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
that.isDisable = false that.isDisable = false
} else { } else {
that.isDisable = true that.isDisable = true
@@ -263,10 +239,6 @@ export default {
} else { } else {
that.isDisabledComplite = true that.isDisabledComplite = true
} }
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
} }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {

View File

@@ -22,7 +22,7 @@
</template> </template>
<script> <script>
import { Field, Icon, Button, Radio, CheckboxGroup, NoticeBar, Dialog, RadioGroup } from 'vant' import { Field, Icon, Button, Radio, NoticeBar, Dialog, RadioGroup } from 'vant'
import { agreementQuery, signAgreement } from '@/api/ebiz/agentEenter/agentEenter.js' import { agreementQuery, signAgreement } from '@/api/ebiz/agentEenter/agentEenter.js'
import config from '@/config' import config from '@/config'
import { filtSignList, getAgreementNextPagePath } from './js/methods' import { filtSignList, getAgreementNextPagePath } from './js/methods'
@@ -46,19 +46,19 @@ export default {
isDisabledComplite: true, isDisabledComplite: true,
// 是否签名 true 签名 false 未签名 // 是否签名 true 签名 false 未签名
isSign: false, isSign: false,
//推荐人信息 // 推荐人信息
agentInfo: {}, agentInfo: {},
//协议list // 协议list
signList: [], signList: [],
//当前页面协议签署后下一页路由 // 当前页面协议签署后下一页路由
nextPagePath: '', nextPagePath: '',
//签署人 0-申请人 1-担保人 // 签署人 0-申请人 1-担保人
code: '', code: '',
// 推荐人签名信息 // 推荐人签名信息
appntSign: { appntSign: {
signState: '0' signState: '0'
}, },
//原生返回的加密包 // 原生返回的加密包
base64: '' base64: ''
} }
}, },
@@ -68,7 +68,6 @@ export default {
[Button.name]: Button, [Button.name]: Button,
[Radio.name]: Radio, [Radio.name]: Radio,
[RadioGroup.name]: RadioGroup, [RadioGroup.name]: RadioGroup,
// [CheckboxGroup.name]: CheckboxGroup,
[NoticeBar.name]: NoticeBar, [NoticeBar.name]: NoticeBar,
[Dialog.name]: Dialog [Dialog.name]: Dialog
}, },
@@ -83,11 +82,7 @@ export default {
//获取签署协议人信息 //获取签署协议人信息
agreementQuery() { agreementQuery() {
let that = this let that = this
let data = { let data = {}
// userModel: { //线上去掉
// mobile: '13000000000'
// }
}
that.$toast.loading({ that.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -138,13 +133,13 @@ export default {
} }
}, },
sign() { sign() {
// let that = this
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' message: '加载中……'
}) })
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: localStorage.idNo, number: localStorage.idNo,
@@ -175,11 +170,7 @@ export default {
} else { } else {
let that = this let that = this
let data = { let data = {
// userModel: { //线上去掉
// mobile: '13000000000'
// },
baseEncryp: that.base64, baseEncryp: that.base64,
// baseEncryp: '123456',
ebizAgreementDto: that.appntSign ebizAgreementDto: that.appntSign
} }
that.$toast.loading({ that.$toast.loading({
@@ -198,12 +189,10 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
// url: location.origin + `/#/agentEenter/MessageLetterOfCommitment`
url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`, url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`,
pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0' pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0'
}, },
routerInfo: { routerInfo: {
// path: `/agentEenter/MessageLetterOfCommitment`
path: `/agentEenter/${that.nextPagePath}?code=${that.code}` path: `/agentEenter/${that.nextPagePath}?code=${that.code}`
} }
}) })
@@ -213,15 +202,6 @@ export default {
} }
}) })
} }
// this.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + `/#/agentEenter/confirmation`
// },
// routerInfo: {
// path: `/agentEenter/confirmation`
// }
// })
}, },
goBack() { goBack() {
this.$jump({ this.$jump({
@@ -250,7 +230,6 @@ export default {
listenChange(val) { listenChange(val) {
let that = this let that = this
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
that.isDisable = false that.isDisable = false
} else { } else {
that.isDisable = true that.isDisable = true
@@ -262,10 +241,6 @@ export default {
} else { } else {
that.isDisabledComplite = true that.isDisabledComplite = true
} }
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
} }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {

View File

@@ -3,7 +3,6 @@
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar> <van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe> <iframe :src="src + pdfUrl" class="iframe"></iframe>
<div class="fixed bottom0 left0 bg-white" style="width:100%"> <div class="fixed bottom0 left0 bg-white" style="width:100%">
<!-- <van-checkbox class="p15 pt20" v-model="radio" @click="click" shape="square">本人确认已阅读<span class="blue">个险营销员健康告知书</span></van-checkbox> -->
<van-radio-group v-model="radio" class="pb10 pt20 pl30"> <van-radio-group v-model="radio" class="pb10 pt20 pl30">
<van-radio name="1" @click="click" class="fs12"> <van-radio name="1" @click="click" class="fs12">
本人确认已阅读 本人确认已阅读
@@ -22,7 +21,7 @@
</template> </template>
<script> <script>
import { Field, Icon, Button, Radio, CheckboxGroup, NoticeBar, Dialog, RadioGroup } from 'vant' import { Field, Icon, Button, Radio, NoticeBar, Dialog, RadioGroup } from 'vant'
import { agreementQuery, signAgreement } from '@/api/ebiz/agentEenter/agentEenter.js' import { agreementQuery, signAgreement } from '@/api/ebiz/agentEenter/agentEenter.js'
import config from '@/config' import config from '@/config'
import { filtSignList, getAgreementNextPagePath } from './js/methods' import { filtSignList, getAgreementNextPagePath } from './js/methods'
@@ -52,7 +51,6 @@ export default {
nextPagePath: '', nextPagePath: '',
//签署人 0-申请人 1-担保人 //签署人 0-申请人 1-担保人
code: '', code: '',
//推荐人信息 //推荐人信息
agentInfo: {}, agentInfo: {},
// 推荐人签名信息 // 推荐人签名信息
@@ -69,7 +67,6 @@ export default {
[Button.name]: Button, [Button.name]: Button,
[Radio.name]: Radio, [Radio.name]: Radio,
[RadioGroup.name]: RadioGroup, [RadioGroup.name]: RadioGroup,
// [CheckboxGroup.name]: CheckboxGroup,
[NoticeBar.name]: NoticeBar, [NoticeBar.name]: NoticeBar,
[Dialog.name]: Dialog [Dialog.name]: Dialog
}, },
@@ -84,11 +81,7 @@ export default {
//获取签署协议人信息 //获取签署协议人信息
agreementQuery() { agreementQuery() {
let that = this let that = this
let data = { let data = {}
// userModel: { //线上去掉
// mobile: '13000000000'
// }
}
that.$toast.loading({ that.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -146,6 +139,7 @@ export default {
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' message: '加载中……'
}) })
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: localStorage.idNo, number: localStorage.idNo,
@@ -176,11 +170,7 @@ export default {
} else { } else {
let that = this let that = this
let data = { let data = {
// userModel: {
// mobile: '13000000000'
// },
baseEncryp: that.base64, baseEncryp: that.base64,
// baseEncryp: '123456',
ebizAgreementDto: that.appntSign ebizAgreementDto: that.appntSign
} }
that.$toast.loading({ that.$toast.loading({
@@ -199,12 +189,10 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
// url: location.origin + `/#/agentEenter/IllegalLetterOfCommitment`
url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`, url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`,
pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0' pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0'
}, },
routerInfo: { routerInfo: {
// path: `/agentEenter/IllegalLetterOfCommitment`
path: `/agentEenter/${that.nextPagePath}?code=${that.code}` path: `/agentEenter/${that.nextPagePath}?code=${that.code}`
} }
}) })
@@ -214,16 +202,6 @@ export default {
} }
}) })
} }
// this.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + `/#/agentEenter/confirmation`
// },
// routerInfo: {
// path: `/agentEenter/confirmation`
// }
// })
}, },
goBack() { goBack() {
this.$jump({ this.$jump({
@@ -250,7 +228,6 @@ export default {
watch: { watch: {
listenChange(val) { listenChange(val) {
let that = this let that = this
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
that.isDisable = false that.isDisable = false
} else { } else {
@@ -263,10 +240,6 @@ export default {
} else { } else {
that.isDisabledComplite = true that.isDisabledComplite = true
} }
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
} }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {

View File

@@ -3,7 +3,6 @@
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar> <van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe> <iframe :src="src + pdfUrl" class="iframe"></iframe>
<div class="fixed bottom0 left0 bg-white" style="width:100%"> <div class="fixed bottom0 left0 bg-white" style="width:100%">
<!-- <div class="p15 pt20"><van-checkbox v-model="radio" @click="click" shape="square">本人确认已阅读<span class="blue">个险销售人员代理合同</span></van-checkbox></div> -->
<van-radio-group v-model="radio" class="pb10 pt20 pl30"> <van-radio-group v-model="radio" class="pb10 pt20 pl30">
<van-radio name="1" @click="click" class="fs12"> <van-radio name="1" @click="click" class="fs12">
本人确认已阅读 本人确认已阅读
@@ -52,7 +51,6 @@ export default {
nextPagePath: '', nextPagePath: '',
//签署人 0-申请人 1-担保人 //签署人 0-申请人 1-担保人
code: '', code: '',
//推荐人信息 //推荐人信息
agentInfo: {}, agentInfo: {},
// 推荐人签名信息 // 推荐人签名信息
@@ -84,11 +82,7 @@ export default {
//获取签署协议人信息 //获取签署协议人信息
agreementQuery() { agreementQuery() {
let that = this let that = this
let data = { let data = {}
// userModel: { //线上去掉
// mobile: '13000000000'
// }
}
that.$toast.loading({ that.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -139,7 +133,6 @@ export default {
} }
}, },
sign() { sign() {
let that = this
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -177,11 +170,7 @@ export default {
} else { } else {
let that = this let that = this
let data = { let data = {
// userModel: { //线上去掉
// mobile: '13000000000'
// },
baseEncryp: that.base64, baseEncryp: that.base64,
// baseEncryp: '123456',
ebizAgreementDto: that.appntSign ebizAgreementDto: that.appntSign
} }
that.$toast.loading({ that.$toast.loading({
@@ -200,14 +189,11 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
// url: location.origin + `/#/agentEenter/signContract`,
url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`, url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`,
forbidSwipeBack: '1', forbidSwipeBack: '1',
// backToFirst: '1',
pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0' pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0'
}, },
routerInfo: { routerInfo: {
// path: `/agentEenter/signContract`
path: `/agentEenter/${that.nextPagePath}?code=${that.code}` path: `/agentEenter/${that.nextPagePath}?code=${that.code}`
} }
}) })
@@ -244,7 +230,6 @@ export default {
listenChange(val) { listenChange(val) {
let that = this let that = this
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
that.isDisable = false that.isDisable = false
} else { } else {
that.isDisable = true that.isDisable = true
@@ -255,10 +240,6 @@ export default {
} else { } else {
that.isDisabledComplite = true that.isDisabledComplite = true
} }
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
} }
}, },

View File

@@ -65,9 +65,6 @@
</div> </div>
<div v-if="!isInvalid" class="flex justify-content-a mb60 mt20"> <div v-if="!isInvalid" class="flex justify-content-a mb60 mt20">
<van-button v-if="!isWeixin" @click="share" v-no-more-click="1000" type="danger" size="normal" style="width:30%">分享</van-button> <van-button v-if="!isWeixin" @click="share" v-no-more-click="1000" type="danger" size="normal" style="width:30%">分享</van-button>
<!-- <van-button v-if="!isWeixin" @click="share" v-no-more-click="1000" :disabled="isguranteeSubmit" type="danger" size="normal" style="width:30%"
>分享</van-button
> -->
<van-button @click="faceAuth('1')" v-no-more-click="1000" :disabled="isguranteeSubmit" type="danger" size="normal" style="width:30%">开始</van-button> <van-button @click="faceAuth('1')" v-no-more-click="1000" :disabled="isguranteeSubmit" type="danger" size="normal" style="width:30%">开始</van-button>
</div> </div>
<div v-else class="ml15">操作时间已失效请联系销售人员</div> <div v-else class="ml15">操作时间已失效请联系销售人员</div>
@@ -156,9 +153,7 @@ export default {
//获取签署协议人信息 //获取签署协议人信息
agreementQuery() { agreementQuery() {
let data = { let data = {}
// userModel: { mobile: 13000000000 } //线上去掉
}
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -191,7 +186,6 @@ export default {
}) })
}) })
}, },
//担保人分享到微信空签 //担保人分享到微信空签
share() { share() {
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
@@ -207,14 +201,10 @@ export default {
}, },
getSignInvalid() { getSignInvalid() {
// let that = this
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' message: '加载中……'
}) })
let data = {} let data = {}
@@ -254,7 +244,7 @@ export default {
let data = { let data = {
sign: signInvalid sign: signInvalid
} }
return new Promise((resolve, reject) => { return new Promise(resolve => {
checkSignInvalid(data).then(res => { checkSignInvalid(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
that.$toast.clear() that.$toast.clear()
@@ -317,9 +307,7 @@ export default {
}) })
}, },
clickSubmit() { clickSubmit() {
let that = this
let data = { let data = {
// userModel: { mobile: 13000000000 }, //线上去掉
submitFlag: '1' submitFlag: '1'
} }
this.$toast.loading({ this.$toast.loading({

View File

@@ -5,7 +5,6 @@
<van-cell title="审批人" :value="approveName" /> <van-cell title="审批人" :value="approveName" />
<van-cell title="审批节点" :value="item.examineApproveTitle | agentGradeFilter" /> <van-cell title="审批节点" :value="item.examineApproveTitle | agentGradeFilter" />
<van-cell title="审批时间" :value="item.examineApproveTeam" /> <van-cell title="审批时间" :value="item.examineApproveTeam" />
<!-- <van-cell title="审批结论" value="审批拒绝" /> -->
<van-cell title="审批结论" :value="item.exampleApproveStatus == '1' ? '审批拒绝' : '审批通过'" /> <van-cell title="审批结论" :value="item.exampleApproveStatus == '1' ? '审批拒绝' : '审批通过'" />
<van-cell title="退回原因" v-if="item.exampleApproveStatus == '1'" :value="item.examineApproveMsg" /> <van-cell title="退回原因" v-if="item.exampleApproveStatus == '1'" :value="item.examineApproveMsg" />
</van-cell-group> </van-cell-group>
@@ -62,7 +61,6 @@ export default {
}, },
data() { data() {
return { return {
// approvalInfo: [], //审批信息
approveName: decodeURI(this.$route.params.approveName), //当前审批人姓名 approveName: decodeURI(this.$route.params.approveName), //当前审批人姓名
approvalInfo: [], //审批信息 approvalInfo: [], //审批信息
approvalResult: '', //该审批人填写的审批结果 approvalResult: '', //该审批人填写的审批结果

View File

@@ -25,7 +25,7 @@
<van-cell title="证件类型" :value="BasicInfoDTO.idType | idToText('idType')" /> <van-cell title="证件类型" :value="BasicInfoDTO.idType | idToText('idType')" />
<van-cell title="证件号码" :value="BasicInfoDTO.idNo" /> <van-cell title="证件号码" :value="BasicInfoDTO.idNo" />
<van-cell title="联系地址" :value="BasicInfoDTO.address" /> <van-cell title="联系地址" :value="BasicInfoDTO.address" />
<van-cell title="邮政编码" :value="BasicInfoDTO.zip" /> <van-cell title="邮政编码" :value="BasicInfoDTO.zip | blankFilter" />
<van-cell title="开户银行" :value="BasicInfoDTO.bankName" /> <van-cell title="开户银行" :value="BasicInfoDTO.bankName" />
<van-cell title="开户地" :value="BasicInfoDTO.bankAddress" /> <van-cell title="开户地" :value="BasicInfoDTO.bankAddress" />
<van-cell title="开户姓名" :value="BasicInfoDTO.accountName" /> <van-cell title="开户姓名" :value="BasicInfoDTO.accountName" />
@@ -56,8 +56,8 @@
<van-cell title="姓名" :value="item.name" /> <van-cell title="姓名" :value="item.name" />
<van-cell title="性别" :value="item.sex == 0 ? '男' : '女'" /> <van-cell title="性别" :value="item.sex == 0 ? '男' : '女'" />
<van-cell title="身份证号码" :value="item.idNo" /> <van-cell title="身份证号码" :value="item.idNo" />
<van-cell title="单位" :value="item.company" /> <van-cell title="单位" :value="item.company | blankFilter" />
<van-cell title="家庭地址" :value="item.homeAdress" /> <van-cell title="家庭地址" :value="item.homeAdress | blankFilter" />
<van-cell title="手机" :value="item.mobile" /> <van-cell title="手机" :value="item.mobile" />
<van-cell title="关系" :value="item.relation | guarantRelationFilter" /> <van-cell title="关系" :value="item.relation | guarantRelationFilter" />
<van-cell title="担保人类别" :value="item.type | relationFilter" /> <van-cell title="担保人类别" :value="item.type | relationFilter" />