Commit c5e04bdd authored by linxin's avatar linxin

add

parent e2150d44
......@@ -577,7 +577,7 @@ export default {
// 监听客户类型
'baseInfo.bp_type_n' () {
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.typeName = '业务经办人'
vm.bp_type_flag = true
......@@ -915,7 +915,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.loadItemList(false)
vm.loadItemList(false, 'HLS_ORG_AUTH')
} else {
hlsPopup.showError(res.message)
}
......@@ -1269,7 +1269,7 @@ export default {
window.localStorage.setItem('bp_id', res.bp_id)
vm.bindCheck()
// 查询资料清单
vm.loadItemList(flag)
// vm.loadItemList(flag)
} else {
vm.hlsPopup.showLongCenter(res.message)
}
......@@ -1522,10 +1522,12 @@ export default {
vm.addAddressRows(res.info.living_address)
if (vm.baseInfo.auth_flag === '是') {
vm.flag = false
vm.loadItemList(true, 'HLS_ORG_AUTH')// 附件查询
} else if (vm.baseInfo.auth_flag === '否') {
vm.flag = true
vm.loadItemList(true, 'HLS_ORG_NAUTH')// 附件查询
}
vm.loadItemList(true)// 附件查询
// vm.loadItemList(true)// 附件查询
} else {
hlsPopup.showLongCenter(res.message)
}
......@@ -1747,7 +1749,7 @@ export default {
})
},
// 附件查询
loadItemList (flag) {
loadItemList (flag, type) {
let vm = this
let bpId = vm.from ? window.localStorage.bp_id : vm.bp_id
if (bpId === 'undefined') {
......@@ -1758,7 +1760,7 @@ export default {
master: {
'document_id': bpId,
'document_table': 'HLS_BP_MASTER',
'tab_group': vm.flag ? 'HLS_ORG_NAUTH' : 'HLS_ORG_AUTH',
'tab_group': type,
},
}
// 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