src/views/inspection/task/TaskManage.vue
@@ -296,7 +296,11 @@ data: r, } }) this.tasks = list this.tasks = list.filter((e) => { return ( e.data.districtname == '徐汇区' && dayjs(e.data.starttime).isBefore(dayjs('2023-12-31')) ) }) if (list.length == 0) { this.sideLoading = false this.mainLoading = false @@ -331,7 +335,9 @@ taskApi .fetchMonitorObjectVersion(task.data.tguid) .then((res) => { this.curMonitorObjList = res this.curMonitorObjList = res.filter((item) => { return item.scene.type == '餐饮' }) }) .finally(() => { this.mainLoading = false