diff --git a/src/api/system/Inspection/index.ts b/src/api/system/Inspection/index.ts index 0e1f78d..ed13830 100644 --- a/src/api/system/Inspection/index.ts +++ b/src/api/system/Inspection/index.ts @@ -14,6 +14,13 @@ export const listItem = (query?: Request): AxiosPromise => { params: query }); }; +export const overview = (query?: Request): AxiosPromise => { + return request({ + url: '/inspection/data/generate/overview', + method: 'POST', + params: query + }); +}; export interface Request { /** * 进行中的任务数 diff --git a/src/api/system/Questionnaire/type.ts b/src/api/system/Questionnaire/type.ts index d2e9c2f..35a897a 100644 --- a/src/api/system/Questionnaire/type.ts +++ b/src/api/system/Questionnaire/type.ts @@ -154,7 +154,6 @@ export interface QuestionComponentItem { type: string; title: string; required: boolean; - options: QuestionComponentOption[]; } diff --git a/src/components/StepTimeline/index.vue b/src/components/StepTimeline/index.vue index c418177..9dee098 100644 --- a/src/components/StepTimeline/index.vue +++ b/src/components/StepTimeline/index.vue @@ -1,6 +1,6 @@ - - - + + + - - - + + + - + - + - - - + + + - + - + - + - + - + @@ -109,7 +109,7 @@ - - diff --git a/src/views/system/inspection/Weekly/index.vue b/src/views/system/inspection/Weekly/index.vue index 4096579..d025878 100644 --- a/src/views/system/inspection/Weekly/index.vue +++ b/src/views/system/inspection/Weekly/index.vue @@ -28,23 +28,20 @@ - + diff --git a/src/views/system/parking/addParking.vue b/src/views/system/parking/addParking.vue index 2683df5..18c4c61 100644 --- a/src/views/system/parking/addParking.vue +++ b/src/views/system/parking/addParking.vue @@ -190,7 +190,7 @@ const rules = ref({ { validator: (_: any, value: string | number, callback: (arg0?: Error) => void) => { if (value === '' || value === null) { - return callback(new Error('请输入车位面积')); + return callback(); } const val = Number(value); if (Number.isNaN(val)) { diff --git a/src/views/system/parking/index.vue b/src/views/system/parking/index.vue index 8cbe3c2..50a305e 100644 --- a/src/views/system/parking/index.vue +++ b/src/views/system/parking/index.vue @@ -4,19 +4,19 @@
- + - + - + - + 搜索 @@ -34,8 +34,8 @@ :disable-delete="multiple" :disable-edit="single" :show-add="checkPermi(['parking:parking:add'])" - :show-edit="checkPermi(['parking:parking:edit'])" :show-delete="checkPermi(['parking:parking:remove'])" + :show-edit="checkPermi(['parking:parking:edit'])" @update:add="handleAdd" @update:edit="handleUpdate()" @update:delete="handleDelete()" @@ -43,59 +43,61 @@ - - - - - - + + + + + + - - + + - + - + - + - - + + - +
- -