Merge branch 'devRs' into dev

This commit is contained in:
nimengmeng_1990
2019-12-04 21:44:06 +08:00
8 changed files with 157 additions and 63 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@@ -262,6 +262,33 @@ export default {
text: '丧偶' text: '丧偶'
} }
], ],
//入司婚姻状况
rsmarriage: [
{
id: 5,
text: '结婚'
},
{
id: 6,
text: '单身'
},
{
id: 7,
text: '离婚'
},
{
id: 8,
text: '丧偶'
},
{
id: 9,
text: '分居'
},
{
id: 10,
text: '其他'
}
],
//文化程度 //文化程度
degree: [ degree: [
{ {
@@ -1078,6 +1105,23 @@ export default {
text: '无党派人士' text: '无党派人士'
} }
], ],
//入司政治面貌
rspoliticsStatus: [
{ id: '01', text: '中共党员' },
{ id: '02', 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: '15', text: '工商' },
{ id: '99', text: '其他党派' }
],
rsIdType: [ rsIdType: [
{ {
id: 1, id: 1,
@@ -1156,15 +1200,58 @@ export default {
], ],
//入司文化程度 //入司文化程度
rsdegree: [ rsdegree: [
{ id: '1', text: '初中' }, {
{ id: '2', text: '中专' }, id: 2,
{ id: '3', text: '中技' }, text: '硕士'
{ id: '4', text: '高中' }, },
{ id: '5', text: '大专' }, {
{ id: '6', text: '本科' }, id: 3,
{ id: '7', text: '硕士' }, text: '本科'
{ id: '8', text: '博士' }, },
{ id: '9', text: '博士后' } {
id: 4,
text: '大专'
},
{
id: 5,
text: '高中'
},
{
id: 6,
text: '初中'
},
{
id: 7,
text: '中专'
},
{
id: 8,
text: '小学'
},
{
id: 12,
text: '其他'
},
{
id: 13,
text: '文盲'
},
{
id: 14,
text: '中技'
},
{
id: 12,
text: '其他'
},
{
id: 10,
text: '博士'
},
{
id: 11,
text: '博士后'
}
], ],
rsRankAgent: [ rsRankAgent: [
{ id: 'TRM', text: '见习风险管理师' }, { id: 'TRM', text: '见习风险管理师' },

View File

@@ -65,7 +65,7 @@
@click="toSelect('3')" @click="toSelect('3')"
/> --> /> -->
<van-field <van-field
:value="userInfo.marriage | idToText('marriage')" :value="userInfo.marriage | idToText('rsmarriage')"
label="婚姻状况" label="婚姻状况"
name="婚姻状况" name="婚姻状况"
v-validate="'required'" v-validate="'required'"
@@ -76,7 +76,7 @@
required required
/> />
<van-field <van-field
:value="userInfo.political | idToText('politicsStatus')" :value="userInfo.political | idToText('rspoliticsStatus')"
label="政治面貌" label="政治面貌"
name="政治面貌" name="政治面貌"
v-validate="'required'" v-validate="'required'"
@@ -375,7 +375,7 @@ export default {
mounted() { mounted() {
// 筛选按钮的点击事件 // 筛选按钮的点击事件
// window.appCallBack = this.appCallBack // window.appCallBack = this.appCallBack
window.appCallBack = appCallBack(this, '1') window.appCallBack = appCallBack
this.agentAll() this.agentAll()
// // 获取银行卡 // // 获取银行卡
// this.getBankList() // this.getBankList()
@@ -594,6 +594,17 @@ export default {
} }
}) })
}, },
appCallBack() {
// 筛选按钮的点击事件
this.$jump({
flag: 'navigation',
extra: {
title: '入司基本信息',
hiddenRight: '1'
}
})
this.isScan = false
},
//获取银行卡扫描信息 //获取银行卡扫描信息
getBankCardInfo(data) { getBankCardInfo(data) {
this.userInfo.bankCode = data.name this.userInfo.bankCode = data.name
@@ -606,32 +617,6 @@ export default {
} }
}) })
this.isScan = false this.isScan = false
},
//校验身高
checkStature(val) {
console.log(val)
if (val.trim().length == 0) {
return this.$toast('身高不能为空')
}
let res = /^[0-9]{0,3}([.]{1}[0-9]{1})?$/.test(val) && val < 300 && val > 10
if (!res) {
this.userInfo.stature = ''
return this.$toast('身高输入有误')
}
},
//校验体重
checkAvoirdupois(val) {
if (val.trim().length == 0) {
return this.$toast('体重不能为空')
}
let res = /^[0-9]+([.]{1}[0-9]{1})?$/.test(val) && val > 0.1
if (!res) {
this.userInfo.avoirdupois = ''
return this.$toast('体重输入有误')
}
} }
}, },
beforeDestroy() { beforeDestroy() {

View File

@@ -24,18 +24,19 @@ export default {
components: { components: {
[Cell.name]: Cell, [Cell.name]: Cell,
[CellGroup.name]: CellGroup [CellGroup.name]: CellGroup
},
mounted() {
document.body.style.backgroundColor = '#fff'
}, },
methods: { methods: {
goBack() { goBack() {
this.$jump({ this.$jump({
flag: 'h5', flag: 'goBack',
extra: { // extra: {
refresh: '1', // refresh: '1',
index: '-1' // index: '-1'
}, // },
routerInfo: { routerInfo: {
type: 2,
index: -1,
path: '/agentEenter/EntryProcess' path: '/agentEenter/EntryProcess'
} }
}) })

View File

@@ -164,9 +164,9 @@ export function toSelect(that, pickerType, valueKey, type) {
} else if (pickerType == '3') { } else if (pickerType == '3') {
that.columns = DataDictionary.rshealthCondition that.columns = DataDictionary.rshealthCondition
} else if (pickerType == '4') { } else if (pickerType == '4') {
that.columns = DataDictionary.marriage that.columns = DataDictionary.rsmarriage
} else if (pickerType == '5') { } else if (pickerType == '5') {
that.columns = DataDictionary.politicsStatus that.columns = DataDictionary.rspoliticsStatus
} else if (pickerType == '6') { } else if (pickerType == '6') {
// console.log(that.colums) // console.log(that.colums)
that.columns = DataDictionary.rsdegree that.columns = DataDictionary.rsdegree

View File

@@ -275,6 +275,8 @@ export default {
} else { } else {
self.save() self.save()
} }
} else {
self.save()
} }
} else { } else {
this.$toast(this.$validator.errors.all()[0]) this.$toast(this.$validator.errors.all()[0])
@@ -295,10 +297,18 @@ export default {
// ebizReferrerDto: this.recommender // ebizReferrerDto: this.recommender
} }
console.log(data) console.log(data)
let that = this
that.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
agentInfowxSubmit(data) agentInfowxSubmit(data)
.then(res => { .then(res => {
// console.log(res) // console.log(res)
if (res.result == '0') { if (res.result == '0') {
that.$toast.clear()
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {

View File

@@ -3,11 +3,17 @@
<div class="payResult-header flex justify-content-fs align-items-c p30 box-sizing-bb w100h100r bg-white flex-direction-colunm"> <div class="payResult-header flex justify-content-fs align-items-c p30 box-sizing-bb w100h100r bg-white flex-direction-colunm">
<img :src="srcSuccess" class="payResult-img mb15 pt30" /> <img :src="srcSuccess" class="payResult-img mb15 pt30" />
<h3 class="mb10">填写成功</h3> <h3 class="mb10">填写成功</h3>
<p class="pt60">我们将会在1-3个工作日内进行资料审核审核通过后可再次登录APP完成后续入司流程</p> <p class="pt60">请扫描下方二维码下载金掌桂APP使用您所预留的手机号码进行登录完成后续自助入司操作</p>
<div class="flex w250 pt20 justify-content-s"> <div class="flex w315 pt30 justify-content-a">
<img src="@/assets/images/share_left.png" class="share-img" alt="" /> <div class="border-text w130 pv10 flex flex-direction-colunm justify-content-c align-items-c">
<img src="@/assets/images/share_right.png" class="share-img" alt="" /> <img src="@/assets/images/share_left.png" class="share-img" alt />
<span class="pt5">IOS</span>
</div>
<div class="border-text w130 pv10 flex flex-direction-colunm justify-content-c align-items-c" >
<img src="@/assets/images/share_right.png" class="share-img" alt />
<span class="pt5">Android</span>
</div>
</div> </div>
<!-- <van-button type="danger" class="bottom-btn" @click="goBack" v-no-more-click="1000">返回</van-button> --> <!-- <van-button type="danger" class="bottom-btn" @click="goBack" v-no-more-click="1000">返回</van-button> -->
</div> </div>
@@ -31,18 +37,20 @@ export default {
[CellGroup.name]: CellGroup [CellGroup.name]: CellGroup
}, },
methods: { methods: {
goBack() { // goBack() {
this.$jump({ // this.$jump({
flag: 'goBack', // flag: 'goBack',
extra: { // extra: {
refresh: '1', // refresh: '1',
index: '-2', // index: '-2',
forbidSwipeBack:'1' // forbidSwipeBack:'1'
} // }
}) // })
} // }
},
mounted() {
document.body.style.backgroundColor = '#fff'
}, },
mounted() {},
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = '' document.body.style.backgroundColor = ''
next() next()
@@ -64,4 +72,7 @@ export default {
} }
} }
} }
.border-text {
border:1px solid #CCCCCC;
}
</style> </style>