Commit 7c20f5ff authored by linxin's avatar linxin

Merge branch 'liuin' into uat

parents cd4c91c6 2ff081c9
...@@ -569,6 +569,11 @@ export default { ...@@ -569,6 +569,11 @@ export default {
this.flag = true this.flag = true
} }
}, },
'flag' (newVal, oldVal) {
if (window.localStorage.getItem('bp_id') && !this.flag) {
this.checkUpdate()
}
},
// 监听客户类型 // 监听客户类型
'baseInfo.bp_type_n' () { 'baseInfo.bp_type_n' () {
let vm = this let vm = this
...@@ -897,16 +902,23 @@ export default { ...@@ -897,16 +902,23 @@ export default {
}, },
}) })
}, },
// changeUndertake () { checkUpdate () {
// this.$router.push({ let vm = this
// name: 'MarginFirstPay', let url = process.env.basePath + 'prj_cdd_check_update'
// params: { let param = {
// bp_id: this.$route.params.bp_id, document_id: window.localStorage.bp_id,
// status: this.$route.params.status, tab_group: 'HLS_ORG_AUTH',
// isAGENT: this.isAGENT, }
// }, vm.hlsPopup.showLoading('请稍候')
// }) vm.hlsHttp.post(url, param).then(function (res) {
// }, vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.loadItemList(false)
} else {
hlsPopup.showError(res.message)
}
})
},
addRows (e) { addRows (e) {
if (e) { if (e) {
let addNum = Math.ceil(e.length / 16) let addNum = Math.ceil(e.length / 16)
...@@ -1735,7 +1747,7 @@ export default { ...@@ -1735,7 +1747,7 @@ export default {
// 附件查询 // 附件查询
loadItemList (flag) { loadItemList (flag) {
let vm = this let vm = this
let bpId = vm.from ? vm.$route.params.bp_id : vm.bp_id let bpId = vm.from ? window.localStorage.bp_id : vm.bp_id
if (bpId === 'undefined') { if (bpId === 'undefined') {
bpId = null bpId = null
} }
......
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