Commit c5e04bdd authored by linxin's avatar linxin

add

parent e2150d44
...@@ -577,7 +577,7 @@ export default { ...@@ -577,7 +577,7 @@ export default {
// 监听客户类型 // 监听客户类型
'baseInfo.bp_type_n' () { 'baseInfo.bp_type_n' () {
let vm = this let vm = this
if (vm.baseInfo.bp_type === 'TENANT' || vm.baseInfo.bp_type === 'GUTA' || vm.hasPeople || vm.hasMultiRole) { if (vm.baseInfo.bp_type === 'TENANT' || vm.baseInfo.bp_type === 'GUTA' || vm.hasPeople) {
vm.type = '请输入业务经办员工代码' vm.type = '请输入业务经办员工代码'
vm.typeName = '业务经办人' vm.typeName = '业务经办人'
vm.bp_type_flag = true vm.bp_type_flag = true
...@@ -915,7 +915,7 @@ export default { ...@@ -915,7 +915,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 +1269,7 @@ export default { ...@@ -1269,7 +1269,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 +1522,12 @@ export default { ...@@ -1522,10 +1522,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.flag = true vm.flag = true
vm.loadItemList(true, 'HLS_ORG_NAUTH')// 附件查询
} }
vm.loadItemList(true)// 附件查询 // vm.loadItemList(true)// 附件查询
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -1747,7 +1749,7 @@ export default { ...@@ -1747,7 +1749,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 +1760,7 @@ export default { ...@@ -1758,7 +1760,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('请稍候')
......
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