From 09c84f731f813a4d673a8bfebb58297c65d8f780 Mon Sep 17 00:00:00 2001
From: wbc <942429426@qq.com>
Date: Fri, 21 Mar 2025 09:12:33 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/IO/patrolReport/reportModal.vue | 2 +-
.../IO/workOrder/orderSend/faultModal.vue | 1 -
src/views/IO/workOrder/orderSend/index.vue | 1 +
src/views/analysis/complete/api.ts | 32 ++++
src/views/analysis/complete/data.ts | 54 ++++++
src/views/analysis/complete/detailDrawer.vue | 99 +++++++++++
src/views/analysis/complete/index.vue | 62 +++++++
src/views/analysis/faultNum/api.ts | 32 ++++
src/views/analysis/faultNum/data.ts | 62 +++++++
src/views/analysis/faultNum/detailDrawer.vue | 87 +++++++++
src/views/analysis/faultNum/index.vue | 62 +++++++
src/views/analysis/online/api.ts | 32 ++++
src/views/analysis/online/data.ts | 46 +++++
src/views/analysis/online/detailDrawer.vue | 84 +++++++++
src/views/analysis/online/index.vue | 62 +++++++
src/views/analysis/planComplete/api.ts | 32 ++++
src/views/analysis/planComplete/data.ts | 50 ++++++
src/views/analysis/planComplete/index.vue | 42 +++++
src/views/analysis/reportSubmit/api.ts | 32 ++++
src/views/analysis/reportSubmit/data.ts | 21 +++
src/views/analysis/reportSubmit/index.vue | 42 +++++
src/views/analysis/resAndFix/api.ts | 32 ++++
src/views/analysis/resAndFix/data.ts | 62 +++++++
src/views/analysis/resAndFix/detailDrawer.vue | 93 ++++++++++
src/views/analysis/resAndFix/index.vue | 62 +++++++
src/views/analysis/resource/api.ts | 32 ++++
src/views/analysis/resource/data.ts | 79 +++++++++
src/views/analysis/resource/detailDrawer.vue | 91 ++++++++++
src/views/analysis/resource/index.vue | 62 +++++++
src/views/analysis/satisify/addModal.vue | 165 ++++++++++++++++++
src/views/analysis/satisify/api.ts | 32 ++++
src/views/analysis/satisify/data.ts | 45 +++++
src/views/analysis/satisify/detailDrawer.vue | 147 ++++++++++++++++
src/views/analysis/satisify/index.vue | 62 +++++++
src/views/analysis/type/api.ts | 32 ++++
src/views/analysis/type/data.ts | 79 +++++++++
src/views/analysis/type/detailDrawer.vue | 88 ++++++++++
src/views/analysis/type/index.vue | 62 +++++++
src/views/project/IOCheck/ratingSearch/api.ts | 36 +---
src/views/project/serviceManage/api.ts | 45 ++---
src/views/project/serviceManage/index.vue | 112 ++++--------
src/views/property/meterial/index.vue | 8 +-
src/views/property/point/api.ts | 45 ++---
src/views/property/point/index.vue | 113 ++++--------
src/views/property/propertyList/index.vue | 20 +--
.../propertyList/{api.ts => property.api.ts} | 0
.../{data.ts => property.data.ts} | 0
47 files changed, 2253 insertions(+), 288 deletions(-)
create mode 100644 src/views/analysis/complete/api.ts
create mode 100644 src/views/analysis/complete/data.ts
create mode 100644 src/views/analysis/complete/detailDrawer.vue
create mode 100644 src/views/analysis/complete/index.vue
create mode 100644 src/views/analysis/faultNum/api.ts
create mode 100644 src/views/analysis/faultNum/data.ts
create mode 100644 src/views/analysis/faultNum/detailDrawer.vue
create mode 100644 src/views/analysis/faultNum/index.vue
create mode 100644 src/views/analysis/online/api.ts
create mode 100644 src/views/analysis/online/data.ts
create mode 100644 src/views/analysis/online/detailDrawer.vue
create mode 100644 src/views/analysis/online/index.vue
create mode 100644 src/views/analysis/planComplete/api.ts
create mode 100644 src/views/analysis/planComplete/data.ts
create mode 100644 src/views/analysis/planComplete/index.vue
create mode 100644 src/views/analysis/reportSubmit/api.ts
create mode 100644 src/views/analysis/reportSubmit/data.ts
create mode 100644 src/views/analysis/reportSubmit/index.vue
create mode 100644 src/views/analysis/resAndFix/api.ts
create mode 100644 src/views/analysis/resAndFix/data.ts
create mode 100644 src/views/analysis/resAndFix/detailDrawer.vue
create mode 100644 src/views/analysis/resAndFix/index.vue
create mode 100644 src/views/analysis/resource/api.ts
create mode 100644 src/views/analysis/resource/data.ts
create mode 100644 src/views/analysis/resource/detailDrawer.vue
create mode 100644 src/views/analysis/resource/index.vue
create mode 100644 src/views/analysis/satisify/addModal.vue
create mode 100644 src/views/analysis/satisify/api.ts
create mode 100644 src/views/analysis/satisify/data.ts
create mode 100644 src/views/analysis/satisify/detailDrawer.vue
create mode 100644 src/views/analysis/satisify/index.vue
create mode 100644 src/views/analysis/type/api.ts
create mode 100644 src/views/analysis/type/data.ts
create mode 100644 src/views/analysis/type/detailDrawer.vue
create mode 100644 src/views/analysis/type/index.vue
rename src/views/property/propertyList/{api.ts => property.api.ts} (100%)
rename src/views/property/propertyList/{data.ts => property.data.ts} (100%)
diff --git a/src/views/IO/patrolReport/reportModal.vue b/src/views/IO/patrolReport/reportModal.vue
index 0911084..2d13323 100644
--- a/src/views/IO/patrolReport/reportModal.vue
+++ b/src/views/IO/patrolReport/reportModal.vue
@@ -106,7 +106,7 @@
platformOnlineRate: null,
problemHandleDesc: '',
inspectionStatus: null,
- attachment: '',
+ attachment: [],
inspectionPhoto: '',
});
//弹窗列表
diff --git a/src/views/IO/workOrder/orderSend/faultModal.vue b/src/views/IO/workOrder/orderSend/faultModal.vue
index f924ae7..87220df 100644
--- a/src/views/IO/workOrder/orderSend/faultModal.vue
+++ b/src/views/IO/workOrder/orderSend/faultModal.vue
@@ -274,7 +274,6 @@
title: '新点位',
});
map.value.add(newMarker);
- console.log(map.value);
});
} catch (error) {
console.error('加载高德地图失败:', error);
diff --git a/src/views/IO/workOrder/orderSend/index.vue b/src/views/IO/workOrder/orderSend/index.vue
index a2bdc79..74dcf69 100644
--- a/src/views/IO/workOrder/orderSend/index.vue
+++ b/src/views/IO/workOrder/orderSend/index.vue
@@ -62,6 +62,7 @@
const showDrawer = (id: any) => {
detailDrawerRef.value.showDrawer(id);
};
+
// 前往审批记录页面
diff --git a/src/views/analysis/complete/api.ts b/src/views/analysis/complete/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/complete/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/complete/data.ts b/src/views/analysis/complete/data.ts
new file mode 100644
index 0000000..bdf26c2
--- /dev/null
+++ b/src/views/analysis/complete/data.ts
@@ -0,0 +1,54 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'time',
+ label: '时间',
+ component: 'DatePicker',
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '分控中心',
+ dataIndex: 'unit',
+ },
+ {
+ title: '点位总数',
+ dataIndex: 'pointSum',
+ },
+ {
+ title: '正常点位数',
+ dataIndex: 'normalNum',
+ },
+ {
+ title: '辖区完好率',
+ dataIndex: 'areaCompleteRate',
+ },
+ {
+ title: '运维单位完好率',
+ dataIndex: 'ioUnitCompleteRate',
+ },
+];
diff --git a/src/views/analysis/complete/detailDrawer.vue b/src/views/analysis/complete/detailDrawer.vue
new file mode 100644
index 0000000..210f4cb
--- /dev/null
+++ b/src/views/analysis/complete/detailDrawer.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
diff --git a/src/views/analysis/complete/index.vue b/src/views/analysis/complete/index.vue
new file mode 100644
index 0000000..56e90f0
--- /dev/null
+++ b/src/views/analysis/complete/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/faultNum/api.ts b/src/views/analysis/faultNum/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/faultNum/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/faultNum/data.ts b/src/views/analysis/faultNum/data.ts
new file mode 100644
index 0000000..64933ad
--- /dev/null
+++ b/src/views/analysis/faultNum/data.ts
@@ -0,0 +1,62 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'time',
+ label: '时间',
+ component: 'DatePicker',
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '运维单位',
+ dataIndex: 'ioUnit',
+ },
+ {
+ title: '故障原因',
+ dataIndex: 'faultReason',
+ },
+ {
+ title: '故障数量',
+ dataIndex: 'faultNum',
+ },
+ {
+ title: '修复数量',
+ dataIndex: 'fixNum',
+ },
+ {
+ title: '未修复数量',
+ dataIndex: 'unfixNum',
+ },
+ {
+ title: '上月未修复数量',
+ dataIndex: 'lastMonthUnfixNum',
+ },
+ {
+ title: '累计未修复数量',
+ dataIndex: 'sumUnfixNum',
+ },
+];
diff --git a/src/views/analysis/faultNum/detailDrawer.vue b/src/views/analysis/faultNum/detailDrawer.vue
new file mode 100644
index 0000000..f98c8c3
--- /dev/null
+++ b/src/views/analysis/faultNum/detailDrawer.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
diff --git a/src/views/analysis/faultNum/index.vue b/src/views/analysis/faultNum/index.vue
new file mode 100644
index 0000000..9403e53
--- /dev/null
+++ b/src/views/analysis/faultNum/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/online/api.ts b/src/views/analysis/online/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/online/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/online/data.ts b/src/views/analysis/online/data.ts
new file mode 100644
index 0000000..117be6d
--- /dev/null
+++ b/src/views/analysis/online/data.ts
@@ -0,0 +1,46 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'time',
+ label: '时间',
+ component: 'DatePicker',
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '日期',
+ dataIndex: 'date',
+ },
+ {
+ title: '日在线率',
+ dataIndex: 'dailyOnlineRate',
+ },
+ {
+ title: '异常情况',
+ dataIndex: 'unusual',
+ },
+];
diff --git a/src/views/analysis/online/detailDrawer.vue b/src/views/analysis/online/detailDrawer.vue
new file mode 100644
index 0000000..1b53173
--- /dev/null
+++ b/src/views/analysis/online/detailDrawer.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
diff --git a/src/views/analysis/online/index.vue b/src/views/analysis/online/index.vue
new file mode 100644
index 0000000..6fc28cc
--- /dev/null
+++ b/src/views/analysis/online/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/planComplete/api.ts b/src/views/analysis/planComplete/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/planComplete/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/planComplete/data.ts b/src/views/analysis/planComplete/data.ts
new file mode 100644
index 0000000..061932d
--- /dev/null
+++ b/src/views/analysis/planComplete/data.ts
@@ -0,0 +1,50 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'time',
+ label: '时间',
+ component: 'DatePicker',
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '巡检内容',
+ dataIndex: 'patrolContent',
+ },
+ {
+ title: '频率',
+ dataIndex: 'frequency',
+ },
+ {
+ title: '本月完成情况',
+ dataIndex: 'monthComplete',
+ },
+ {
+ title: '计划总况',
+ dataIndex: 'planComplete',
+ },
+];
diff --git a/src/views/analysis/planComplete/index.vue b/src/views/analysis/planComplete/index.vue
new file mode 100644
index 0000000..851511d
--- /dev/null
+++ b/src/views/analysis/planComplete/index.vue
@@ -0,0 +1,42 @@
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/reportSubmit/api.ts b/src/views/analysis/reportSubmit/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/reportSubmit/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/reportSubmit/data.ts b/src/views/analysis/reportSubmit/data.ts
new file mode 100644
index 0000000..0bac4a3
--- /dev/null
+++ b/src/views/analysis/reportSubmit/data.ts
@@ -0,0 +1,21 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'time',
+ label: '时间',
+ component: 'DatePicker',
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '项目名称',
+ dataIndex: 'projectName',
+ },
+ {
+ title: '当月提交数量',
+ dataIndex: 'monthSubmit',
+ },
+];
diff --git a/src/views/analysis/reportSubmit/index.vue b/src/views/analysis/reportSubmit/index.vue
new file mode 100644
index 0000000..2de80e7
--- /dev/null
+++ b/src/views/analysis/reportSubmit/index.vue
@@ -0,0 +1,42 @@
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/resAndFix/api.ts b/src/views/analysis/resAndFix/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/resAndFix/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/resAndFix/data.ts b/src/views/analysis/resAndFix/data.ts
new file mode 100644
index 0000000..689841a
--- /dev/null
+++ b/src/views/analysis/resAndFix/data.ts
@@ -0,0 +1,62 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'time',
+ label: '时间',
+ component: 'DatePicker',
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '类型',
+ dataIndex: 'type',
+ },
+ {
+ title: '运维单位',
+ dataIndex: 'ioUnit',
+ },
+ {
+ title: '故障总数量',
+ dataIndex: 'faultSum',
+ },
+ {
+ title: '响应超时数',
+ dataIndex: 'responseOvertimeNum',
+ },
+ {
+ title: '响应超时总时长',
+ dataIndex: 'responseOverTimeSum',
+ },
+ {
+ title: '修复超时数',
+ dataIndex: 'fixOvertimeNum',
+ },
+ {
+ title: '修复超时总时长',
+ dataIndex: 'fixOvertimeSum',
+ },
+];
diff --git a/src/views/analysis/resAndFix/detailDrawer.vue b/src/views/analysis/resAndFix/detailDrawer.vue
new file mode 100644
index 0000000..a8655a5
--- /dev/null
+++ b/src/views/analysis/resAndFix/detailDrawer.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
diff --git a/src/views/analysis/resAndFix/index.vue b/src/views/analysis/resAndFix/index.vue
new file mode 100644
index 0000000..4aebdbf
--- /dev/null
+++ b/src/views/analysis/resAndFix/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/resource/api.ts b/src/views/analysis/resource/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/resource/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/resource/data.ts b/src/views/analysis/resource/data.ts
new file mode 100644
index 0000000..4ac903a
--- /dev/null
+++ b/src/views/analysis/resource/data.ts
@@ -0,0 +1,79 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'repairTimeRange',
+ label: '报修范围',
+ component: 'RangePicker',
+ },
+ {
+ field: 'repairer',
+ label: '报修人名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '编号',
+ dataIndex: 'code',
+ },
+ {
+ title: '报修时间',
+ dataIndex: 'repairTime',
+ },
+ {
+ title: '响应级别',
+ dataIndex: 'responseLevel',
+ },
+ {
+ title: '故障描述',
+ dataIndex: 'faultDescription',
+ },
+ {
+ title: '故障地点',
+ dataIndex: 'faultLocation',
+ },
+ {
+ title: '当前状态',
+ dataIndex: 'status',
+ },
+];
diff --git a/src/views/analysis/resource/detailDrawer.vue b/src/views/analysis/resource/detailDrawer.vue
new file mode 100644
index 0000000..374e854
--- /dev/null
+++ b/src/views/analysis/resource/detailDrawer.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
diff --git a/src/views/analysis/resource/index.vue b/src/views/analysis/resource/index.vue
new file mode 100644
index 0000000..ada5800
--- /dev/null
+++ b/src/views/analysis/resource/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/satisify/addModal.vue b/src/views/analysis/satisify/addModal.vue
new file mode 100644
index 0000000..eda898c
--- /dev/null
+++ b/src/views/analysis/satisify/addModal.vue
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/satisify/api.ts b/src/views/analysis/satisify/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/satisify/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/satisify/data.ts b/src/views/analysis/satisify/data.ts
new file mode 100644
index 0000000..ebd8acf
--- /dev/null
+++ b/src/views/analysis/satisify/data.ts
@@ -0,0 +1,45 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '项目名称',
+ dataIndex: 'projectName',
+ },
+ {
+ title: '时间',
+ dataIndex: 'time',
+ },
+ {
+ title: '备注',
+ dataIndex: 'remark',
+ },
+ {
+ title: '辖区数量',
+ dataIndex: 'areaNum',
+ },
+];
diff --git a/src/views/analysis/satisify/detailDrawer.vue b/src/views/analysis/satisify/detailDrawer.vue
new file mode 100644
index 0000000..89c4fa4
--- /dev/null
+++ b/src/views/analysis/satisify/detailDrawer.vue
@@ -0,0 +1,147 @@
+
+
+
+
+ 附件:{{ attachment }}
+ 新增
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/satisify/index.vue b/src/views/analysis/satisify/index.vue
new file mode 100644
index 0000000..8f8fb66
--- /dev/null
+++ b/src/views/analysis/satisify/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/analysis/type/api.ts b/src/views/analysis/type/api.ts
new file mode 100644
index 0000000..4727d35
--- /dev/null
+++ b/src/views/analysis/type/api.ts
@@ -0,0 +1,32 @@
+import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { defHttp } from '@/utils/http/axios';
+
+enum Api {
+ root = '/workflow/leave',
+ list = '/workflow/leave/list',
+ export = '/workflow/leave/export',
+}
+
+export function list(params?: PageQuery) {
+ return defHttp.get({ url: Api.list, params });
+}
+
+export function exportExcel(data: any) {
+ return commonExport(Api.export, data);
+}
+
+export function getInfo(id: ID) {
+ return defHttp.get({ url: `${Api.root}/${id}` });
+}
+
+export function add(data: any) {
+ return defHttp.post({ url: Api.root, data });
+}
+
+export function update(data: any) {
+ return defHttp.put({ url: Api.root, data });
+}
+
+export function removeByIds(ids: IDS) {
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+}
diff --git a/src/views/analysis/type/data.ts b/src/views/analysis/type/data.ts
new file mode 100644
index 0000000..57669bf
--- /dev/null
+++ b/src/views/analysis/type/data.ts
@@ -0,0 +1,79 @@
+import { BasicColumn } from '@/components/Table';
+import { FormSchema } from '@/components/Form';
+
+export const formSchemas: FormSchema[] = [
+ {
+ field: 'projectName',
+ label: '项目名称',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+ {
+ field: 'repairTimeRange',
+ label: '报修范围',
+ component: 'RangePicker',
+ },
+ {
+ field: 'faultSubcategory',
+ label: '故障小类',
+ component: 'Select',
+ componentProps: {
+ options: [
+ {
+ value: '1',
+ label: '2323',
+ },
+ {
+ value: '2',
+ label: '2323',
+ },
+ {
+ value: '3',
+ label: '2323',
+ },
+ ],
+ },
+ },
+];
+
+export const columns: BasicColumn[] = [
+ {
+ title: '编号',
+ dataIndex: 'code',
+ },
+ {
+ title: '报修时间',
+ dataIndex: 'repairTime',
+ },
+ {
+ title: '响应级别',
+ dataIndex: 'responseLevel',
+ },
+ {
+ title: '故障描述',
+ dataIndex: 'faultDescription',
+ },
+ {
+ title: '故障地点',
+ dataIndex: 'faultLocation',
+ },
+ {
+ title: '当前状态',
+ dataIndex: 'status',
+ },
+];
diff --git a/src/views/analysis/type/detailDrawer.vue b/src/views/analysis/type/detailDrawer.vue
new file mode 100644
index 0000000..93812fb
--- /dev/null
+++ b/src/views/analysis/type/detailDrawer.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
diff --git a/src/views/analysis/type/index.vue b/src/views/analysis/type/index.vue
new file mode 100644
index 0000000..ada5800
--- /dev/null
+++ b/src/views/analysis/type/index.vue
@@ -0,0 +1,62 @@
+
+
+
+
+ 导出
+ 详情
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project/IOCheck/ratingSearch/api.ts b/src/views/project/IOCheck/ratingSearch/api.ts
index 90a5083..4727d35 100644
--- a/src/views/project/IOCheck/ratingSearch/api.ts
+++ b/src/views/project/IOCheck/ratingSearch/api.ts
@@ -1,6 +1,5 @@
import { ID, IDS, PageQuery, commonExport } from '@/api/base';
import { defHttp } from '@/utils/http/axios';
-import { Dayjs } from 'dayjs';
enum Api {
root = '/workflow/leave',
@@ -8,33 +7,8 @@ enum Api {
export = '/workflow/leave/export',
}
-export interface Leave {
- id: string;
- leaveType: string;
- startDate: string;
- endDate: string;
- leaveDays: number;
- remark: string;
- processInstanceVo?: any;
- dateTime?: [string, string] | [Dayjs, Dayjs];
-}
-
-export interface Resp {
- createDept: number;
- createBy: number;
- createTime: string;
- updateBy: number;
- updateTime: string;
- id: string;
- leaveType: string;
- startDate: string;
- endDate: string;
- leaveDays: number;
- remark?: any;
-}
-
export function list(params?: PageQuery) {
- return defHttp.get({ url: Api.list, params });
+ return defHttp.get({ url: Api.list, params });
}
export function exportExcel(data: any) {
@@ -42,17 +16,17 @@ export function exportExcel(data: any) {
}
export function getInfo(id: ID) {
- return defHttp.get({ url: `${Api.root}/${id}` });
+ return defHttp.get({ url: `${Api.root}/${id}` });
}
export function add(data: any) {
- return defHttp.post({ url: Api.root, data });
+ return defHttp.post({ url: Api.root, data });
}
export function update(data: any) {
- return defHttp.put({ url: Api.root, data });
+ return defHttp.put({ url: Api.root, data });
}
export function removeByIds(ids: IDS) {
- return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
}
diff --git a/src/views/project/serviceManage/api.ts b/src/views/project/serviceManage/api.ts
index 90a5083..1b4dc8d 100644
--- a/src/views/project/serviceManage/api.ts
+++ b/src/views/project/serviceManage/api.ts
@@ -1,58 +1,35 @@
-import { ID, IDS, PageQuery, commonExport } from '@/api/base';
+import { ID, IDS, commonExport } from '@/api/base';
import { defHttp } from '@/utils/http/axios';
-import { Dayjs } from 'dayjs';
enum Api {
root = '/workflow/leave',
- list = '/workflow/leave/list',
+ list = '/platform/agreementInfo/list',
+ tree = '/platform/catalogCategory/queryAll',
export = '/workflow/leave/export',
}
-export interface Leave {
- id: string;
- leaveType: string;
- startDate: string;
- endDate: string;
- leaveDays: number;
- remark: string;
- processInstanceVo?: any;
- dateTime?: [string, string] | [Dayjs, Dayjs];
+export function list(params: any) {
+ return defHttp.get({ url: Api.list, params });
}
-
-export interface Resp {
- createDept: number;
- createBy: number;
- createTime: string;
- updateBy: number;
- updateTime: string;
- id: string;
- leaveType: string;
- startDate: string;
- endDate: string;
- leaveDays: number;
- remark?: any;
-}
-
-export function list(params?: PageQuery) {
- return defHttp.get({ url: Api.list, params });
+export function tree() {
+ return defHttp.get({ url: Api.tree });
}
-
export function exportExcel(data: any) {
return commonExport(Api.export, data);
}
export function getInfo(id: ID) {
- return defHttp.get({ url: `${Api.root}/${id}` });
+ return defHttp.get({ url: `${Api.root}/${id}` });
}
export function add(data: any) {
- return defHttp.post({ url: Api.root, data });
+ return defHttp.post({ url: Api.root, data });
}
export function update(data: any) {
- return defHttp.put({ url: Api.root, data });
+ return defHttp.put({ url: Api.root, data });
}
export function removeByIds(ids: IDS) {
- return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
+ return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` });
}
diff --git a/src/views/project/serviceManage/index.vue b/src/views/project/serviceManage/index.vue
index 42cdb6b..48a22c0 100644
--- a/src/views/project/serviceManage/index.vue
+++ b/src/views/project/serviceManage/index.vue
@@ -19,18 +19,16 @@
-
-
- multiple line title
- multiple line title
-
- {{ dataRef.title }}
-
-
+ :fieldNames="{
+ children: 'children',
+ title: 'projectName',
+ key: 'id',
+ disabled: 'disabled',
+ }"
+ />
@@ -57,10 +55,10 @@