diff --git a/src/router/index.ts b/src/router/index.ts index 37dbc90..5afaac0 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -210,6 +210,162 @@ const routes: RouteRecordRaw[] = [ title: '养护检查', }, }, + { + path: '/maintenanceCheckRecords', + name: 'MaintenanceCheckRecords', + component: () => import('@/views/maintenanceCheckRecords/index.vue'), + meta: { + title: '养护检查记录', + }, + }, + { + path: '/maintenanceCheckRecords/detail', + name: 'MaintenanceCheckRecordsDetail', + component: () => import('@/views/maintenanceCheckRecords/detail.vue'), + meta: { + title: '检查记录详情', + }, + }, + // ── 第三方监督模块 ── + { + path: '/supervisor', + name: 'Supervisor', + component: () => import('@/views/supervisor/index.vue'), + meta: { + title: '第三方监督人员', + }, + }, + { + path: '/supervisor/detail', + name: 'SupervisorDetail', + component: () => import('@/views/supervisor/detail.vue'), + meta: { + title: '人员详情', + }, + }, + { + path: '/superviseRecord', + name: 'SuperviseRecord', + component: () => import('@/views/superviseRecord/index.vue'), + meta: { + title: '监督记录', + }, + }, + { + path: '/superviseRecord/detail', + name: 'SuperviseRecordDetail', + component: () => import('@/views/superviseRecord/detail.vue'), + meta: { + title: '记录详情', + }, + }, + // ── 监测设备模块 ── + { + path: '/monitoringEquipment/:type?', + name: 'MonitoringEquipment', + component: () => import('@/views/monitoringEquipment/index.vue'), + meta: { + title: '监测设备', + }, + }, + { + path: '/equipmentInfo', + name: 'EquipmentInfo', + component: () => import('@/views/monitoringEquipment/equipmentInfo.vue'), + meta: { + title: '设备详情', + }, + }, + { + path: '/mapMonitoring', + name: 'MapMonitoring', + component: () => import('@/views/monitoringEquipment/mapMonitoring.vue'), + meta: { + title: '地图监控', + }, + }, + { + path: '/monitoringDetail', + name: 'MonitoringDetail', + component: () => import('@/views/monitoringEquipment/monitoringDetail.vue'), + meta: { + title: '监测详情', + }, + }, + // ── 有限空间作业记录模块 ── + { + path: '/yxkjzyRecords', + name: 'YxkjzyRecords', + component: () => import('@/views/yxkjzyRecords/index.vue'), + meta: { + title: '有限空间作业记录', + }, + }, + { + path: '/yxkjzyRecordsDetail/:detail?', + name: 'YxkjzyRecordsDetail', + component: () => import('@/views/yxkjzyRecords/detail.vue'), + meta: { + title: '作业记录详情', + }, + }, + // ── 问题上报模块 ── + { + path: '/problemReport', + name: 'ProblemReport', + component: () => import('@/views/problemReport/index.vue'), + meta: { + title: '问题上报', + }, + }, + { + path: '/reportFloodedPoints', + name: 'ReportFloodedPoints', + component: () => import('@/views/problemReport/reportFloodedPoints.vue'), + meta: { + title: '积淹点上报', + }, + }, + { + path: '/reportInspection', + name: 'ReportInspection', + component: () => import('@/views/problemReport/reportInspection.vue'), + meta: { + title: '巡检问题上报', + }, + }, + { + path: '/reportEquipmentRepair', + name: 'ReportEquipmentRepair', + component: () => import('@/views/problemReport/reportEquipmentRepair.vue'), + meta: { + title: '设备报修', + }, + }, + { + path: '/reportSupervise/:detail?', + name: 'ReportSupervise', + component: () => import('@/views/problemReport/reportSupervise.vue'), + meta: { + title: '督办问题上报', + }, + }, + { + path: '/reportProject/:detail?', + name: 'ReportProject', + component: () => import('@/views/problemReport/reportProject.vue'), + meta: { + title: '项目问题上报', + }, + }, + { + path: '/reportConstruction/:detail?', + name: 'ReportConstruction', + component: () => import('@/views/problemReport/reportConstruction.vue'), + meta: { + title: '施工问题上报', + }, + }, // 404 兜底 { path: '/:pathMatch(.*)*', diff --git a/src/views/maintenanceCheckRecords/detail.vue b/src/views/maintenanceCheckRecords/detail.vue new file mode 100644 index 0000000..8408c12 --- /dev/null +++ b/src/views/maintenanceCheckRecords/detail.vue @@ -0,0 +1,219 @@ + + + + + + + + + + {{ resultMap[record.result] }} + + + {{ record.score }} 分 + + + + + + + + + + + + + + + + + + {{ item.score }} / {{ item.maxScore }} + + + + + + + + + {{ record.content }} + + + + + + + + + + {{ photo.desc }} + + + + + + + + + {{ record.conclusion }} + + + + + + {{ record.remark }} + + + + + + + + + + + diff --git a/src/views/maintenanceCheckRecords/index.vue b/src/views/maintenanceCheckRecords/index.vue new file mode 100644 index 0000000..d1d981f --- /dev/null +++ b/src/views/maintenanceCheckRecords/index.vue @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + {{ resultMap[record.result] }} + + + {{ record.score }} 分 + + + + + {{ record.date }} + {{ record.content }} + + + + + + + + diff --git a/src/views/monitoringEquipment/equipmentInfo.vue b/src/views/monitoringEquipment/equipmentInfo.vue new file mode 100644 index 0000000..f1f186c --- /dev/null +++ b/src/views/monitoringEquipment/equipmentInfo.vue @@ -0,0 +1,133 @@ + + + + + + + + + + {{ statusMap[equipment.status] }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ record.type }} - {{ record.operator }} + + + + {{ record.result }} + + + + + + + + diff --git a/src/views/monitoringEquipment/index.vue b/src/views/monitoringEquipment/index.vue new file mode 100644 index 0000000..9ae2300 --- /dev/null +++ b/src/views/monitoringEquipment/index.vue @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + {{ statusMap[equip.status] }} + + + {{ statusMap[equip.status] }} + + + + + {{ equip.location }} + 最新数据: {{ equip.lastData }} + 更新时间: {{ equip.updateTime }} + + + + + + + + diff --git a/src/views/monitoringEquipment/mapMonitoring.vue b/src/views/monitoringEquipment/mapMonitoring.vue new file mode 100644 index 0000000..9536216 --- /dev/null +++ b/src/views/monitoringEquipment/mapMonitoring.vue @@ -0,0 +1,172 @@ + + + + + + + + + + 地图监控 + 设备点位将在此地图上展示 + + + + + + 设备列表 + 共 {{ devicePoints.length }} 台 + + + + + {{ point.name }} + {{ point.lat }}, {{ point.lng }} + + + + + + + + diff --git a/src/views/monitoringEquipment/monitoringDetail.vue b/src/views/monitoringEquipment/monitoringDetail.vue new file mode 100644 index 0000000..7c27253 --- /dev/null +++ b/src/views/monitoringEquipment/monitoringDetail.vue @@ -0,0 +1,177 @@ + + + + + + + + + {{ monitoring.currentValue }} + 当前流量 + 更新时间: {{ monitoring.updateTime }} + + + + + + + + 流量趋势图表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ alarm.time }} + + + + + {{ alarm.value }} + + + + + + + + diff --git a/src/views/problemReport/index.vue b/src/views/problemReport/index.vue new file mode 100644 index 0000000..aa93066 --- /dev/null +++ b/src/views/problemReport/index.vue @@ -0,0 +1,153 @@ + + + + + + + + 选择上报类型 + 请根据实际情况选择对应的问题类型进行上报 + + + + + + {{ item.desc }} + + + + + + + diff --git a/src/views/problemReport/reportConstruction.vue b/src/views/problemReport/reportConstruction.vue new file mode 100644 index 0000000..34b96c0 --- /dev/null +++ b/src/views/problemReport/reportConstruction.vue @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + 现场照片 + + + + + + 提交上报 + + + + + + + diff --git a/src/views/problemReport/reportEquipmentRepair.vue b/src/views/problemReport/reportEquipmentRepair.vue new file mode 100644 index 0000000..f6a911f --- /dev/null +++ b/src/views/problemReport/reportEquipmentRepair.vue @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + 现场照片 + + + + + + 提交上报 + + + + + + + diff --git a/src/views/problemReport/reportFloodedPoints.vue b/src/views/problemReport/reportFloodedPoints.vue new file mode 100644 index 0000000..3e955ea --- /dev/null +++ b/src/views/problemReport/reportFloodedPoints.vue @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + 现场照片 + + + + + + 提交上报 + + + + + + + diff --git a/src/views/problemReport/reportInspection.vue b/src/views/problemReport/reportInspection.vue new file mode 100644 index 0000000..aae4648 --- /dev/null +++ b/src/views/problemReport/reportInspection.vue @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + 现场照片 + + + + + + 提交上报 + + + + + + + diff --git a/src/views/problemReport/reportProject.vue b/src/views/problemReport/reportProject.vue new file mode 100644 index 0000000..bd6c925 --- /dev/null +++ b/src/views/problemReport/reportProject.vue @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + 现场照片 + + + + + + 提交上报 + + + + + + + diff --git a/src/views/problemReport/reportSupervise.vue b/src/views/problemReport/reportSupervise.vue new file mode 100644 index 0000000..0623339 --- /dev/null +++ b/src/views/problemReport/reportSupervise.vue @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + 现场照片 + + + + + + 提交上报 + + + + + + + diff --git a/src/views/superviseRecord/detail.vue b/src/views/superviseRecord/detail.vue new file mode 100644 index 0000000..45647f1 --- /dev/null +++ b/src/views/superviseRecord/detail.vue @@ -0,0 +1,183 @@ + + + + + + + + + + {{ resultMap[record.result] }} + + + + + + + + + + + + + + + + + {{ record.content }} + + + + + + + + + + {{ photo.desc }} + + + + + + + + + {{ record.conclusion }} + + + + + + {{ record.remark }} + + + + + + + + + + + diff --git a/src/views/superviseRecord/index.vue b/src/views/superviseRecord/index.vue new file mode 100644 index 0000000..682bd35 --- /dev/null +++ b/src/views/superviseRecord/index.vue @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + {{ typeMap[record.type] }} + + + {{ resultMap[record.result] }} + + + + + {{ record.date }} + {{ record.content }} + + + + + + + + diff --git a/src/views/supervisor/detail.vue b/src/views/supervisor/detail.vue new file mode 100644 index 0000000..017d3c3 --- /dev/null +++ b/src/views/supervisor/detail.vue @@ -0,0 +1,108 @@ + + + + + + + + + + {{ statusMap[supervisor.status] }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/supervisor/index.vue b/src/views/supervisor/index.vue new file mode 100644 index 0000000..cc60057 --- /dev/null +++ b/src/views/supervisor/index.vue @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + {{ statusMap[supervisor.status] }} + + + {{ supervisor.rating }} 分 + + + + + {{ supervisor.phone }} + {{ supervisor.project }} + + + + + + + + diff --git a/src/views/yxkjzyRecords/detail.vue b/src/views/yxkjzyRecords/detail.vue new file mode 100644 index 0000000..3bc7f8e --- /dev/null +++ b/src/views/yxkjzyRecords/detail.vue @@ -0,0 +1,200 @@ + + + + + + + + + + {{ statusMap[record.status] }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.required ? '【必检】' : '' }}{{ item.item }} + + + + + {{ item.checked ? '已确认' : '未确认' }} + + + + + + + + + {{ record.description }} + + + + + + + 有限空间作业必须严格遵守"先通风、再检测、后作业"原则,未确认安全条件不得进入。 + + + + + + diff --git a/src/views/yxkjzyRecords/index.vue b/src/views/yxkjzyRecords/index.vue new file mode 100644 index 0000000..5e87ab4 --- /dev/null +++ b/src/views/yxkjzyRecords/index.vue @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + {{ statusMap[record.status] }} + + + + + + + + 空间类型: {{ record.spaceType }} + 作业员: {{ record.operator }} + 开始时间: {{ record.startTime }} + + + + + + + +
{{ record.content }}
{{ photo.desc }}
{{ record.conclusion }}
{{ record.remark }}
地图监控
设备点位将在此地图上展示
{{ record.description }}