Commit 45b7b917 authored by 李晓兵's avatar 李晓兵

''

parent db386872
......@@ -59,8 +59,8 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
// if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
//const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
// }
Vue.use(componentInstall)
......
......@@ -177,6 +177,7 @@ export default {
},
// 进入待签约功能,客户类型为经销商则进入经销商功能,非经销商则进入合同签约
goSign () {
if (this.bp_id) {
if (this.user_bp_type === 'AGENT') {
this.$router.push({
name: 'ContractList',
......@@ -186,6 +187,9 @@ export default {
name: 'ContractSigning',
})
}
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
// 进入待确认,(进件确认)
goConfirm () {
......@@ -198,9 +202,13 @@ export default {
},
// 进入我的还款
goReimburse () {
if (this.bp_id) {
this.$router.push({
name: 'ReimburseMyselfList',
})
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
// 进入我的收藏
goMyProduct () {
......@@ -210,20 +218,32 @@ export default {
},
// 进入发车申请
goStart () {
if (this.bp_id) {
this.$router.push({
name: 'StartList',
})
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
// 进入发车确认
goCarConfirm () {
if (this.bp_id) {
this.$router.push({
name: 'ConfirmList',
})
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
goVideoSign () {
if (this.bp_id) {
this.$router.push({
name: 'VideoSign',
})
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
changeHelp () {
this.$router.push({
......@@ -231,9 +251,13 @@ export default {
})
},
changeDrawbackList () {
if (this.bp_id) {
this.$router.push({
name: 'DrawbackList',
})
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
changePay () {
if (window.sessionStorage.getItem('bp_id') !== 'undefined') {
......@@ -445,6 +469,7 @@ export default {
// 认证入口
async certification () {
let vm = this
if (vm.bp_id) {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO') {
let authUrl = await vm.getNpCertificationUrl()
if (authUrl) {
......@@ -472,6 +497,9 @@ export default {
} else {
hlsPopup.showLongCenter('您已认证通过')
}
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
}
},
// 获取个人认证url
async getNpCertificationUrl () {
......
<!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=CyOWd7pmPurvZ0PERgxEOlAlifG0y7Sp"></script><title>xcmg</title><link href=./static/css/app.84881c6cb7d5be64864b11323ab85fa6.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.efd596b798e6119ce4a4.js></script><script type=text/javascript src=./static/js/app.972addcd4e5bd52ea724.js></script></body></html>
\ No newline at end of file
<!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=CyOWd7pmPurvZ0PERgxEOlAlifG0y7Sp"></script><title>xcmg</title><link href=./static/css/app.a4266b42e9e2d7359bb4ca6f12f1e0dd.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.efd596b798e6119ce4a4.js></script><script type=text/javascript src=./static/js/app.12d489fd8cb9b17cd278.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
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