Commit 6b13fad6 authored by 胡's avatar

12月20

parent 0acff547
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"', appId: '"com.xcmg.app.dev"',
currentVersion: '"3.2.6"' currentVersion: '"3.2.9"'
} }
...@@ -65,6 +65,6 @@ export default { ...@@ -65,6 +65,6 @@ export default {
} }
.weui-dialog { .weui-dialog {
top: 30%; top: 30% !important;
} }
</style> </style>
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
let bp_type = obj.bp_type; let bp_type = obj.bp_type;
let bp_name = obj.bp_name; let bp_name = obj.bp_name;
let user_phone = JSON.parse(window.localStorage.getItem("user_phone")); let user_phone = window.localStorage.getItem("user_phone");
if (user_bp_status === 'APPROVED') { if (user_bp_status === 'APPROVED') {
vm.flag = false vm.flag = false
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<!-- <div :class="['top',(multipleRole!=='GUTA'&&user_bp_type!=='GUTA')?'has':'antiHas']" style="margin-top:-1px;"> --> <!-- <div :class="['top',(multipleRole!=='GUTA'&&user_bp_type!=='GUTA')?'has':'antiHas']" style="margin-top:-1px;"> -->
<div class="top" style="margin-top: -1px"> <div class="top" style="margin-top: -1px">
<div class="card-top"> <div class="card-top" :style="{height: nowBind.bp_type==='MANAGER'?'170px' : '2.4rem'}">
<img :src="upLoadObj" @click="checkType" /> <img :src="upLoadObj" @click="checkType" />
<div class="sign"> <div class="sign">
<span>{{ user_phone }}</span> <span>{{ user_phone }}</span>
...@@ -28,13 +28,13 @@ ...@@ -28,13 +28,13 @@
</p>--> </p>-->
<span>{{ nowBind.bp_name ? `${nowBind.bp_name} (当前)` : '未绑定' }}</span> <span>{{ nowBind.bp_name ? `${nowBind.bp_name} (当前)` : '未绑定' }}</span>
<div v-show="nowBind.bp_name" @click="changeUser">切换</div> <div v-show="nowBind.bp_name && nowBind.bp_type !== 'MANAGER'" @click="changeUser">切换</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="bind-user"> <div class="bind-user" v-if="nowBind.bp_type !== 'MANAGER'">
<div class="box"> <div class="box">
<p class="title">我绑定的用户</p> <p class="title">我绑定的用户</p>
<div v-if="!myBindUser.length" class="no-user"> <div v-if="!myBindUser.length" class="no-user">
...@@ -337,6 +337,7 @@ export default { ...@@ -337,6 +337,7 @@ export default {
returnItem: (index, obj) => { returnItem: (index, obj) => {
this.nowBind = this.bindUserList[index]; this.nowBind = this.bindUserList[index];
window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify(this.nowBind)); window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify(this.nowBind));
hlsPopup.showLongCenter('用户已切换成功');
}, },
}) })
}, },
......
...@@ -80,17 +80,18 @@ export default { ...@@ -80,17 +80,18 @@ export default {
NowItem: {}, // 当前操作对象 NowItem: {}, // 当前操作对象
} }
}, },
mounted() {
this.getList()
},
methods: { methods: {
// 未认证进行人脸 认证 // 未认证进行人脸 认证
face(item) { face(item) {
let vm = this;
let register = ['NP_NO', 'ORG_NO', 'ORG_L_NO', 'ORG_AUTH_NO']; let register = ['NP_NO', 'ORG_NO', 'ORG_L_NO', 'ORG_AUTH_NO'];
if (register.includes(item.bp_identity)) { if (register.includes(item.bp_identity)) {
// 如果未认证,人脸
let url = process.env.basePath + 'bp_query' let url = process.env.basePath + 'bp_query'
let param = { let param = { bp_id: item.bp_id }
bp_id: item.bp_id,
}
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then((result) => { vm.hlsHttp.post(url, param).then((result) => {
hlsPopup.hideLoading() hlsPopup.hideLoading()
...@@ -117,6 +118,8 @@ export default { ...@@ -117,6 +118,8 @@ export default {
vm.hlsPopup.showLongCenter(result.message) vm.hlsPopup.showLongCenter(result.message)
} }
}) })
} else {
hlsPopup.showLongCenter('认证已通过');
} }
}, },
...@@ -311,6 +314,11 @@ export default { ...@@ -311,6 +314,11 @@ export default {
height: 20px; height: 20px;
vertical-align: text-bottom; vertical-align: text-bottom;
} }
.name {
display: flex;
align-items: center;
}
} }
} }
......
...@@ -159,7 +159,8 @@ export default { ...@@ -159,7 +159,8 @@ export default {
let url = process.env.basePath + 'do_order_0_prj' let url = process.env.basePath + 'do_order_0_prj'
let param = { let param = {
info: { info: {
bp_id: window.localStorage.getItem('bp_id'), bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
......
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
let url = process.env.basePath + 'do_order_1_con' let url = process.env.basePath + 'do_order_1_con'
let param = { let param = {
info: { info: {
bp_id: window.localStorage.getItem('bp_id'), bp_id: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_id
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
......
...@@ -1094,7 +1094,8 @@ export default { ...@@ -1094,7 +1094,8 @@ export default {
vm.estateAttachmentId = res.lists[0].attachment_id vm.estateAttachmentId = res.lists[0].attachment_id
break break
default: default:
vm.dowload_list.push(res.lists) // vm.dowload_list.push(res.lists)
vm.dowload_list = [...vm.dowload_list, ...res.lists]
} }
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
......
...@@ -396,7 +396,7 @@ export default { ...@@ -396,7 +396,7 @@ export default {
academic_background_n: '', academic_background_n: '',
marital_status_n: '', marital_status_n: '',
bp_type: '', bp_type: '',
bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class, bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class || 'NP',
bp_name: '', bp_name: '',
province_name: '', province_name: '',
province_id: '', province_id: '',
...@@ -420,7 +420,7 @@ export default { ...@@ -420,7 +420,7 @@ export default {
working_place_sp: '', working_place_sp: '',
address_sp: '', address_sp: '',
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id bp_id: JSON.parse(window.localStorage.handleUser).bp_id
}, },
idCardFront: '', // 身份证正面图片 idCardFront: '', // 身份证正面图片
idCardBack: '', // 身份证反面图片 idCardBack: '', // 身份证反面图片
...@@ -516,7 +516,7 @@ export default { ...@@ -516,7 +516,7 @@ export default {
academic_background_n: '', academic_background_n: '',
marital_status_n: '', marital_status_n: '',
bp_type: '', bp_type: '',
bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class, bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class || 'NP',
bp_name: '', bp_name: '',
province_name: '', province_name: '',
province_id: '', province_id: '',
...@@ -540,7 +540,7 @@ export default { ...@@ -540,7 +540,7 @@ export default {
working_place_sp: '', working_place_sp: '',
address_sp: '', address_sp: '',
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id, bp_id: JSON.parse(window.localStorage.handleUser).bp_id,
} }
vm.idCardFront = '' // 身份证正面图片 vm.idCardFront = '' // 身份证正面图片
...@@ -597,7 +597,7 @@ export default { ...@@ -597,7 +597,7 @@ export default {
academic_background_n: '', academic_background_n: '',
marital_status_n: '', marital_status_n: '',
bp_type: '', bp_type: '',
bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class, bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class || 'NP',
bp_name: '', bp_name: '',
province_name: '', province_name: '',
province_id: '', province_id: '',
...@@ -621,7 +621,7 @@ export default { ...@@ -621,7 +621,7 @@ export default {
working_place_sp: '', working_place_sp: '',
address_sp: '', address_sp: '',
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id, bp_id: JSON.parse(window.localStorage.handleUser).bp_id,
} }
vm.idCardFrontUpload = '' vm.idCardFrontUpload = ''
vm.idCardBackUpload = '' vm.idCardBackUpload = ''
...@@ -683,7 +683,7 @@ export default { ...@@ -683,7 +683,7 @@ export default {
let url = process.env.basePath + 'bp_type_save' let url = process.env.basePath + 'bp_type_save'
let param = { let param = {
master: { master: {
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id, bp_id: JSON.parse(window.localStorage.handleUser).bp_id,
bp_type: vm.multiBpType.bp_type, bp_type: vm.multiBpType.bp_type,
}, },
} }
...@@ -706,7 +706,7 @@ export default { ...@@ -706,7 +706,7 @@ export default {
let vm = this let vm = this
let url = process.env.basePath + 'bp_np_info_query' let url = process.env.basePath + 'bp_np_info_query'
let param = { let param = {
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id, bp_id: JSON.parse(window.localStorage.handleUser).bp_id,
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -757,13 +757,13 @@ export default { ...@@ -757,13 +757,13 @@ export default {
break break
case 'MATE_ID_CARD_F': // 配偶身份证正面 case 'MATE_ID_CARD_F': // 配偶身份证正面
if (!vm.idCardFrontSpUrlFlag) { if (!vm.idCardFrontSpUrlFlag) {
vm.idCardFrontSp = res.lists[0].url vm.idCardFrontSp = res.lists[0] ? res.lists[0].url : null;
} }
vm.idCardFrontSpAttachmentId = res.lists[0].attachment_id vm.idCardFrontSpAttachmentId = res.lists[0].attachment_id
break break
case 'MATE_ID_CARD_B': // 配偶身份证背面 case 'MATE_ID_CARD_B': // 配偶身份证背面
if (!vm.idCardBackSpUrlFlag) { if (!vm.idCardBackSpUrlFlag) {
vm.idCardBackSp = res.lists[0].url vm.idCardBackSp = res.lists[0] ? res.lists[0].url : null;
} }
vm.idCardBackSpAttachmentId = res.lists[0].attachment_id vm.idCardBackSpAttachmentId = res.lists[0].attachment_id
break break
...@@ -917,8 +917,8 @@ export default { ...@@ -917,8 +917,8 @@ export default {
let flag = vm.checkHasmultiple() let flag = vm.checkHasmultiple()
let param = { let param = {
master: { master: {
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id, bp_id: JSON.parse(window.localStorage.handleUser).bp_id,
bp_type: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_type, bp_type: JSON.parse(window.localStorage.handleUser).bp_type,
}, },
} }
if (flag) { if (flag) {
...@@ -946,7 +946,7 @@ export default { ...@@ -946,7 +946,7 @@ export default {
let vm = this let vm = this
let url = process.env.basePath + 'bp_role_check' let url = process.env.basePath + 'bp_role_check'
let param = { let param = {
bp_id: JSON.parse(window.localStorage.now_user_bp_bind_id).bp_id, bp_id: JSON.parse(window.localStorage.handleUser).bp_id,
} }
let res = await vm.hlsHttp.post(url, param) let res = await vm.hlsHttp.post(url, param)
if (res.result === 'S') { if (res.result === 'S') {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div slot="name" class="required">客户类型</div> <div slot="name" class="required">客户类型</div>
<span slot="content">{{ baseInfo.bp_type_n }}</span> <span slot="content">{{ baseInfo.bp_type_n }}</span>
</item> </item>
<item v-if="(isMultiRole&&!hasMultiRole)" :showArrow="true" @click.native="selectIdType"> <item v-if="(isApproved && isMultiRole&&!hasMultiRole)" :showArrow="true" @click.native="selectIdType">
<div slot="name" class="required">客户类型</div> <div slot="name" class="required">客户类型</div>
<div slot="content" class="typeBP"> <div slot="content" class="typeBP">
<span>{{ baseInfo.bp_type_n }}</span> <span>{{ baseInfo.bp_type_n }}</span>
...@@ -519,7 +519,7 @@ export default { ...@@ -519,7 +519,7 @@ export default {
organization_code: '', organization_code: '',
registered_capital: '', registered_capital: '',
// business_license_num: '', // business_license_num: '',
bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class, bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class || 'ORG',
}, },
authMsg: { authMsg: {
auth_person_name: '', auth_person_name: '',
...@@ -658,7 +658,7 @@ export default { ...@@ -658,7 +658,7 @@ export default {
organization_code: '', organization_code: '',
registered_capital: '', registered_capital: '',
// business_license_num: '', // business_license_num: '',
bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class, bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class || 'ORG',
} }
vm.authMsg = { vm.authMsg = {
auth_person_name: '', auth_person_name: '',
...@@ -749,7 +749,7 @@ export default { ...@@ -749,7 +749,7 @@ export default {
organization_code: '', organization_code: '',
registered_capital: '', registered_capital: '',
// business_license_num: '', // business_license_num: '',
bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class, bp_class: JSON.parse(window.localStorage.getItem('handleUser')).bp_class || 'ORG',
} }
vm.authMsg = { vm.authMsg = {
auth_person_name: '', auth_person_name: '',
...@@ -1105,7 +1105,7 @@ export default { ...@@ -1105,7 +1105,7 @@ export default {
return return
} }
for (var key in vm.lastInfo) { for (var key in vm.lastInfo) {
if (!vm.lastInfo[key] && key !== 'phone') { if (key !== 'bp_class' && !vm.lastInfo[key] && key !== 'phone') {
switch (key) { switch (key) {
case 'province_id': case 'province_id':
vm.hlsPopup.showLongCenter('请选择省份') vm.hlsPopup.showLongCenter('请选择省份')
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=./cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.e7e2377302829c9967e8db68dae2bfee.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.0220c1f499aeb5db00f1.js></script><script type=text/javascript src=./static/js/vendor.ab3a82a5a65cc1afd48b.js></script><script type=text/javascript src=./static/js/app.dea6ba33c7164ae80cb8.js></script></body></html>
\ No newline at end of file
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