第二项

This commit is contained in:
nimengmeng_1990
2019-11-22 17:21:04 +08:00
parent 186d337267
commit 034252a595
7 changed files with 210 additions and 77 deletions

View File

@@ -692,7 +692,15 @@ export default {
code: 'GFRSPRO_M0002' code: 'GFRSPRO_M0002'
} }
], ],
// 收入来源 // 职级
applGrade: [
{ id: 'A101', text: '客户专员' },
{ id: 'A102', text: '客户经理' },
{ id: 'A201', text: '业务主任' },
{ id: 'A202', text: '高级主任' },
{ id: 'A301', text: '营业部经理' },
{ id: 'A401', text: '业务总监' }
],
salarySource: [ salarySource: [
{ {
id: 1, id: 1,
@@ -924,6 +932,7 @@ export default {
relationType: [{ id: '0', text: '父母' }, { id: '1', text: '配偶' }, { id: '2', text: '子女' }], relationType: [{ id: '0', text: '父母' }, { id: '1', text: '配偶' }, { id: '2', text: '子女' }],
guarantRelationType: [{ id: '0', text: '亲属' }, { id: '1', text: '朋友' }, { id: '2', text: '同事' }, { id: '3', text: '其他' }], guarantRelationType: [{ id: '0', text: '亲属' }, { id: '1', text: '朋友' }, { id: '2', text: '同事' }, { id: '3', text: '其他' }],
classification: [{ id: '0', text: '司内' }, { id: '1', text: '司外' }], classification: [{ id: '0', text: '司内' }, { id: '1', text: '司外' }],
//入司国籍/地区
rsnativeplace: [ rsnativeplace: [
{ id: 'AGO', text: '安哥拉' }, { id: 'AGO', text: '安哥拉' },
{ id: 'AND', text: '安道尔共和国' }, { id: 'AND', text: '安道尔共和国' },
@@ -1172,5 +1181,52 @@ export default {
{ A201: '业务主任' }, { A201: '业务主任' },
{ A202: '高级主任' }, { A202: '高级主任' },
{ A301: '营业部经理' }, { A301: '营业部经理' },
{ A401: '业务总监' }] { A401: '业务总监' }],
//入司籍贯、户口所在地
rsnativePlace: [
{ id: '01', text: '北京市' },
{ id: '02', text: '天津市' },
{ id: '03', text: '河北省' },
{ id: '04', text: '山西省' },
{ id: '05', text: '内蒙古自治区' },
{ id: '06', text: '辽宁省' },
{ id: '07', text: '吉林省' },
{ id: '08', text: '黑龙江省' },
{ id: '09', text: '上海市' },
{ id: '10', text: '江苏省' },
{ id: '11', text: '浙江省' },
{ id: '12', text: '安徽省' },
{ id: '13', text: '福建省' },
{ id: '14', text: '江西省' },
{ id: '15', text: '山东省' },
{ id: '16', text: '河南省' },
{ id: '17', text: '湖北省' },
{ id: '18', text: '湖南省' },
{ id: '19', text: '广东省' },
{ id: '20', text: '广西壮族自治区' },
{ id: '21', text: '海南省' },
{ id: '22', text: '重庆市' },
{ id: '23', text: '四川省' },
{ id: '24', text: '贵州省' },
{ id: '25', text: '云南省' },
{ id: '26', text: '西藏自治区' },
{ id: '27', text: '陕西省' },
{ id: '28', text: '甘肃省' },
{ id: '29', text: '青海省' },
{ id: '30', text: '宁夏回族自治区' },
{ id: '31', text: '新疆维吾尔族自治区' },
{ id: '32', text: '台湾省' },
{ id: '33', text: '香港特别行政区' },
{ id: '34', text: '澳门特别行政区' }
],
//原职业
oldOccupation: [
{ id: '02', text: '教师' },
{ id: '03', text: '销售' },
{ id: '04', text: '技师' },
{ id: '05', text: '财务' },
{ id: '06', text: '医护' },
{ id: '07', text: '保险外勤' },
{ id: '08', text: '其它' }
]
} }

View File

@@ -22,7 +22,7 @@
<van-radio name="1"></van-radio> <van-radio name="1"></van-radio>
</van-radio-group> </van-radio-group>
<!-- 小题目 --> <!-- 小题目 -->
<div v-if="item.impartType == '01'"> <!-- <div v-if="item.impartType == '01'">
<div> <div>
<van-cell-group v-for="(item, index) in item.itemDtoLst" :key="index"> <van-cell-group v-for="(item, index) in item.itemDtoLst" :key="index">
<van-field <van-field
@@ -35,7 +35,7 @@
/> />
</van-cell-group> </van-cell-group>
</div> </div>
</div> </div> -->
<div v-if="item.impartType == '02' && item.show"> <div v-if="item.impartType == '02' && item.show">
<van-cell-group v-for="(item, index) in item.itemDtoLst" :key="index"> <van-cell-group v-for="(item, index) in item.itemDtoLst" :key="index">
<van-field v-model="item.impartRemark" placeholder="请输入" :label="item.impartContent" clearable v-validate="'required'" data-vv-name="答案" /> <van-field v-model="item.impartRemark" placeholder="请输入" :label="item.impartContent" clearable v-validate="'required'" data-vv-name="答案" />
@@ -148,11 +148,14 @@ export default {
let that = this let that = this
that.impartDTOS.map(item => { that.impartDTOS.map(item => {
item.impartAnswer = '1' item.impartAnswer = '1'
item.itemDtoLst.map(it => { if(item.itemDtoLst){
item.itemDtoLst.map(it => {
if (it.itemDetatilDtoLst) { if (it.itemDetatilDtoLst) {
it.impartAnswer = '1' it.impartAnswer = '1'
} }
}) })
}
}) })
}, },
// 单选改变时候 // 单选改变时候

View File

@@ -9,7 +9,7 @@
<div class="bg-white"> <div class="bg-white">
<div class="p10"> <div class="p10">
<van-cell-group> <van-cell-group>
<van-field required label="身份证原件正面/反面" disabled /> <van-field required label="证件影像信息" disabled />
</van-cell-group> </van-cell-group>
<div @click="test('fileListBank01')"> <div @click="test('fileListBank01')">
<van-uploader <van-uploader
@@ -19,10 +19,10 @@
@delete="deleteImg" @delete="deleteImg"
:before-delete="beforeDelete" :before-delete="beforeDelete"
class="mt10 ml20" class="mt10 ml20"
:max-count="1" :max-count="2"
/> />
</div> </div>
<div @click="test('fileListBank02')"> <!-- <div @click="test('fileListBank02')">
<van-uploader <van-uploader
name="fileListBank02" name="fileListBank02"
v-model="fileListBank02" v-model="fileListBank02"
@@ -32,7 +32,7 @@
class="mt10 ml20" class="mt10 ml20"
:max-count="1" :max-count="1"
/> />
</div> </div> -->
<van-cell-group> <van-cell-group>
<van-field required label="学历证明原件" disabled /> <van-field required label="学历证明原件" disabled />
</van-cell-group> </van-cell-group>
@@ -48,6 +48,20 @@
/> />
</div> </div>
<!-- end --> <!-- end -->
<van-cell-group>
<van-field required label="担保人身份证正反面" disabled />
</van-cell-group>
<div @click="test('fileListBank01')">
<van-uploader
name="fileListBank01"
v-model="fileListBank01"
:after-read="afterRead"
@delete="deleteImg"
:before-delete="beforeDelete"
class="mt10 ml20"
:max-count="2"
/>
</div>
<van-cell-group class="flex justify-content-fs"> <van-cell-group class="flex justify-content-fs">
<!-- <van-field class="w-auto" required label="" disabled /> --> <!-- <van-field class="w-auto" required label="" disabled /> -->
<span><b class="red">*</b>近期免冠照片1张半身免冠正面白底彩色jpg格式大小10-25K像素210*370或相同宽高比例</span> <span><b class="red">*</b>近期免冠照片1张半身免冠正面白底彩色jpg格式大小10-25K像素210*370或相同宽高比例</span>
@@ -103,7 +117,7 @@ export default {
// 身份证正面 // 身份证正面
fileListBank01: [], fileListBank01: [],
// 身份证反面 // 身份证反面
fileListBank02: [], fileListBank06: [],
// 学历附件 // 学历附件
fileListBank03: [], fileListBank03: [],
// 免冠照 // 免冠照
@@ -166,9 +180,9 @@ export default {
case '1': // 身份证正面 case '1': // 身份证正面
this.fileListBank01 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] this.fileListBank01 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }]
break break
case '2': // 身份证反面 // case '2': // 身份证反面
this.fileListBank02 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] // this.fileListBank02 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }]
break // break
case '12': // 学历证明原件 case '12': // 学历证明原件
this.fileListBank03 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] this.fileListBank03 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }]
break break
@@ -178,6 +192,9 @@ export default {
case '3': // 银行卡 case '3': // 银行卡
this.fileListBank05 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }] this.fileListBank05 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }]
break break
case '6': //担保人待定case
this.fileListBank06 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }]
break
} }
}) })
this.list = result this.list = result
@@ -192,14 +209,18 @@ export default {
}).then(() => { }).then(() => {
if (detail.name == 'fileListBank01') { if (detail.name == 'fileListBank01') {
this.fileListBank01 = [] this.fileListBank01 = []
} else if (detail.name == 'fileListBank02') { }
this.fileListBank02 = [] // } else if (detail.name == 'fileListBank02') {
} else if (detail.name == 'fileListBank03') { // this.fileListBank02 = []
// }
else if (detail.name == 'fileListBank03') {
this.fileListBank03 = [] this.fileListBank03 = []
} else if (detail.name == 'fileListBank04') { } else if (detail.name == 'fileListBank04') {
this.fileListBank04 = [] this.fileListBank04 = []
} else if (detail.name == 'fileListBank05') { } else if (detail.name == 'fileListBank05') {
this.fileListBank05 = [] this.fileListBank05 = []
}else if (detail.name == 'fileListBank06') {
this.fileListBank06 = []
} }
this.deleteImg(file) this.deleteImg(file)
}) })
@@ -238,22 +259,34 @@ export default {
if (res.result == '0') { if (res.result == '0') {
this.$toast.clear() this.$toast.clear()
let imageInfoType = '' let imageInfoType = ''
let subBusinessType = ''
if (that.type == 'fileListBank01') { if (that.type == 'fileListBank01') {
//身份证正面 //身份证正面
imageInfoType = '1' imageInfoType = '1'
} else if (that.type == 'fileListBank02') { subBusinessType = '3'
//身份证反面 }
imageInfoType = '2' // else if (that.type == 'fileListBank02') {
} else if (that.type == 'fileListBank03') { // //身份证反面
// imageInfoType = '2'
// }
else if (that.type == 'fileListBank03') {
//学历 //学历
imageInfoType = '12' imageInfoType = '12'
subBusinessType = '3'
} else if (that.type == 'fileListBank04') { } else if (that.type == 'fileListBank04') {
//免冠 //免冠
imageInfoType = '13' imageInfoType = '13'
subBusinessType = '3'
} else if (that.type == 'fileListBank05') { } else if (that.type == 'fileListBank05') {
//银行卡 //银行卡
imageInfoType = '3' imageInfoType = '3'
subBusinessType = '3'
} else if (that.type == 'fileListBank06') {
//银行卡
imageInfoType = '3'
subBusinessType = '3'
} }
let obj = { let obj = {
imageInfoType: imageInfoType, imageInfoType: imageInfoType,
fileName: that.imgName, fileName: that.imgName,
@@ -328,10 +361,10 @@ export default {
}, },
computed: { computed: {
listenChange() { listenChange() {
const { fileListBank01, fileListBank02, fileListBank03, fileListBank04, fileListBank05 } = this const { fileListBank01, fileListBank06, fileListBank03, fileListBank04, fileListBank05 } = this
return { return {
fileListBank01, fileListBank01,
fileListBank02, fileListBank06,
fileListBank03, fileListBank03,
fileListBank04, fileListBank04,
fileListBank05 fileListBank05
@@ -343,7 +376,7 @@ export default {
let that = this let that = this
if ( if (
val.fileListBank01.length != '0' && val.fileListBank01.length != '0' &&
val.fileListBank02.length != '0' && val.fileListBank06.length != '0' &&
val.fileListBank03.length != '0' && val.fileListBank03.length != '0' &&
val.fileListBank04.length != '0' && val.fileListBank04.length != '0' &&
val.fileListBank05.length != '0' val.fileListBank05.length != '0'

View File

@@ -4,8 +4,8 @@
<van-cell-group> <van-cell-group>
<RsTop :active="['1']"></RsTop> <RsTop :active="['1']"></RsTop>
<p style="border-bottom: 1px solid #ebedf0" class=" fs15 fwb pl10 pv12">基本信息</p> <p style="border-bottom: 1px solid #ebedf0" class=" fs15 fwb pl10 pv12">基本信息</p>
<van-field v-model="userInfo.name" label="姓名" name="姓名" placeholder="请输入" v-validate="'required|name'" maxlength="6" clearable /> <van-field v-model="userInfo.name" label="姓名" name="姓名" placeholder="请输入" v-validate="'required|name'" maxlength="6" required clearable />
<select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :required="false" :value.sync="userInfo.sex"></select-radio> <select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" required :value.sync="userInfo.sex"></select-radio>
<FieldDatePicter <FieldDatePicter
v-validate="'required'" v-validate="'required'"
label="出生日期" label="出生日期"
@@ -16,16 +16,18 @@
@confirm="onDateConfirm($event, '2')" @confirm="onDateConfirm($event, '2')"
ref="birthday" ref="birthday"
:maxDate="maxDate" :maxDate="maxDate"
required
></FieldDatePicter> ></FieldDatePicter>
<van-field <van-field
:value="userInfo.ethnic | idToText('nationType')" :value="userInfo.nativePlace | idToText('rsnativePlace')"
label="籍贯" label="籍贯"
name="籍贯" name="籍贯"
v-validate="'required'" v-validate="'required'"
readonly readonly
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('1')" @click="toSelect('10')"
required
/> />
<van-field <van-field
:value="userInfo.ethnic | idToText('nationType')" :value="userInfo.ethnic | idToText('nationType')"
@@ -36,20 +38,22 @@
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('1')" @click="toSelect('1')"
required
/> />
<!-- <van-field :value="census" label="户籍" name="户籍" v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="censusShow = true" /> --> <!-- <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 v-model="userInfo.homeProvince" label="户口所在地" name="户口所在地" v-validate="'required'" placeholder="请输入" /> -->
<van-field <van-field
:value="userInfo.ethnic | idToText('nationType')" :value="userInfo.rgtAddress | idToText('rsnativePlace')"
label="户口所在地" label="户口所在地"
name="户口所在地" name="户口所在地"
v-validate="'required'" v-validate="'required'"
readonly readonly
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('1')" @click="toSelect('10')"
required
/> />
<van-field v-model="userInfo.homeProvince" label="职称" name="职称" v-validate="'required'" placeholder="请输入" /> <van-field v-model="userInfo.title" label="职称" name="职称" v-validate="'required'" placeholder="请输入" required />
<!-- <van-field <!-- <van-field
:value="userInfo.health | idToText('rshealthCondition')" :value="userInfo.health | idToText('rshealthCondition')"
label="健康状况" label="健康状况"
@@ -69,6 +73,7 @@
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('4')" @click="toSelect('4')"
required
/> />
<van-field <van-field
:value="userInfo.political | idToText('politicsStatus')" :value="userInfo.political | idToText('politicsStatus')"
@@ -79,6 +84,7 @@
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('5')" @click="toSelect('5')"
required
/> />
<van-field <van-field
:value="userInfo.degree | idToText('rsdegree')" :value="userInfo.degree | idToText('rsdegree')"
@@ -89,79 +95,85 @@
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('6')" @click="toSelect('6')"
required
/> />
<van-field v-model="userInfo.school" label="毕业院校" name="毕业院校" placeholder="请输入" v-validate="'required'" clearable /> <van-field v-model="userInfo.school" label="毕业院校" name="毕业院校" placeholder="请输入" v-validate="'required'" clearable />
<van-field v-model="userInfo.discipline" label="所学专业" name="所学专业" placeholder="请输入" v-validate="'required'" clearable /> <van-field v-model="userInfo.discipline" label="所学专业" name="所学专业" placeholder="请输入" v-validate="'required'" clearable />
<van-field v-model="userInfo.homePhone" label="宅电" name="宅电" placeholder="非必填" clearable /> <van-field v-model="userInfo.homePhone" label="宅电" name="宅电" placeholder="非必填" clearable />
<van-field v-model="userInfo.mobile" label="手机" name="手机" readonly /> <van-field v-model="userInfo.mobile" label="手机" name="手机" required readonly />
<van-field :value="userInfo.idType | idToText('idType')" v-validate="'required'" label="证件类型" name="证件类型" 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" 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-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button> -->
</van-field> </van-field>
<van-field v-model="userInfo.address" label="联系地址" name="联系地址" placeholder="请输入" v-validate="'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'" clearable /> <van-field v-model="userInfo.zip" label="邮政编码" name="邮政编码" placeholder="请输入" v-validate="'required|zipCode'" required clearable />
<van-field <van-field
v-model="userInfo.bankName" :value="userInfo.bankName"
label="开户银行" label="开户银行"
name="开户银行" name="开户银行"
placeholder="请输入"
v-validate="'required'" v-validate="'required'"
readonly required
@click="focus" readonly />
<!-- @click="focus"
right-icon="arrow" right-icon="arrow"
data-vv-name="开户银行" data-vv-name="开户银行" -->
/>
<!-- <van-field v-model="userInfo.bankName" label="开户银行" name="开户银行" placeholder="请输入" v-validate="'required'" /> --> <!-- <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="bank" label="开户银行" placeholder="请选择" required @click="focus" v-validate="'required'" data-vv-name="开户银行" /> -->
<van-field v-model="userInfo.bankProvince" label="开户地" name="开户地" placeholder="请输入" v-validate="'required'" clearable /> <van-field v-model="userInfo.bankAddress" label="开户地" name="开户地" placeholder="请输入" v-validate="'required'" required clearable />
<van-field v-model="userInfo.bankCity" label="开户姓名" name="开户姓名" placeholder="请输入" v-validate="'required'" clearable /> <van-field v-model="userInfo.accountName" label="开户姓名" name="开户姓名" placeholder="请输入" v-validate="'required'" required clearable />
<van-field v-model="userInfo.bankCode" maxlength="19" label="银行卡号" name="银行卡号" placeholder="请输入" clearable v-validate="'required'"> <van-field v-model="userInfo.bankCode" maxlength="19" label="银行卡号" name="银行卡号" placeholder="请输入" required clearable v-validate="'required'">
<van-button slot="button" size="small" type="danger" round @click="cardScanning('0')">银行卡扫描</van-button> <van-button slot="button" size="small" type="danger" round @click="cardScanning('0')">银行卡扫描</van-button>
</van-field> </van-field>
<van-field v-model="userInfo.bankProvince" label="从业年限" name="从业年限" placeholder="请输入" v-validate="'required'" clearable /> <van-field v-model="userInfo.perationPeriod" label="从业年限" name="从业年限" placeholder="请输入" v-validate="'required'" clearable />
<van-field v-model="userInfo.bankCity" label="原工作单位" name="原工作单位" placeholder="请输入" v-validate="'required'" clearable /> <van-field v-model="userInfo.oldCompany" label="原工作单位" name="原工作单位" placeholder="请输入" required v-validate="'required'" clearable />
<van-field <van-field
:value="userInfo.degree | idToText('rsdegree')" :value="userInfo.oldOccupation | idToText('oldOccupation')"
label="原职业" label="原职业"
name="原职业" name="原职业"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('6')" @click="toSelect('11')"
/> />
<van-field <van-field
:value="userInfo.health | idToText('rshealthCondition')" :value="userInfo.sameTrade | idToText('rshealthCondition')"
label="是否同业" label="是否同业"
name="是否同业" name="是否同业"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('3')" @click="toSelect('3')"
/> />
<van-field <van-field
:value="userInfo.political | idToText('rsnativeplace')" :value="userInfo.nationality | idToText('rsnativeplace')"
label="国籍/地区" label="国籍/地区"
name="国籍/地区" name="国籍/地区"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('5')" @click="toSelect('12')"
/> />
<van-field <van-field
:value="userInfo.health | idToText('rshealthCondition')" :value="userInfo.foreigners | idToText('rshealthCondition')"
label="是否境外人员" label="是否境外人员"
name="是否境外人员" name="是否境外人员"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('3')" @click="toSelect('3')"
/> />
<van-field :value="userInfo.applGrade | idToText('applGrade')" right-icon="arrow" placeholder="请选择" @click="toSelect('13')" label="职级" name="职级" />
</van-cell-group> </van-cell-group>
<van-cell-group class="" :border="false"> <van-cell-group class="" :border="false">
<p style=" border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 mt10 pv12">推荐人信息</p> <p style=" border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 mt10 pv12">推荐人信息</p>
@@ -311,6 +323,7 @@ export default {
age: '', // 年龄 age: '', // 年龄
birthday: '', // 手机 birthday: '', // 手机
mobile: '', //移动电话 mobile: '', //移动电话
nativePlace: '', //籍贯
ethnic: '', //民族 ethnic: '', //民族
// homeProvince: '', //家庭省 // homeProvince: '', //家庭省
health: '', //健康状况 health: '', //健康状况
@@ -329,11 +342,19 @@ export default {
address: '', //现住址 address: '', //现住址
bankProvince: '', // 开户省 bankProvince: '', // 开户省
bankCity: '', // 开户市 bankCity: '', // 开户市
bankName: '', // 开户银行 bankName: '102', // 开户银行
// 银行卡号 // 银行卡号
bankCode: '', bankCode: '',
//户口所在地 rgtAddress: '', //户口所在地
homeProvince: '' title: '', //职称
accountName: '', //开户姓名
perationPeriod: '', //从业年限
oldCompany: '', //原工作单位
oldOccupation: '', //原职业
sameTrade: '', //是否同业
nationality: '', //国籍/地区
foreigners: '', //是否境外人员
applGrade:'' //职级
}, },
areaList: areaList, areaList: areaList,
currentPopupIndex: '', currentPopupIndex: '',
@@ -341,14 +362,14 @@ export default {
occupationShowPicker: false, occupationShowPicker: false,
timeId: null, timeId: null,
ebiz_referrer: { ebiz_referrer: {
referCode: '', referCode: '--',
referName: '', referName: '--',
teamCode: '', teamCode: '--',
teamName: '', teamName: '--',
officeCode: '', officeCode: '--',
officeName: '', officeName: '--',
areaCode: '', areaCode: '--',
areaName: '' areaName: '--'
} }
} }
}, },
@@ -356,14 +377,16 @@ export default {
// 筛选按钮的点击事件 // 筛选按钮的点击事件
// window.appCallBack = this.appCallBack // window.appCallBack = this.appCallBack
window.appCallBack = appCallBack(this, '1') window.appCallBack = appCallBack(this, '1')
// this.agentAll() this.agentAll()
// // 获取银行卡 // // 获取银行卡
// this.getBankList() // this.getBankList()
}, },
methods: { methods: {
//获取推荐人信息 //获取推荐人信息
agentAll() { agentAll() {
let data = {} let data = {
userModel: { mobile: 13000000000 }
}
agentAll(data).then(res => { agentAll(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
this.userInfo = res.content.ebizEnterCustomerDto this.userInfo = res.content.ebizEnterCustomerDto
@@ -458,6 +481,7 @@ export default {
} }
let data = { let data = {
entryType: 'CUSTOMER_BASE', entryType: 'CUSTOMER_BASE',
userModel: { mobile: 13000000000 }, //线上去掉
ebizEnterCustomerDto: this.userInfo ebizEnterCustomerDto: this.userInfo
} }
saveOrUpdateInfo(data).then(res => { saveOrUpdateInfo(data).then(res => {

View File

@@ -7,7 +7,7 @@
<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">
本人确认已阅读 本人确认已阅读
<span class="blue">个险营销员健康告知书</span> <span class="blue">保险代理申请人健康声明</span>
</van-radio> </van-radio>
</van-radio-group> </van-radio-group>
<div class="pl30 pb15"> <div class="pl30 pb15">
@@ -73,16 +73,16 @@ export default {
agreementQuery() { agreementQuery() {
let that = this let that = this
let data = { let data = {
// userModel: { userModel: { //线上去掉
// mobile: '18888888888' mobile: '13000000000'
// } }
} }
agreementQuery(data).then(res => { agreementQuery(data).then(res => {
console.log(res) console.log(res)
if (res.result == '0') { if (res.result == '0') {
res.content.ebizAgreementDtoList.map(item => { res.content.ebizAgreementDtoList.map(item => {
console.log(item) console.log(item)
if (item.type == '7') { if (item.type == '13') {
that.appntSign = item that.appntSign = item
} }
}) })
@@ -149,11 +149,11 @@ export default {
goNext() { goNext() {
let that = this let that = this
let data = { let data = {
// userModel: { userModel: {
// mobile: '18888888888' mobile: '13000000000'
// }, },
baseEncryp: that.base64, // baseEncryp: that.base64,
// baseEncryp: '123456', baseEncryp: '123456',
ebizAgreementDto: that.appntSign ebizAgreementDto: that.appntSign
} }
signAgreement(data).then(res => { signAgreement(data).then(res => {

View File

@@ -13,8 +13,7 @@
需签署 需签署
<ul> <ul>
<li class="flex" v-for="(sign, index) in signList" :key="index"> <li class="flex" v-for="(sign, index) in signList" :key="index">
<div style="width:200px">{{ sign.name }}</div> <div style="width:260px;">{{ sign.name }}</div>
<van-icon v-if="sign.signState === '1'" color="green" name="checked" /> <van-icon v-if="sign.signState === '1'" color="green" name="checked" />
</li> </li>
</ul> </ul>
@@ -63,7 +62,9 @@ export default {
methods: { methods: {
//获取签署协议人信息 //获取签署协议人信息
agreementQuery() { agreementQuery() {
let data = {} let data = {
userModel: { mobile: 13000000000 }, //线上去掉
}
agreementQuery(data).then(res => { agreementQuery(data).then(res => {
console.log(res) console.log(res)
if (res.result == '0') { if (res.result == '0') {

View File

@@ -185,6 +185,14 @@ export function toSelect(that, pickerType, valueKey, type) {
} }
} else if (pickerType == '8') { } else if (pickerType == '8') {
that.columns = DataDictionary.workCondition that.columns = DataDictionary.workCondition
} else if (pickerType == '10') {
that.columns = DataDictionary.rsnativePlace
} else if (pickerType == '11') {
that.columns = DataDictionary.oldOccupation
} else if (pickerType == '12') {
that.columns = DataDictionary.rsnativeplace
} else if (pickerType == '13') {
that.columns = DataDictionary.applGrade
} }
} }
@@ -375,6 +383,14 @@ export function onConfirm(that, value, type) {
} }
} else if (that.pickerType == '8') { } else if (that.pickerType == '8') {
that.userInfo.jobStatus = value.id that.userInfo.jobStatus = value.id
} else if (that.pickerType == '10') {
that.userInfo.rgtAddress = value.id
} else if (that.pickerType == '11') {
that.userInfo.oldOccupation = value.id
} else if (that.pickerType == '12') {
that.userInfo.nationality = value.id
} else if (that.pickerType == '13') {
that.userInfo.applGrade = value.id
} }
} }