Commit 221cdbc3 authored by linxin's avatar linxin

修改电子签描述

parent e0987dce
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<span>{{ user_phone }}</span> <span>{{ user_phone }}</span>
<div> <div>
电子签 电子签
<p :class="[elecStatus?'across':'un-across']" @click="certification">{{ elecStatus?'已通过':'待认证' }}</p> <p :class="[elecStatus?'across':'un-across']" @click="certification">{{ elecStatusDesceibe }}</p>
</div> </div>
</div> </div>
</div> </div>
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
return { return {
flag: true, flag: true,
isAGENT: false, isAGENT: false,
elecStatusDesceibe: '',
user_bp_status: '', user_bp_status: '',
user_bp_class: '', user_bp_class: '',
bp_id: '', bp_id: '',
...@@ -151,11 +152,58 @@ export default { ...@@ -151,11 +152,58 @@ export default {
} }
}, },
bp_identity (newVal, oldVal) { bp_identity (newVal, oldVal) {
if (newVal === 'NP_NO' || newVal === 'ORG_NO' || newVal === 'ORG_L_NO' || newVal === 'ORG_AUTH_NO ' || !newVal) { switch (newVal) {
this.elecStatus = false case 'NP_NO': {
} else if (newVal === 'NP_YES' || newVal === 'ORG_YES' || newVal === 'ORG_L_YES' || newVal === 'ORG_AUTH_YES') { this.elecStatusDesceibe = '个人待认证'
this.elecStatus = true this.elecStatus = false
break
}
case 'NP_YES': {
this.elecStatusDesceibe = '个人认证通过'
this.elecStatus = true
break
}
case 'ORG_NO': {
this.elecStatusDesceibe = '企业待认证'
this.elecStatus = false
break
}
case 'ORG_YES': {
this.elecStatusDesceibe = '企业认证通过'
this.elecStatus = true
break
}
case 'ORG_L_NO': {
this.elecStatusDesceibe = '法人待认证'
this.elecStatus = false
break
}
case 'ORG_L_YES': {
this.elecStatusDesceibe = '法人认证通过'
this.elecStatus = true
break
}
case 'ORG_AUTH_NO': {
this.elecStatusDesceibe = '授权人待认证'
this.elecStatus = false
break
}
case 'ORG_AUTH_YES': {
this.elecStatusDesceibe = '授权人认证通过'
this.elecStatus = true
break
}
default: {
this.elecStatusDesceibe = '用户未绑定'
this.elecStatus = false
break
}
} }
// if (newVal === 'NP_NO' || newVal === 'ORG_NO' || newVal === 'ORG_L_NO' || newVal === 'ORG_AUTH_NO ' || !newVal) {
// this.elecStatus = false
// } else if (newVal === 'NP_YES' || newVal === 'ORG_YES' || newVal === 'ORG_L_YES' || newVal === 'ORG_AUTH_YES') {
// this.elecStatus = true
// }
}, },
}, },
created () { created () {
...@@ -602,7 +650,7 @@ export default { ...@@ -602,7 +650,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 44px; padding:0 5px;
height: 20px; height: 20px;
margin-left: 10px; margin-left: 10px;
border: 1px solid #fff; border: 1px solid #fff;
......
...@@ -17,16 +17,9 @@ ...@@ -17,16 +17,9 @@
<h-content class="content"> <h-content class="content">
<div v-show="tabNum==0"> <div v-show="tabNum==0">
<list-item :item-height="44"> <list-item :item-height="44">
<item :showArrow="true" @click.native="selectIdType()"> <item v-if="!isApproved" :showArrow="true" @click.native="selectIdTypeOnly()">
<div slot="name" class="required">客户类型</div> <div slot="name" class="required">客户类型</div>
<div slot="content" class="typeBP"> <input
<span>{{ baseInfo.bp_type_n }}</span>
<span v-for="(item,index) in bp_type" :key="index">
{{ item.bp_type_n }}
<img src="@/assets/userBind/deleteTag.png" @click.stop @click="deleteBP(item)" >
</span>
</div>
<!-- <input
slot="content" slot="content"
v-model="baseInfo.bp_type_n" v-model="baseInfo.bp_type_n"
placeholder="请选择" placeholder="请选择"
...@@ -34,7 +27,17 @@ ...@@ -34,7 +27,17 @@
readonly readonly
onfocus="this.blur()" onfocus="this.blur()"
@click="selectIdType()" @click="selectIdType()"
>--> >
</item>
<item v-if="isApproved" :showArrow="true" @click.native="selectIdType()">
<div slot="name" class="required">客户类型</div>
<div slot="content" class="typeBP">
<span>{{ baseInfo.bp_type_n }}</span>
<span v-for="(item,index) in bp_type" :key="index">
{{ item.bp_type_n }}
<img src="@/assets/userBind/deleteTag.png" @click.stop @click="deleteBP(item)" >
</span>
</div>
</item> </item>
<item v-if="(isPaople&&from)||(isPaople&&isSelected)"> <item v-if="(isPaople&&from)||(isPaople&&isSelected)">
<div slot="name" class="required">业务经办人</div> <div slot="name" class="required">业务经办人</div>
...@@ -1357,6 +1360,18 @@ export default { ...@@ -1357,6 +1360,18 @@ export default {
}, },
}) })
}, },
selectIdTypeOnly (e) {
let vm = this
vm.hlsPopup.selectList({
list: vm.typeList,
code: 'bp_type',
object: {},
returnItem: function (index, obj) {
vm.baseInfo.bp_type = obj.bp_type
vm.baseInfo.bp_type_n = obj.bp_type_n
},
})
},
getBankInfo () { getBankInfo () {
let vm = this let vm = this
let id = vm.from let id = vm.from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment