|
@@ -1251,6 +1251,7 @@ export default {
|
|
|
this.taskStatus = type;
|
|
|
|
|
|
this.queryParams.taskStatus = type;
|
|
|
+ console.log('type', type)
|
|
|
switch (type) {
|
|
|
case "1":
|
|
|
this.selectedTab = "type1";
|
|
@@ -1268,7 +1269,7 @@ export default {
|
|
|
this.selectedTab = "type0";
|
|
|
this.getList();
|
|
|
break;
|
|
|
- case "4":
|
|
|
+ case "9":
|
|
|
this.selectedTab = "type4";
|
|
|
this.getList();
|
|
|
break;
|
|
@@ -1326,14 +1327,15 @@ export default {
|
|
|
this.queryParams.iscycle = "1";
|
|
|
console.log(this.queryParams, "query");
|
|
|
getTaskInfoPage(this.queryParams).then((response) => {
|
|
|
- this.list = response.data.list;
|
|
|
+ this.list = response.data!=null?response.data.list:[];
|
|
|
this.total = response.data.total;
|
|
|
this.loading = false;
|
|
|
});
|
|
|
} else {
|
|
|
+ console.log('this.queryParams', this.queryParams)
|
|
|
// 执行查询
|
|
|
- getNoPeriodicityPage(this.queryParams).then((response) => {
|
|
|
- this.list = response.data.list;
|
|
|
+ getNoPeriodicityPage(JSON.stringify(this.queryParams)).then((response) => {
|
|
|
+ this.list = response.data!=null?response.data.list:[];
|
|
|
console.log(response.data.list, "query1");
|
|
|
this.total = response.data.total;
|
|
|
this.loading = false;
|