This commit is contained in:
liuye
2024-01-18 09:28:28 +08:00
parent c399e1a522
commit 4943c4cd09
3 changed files with 5 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ export default {
methods: { methods: {
getTotal() { getTotal() {
// var totalDepartmentId = this.totalDeptList.length ? this.totalDeptList[this.totalDeptList.length-1] : '' // var totalDepartmentId = this.totalDeptList.length ? this.totalDeptList[this.totalDeptList.length-1] : ''
this.instance.post(`/app/appmasssendingtaskbaidu/statistics1?areaId=${this.totalAreaId}`).then(res => { this.instance.post(`/app/appmasssendingtaskbaidu/statistics1?areaId=${this.totalAreaId || ''}`).then(res => {
if (res?.data) { if (res?.data) {
console.log(res) console.log(res)
this.totalInfo = res.data this.totalInfo = res.data

View File

@@ -118,8 +118,8 @@ export default {
params: { params: {
...this.search, ...this.search,
clientId: this.params.id, clientId: this.params.id,
beginTime: this.time[0] || '', beginTime: this.time && this.time.length ? this.time[0] : '',
endTime: this.time[1] || '' , endTime: this.time && this.time.length ? this.time[1] : '' ,
} }
}).then(res => { }).then(res => {
if(res?.data) { if(res?.data) {

View File

@@ -200,8 +200,8 @@ export default {
this.instance.post(`/app/xbotCallback/list2`,null,{ this.instance.post(`/app/xbotCallback/list2`,null,{
params: { params: {
...this.search, ...this.search,
beginTime: this.time[0] || '', beginTime: this.time && this.time.length ? this.time[0] : '',
endTime: this.time[1] || '' , endTime: this.time && this.time.length ? this.time[1] : '' ,
xbotId: this.configInfo.id ? this.configInfo.id : '' xbotId: this.configInfo.id ? this.configInfo.id : ''
} }
}).then(res => { }).then(res => {