宣发统计
This commit is contained in:
@@ -269,7 +269,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getEffect() {
|
getEffect() {
|
||||||
var startTime = this.timeListEffect[0] || '' , endTime = this.timeListEffect[1] || '', departId = this.deptList[0].id || ''
|
var startTime = this.timeListEffect[0] || '' , endTime = this.timeListEffect[1] || '', departId = ''
|
||||||
|
if(this.deptList && this.deptList.length) {
|
||||||
|
departId = this.deptList[0].id
|
||||||
|
}
|
||||||
this.instance.post(`/app/appmasssendingtask/statisticsEffect?type=${this.effectType}&startTime=${startTime}&endTime=${endTime}&departId=${departId}`).then(res => {
|
this.instance.post(`/app/appmasssendingtask/statisticsEffect?type=${this.effectType}&startTime=${startTime}&endTime=${endTime}&departId=${departId}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.effectData = res.data
|
this.effectData = res.data
|
||||||
|
|||||||
Reference in New Issue
Block a user