dai 4 years ago
parent
commit
108a69a50e
  1. 2
      src/views/modules/base/resi.vue
  2. 12
      src/views/modules/visual/communityParty/community.vue

2
src/views/modules/base/resi.vue

@ -463,7 +463,7 @@ export default {
url: window.SITE_CONFIG['apiURL'] + '/epmetuser/icresiuser/importExcel', url: window.SITE_CONFIG['apiURL'] + '/epmetuser/icresiuser/importExcel',
method: 'post', method: 'post',
data: formData, data: formData,
timeout: '300000', timeout: '900000',
responseType: 'blob' responseType: 'blob'
}) })
.then((res) => { .then((res) => {

12
src/views/modules/visual/communityParty/community.vue

@ -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;

Loading…
Cancel
Save