入司代码优化

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

View File

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

View File

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

View File

@@ -16,17 +16,6 @@
@click="toSelect('1')"
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 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>
@@ -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.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
v-model="userInfo.mobile"
label="手机号码"
@@ -146,10 +133,7 @@ export default {
},
//信息返显
agentAll() {
let that = this
let data = {
// userModel: { mobile: '13000000000' }, //线上去掉
}
let data = {}
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -157,9 +141,9 @@ export default {
message: '加载中……'
})
agentAll(data).then(res => {
that.$toast.clear()
this.$toast.clear()
if (res.content.ebizGuarantorDto.length != 0) {
that.userInfo = res.content.ebizGuarantorDto
this.userInfo = res.content.ebizGuarantorDto
//性别返显
if (res.content.ebizGuarantorDto.sex == null) {
this.userInfo.sex = '0'
@@ -191,11 +175,9 @@ export default {
this.popupShow = false
if (this.pickerType == '1') {
this.userInfo.relation = value.id
// this.$forceUpdate()
}
if (this.pickerType == '2') {
this.userInfo.type = value.id
// this.$forceUpdate()
}
},
// 下一步
@@ -221,8 +203,7 @@ export default {
})
},
save() {
let that = this
that.$toast.loading({
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
@@ -230,12 +211,11 @@ export default {
})
let params = {
entryType: 'CUSTOMER_GUARANTOR',
// userModel: { mobile: '13000000000' }, //线上去掉
ebizGuarantorDto: {}
}
params.ebizGuarantorDto = that.userInfo
params.ebizGuarantorDto = this.userInfo
saveOrUpdateInfo(params).then(res => {
that.$toast.clear()
this.$toast.clear()
if (res.result == '0') {
this.$jump({
flag: 'h5',

View File

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

View File

@@ -3,7 +3,6 @@
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe>
<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 name="1" @click="click" class="fs12">
本人确认已阅读
@@ -67,7 +66,6 @@ export default {
[Button.name]: Button,
[Radio.name]: Radio,
[RadioGroup.name]: RadioGroup,
// [CheckboxGroup.name]: CheckboxGroup,
[NoticeBar.name]: NoticeBar,
[Dialog.name]: Dialog
},
@@ -132,7 +130,6 @@ export default {
}
},
sign() {
// let that = this
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -170,9 +167,6 @@ export default {
} else {
let that = this
let data = {
// userModel: {
// mobile: '13000000000'
// },
baseEncryp: that.base64,
ebizAgreementDto: that.appntSign
}
@@ -205,16 +199,6 @@ export default {
}
})
}
// this.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + `/#/agentEenter/confirmation`
// },
// routerInfo: {
// path: `/agentEenter/confirmation`
// }
// })
},
goBack() {
this.$jump({
@@ -242,7 +226,6 @@ export default {
listenChange(val) {
let that = this
if (val.isOver == true && val.radio != '') {
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
that.isDisable = false
} else {
that.isDisable = true
@@ -253,10 +236,6 @@ export default {
} else {
that.isDisabledComplite = true
}
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
}
},
beforeRouteLeave(to, from, next) {

View File

@@ -3,7 +3,6 @@
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${time}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe>
<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 name="1" @click="click" class="fs12">
本人确认已阅读
@@ -22,7 +21,7 @@
</template>
<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 config from '@/config'
import { filtSignList, getAgreementNextPagePath } from './js/methods'
@@ -68,7 +67,6 @@ export default {
[Button.name]: Button,
[Radio.name]: Radio,
[RadioGroup.name]: RadioGroup,
// [CheckboxGroup.name]: CheckboxGroup,
[NoticeBar.name]: NoticeBar,
[Dialog.name]: Dialog
},
@@ -83,11 +81,7 @@ export default {
//获取签署协议人信息
agreementQuery() {
let that = this
let data = {
// userModel: { //线上去掉
// mobile: '13000000000'
// }
}
let data = {}
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -138,7 +132,6 @@ export default {
}
},
sign() {
// let that = this
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -176,11 +169,7 @@ export default {
} else {
let that = this
let data = {
// userModel: {
// mobile: '13000000000'
// },
baseEncryp: that.base64,
// baseEncryp: '123456',
ebizAgreementDto: that.appntSign
}
this.$toast.loading({
@@ -199,12 +188,10 @@ export default {
this.$jump({
flag: 'h5',
extra: {
// url: location.origin + `/#/agentEenter/Guarantee`
url: location.origin + `/#/agentEenter/${that.nextPagePath}?code=${that.code}`,
pullRefresh: that.nextPagePath == 'signContract' ? '1' : '0'
},
routerInfo: {
// path: `/agentEenter/Guarantee`
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() {
this.$jump({
@@ -251,7 +228,6 @@ export default {
listenChange(val) {
let that = this
if (val.isOver == true && val.radio != '') {
// if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
that.isDisable = false
} else {
that.isDisable = true
@@ -263,10 +239,6 @@ export default {
} else {
that.isDisabledComplite = true
}
/*
if (val.appntSign.signState == '1') {
that.isDisable = true
}*/
}
},
beforeRouteLeave(to, from, next) {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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