|
|
@ -281,7 +281,6 @@ export default { |
|
|
|
selCustomerId: '', |
|
|
|
diaSubVisible: false, |
|
|
|
activeName: 'resi', |
|
|
|
dataListLoading: false, |
|
|
|
|
|
|
|
resiDataList: [], |
|
|
|
workDataList: [], |
|
|
@ -425,6 +424,7 @@ export default { |
|
|
|
this.workDataList = [] |
|
|
|
this.$nextTick(() => { |
|
|
|
this.selCustomerId = row.customerId |
|
|
|
|
|
|
|
this.loadSubscribeData() |
|
|
|
|
|
|
|
}) |
|
|
@ -433,7 +433,10 @@ export default { |
|
|
|
|
|
|
|
//加载列表数据 |
|
|
|
async loadSubscribeData () { |
|
|
|
this.dataListLoading = true |
|
|
|
this.$refs.temp_list_resi_has.setTableLoading() |
|
|
|
this.$refs.temp_list_resi_no.setTableLoading() |
|
|
|
this.$refs.temp_list_work_has.setTableLoading() |
|
|
|
this.$refs.temp_list_work_no.setTableLoading() |
|
|
|
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/subscribe/getcustomerlist' |
|
|
|
const url = 'https://epmet-cloud.elinkservice.cn/api/third/subscribe/getcustomerlist' |
|
|
|
let params = { |
|
|
@ -479,7 +482,10 @@ export default { |
|
|
|
} else { |
|
|
|
this.$message.error(msg + ":" + internalMsg) |
|
|
|
} |
|
|
|
this.dataListLoading = false |
|
|
|
this.$refs.temp_list_resi_has.setTableLoading() |
|
|
|
this.$refs.temp_list_resi_no.setTableLoading() |
|
|
|
this.$refs.temp_list_work_has.setTableLoading() |
|
|
|
this.$refs.temp_list_work_no.setTableLoading() |
|
|
|
}, |
|
|
|
|
|
|
|
// 订阅消息窗口取消 |
|
|
|