From aa2e3f4435dc4d12da4cb4bd282ba0daa1b3cb6d Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Mon, 26 Sep 2022 11:13:27 +0800
Subject: [PATCH] Default Changelist
---
src/views/specialWorkSystem/workPlan/reserveSum/index.vue | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/views/specialWorkSystem/workPlan/reserveSum/index.vue b/src/views/specialWorkSystem/workPlan/reserveSum/index.vue
index a1ecf9f..32f8d2b 100644
--- a/src/views/specialWorkSystem/workPlan/reserveSum/index.vue
+++ b/src/views/specialWorkSystem/workPlan/reserveSum/index.vue
@@ -42,15 +42,15 @@
// 定义接口来定义对象的类型
interface stateType {
tableData: [],
- departmentList: [],
- hotCount: [],
- confinedSpaceCount: [],
- liftingCount: [],
- groundBreakingCount: [],
- openCircuitCout: [],
- heightCount: [],
- temporaryPowerCount: [],
- blindPlatePluggingCount: [],
+ departmentList: Array<any>,
+ hotCount: Array<any>,
+ confinedSpaceCount: Array<any>,
+ liftingCount: Array<any>,
+ groundBreakingCount: Array<any>,
+ openCircuitCout: Array<any>,
+ heightCount: Array<any>,
+ temporaryPowerCount: Array<any>,
+ blindPlatePluggingCount: Array<any>,
searchDates: Array<any>,
startTime: String,
endTime: String
@@ -73,7 +73,7 @@
heightCount: [],
temporaryPowerCount: [],
blindPlatePluggingCount: [],
- searchDates: '',
+ searchDates: [],
startTime: '',
endTime: ''
});
@@ -116,7 +116,6 @@
// 获取列表
const getListByPage = async () => {
- console.log(state.searchDates)
const data = { startTime: state.searchDates[0], endTime: state.searchDates[1] };
let res = await workAppointApi().getAllRecords(data);
if (res.data.code === '200') {
--
Gitblit v1.9.2