Commit 22ec48dc authored by linxin's avatar linxin

add

parent 3e92dc01
...@@ -11,6 +11,6 @@ module.exports = { ...@@ -11,6 +11,6 @@ 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: '"2.0.6"' currentVersion: '"2.0.7"'
} }
...@@ -573,6 +573,20 @@ export default { ...@@ -573,6 +573,20 @@ export default {
if (window.localStorage.getItem('bp_id') && !this.flag) { if (window.localStorage.getItem('bp_id') && !this.flag) {
this.checkUpdate() this.checkUpdate()
} }
if (newVal) {
this.authMsg = {
auth_person_name: '',
auth_person_matter: '',
auth_person_id_card: '',
auth_cell_phone: '',
auth_person_position: '',
auth_id_card_date_from: '', // 授权人身份证有效期从
auth_id_card_date_to: '', // 授权人身份证有效期到
}
this.authidCardFront = ''
this.authidCardBack = ''
this.laImg = ''
}
}, },
// 监听客户类型 // 监听客户类型
'baseInfo.bp_type_n' () { 'baseInfo.bp_type_n' () {
...@@ -915,7 +929,7 @@ export default { ...@@ -915,7 +929,7 @@ export default {
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.loadItemList(false) vm.loadItemList(false, 'HLS_ORG_AUTH')
} else { } else {
hlsPopup.showError(res.message) hlsPopup.showError(res.message)
} }
...@@ -1269,7 +1283,7 @@ export default { ...@@ -1269,7 +1283,7 @@ export default {
window.localStorage.setItem('bp_id', res.bp_id) window.localStorage.setItem('bp_id', res.bp_id)
vm.bindCheck() vm.bindCheck()
// 查询资料清单 // 查询资料清单
vm.loadItemList(flag) // vm.loadItemList(flag)
} else { } else {
vm.hlsPopup.showLongCenter(res.message) vm.hlsPopup.showLongCenter(res.message)
} }
...@@ -1522,10 +1536,12 @@ export default { ...@@ -1522,10 +1536,12 @@ export default {
vm.addAddressRows(res.info.living_address) vm.addAddressRows(res.info.living_address)
if (vm.baseInfo.auth_flag === '是') { if (vm.baseInfo.auth_flag === '是') {
vm.flag = false vm.flag = false
vm.loadItemList(true, 'HLS_ORG_AUTH')// 附件查询
} else if (vm.baseInfo.auth_flag === '否') { } else if (vm.baseInfo.auth_flag === '否') {
vm.loadItemList(true, 'HLS_ORG_NAUTH')// 附件查询
vm.flag = true vm.flag = true
} }
vm.loadItemList(true)// 附件查询 // vm.loadItemList(true)// 附件查询
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -1747,7 +1763,7 @@ export default { ...@@ -1747,7 +1763,7 @@ export default {
}) })
}, },
// 附件查询 // 附件查询
loadItemList (flag) { loadItemList (flag, type) {
let vm = this let vm = this
let bpId = vm.from ? window.localStorage.bp_id : vm.bp_id let bpId = vm.from ? window.localStorage.bp_id : vm.bp_id
if (bpId === 'undefined') { if (bpId === 'undefined') {
...@@ -1758,7 +1774,7 @@ export default { ...@@ -1758,7 +1774,7 @@ export default {
master: { master: {
'document_id': bpId, 'document_id': bpId,
'document_table': 'HLS_BP_MASTER', 'document_table': 'HLS_BP_MASTER',
'tab_group': vm.flag ? 'HLS_ORG_NAUTH' : 'HLS_ORG_AUTH', 'tab_group': type,
}, },
} }
// vm.hlsPopup.showLoading('请稍候') // vm.hlsPopup.showLoading('请稍候')
......
<!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.392743a6fbf07dc00d11730dd54443b8.css rel=stylesheet></head><body><div id=app-box></div><script>// if (window.history && window.history.pushState) { <!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.9890b33b4e1c9333702d6bcda567dbbb.css rel=stylesheet></head><body><div id=app-box></div><script>// if (window.history && window.history.pushState) {
// // 往历史记录里面添加一条新的当前页面的url // // 往历史记录里面添加一条新的当前页面的url
// history.pushState(null, null, document.URL) // history.pushState(null, null, document.URL)
// // 给 popstate 绑定一个方法 监听页面刷新 // // 给 popstate 绑定一个方法 监听页面刷新
...@@ -18,4 +18,4 @@ ...@@ -18,4 +18,4 @@
}, 50); }, 50);
} }
}) })
}</script><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.8a1ae113e3b5262701ed.js></script><script type=text/javascript src=./static/js/app.4f2d32f8f248228c815a.js></script></body></html> }</script><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.8a1ae113e3b5262701ed.js></script><script type=text/javascript src=./static/js/app.bd2975d2973f868e6fe1.js></script></body></html>
\ No newline at end of file \ 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