|
@ -233,6 +233,7 @@ export default { |
|
|
timeRange (val) { |
|
|
timeRange (val) { |
|
|
console.log('val-www', val) |
|
|
console.log('val-www', val) |
|
|
this.getList(this.agencyId); |
|
|
this.getList(this.agencyId); |
|
|
|
|
|
this.getCateCount(this.agencyId) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
@ -322,7 +323,10 @@ export default { |
|
|
const url = "/heart/icpartyactivity/statistics" |
|
|
const url = "/heart/icpartyactivity/statistics" |
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyactivity/list" |
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyactivity/list" |
|
|
let params = { |
|
|
let params = { |
|
|
agencyId |
|
|
agencyId, |
|
|
|
|
|
serviceMatter: this.serviceMatter == 'all' ? '' : this.serviceMatter, |
|
|
|
|
|
startTime: this.timeRange && this.timeRange[0] || '', |
|
|
|
|
|
endTime: this.timeRange && this.timeRange[1] || '' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
@ -338,7 +342,10 @@ export default { |
|
|
const url = "/heart/icpartyunit/typestatistics" |
|
|
const url = "/heart/icpartyunit/typestatistics" |
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyactivity/list" |
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyactivity/list" |
|
|
let params = { |
|
|
let params = { |
|
|
agencyId |
|
|
agencyId, |
|
|
|
|
|
// serviceMatter: this.serviceMatter == 'all' ? '' : this.serviceMatter, |
|
|
|
|
|
// startTime: this.timeRange && this.timeRange[0] || '', |
|
|
|
|
|
// endTime: this.timeRange && this.timeRange[1] || '' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
@ -573,6 +580,7 @@ export default { |
|
|
|
|
|
|
|
|
handleSelectChange (val) { |
|
|
handleSelectChange (val) { |
|
|
this.getList(this.agencyId); |
|
|
this.getList(this.agencyId); |
|
|
|
|
|
this.getCateCount(this.agencyId) |
|
|
}, |
|
|
}, |
|
|
pageSizeChangeHandleNew (val) { |
|
|
pageSizeChangeHandleNew (val) { |
|
|
this.pageNo = 1; |
|
|
this.pageNo = 1; |
|
|