Commit 0066ac2d authored by 14699's avatar 14699

fix-zm页面调整

parent fa90dfe6
...@@ -4,12 +4,12 @@ module.exports = { ...@@ -4,12 +4,12 @@ module.exports = {
CONFIG_ENV: JSON.stringify(process.env.CONFIG_ENV), CONFIG_ENV: JSON.stringify(process.env.CONFIG_ENV),
debug: true, debug: true,
isMobilePlatform: true, isMobilePlatform: true,
loginPath: '"http://47.97.108.99:18080/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ', loginPath: '"http://47.97.108.99:19808/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ',
basePath: '"http://47.97.108.99:18080/r/api/interface?sysName=XCMG_UAT&apiName="', basePath: '"http://47.97.108.99:19808/r/api/interface?sysName=XCMG_UAT&apiName="',
rootPath: '"http://47.97.108.99:18080/r/api"', rootPath: '"http://47.97.108.99:19808/r/api"',
filePath: '"http://47.97.108.99:18080/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"', filePath: '"http://47.97.108.99:19808/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"',
ocrPath:'"http://47.97.108.99:18080/r/api"', ocrPath:'"http://47.97.108.99:19808/r/api"',
fileUploadSvcPath:'"http://47.97.108.99:18080/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://47.97.108.99:19808/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"', appId: '"com.xcmg.app.dev"',
currentVersion: '"3.5.9"' currentVersion: '"3.5.9"'
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
<!-- 搜索 --> <!-- 搜索 -->
<div class="search"> <div class="search">
<input v-model="searchInput" type="text" placeholder="请输入合同号/承租人名称" /> <input v-model="searchInput" type="text" placeholder="请输入承租人名称" />
</div> </div>
<scroll ref="scroll" :updateData="[showLists]" :pullUp="true" @pullingUp="loadMore"> <scroll ref="scroll" :updateData="[showLists]" :pullUp="true" @pullingUp="loadMore">
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<div class="pro-code" @click="goDetails(item)"> <div class="pro-code" @click="goDetails(item)">
<img src="@/assets/distributorSign/fileIcon.png" alt class="file-icon" /> <img src="@/assets/distributorSign/fileIcon.png" alt class="file-icon" />
<p> <p>
<span>合同号</span> <span>承租人</span>
<span>{{ item.project_number }}</span> <span>{{ item.project_number }}</span>
</p> </p>
<img v-if="item.read_check === 'N'" src="@/assets/constractSigning/unread.png" alt class="unread" /> <img v-if="item.read_check === 'N'" src="@/assets/constractSigning/unread.png" alt class="unread" />
...@@ -53,18 +53,18 @@ ...@@ -53,18 +53,18 @@
<p>承租人</p> <p>承租人</p>
<p>{{ item.bp_name }}</p> <p>{{ item.bp_name }}</p>
</div> </div>
<!-- <div>-->
<!-- <p>合同名称</p>-->
<!-- <p>{{ item.project_name }}</p>-->
<!-- </div>-->
<div> <div>
<p>合同名称</p> <p>设备总价</p>
<p>{{ item.project_name }}</p>
</div>
<div>
<p>合同租金</p>
<p class="money">{{ item.total_price | currency }}</p> <p class="money">{{ item.total_price | currency }}</p>
</div> </div>
<div> <!-- <div>-->
<p>产品名称</p> <!-- <p>产品名称</p>-->
<p>{{ item.division_n }}</p> <!-- <p>{{ item.division_n }}</p>-->
</div> <!-- </div>-->
<div> <div>
<p>申请时间</p> <p>申请时间</p>
<p>{{ dateConverse(item.confirm_start_date) }}</p> <p>{{ dateConverse(item.confirm_start_date) }}</p>
...@@ -74,24 +74,24 @@ ...@@ -74,24 +74,24 @@
</div> </div>
</div> </div>
</scroll> </scroll>
<div class="check-bottom"> <!-- <div class="check-bottom">-->
<div class="choose" v-show="isRadio"> <!-- <div class="choose" v-show="isRadio">-->
<div class="radio" @click="allChoose(!chooseAll)"> <!-- <div class="radio" @click="allChoose(!chooseAll)">-->
<img v-show="chooseAll" src="@/assets/login/radio.png" alt="radio" /> <!-- <img v-show="chooseAll" src="@/assets/login/radio.png" alt="radio" />-->
<div class="no-check" v-show="!chooseAll"></div> <!-- <div class="no-check" v-show="!chooseAll"></div>-->
<span :style="{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选</span> <!-- <span :style="{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选</span>-->
</div> <!-- </div>-->
<button class="cancel" @click="cancelRadio">× 取消批量</button> <!-- <button class="cancel" @click="cancelRadio">× 取消批量</button>-->
<button class="sign" @click="signContract">签订征信授权书</button> <!-- <button class="sign" @click="signContract">签订征信授权书</button>-->
</div> <!-- </div>-->
<div class="button-box" v-show="num == 1 && !isRadio"> <!-- <div class="button-box" v-show="num == 1 && !isRadio">-->
<div class="go-radio" @click="isRadio = true"> <!-- <div class="go-radio" @click="isRadio = true">-->
<img src="@/assets/login/write.png" alt="icon" /> <!-- <img src="@/assets/login/write.png" alt="icon" />-->
<span>批量签署</span> <!-- <span>批量签署</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div v-if="showLists.length === 0"> <div v-if="showLists.length === 0">
<div class="display"> <div class="display">
<img src="@/assets/messageCenter/noMsg.png" alt /> <img src="@/assets/messageCenter/noMsg.png" alt />
......
...@@ -12,24 +12,24 @@ ...@@ -12,24 +12,24 @@
<div slot="name" class="font-color">业务经办</div> <div slot="name" class="font-color">业务经办</div>
<input slot="content" v-model="baseInfo.bp_user_id_n" readonly> <input slot="content" v-model="baseInfo.bp_user_id_n" readonly>
</item> </item>
<item> <!-- <item>-->
<div slot="name" class="font-color">{{ baseInfo.bp_id_agent? '经销商': '办事处' }}</div> <!-- <div slot="name" class="font-color">{{ baseInfo.bp_id_agent? '经销商': '办事处' }}</div>-->
<span slot="content">{{ baseInfo.bp_id_agent?baseInfo.bp_id_agent_n:baseInfo.office_name }}</span> <!-- <span slot="content">{{ baseInfo.bp_id_agent?baseInfo.bp_id_agent_n:baseInfo.office_name }}</span>-->
</item> <!-- </item>-->
</list-item> </list-item>
<div class="equipment-list">承租人信息</div> <div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item> <item>
<div slot="name" class="font-color">公司名称</div> <div slot="name" class="font-color">公司名称</div>
<input slot="content" v-model="baseInfo.bp_name" readonly> <input slot="content" v-model="baseInfo.bp_name">
</item> </item>
<item> <item>
<div slot="name" class="font-color">营业执照号</div> <div slot="name" class="font-color">营业执照号</div>
<input slot="content" v-model="baseInfo.organization_code" readonly> <input slot="content" v-model="baseInfo.organization_code">
</item> </item>
<item> <item>
<div slot="name" class="font-color">注册资本</div> <div slot="name" class="font-color">注册资本</div>
<input slot="content" v-model="baseInfo.registered_capital" readonly> <input slot="content" v-model="baseInfo.registered_capital" >
</item> </item>
<item> <item>
<div slot="name" class="font-color">注册地址</div> <div slot="name" class="font-color">注册地址</div>
...@@ -37,15 +37,19 @@ ...@@ -37,15 +37,19 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">经营地址</div> <div slot="name" class="font-color">经营地址</div>
<input slot="content" v-model="baseInfo.business_address" readonly> <input slot="content" v-model="baseInfo.business_address" >
</item> </item>
<item> <item>
<div slot="name" class="font-color">固定电话</div> <div slot="name" class="font-color">固定电话</div>
<input slot="content" v-model="baseInfo.phone" readonly> <input slot="content" v-model="baseInfo.phone" >
</item> </item>
<item> <item>
<div slot="name" class="font-color">是否授权</div> <div slot="name" class="font-color">是否授权</div>
<input slot="content" v-model="baseInfo.auth_flag" readonly> <input slot="content" v-model="baseInfo.auth_flag" >
</item>
<item>
<div slot="name" class="font-color">是否征信授权</div>
<input slot="content" v-model="baseInfo.auth_flag" >
</item> </item>
</list-item> </list-item>
<div v-if="baseInfo.auth_flag === '是'" class="equipment-list">{{ '法定授权人' }}</div> <div v-if="baseInfo.auth_flag === '是'" class="equipment-list">{{ '法定授权人' }}</div>
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
<div slot="name" class="font-color">业务经办</div> <div slot="name" class="font-color">业务经办</div>
<input slot="content" v-model="baseInfo.bp_user_id_n" readonly> <input slot="content" v-model="baseInfo.bp_user_id_n" readonly>
</item> </item>
<item> <!-- <item>-->
<div slot="name" class="font-color">{{ baseInfo.bp_id_agent? '经销商': '办事处' }}</div> <!-- <div slot="name" class="font-color">{{ baseInfo.bp_id_agent? '经销商': '办事处' }}</div>-->
<span slot="content">{{ baseInfo.bp_id_agent?baseInfo.bp_id_agent_n:baseInfo.office_name }}</span> <!-- <span slot="content">{{ baseInfo.bp_id_agent?baseInfo.bp_id_agent_n:baseInfo.office_name }}</span>-->
</item> <!-- </item>-->
</list-item> </list-item>
<div class="equipment-list">承租人信息</div> <div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="search has-header"> <div class="search has-header">
<img src="@/assets/functionCenter/bgxg-pic@2x.png" alt=""> <img src="@/assets/functionCenter/bgxg-pic@2x.png" alt="">
</div> </div>
<div class="fun-item"> <div class="fun-item" style="height: 200px">
<div class="userInfo"> 租前业务</div> <div class="userInfo"> 租前业务</div>
<div class="info-content"> <div class="info-content">
<div class="add-name"> <div class="add-name">
...@@ -19,35 +19,35 @@ ...@@ -19,35 +19,35 @@
<img src="@/assets/functionCenter/in@2x.png" alt=""> <img src="@/assets/functionCenter/in@2x.png" alt="">
</div> </div>
</div> </div>
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/todo@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<div class="name-title">待办审批</div> <!-- <div class="name-title">待办审批</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="todoList()"> <!-- <div class="add-content" @click="todoList()">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/todo@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<div class="name-title">产品查询</div> <!-- <div class="name-title">产品查询</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="toproduct()"> <!-- <div class="add-content" @click="toproduct()">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/todo@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<div class="name-title">产品试算</div> <!-- <div class="name-title">产品试算</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="financingTrial()"> <!-- <div class="add-content" @click="financingTrial()">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
<div class="fun-item-before"> <div class="fun-item-before" style="height: 200px">
<div class="userInfo"> 租中业务</div> <div class="userInfo"> 租中业务</div>
<div class="info-content"> <div class="info-content">
<div class="add-name"> <div class="add-name">
...@@ -58,15 +58,15 @@ ...@@ -58,15 +58,15 @@
<img src="@/assets/functionCenter/in@2x.png" alt=""> <img src="@/assets/functionCenter/in@2x.png" alt="">
</div> </div>
</div> </div>
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/con-sign@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/con-sign@2x.png" alt="">-->
<div class="name-title">融租合同创建</div> <!-- <div class="name-title">融租合同创建</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="goStart"> <!-- <div class="add-content" @click="goStart">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<!-- <div class="info-content"> <!-- <div class="info-content">
<div class="add-name"> <div class="add-name">
<img src="@/assets/functionCenter/video@2x.png" alt="" > <img src="@/assets/functionCenter/video@2x.png" alt="" >
...@@ -76,65 +76,65 @@ ...@@ -76,65 +76,65 @@
<img src="@/assets/functionCenter/in@2x.png" alt="" > <img src="@/assets/functionCenter/in@2x.png" alt="" >
</div> </div>
</div> --> </div> -->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/car@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/car@2x.png" alt="">-->
<div class="name-title">合同签订</div> <!-- <div class="name-title">合同签订</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="goCarConfirm"> <!-- <div class="add-content" @click="goCarConfirm">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/payment@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/payment@2x.png" alt="">-->
<div class="name-title">首付还款</div> <!-- <div class="name-title">首付还款</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="goReimburse"> <!-- <div class="add-content" @click="goReimburse">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
<div class="fun-item-after"> <!-- <div class="fun-item-after">-->
<div class="userInfo"> 租后业务</div> <!-- <div class="userInfo"> 租后业务</div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/rent@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<div class="name-title">我的发票</div> <!-- <div class="name-title">我的发票</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="goInvoice"> <!-- <div class="add-content" @click="goInvoice">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/rent@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<div class="name-title">合同还款</div> <!-- <div class="name-title">合同还款</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="goContractRepayment"> <!-- <div class="add-content" @click="goContractRepayment">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/rent@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<div class="name-title">租金还款</div> <!-- <div class="name-title">租金还款</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="changeRent"> <!-- <div class="add-content" @click="changeRent">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="info-content"> <!-- <div class="info-content">-->
<div class="add-name"> <!-- <div class="add-name">-->
<img src="@/assets/functionCenter/con-que@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/con-que@2x.png" alt="">-->
<div class="name-title">合同查询</div> <!-- <div class="name-title">合同查询</div>-->
</div> <!-- </div>-->
<div class="add-content" @click="changeContract('GUTA')"> <!-- <div class="add-content" @click="changeContract('GUTA')">-->
<img src="@/assets/functionCenter/in@2x.png" alt=""> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</h-content> </h-content>
</h-view> </h-view>
</template> </template>
...@@ -507,6 +507,9 @@ export default { ...@@ -507,6 +507,9 @@ export default {
hlsPopup.showLongCenter('请先进行用户绑定') hlsPopup.showLongCenter('请先进行用户绑定')
} }
}, },
showMessage () {
hlsPopup.showLongCenter('暂未开放')
},
}, },
} }
</script> </script>
......
...@@ -59,21 +59,21 @@ ...@@ -59,21 +59,21 @@
<h-content class="my-content has-footer"> <h-content class="my-content has-footer">
<div class="content-top"> <div class="content-top">
<list-item :item-height="44" class="list"> <list-item :item-height="44" class="list">
<item @click.native="goContract"> <!-- <item @click.native="goContract">-->
<img slot="left-icon" src="@/assets/myInfo/agreement.png" class="left-icon" /> <!-- <img slot="left-icon" src="@/assets/myInfo/agreement.png" class="left-icon" />-->
<div slot="name">我的合同</div> <!-- <div slot="name">我的合同</div>-->
</item> <!-- </item>-->
<item <!-- <item-->
v-if="user_bp_type === 'TENANT' || user_bp_type === 'GUTA'" <!-- v-if="user_bp_type === 'TENANT' || user_bp_type === 'GUTA'"-->
@click.native="goReimburse" <!-- @click.native="goReimburse"-->
> <!-- >-->
<img slot="left-icon" src="@/assets/myInfo/repay.png" class="left-icon" /> <!-- <img slot="left-icon" src="@/assets/myInfo/repay.png" class="left-icon" />-->
<div slot="name">我的还款</div> <!-- <div slot="name">我的还款</div>-->
</item> <!-- </item>-->
<item v-if="user_bp_type === 'TENANT'" @click.native="goInvoice"> <!-- <item v-if="user_bp_type === 'TENANT'" @click.native="goInvoice">-->
<img slot="left-icon" src="@/assets/myInfo/invoice.png" class="left-icon" /> <!-- <img slot="left-icon" src="@/assets/myInfo/invoice.png" class="left-icon" />-->
<div slot="name">我的发票</div> <!-- <div slot="name">我的发票</div>-->
</item> <!-- </item>-->
<item @click.native="goMyProduct"> <item @click.native="goMyProduct">
<img slot="left-icon" src="@/assets/myInfo/collect.png" class="left-icon" /> <img slot="left-icon" src="@/assets/myInfo/collect.png" class="left-icon" />
<div slot="name">我的收藏</div> <div slot="name">我的收藏</div>
...@@ -304,14 +304,14 @@ export default { ...@@ -304,14 +304,14 @@ export default {
// 自己添加认证文字 // 自己添加认证文字
let register = { let register = {
NP_NO: "个人待认证", NP_NO: "个人",
NP_YES: "个人认证通过", NP_YES: "个人",
ORG_YES: "企业认证通过", ORG_YES: "企业",
ORG_NO: "企业待认证", ORG_NO: "企业",
ORG_L_NO: "法人待认证", ORG_L_NO: "法人",
ORG_L_YES: "法人认证通过", ORG_L_YES: "法人",
ORG_AUTH_NO: "授权人待认证", ORG_AUTH_NO: "授权人",
ORG_AUTH_YES: "授权人认证通过" ORG_AUTH_YES: "授权人"
} }
query.lists = query.lists.map(item => { query.lists = query.lists.map(item => {
...@@ -320,7 +320,7 @@ export default { ...@@ -320,7 +320,7 @@ export default {
}) })
window.localStorage.setItem('bind-user-list', JSON.stringify(query.lists)); window.localStorage.setItem('bind-user-list', JSON.stringify(query.lists));
// window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify(query.lists.length ? query.lists[0] : {})); window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify(query.lists.length ? query.lists[0] : {}));
if (!query.lists.length) if (!query.lists.length)
window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify({})); window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify({}));
......
...@@ -96,6 +96,7 @@ export default { ...@@ -96,6 +96,7 @@ export default {
methods: { methods: {
// 未认证进行人脸 认证 // 未认证进行人脸 认证
async face(item) { async face(item) {
return
let vm = this; 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)) {
...@@ -255,14 +256,14 @@ export default { ...@@ -255,14 +256,14 @@ export default {
// 自己添加认证文字 // 自己添加认证文字
let register = { let register = {
NP_NO: "个人待认证", NP_NO: "个人",
NP_YES: "个人认证通过", NP_YES: "个人",
ORG_YES: "企业认证通过", ORG_YES: "企业",
ORG_NO: "企业待认证", ORG_NO: "企业",
ORG_L_NO: "法人待认证", ORG_L_NO: "法人",
ORG_L_YES: "法人认证通过", ORG_L_YES: "法人",
ORG_AUTH_NO: "授权人待认证", ORG_AUTH_NO: "授权人",
ORG_AUTH_YES: "授权人认证通过" ORG_AUTH_YES: "授权人"
} }
query.lists = query.lists.map(item => { query.lists = query.lists.map(item => {
......
...@@ -167,9 +167,11 @@ export default { ...@@ -167,9 +167,11 @@ export default {
let length = vm.user_password.length let length = vm.user_password.length
if (length < 6 || length > 20) { if (length < 6 || length > 20) {
hlsPopup.showLongCenter('密码长度6~20位之间') hlsPopup.showLongCenter('密码长度6~20位之间')
} else if (new RegExp('^[0-9]*$').test(vm.user_password)) { }
hlsPopup.showLongCenter('密码不能全为数字') // else if (new RegExp('^[0-9]*$').test(vm.user_password)) {
} else { // hlsPopup.showLongCenter('密码不能全为数字')
// }
else {
vm.passwordFlag = true vm.passwordFlag = true
} }
}, },
...@@ -227,22 +229,22 @@ export default { ...@@ -227,22 +229,22 @@ export default {
getVerifiedCode () { getVerifiedCode () {
let vm = this let vm = this
hlsPopup.showLongCenter('测试验证码为123456') hlsPopup.showLongCenter('测试验证码为123456')
let url = process.env.basePath + 'sms_verify_post' // let url = process.env.basePath + 'sms_verify_post'
let signcode = '123456' // let signcode = '123456'
vm.captchaKey = signcode // vm.captchaKey = signcode
let param = { // let param = {
'phone': vm.phone_number, // 'phone': vm.phone_number,
'signcode': signcode, // 'signcode': signcode,
} // }
vm.hlsPopup.showLoading('请稍候') // vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { // vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() // vm.hlsPopup.hideLoading()
if (res.result === 'S') { // if (res.result === 'S') {
vm.hlsPopup.showSuccess('验证码已发送') // vm.hlsPopup.showSuccess('验证码已发送')
} else { // } else {
vm.hlsPopup.showLongCenter(res.return.description) // vm.hlsPopup.showLongCenter(res.return.description)
} // }
}) // })
}, },
}, },
} }
......
This diff is collapsed.
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn" @click="$routeGo()"> <div slot="left" class="h-header-btn" @click="$routeGo()">
<img src="@/assets/userBind/arrow.png"> <img src="@/assets/userBind/arrow.png">
<span>银行信息</span> <span>收款账户信息</span>
</div> </div>
</h-header> </h-header>
<div class="info"> <div class="info">
...@@ -59,45 +59,43 @@ ...@@ -59,45 +59,43 @@
<span>添加银行卡</span> <span>添加银行卡</span>
<img src="@/assets/userBind/close.png" @click="hideModal"> <img src="@/assets/userBind/close.png" @click="hideModal">
</div> </div>
<img <!-- <img-->
v-if="!bankImg" <!-- v-if="!bankImg"-->
src="@/assets/userBind/addBack.png" <!-- src="@/assets/userBind/addBack.png"-->
class="addBack" <!-- class="addBack"-->
@click="ocrShow('bankCard', '')" <!-- @click="ocrShow('bankCard', '')"-->
> <!-- >-->
<img <!-- <img-->
v-if="bankImg" <!-- v-if="bankImg"-->
:src="bankImg" <!-- :src="bankImg"-->
class="addBack" <!-- class="addBack"-->
style="height: 38%;" <!-- style="height: 38%;"-->
@click="ocrShow('bankCard', '')" <!-- @click="ocrShow('bankCard', '')"-->
> <!-- >-->
<list-item :item-height="44" class="card-Info"> <list-item :item-height="44" class="card-Info" style="margin-top: 50px;">
<item>
<div slot="name">账户名称</div>
<input slot="content" v-model="bank_lists.bank_account_name" placeholder="请输入账户名称">
</item>
<item> <item>
<div slot="name">银行卡卡号</div> <div slot="name">开户行</div>
<input <input
slot="content" slot="content"
v-model="bank_lists.bank_account_num" v-model="bank_lists.bank_full_name"
readonly placeholder="请输入开户行"
placeholder="识别银行卡自动填充"
> >
</item> </item>
<item> <item>
<div slot="name">账户姓名</div> <div slot="name">银行账号</div>
<input slot="content" v-model="bank_lists.bank_account_name" placeholder="请输入账户名称">
</item>
<item>
<div slot="name">银行名称</div>
<input <input
slot="content" slot="content"
v-model="bank_lists.bank_full_name" v-model="bank_lists.bank_account_num"
readonly placeholder="请输入银行账号"
placeholder="识别银行卡自动填充"
> >
</item> </item>
<item> <item>
<div slot="name">支行名称</div> <div slot="name">联行号</div>
<input slot="content" v-model="bank_lists.bank_branch_name" placeholder="请输入支行名称"> <input slot="content" v-model="bank_lists.bank_branch_name" placeholder="请输入联行号">
</item> </item>
</list-item> </list-item>
</div> </div>
...@@ -297,55 +295,55 @@ export default { ...@@ -297,55 +295,55 @@ export default {
content: '您确认提交吗?', content: '您确认提交吗?',
onConfirm: d => { onConfirm: d => {
if (d) { if (d) {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO' || !vm.bp_identity) { // if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO' || !vm.bp_identity) {
vm.hlsPopup.showConfirm({ // vm.hlsPopup.showConfirm({
title: '提示', // title: '提示',
content: '当前用户尚未认证,是否需要认证', // content: '当前用户尚未认证,是否需要认证',
cancelText: '直接提交', // cancelText: '直接提交',
confirmText: '先去认证', // confirmText: '先去认证',
onConfirm: c => { // onConfirm: c => {
if (c) { // if (c) {
// 只有自然人需要认证 // // 只有自然人需要认证
let url = process.env.basePath + 'bp_query' // let url = process.env.basePath + 'bp_query'
let param = { // let param = {
bp_id: JSON.parse(window.localStorage.getItem('handleUser')).bp_id, // bp_id: JSON.parse(window.localStorage.getItem('handleUser')).bp_id,
} // }
hlsPopup.showLoading('请稍候') // hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then((result) => { // vm.hlsHttp.post(url, param).then((result) => {
hlsPopup.hideLoading() // hlsPopup.hideLoading()
if (result.result === 'S') { // if (result.result === 'S') {
let data = result.lists[0] // let data = result.lists[0]
cordova.plugins.IdCardPlugin.idCardIdentify( // cordova.plugins.IdCardPlugin.idCardIdentify(
{ // {
idNum: data.id_card_no, // idNum: data.id_card_no,
idName: data.bp_name, // idName: data.bp_name,
phoneNum: window.localStorage.user_phone, // phoneNum: window.localStorage.user_phone,
}, // },
function (suc) { // function (suc) {
let success = JSON.parse(suc) // let success = JSON.parse(suc)
if (success.code === 1) { // if (success.code === 1) {
vm.getNpCertificationUrl() // vm.getNpCertificationUrl()
} // }
}, // },
function (reason) { // function (reason) {
let error = JSON.parse(reason) // let error = JSON.parse(reason)
vm.hlsPopup.showLongCenter('认证失败: ' + error.message) // vm.hlsPopup.showLongCenter('认证失败: ' + error.message)
} // }
) // )
} else { // } else {
vm.hlsPopup.showLongCenter(result.message) // vm.hlsPopup.showLongCenter(result.message)
} // }
}) // })
} else { // } else {
// 不校验的也直接提交 // // 不校验的也直接提交
vm.submitBind() // vm.submitBind()
} // }
}, // },
}) // })
} else { // } else {
// 已认证过的用户直接提交 // 已认证过的用户直接提交
vm.submitBind() vm.submitBind()
} // }
} }
}, },
}) })
...@@ -486,7 +484,7 @@ export default { ...@@ -486,7 +484,7 @@ export default {
// 银行卡验证this.hlsUtil.isBankAccount(this.bank.bank_account_num) // 银行卡验证this.hlsUtil.isBankAccount(this.bank.bank_account_num)
if (this.hlsUtil.isBankAccount(this.bank_lists.bank_account_num)) { if (this.hlsUtil.isBankAccount(this.bank_lists.bank_account_num)) {
this.bank_card_flag = false this.bank_card_flag = false
this.hlsPopup.showLongCenter('请输入正确银行号!') this.hlsPopup.showLongCenter('请输入正确银行号!')
} }
if (this.bank_card_flag) { if (this.bank_card_flag) {
this.hlsPopup.showLoading('请稍候') this.hlsPopup.showLoading('请稍候')
......
This diff is collapsed.
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