mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
feat: 添加来源, 特定来源信息可以编辑
This commit is contained in:
@@ -774,12 +774,13 @@ export default {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/flow-improve/sale/insuranceApplicationFlow?edit=1&orderNo=' + this.$route.query['orderNo']
|
||||
url: location.origin + '/#/flow-improve/sale/insuranceApplicationFlow?edit=1&source=trial&orderNo=' + this.$route.query['orderNo']
|
||||
},
|
||||
routerInfo: {
|
||||
name: 'flowImproveSaleInsuranceApplicationFlow',
|
||||
query: {
|
||||
edit: 1,
|
||||
source: 'trial',
|
||||
// salePageFlag: 1,
|
||||
orderNo: this.$route.query['orderNo']
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
:parentShowPicker.sync="customerShowPicker"
|
||||
@nameChange="nameChange"
|
||||
@on-click="selectClick('1')"
|
||||
:readonly="isAppnt"
|
||||
:readonly="isReadonly"
|
||||
/>
|
||||
<van-field
|
||||
:value="userInfo.idType | idToText('idType')"
|
||||
@@ -48,7 +48,7 @@
|
||||
required
|
||||
placeholder="手工录入或点击右侧证件扫描"
|
||||
clearable
|
||||
:readonly="isAppnt"
|
||||
:readonly="isReadonly"
|
||||
v-validate="'required'"
|
||||
@blur="getRelatedData(userInfo.idNo)"
|
||||
/>
|
||||
@@ -63,7 +63,7 @@
|
||||
:flag="true"
|
||||
@confirm="onDateConfirm($event, '0')"
|
||||
ref="certificateValidate"
|
||||
:readonly="isAppnt"
|
||||
:readonly="isReadonly"
|
||||
></FieldDatePicker>
|
||||
<FieldDatePicker
|
||||
v-validate="{ required: certiexpiredateRequired }"
|
||||
@@ -76,12 +76,12 @@
|
||||
@confirm="onDateConfirm($event, '1')"
|
||||
ref="certiexpiredate"
|
||||
:flag="certiexpiredateShow"
|
||||
:readonly="isAppnt || idLimit"
|
||||
:readonly="isReadonly || idLimit"
|
||||
></FieldDatePicker>
|
||||
<div class="border-bt relative fs14 p10 flex align-center">
|
||||
<van-checkbox v-model="userInfo.effectiveDateType" class="fr" :disabled="effectiveDateTypeAble" @change="effectiveDataTypeChange">长期</van-checkbox>
|
||||
</div>
|
||||
<select-radio :radios="sexRadio" label="性别" name="性别" required v-validate="'required'" :value.sync="userInfo.sex" :disabled="isAppnt"></select-radio>
|
||||
<select-radio :radios="sexRadio" label="性别" name="性别" required v-validate="'required'" :value.sync="userInfo.sex" :disabled="isReadonly"></select-radio>
|
||||
<FieldDatePicker
|
||||
v-validate="'required'"
|
||||
label="出生日期"
|
||||
@@ -92,7 +92,7 @@
|
||||
:flag="true"
|
||||
@confirm="onDateConfirm($event, '2')"
|
||||
ref="birthday"
|
||||
:readonly="isAppnt"
|
||||
:readonly="isReadonly"
|
||||
:maxDate="currentTime"
|
||||
/>
|
||||
<van-field
|
||||
@@ -138,10 +138,10 @@
|
||||
placeholder="请输入"
|
||||
v-validate="'required|mobileLength11|mobileStartWith1|mobile'"
|
||||
maxlength="11"
|
||||
:readonly="isAppnt"
|
||||
:readonly="isReadonly"
|
||||
/>
|
||||
<!-- <van-field
|
||||
v-if="!isAppnt"
|
||||
v-if="!isReadonly"
|
||||
v-model="userInfo.authCode"
|
||||
center
|
||||
clearable
|
||||
@@ -862,7 +862,7 @@ export default {
|
||||
},
|
||||
selectClick(index) {
|
||||
// 投被保险人不允许编辑
|
||||
if (this.isAppnt) {
|
||||
if (this.isReadonly) {
|
||||
return
|
||||
}
|
||||
// this.currentPopupIndex = index
|
||||
@@ -902,7 +902,7 @@ export default {
|
||||
//弹框选择
|
||||
toSelect(pickerType, valueKey) {
|
||||
// 投被同人不允许编辑
|
||||
if (this.isAppnt && pickerType != '7') {
|
||||
if (this.isReadonly && pickerType != '7') {
|
||||
return
|
||||
}
|
||||
//pickerType 1、国家地区 2、证件类型 3、文化程度 4、有无社保(弃用) 5、税收居民身份 6、婚姻状况 7、在职情况 8、收入来源 11、新市民类型
|
||||
@@ -1922,7 +1922,7 @@ export default {
|
||||
},
|
||||
//地区选择
|
||||
areaChoose(index) {
|
||||
if (this.isAppnt) {
|
||||
if (this.isReadonly) {
|
||||
return
|
||||
}
|
||||
switch (index) {
|
||||
@@ -2054,6 +2054,9 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
isReadonly() {
|
||||
return this.isAppnt && this.$route.query.source !== "trial"
|
||||
},
|
||||
isShowOthenSalarySource() {
|
||||
if (this.userInfo.salarySource == '4') {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user