mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 15:16:43 +08:00
Compare commits
11 Commits
feature/【2
...
feature/【2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77ab43dadc | ||
|
|
2ccc9622bf | ||
|
|
daa56c677f | ||
|
|
04f586aa76 | ||
|
|
f23bedd030 | ||
|
|
7266d1271d | ||
|
|
49ace93f5e | ||
|
|
cd739a796f | ||
|
|
a0cc22b602 | ||
|
|
e4338d1cdd | ||
|
|
383ed001da |
BIN
src/assets/images/goodStart/top-20251114.png
Normal file
BIN
src/assets/images/goodStart/top-20251114.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 615 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 428 KiB After Width: | Height: | Size: 84 KiB |
@@ -2,57 +2,57 @@
|
||||
<div class="insured-info-container pb50">
|
||||
<!-- 基本信息 -->
|
||||
<van-cell-group class="mt10">
|
||||
<p class="fs15 fwb pl10 pv12" style="border-bottom: 1px solid #ebedf0">推荐人信息</p>
|
||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">推荐人信息</p>
|
||||
<van-field v-model="recommender.name" label="推荐人姓名" name="推荐人姓名" readonly />
|
||||
<van-field :value="getAgentGrade(recommender.agentGrade)" label="推荐人职级" name="推荐人职级" readonly />
|
||||
<!-- <van-field v-model="recommender.applyNo" label="推荐人工号" name="推荐人工号" readonly /> -->
|
||||
<van-field v-model="recommender.unitName" label="销售机构" name="销售机构" readonly />
|
||||
<p class="fs15 fwb pl10 pv12" style="border-bottom: 1px solid #ebedf0">个人信息</p>
|
||||
<van-field v-model="userInfo.name" v-validate="'required|name'" clearable label="姓名" name="姓名" placeholder="请输入" />
|
||||
<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'" clearable />
|
||||
<van-field
|
||||
v-validate="'required'"
|
||||
:value="userInfo.applGrade | idToText('applGrade')"
|
||||
v-validate="'required'"
|
||||
readonly
|
||||
label="职级"
|
||||
name="职级"
|
||||
placeholder="请选择职级"
|
||||
readonly
|
||||
right-icon="arrow"
|
||||
placeholder="请选择职级"
|
||||
@click="toSelect('13')"
|
||||
/>
|
||||
|
||||
<van-field
|
||||
v-validate="'required'"
|
||||
:value="userInfo.idType | idToText('idType')"
|
||||
v-validate="'required'"
|
||||
readonly
|
||||
label="证件类型"
|
||||
name="证件类型"
|
||||
placeholder="请选择证件类型"
|
||||
readonly
|
||||
right-icon="arrow"
|
||||
placeholder="请选择证件类型"
|
||||
@click="toSelect('1')"
|
||||
/>
|
||||
<van-field
|
||||
v-model="userInfo.idNo"
|
||||
v-validate="'required'"
|
||||
clearable
|
||||
label="证件号码"
|
||||
maxlength="18"
|
||||
name="证件号码"
|
||||
placeholder="请输入证件号码"
|
||||
label="证件号码"
|
||||
name="证件号码"
|
||||
v-validate="'required'"
|
||||
maxlength="18"
|
||||
clearable
|
||||
@blur="getRelatedData(userInfo.idNo)"
|
||||
/>
|
||||
<select-radio v-validate="'required'" :radios="sexRadio" :required="false" :value.sync="userInfo.sex" label="性别" name="性别"></select-radio>
|
||||
<van-field v-model="userInfo.mobile" v-validate="'required|mobile'" clearable label="手机号" maxlength="11" name="手机号" placeholder="请输入手机号" />
|
||||
<van-field v-model="userInfo.authCode" v-validate="'required'" center clearable label maxlength="6" name="短信验证码" placeholder="请输入短信验证码">
|
||||
<van-button slot="button" v-no-more-click="1000" :disabled="codeDisabled" size="small" type="danger" @click="getCode">
|
||||
<select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :required="false" :value.sync="userInfo.sex"></select-radio>
|
||||
<van-field v-model="userInfo.mobile" label="手机号" name="手机号" placeholder="请输入手机号" v-validate="'required|mobile'" maxlength="11" clearable />
|
||||
<van-field v-model="userInfo.authCode" center clearable label name="短信验证码" placeholder="请输入短信验证码" v-validate="'required'" maxlength="6">
|
||||
<van-button slot="button" size="small" type="danger" @click="getCode" :disabled="codeDisabled" v-no-more-click="1000">
|
||||
{{ codeDisabled ? `${countDown}s后重新获取` : '获取验证码' }}
|
||||
</van-button>
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
<van-button v-no-more-click="1000" class="bottom-btn" type="danger" @click="nextStep">提交信息</van-button>
|
||||
<van-button type="danger" class="bottom-btn" @click="nextStep" v-no-more-click="1000">提交信息</van-button>
|
||||
|
||||
<!-- 字段选择 -->
|
||||
<van-popup v-model="popupShow" position="bottom">
|
||||
<van-picker :columns="columns" show-toolbar @cancel="popupShow = false" @confirm="onConfirm" />
|
||||
<van-picker show-toolbar :columns="columns" @confirm="onConfirm" @cancel="popupShow = false" />
|
||||
</van-popup>
|
||||
</div>
|
||||
</template>
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
getData: function() {
|
||||
getData: function () {
|
||||
let self = this
|
||||
self.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
getTokenForUserModel({
|
||||
token: this.$CacheUtils.getLocItem('token')
|
||||
})
|
||||
.then(function(response) {
|
||||
.then(function (response) {
|
||||
self.$toast.clear()
|
||||
console.log('response', response)
|
||||
if (response.result == '0') {
|
||||
@@ -176,7 +176,7 @@ export default {
|
||||
this.$toast.fail(response.resultMessage)
|
||||
}
|
||||
})
|
||||
.catch(function(error) {
|
||||
.catch(function (error) {
|
||||
// this.$toast.fail(error)
|
||||
})
|
||||
// var self = this
|
||||
@@ -217,7 +217,7 @@ export default {
|
||||
loadingType: 'spinner',
|
||||
message: '加载中……'
|
||||
})
|
||||
this.$validator.validate().then(valid => {
|
||||
this.$validator.validate().then((valid) => {
|
||||
if (true === valid) {
|
||||
self.$toast.clear()
|
||||
if (this.userInfo.idType == '1') {
|
||||
@@ -270,28 +270,27 @@ export default {
|
||||
message: '加载中……'
|
||||
})
|
||||
agentInfowxSubmit(data)
|
||||
.then(res => {
|
||||
.then((res) => {
|
||||
// console.log(res)
|
||||
// todo 排除 2025-11-20 上午出现的阻断情况
|
||||
// if (res.result == '0' || res.result === 'F') {
|
||||
this.$store.commit('updateAgentEnterApplyMsg', this.userInfo)
|
||||
that.$toast.clear()
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + `/#/agentEenter/ShareInfoSuccess`,
|
||||
forbidSwipeBack: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: `/agentEenter/ShareInfoSuccess`
|
||||
}
|
||||
})
|
||||
// } else {
|
||||
// this.$toast(res.resultMessage)
|
||||
// }
|
||||
if (res.result == '0') {
|
||||
this.$store.commit('updateAgentEnterApplyMsg', this.userInfo)
|
||||
that.$toast.clear()
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + `/#/agentEenter/ShareInfoSuccess`,
|
||||
forbidSwipeBack: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: `/agentEenter/ShareInfoSuccess`
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
.then(function(err) {
|
||||
.then(function (err) {
|
||||
console.log(err)
|
||||
})
|
||||
})
|
||||
@@ -349,7 +348,7 @@ export default {
|
||||
operateCodeType: '0'
|
||||
}
|
||||
//获取验证码
|
||||
getAuthCode(data).then(res => {
|
||||
getAuthCode(data).then((res) => {
|
||||
console.log(res)
|
||||
if (res.result == 0) {
|
||||
this.sessionId = res.sessionId
|
||||
@@ -361,7 +360,7 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
<style lang='scss' scoped>
|
||||
.insured-info-container {
|
||||
.referrerW {
|
||||
/deep/ .van-cell__title {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -48,7 +48,7 @@ export default {
|
||||
age = this.getSaleInsuredInfo().age
|
||||
tips = '投保人年龄不适合此款险种,请选择其他险种!'
|
||||
} else {
|
||||
if(riskProductCode == 'GFRS_M0061' || riskProductCode == 'GFRS_M0102' || riskProductCode == 'GFRS_M0101'){
|
||||
if(riskProductCode == 'GFRS_M0061' || riskProductCode == 'GFRS_M0102' || riskProductCode == 'GFRS_M0101' || riskProductCode == 'GFRS_M0114'){
|
||||
age = this.getSaleInsuredPersonInfo().birthday?utilsAge.getAge29(this.getSaleInsuredPersonInfo().birthday, new Date()):this.getSaleInsuredPersonInfo().insuredAge
|
||||
}else{
|
||||
age = this.getSaleInsuredPersonInfo().birthday?utilsAge.getAgeByValue(this.getSaleInsuredPersonInfo().birthday, new Date()):this.getSaleInsuredPersonInfo().insuredAge
|
||||
|
||||
@@ -30,7 +30,14 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 15px; display: flex; align-items: center" class="fs20">
|
||||
<div class="xxx-issue">
|
||||
<p class="p1">您是否存在智能障碍,或其他精神、心理疾病?</p>
|
||||
<van-radio-group v-model="xxxIssue">
|
||||
<van-radio name="1">是</van-radio>
|
||||
<van-radio name="2">否</van-radio>
|
||||
</van-radio-group>
|
||||
</div>
|
||||
<div style="margin-top: 15px; display: flex; align-items: center;margin-bottom: 100px;" class="fs20">
|
||||
<span v-if="signVal == '3'" style="font-size: 16px; font-weight: bold">代理人签名:</span>
|
||||
<span v-if="signVal == '0' || signVal == '2'" style="font-size: 16px; font-weight: bold">投保人签名:</span>
|
||||
<span v-if="signVal == '1' && insuredAge >= 18" style="font-size: 16px; font-weight: bold">被保险人签名:</span>
|
||||
@@ -64,6 +71,7 @@
|
||||
<script>
|
||||
import { saveInformation } from '@/api/ebiz/sale/sale'
|
||||
import isChoose from '@/assets/images/u20257.png'
|
||||
import { RadioGroup, Radio} from 'vant'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -76,10 +84,14 @@ export default {
|
||||
insuredAge: '',
|
||||
guardianshow: false,
|
||||
guardianName: '',
|
||||
nextDisabled: true
|
||||
nextDisabled: true,
|
||||
xxxIssue: '2'
|
||||
}
|
||||
},
|
||||
components: {},
|
||||
components: {
|
||||
[RadioGroup.name]: RadioGroup,
|
||||
[Radio.name]: Radio,
|
||||
},
|
||||
created() {
|
||||
setTimeout(() => {
|
||||
// eslint-disable-next-line no-undef
|
||||
@@ -157,6 +169,9 @@ export default {
|
||||
}
|
||||
},
|
||||
gonext() {
|
||||
if (this.xxxIssue === '1') {
|
||||
return this.$toast('本产品不支持有智能障碍,或其他精神、心理疾病的人士投保。')
|
||||
}
|
||||
let params = {
|
||||
orderType: 'SIGN_MERGED_ORDER',
|
||||
orderDTO: {
|
||||
@@ -272,4 +287,18 @@ export default {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
}
|
||||
.xxx-issue{
|
||||
margin-top: 10px;
|
||||
.p1{
|
||||
font-size: 16px;
|
||||
color: #000;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
/deep/.van-radio-group{
|
||||
display: flex;
|
||||
.van-radio{
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user