From c6d8d08f3553a523738ee5ce36abe341edc3db19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Tue, 23 Sep 2025 18:58:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E7=9B=B8=E5=85=B3=E7=BB=84=E4=BB=B6=E3=80=81API?= =?UTF-8?q?=E5=8F=8A=E6=95=B0=E6=8D=AE=E5=8F=AF=E8=A7=86=E5=8C=96=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增设备台账、设备类型、设备检查项等基础组件 - 添加设备维修、点检、巡检等业务功能组件 - 实现设备数据可视化分析功能,包括折线图、柱状图、饼图等图表组件 - 新增设备管理相关API接口,包括设备台账、维修记录、点检计划等 - 实现设备状态看板、任务分析、人员响应分析等功能页面 - 添加设备操作弹窗及相关业务逻辑 - 完善设备管理模块的样式和交互逻辑 --- src/api/deviceManagement/dataAnalysis.js | 94 +++ src/api/deviceManagement/deviceaccount.js | 150 +++++ src/api/deviceManagement/deviceformconfig.js | 57 ++ src/api/deviceManagement/deviceinspect.js | 107 ++++ .../devicemaintenancerecord.js | 57 ++ .../devicepointinspectionplan.js | 57 ++ src/api/deviceManagement/devicerepair.js | 57 ++ .../devicerouteinspectionplan.js | 57 ++ src/api/deviceManagement/devicetaskexecute.js | 173 ++++++ .../devicetaskexecuteresult1.js | 57 ++ src/api/deviceManagement/devicetype.js | 53 ++ .../BaseDeviceAccountTreeSelect/index.vue | 44 ++ .../BaseDeviceAccountView/index.vue | 50 ++ .../components/BaseDeviceTypeTree/index.vue | 38 ++ .../BaseDeviceTypeTreeSelect/index.vue | 35 ++ .../components/deviceInspect/index.vue | 14 + .../components/devicelist/index.vue | 394 ++++++++++++ .../components/devicelist_point/index.vue | 385 ++++++++++++ .../components/devicelist_route/index.vue | 392 ++++++++++++ .../deviceManagement/datascreen/DemoChart.vue | 12 + .../datascreen/components/barChart1.vue | 137 +++++ .../datascreen/components/barChart2.vue | 137 +++++ .../datascreen/components/lineChart1.vue | 137 +++++ .../datascreen/components/lineChart2.vue | 139 +++++ .../datascreen/components/lineChart3.vue | 139 +++++ .../datascreen/components/lineChart4.vue | 138 +++++ .../datascreen/components/pieChart1.vue | 131 ++++ .../datascreen/components/pieChart2.vue | 133 +++++ .../datascreen/components/table1.vue | 190 ++++++ .../datascreen/components/table2.vue | 194 ++++++ .../datascreen/dayTaskAnalysis/index.vue | 74 +++ .../datascreen/dayTaskAnalysis/table1.vue | 186 ++++++ .../datascreen/dayTaskAnalysis/table2.vue | 190 ++++++ .../datascreen/deviceAnalysis/DemoChart.vue | 291 +++++++++ .../datascreen/deviceAnalysis/barChart1.vue | 162 +++++ .../datascreen/deviceAnalysis/barChart2.vue | 169 ++++++ .../datascreen/deviceAnalysis/index.vue | 195 ++++++ .../datascreen/deviceAnalysis/lineChart1.vue | 167 ++++++ .../datascreen/deviceAnalysis/pieChart1.vue | 146 +++++ .../datascreen/deviceAnalysis/pieChart2.vue | 148 +++++ .../datascreen/deviceAnalysis/pieChart3.vue | 148 +++++ .../deviceManagement/datascreen/index.vue | 340 +++++++++++ .../datascreen/personAnalysis/index.vue | 137 +++++ .../datascreen/personAnalysis/lineChart1.vue | 350 +++++++++++ .../datascreen/personAnalysis/lineChart2.vue | 325 ++++++++++ .../datascreen/taskAnalysis/index.vue | 134 +++++ .../datascreen/taskAnalysis/lineChart1.vue | 162 +++++ .../datascreen/taskAnalysis/table1.vue | 185 ++++++ .../datascreen/theme/essos.json | 399 +++++++++++++ .../datascreen/theme/shine.json | 395 ++++++++++++ .../deviceMaintenanceRecord/index.vue | 287 +++++++++ .../devicePointInspectionPlan/index.vue | 370 ++++++++++++ .../TheDeviceMaintenanceDialog.vue | 43 ++ .../TheDeviceMaintenanceHistoryTable.vue | 331 +++++++++++ .../deviceManagement/deviceRepair/index.vue | 460 ++++++++++++++ .../deviceRouteInspectionPlan/index.vue | 463 +++++++++++++++ .../deviceStatusBoard/index.vue | 304 ++++++++++ .../TheTaskExecuteDeviceItemStep.vue | 416 +++++++++++++ .../TheTaskExecuteDialog.vue | 134 +++++ .../TheTaskExecuteFormDialog.vue | 136 +++++ .../deviceTaskExecute/TheTaskExecuteTable.vue | 116 ++++ .../deviceTaskExecute/TheTaskExecuteView.vue | 157 +++++ .../deviceTaskExecute/index.vue | 484 +++++++++++++++ .../deviceTaskExecuteResult/index.vue | 561 ++++++++++++++++++ .../deviceaccount/TheChouseDeviceInspect.vue | 181 ++++++ .../deviceaccount/TheDeviceActionDialog.vue | 56 ++ .../deviceaccount/TheDeviceInspectTable.vue | 378 ++++++++++++ .../deviceManagement/deviceaccount/index.vue | 561 ++++++++++++++++++ .../deviceformconfig/index.vue | 285 +++++++++ .../deviceManagement/deviceinspect/index.vue | 383 ++++++++++++ .../deviceManagement/devicetype/index.vue | 199 +++++++ 71 files changed, 14366 insertions(+) create mode 100644 src/api/deviceManagement/dataAnalysis.js create mode 100644 src/api/deviceManagement/deviceaccount.js create mode 100644 src/api/deviceManagement/deviceformconfig.js create mode 100644 src/api/deviceManagement/deviceinspect.js create mode 100644 src/api/deviceManagement/devicemaintenancerecord.js create mode 100644 src/api/deviceManagement/devicepointinspectionplan.js create mode 100644 src/api/deviceManagement/devicerepair.js create mode 100644 src/api/deviceManagement/devicerouteinspectionplan.js create mode 100644 src/api/deviceManagement/devicetaskexecute.js create mode 100644 src/api/deviceManagement/devicetaskexecuteresult1.js create mode 100644 src/api/deviceManagement/devicetype.js create mode 100644 src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue create mode 100644 src/views/deviceManagement/components/BaseDeviceAccountView/index.vue create mode 100644 src/views/deviceManagement/components/BaseDeviceTypeTree/index.vue create mode 100644 src/views/deviceManagement/components/BaseDeviceTypeTreeSelect/index.vue create mode 100644 src/views/deviceManagement/components/deviceInspect/index.vue create mode 100644 src/views/deviceManagement/components/devicelist/index.vue create mode 100644 src/views/deviceManagement/components/devicelist_point/index.vue create mode 100644 src/views/deviceManagement/components/devicelist_route/index.vue create mode 100644 src/views/deviceManagement/datascreen/DemoChart.vue create mode 100644 src/views/deviceManagement/datascreen/components/barChart1.vue create mode 100644 src/views/deviceManagement/datascreen/components/barChart2.vue create mode 100644 src/views/deviceManagement/datascreen/components/lineChart1.vue create mode 100644 src/views/deviceManagement/datascreen/components/lineChart2.vue create mode 100644 src/views/deviceManagement/datascreen/components/lineChart3.vue create mode 100644 src/views/deviceManagement/datascreen/components/lineChart4.vue create mode 100644 src/views/deviceManagement/datascreen/components/pieChart1.vue create mode 100644 src/views/deviceManagement/datascreen/components/pieChart2.vue create mode 100644 src/views/deviceManagement/datascreen/components/table1.vue create mode 100644 src/views/deviceManagement/datascreen/components/table2.vue create mode 100644 src/views/deviceManagement/datascreen/dayTaskAnalysis/index.vue create mode 100644 src/views/deviceManagement/datascreen/dayTaskAnalysis/table1.vue create mode 100644 src/views/deviceManagement/datascreen/dayTaskAnalysis/table2.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/DemoChart.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/barChart1.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/barChart2.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/index.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/lineChart1.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/pieChart1.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/pieChart2.vue create mode 100644 src/views/deviceManagement/datascreen/deviceAnalysis/pieChart3.vue create mode 100644 src/views/deviceManagement/datascreen/index.vue create mode 100644 src/views/deviceManagement/datascreen/personAnalysis/index.vue create mode 100644 src/views/deviceManagement/datascreen/personAnalysis/lineChart1.vue create mode 100644 src/views/deviceManagement/datascreen/personAnalysis/lineChart2.vue create mode 100644 src/views/deviceManagement/datascreen/taskAnalysis/index.vue create mode 100644 src/views/deviceManagement/datascreen/taskAnalysis/lineChart1.vue create mode 100644 src/views/deviceManagement/datascreen/taskAnalysis/table1.vue create mode 100644 src/views/deviceManagement/datascreen/theme/essos.json create mode 100644 src/views/deviceManagement/datascreen/theme/shine.json create mode 100644 src/views/deviceManagement/deviceMaintenanceRecord/index.vue create mode 100644 src/views/deviceManagement/devicePointInspectionPlan/index.vue create mode 100644 src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceDialog.vue create mode 100644 src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceHistoryTable.vue create mode 100644 src/views/deviceManagement/deviceRepair/index.vue create mode 100644 src/views/deviceManagement/deviceRouteInspectionPlan/index.vue create mode 100644 src/views/deviceManagement/deviceStatusBoard/index.vue create mode 100644 src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDeviceItemStep.vue create mode 100644 src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDialog.vue create mode 100644 src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteFormDialog.vue create mode 100644 src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteTable.vue create mode 100644 src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteView.vue create mode 100644 src/views/deviceManagement/deviceTaskExecute/index.vue create mode 100644 src/views/deviceManagement/deviceTaskExecuteResult/index.vue create mode 100644 src/views/deviceManagement/deviceaccount/TheChouseDeviceInspect.vue create mode 100644 src/views/deviceManagement/deviceaccount/TheDeviceActionDialog.vue create mode 100644 src/views/deviceManagement/deviceaccount/TheDeviceInspectTable.vue create mode 100644 src/views/deviceManagement/deviceaccount/index.vue create mode 100644 src/views/deviceManagement/deviceformconfig/index.vue create mode 100644 src/views/deviceManagement/deviceinspect/index.vue create mode 100644 src/views/deviceManagement/devicetype/index.vue diff --git a/src/api/deviceManagement/dataAnalysis.js b/src/api/deviceManagement/dataAnalysis.js new file mode 100644 index 0000000..1eaf6a5 --- /dev/null +++ b/src/api/deviceManagement/dataAnalysis.js @@ -0,0 +1,94 @@ +import request from '@/utils/request' +/** + * 设备报修饼图 + * @param {*} data + * @returns + */ +export function defaultTypePie(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/defaultTypePie', + method: 'post', + data: data + }) +} +/** + * 每日故障数量 + * @param {*} data + * @returns + */ +export function FaultTypeBar(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/faultTypeBar', + method: 'post', + data: data + }) +} + +/** + * 获取设备故障类别累计次数折线图 + * @param {*} data + * @returns + */ +export function FaultTypeLine(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/faultTypeLine', + method: 'post', + data: data + }) +} + +/** + * 获取设备故障类别累计次数折线图 + * @param {*} data + * @returns + */ +export function FaultTypeBarByDay(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/faultTypeBarByDay', + method: 'post', + data: data + }) +} + +/** + * 获取每日点检巡检总数折线图 + * @param {*} data + * @returns + */ +export function TaskLinebyDay(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/taskLinebyDay', + method: 'post', + data: data + }) +} + + + +/** + * 获取人员响应折线图 + * @param {*} data + * @returns + */ +export function PersonResponse(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/personResponseLine', + method: 'post', + data: data + }) +} + + + +/** + * 获取大屏总数 + * @param {*} data + * @returns + */ +export function GetAllTotal(data) { + return request({ + url: 'mes/deviceManagement/dataAnalysis/getAllTotal', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/deviceManagement/deviceaccount.js b/src/api/deviceManagement/deviceaccount.js new file mode 100644 index 0000000..072556d --- /dev/null +++ b/src/api/deviceManagement/deviceaccount.js @@ -0,0 +1,150 @@ +import request from '@/utils/request' + +/** + * 设备台账分页查询 + * @param {查询条件} data + */ +export function listDeviceAccount(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/list', + method: 'get', + params: query + }) +} + +export function listDeviceAccount_route(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/list_route_inspect', + method: 'get', + params: query + }) +} + +/** + * 新增设备台账 + * @param data + */ +export function addDeviceAccount(data) { + return request({ + url: 'mes/deviceManagement/DeviceAccount', + method: 'post', + data: data + }) +} +/** + * 修改设备台账 + * @param data + */ +export function updateDeviceAccount(data) { + return request({ + url: 'mes/deviceManagement/DeviceAccount', + method: 'PUT', + data: data + }) +} +/** + * 获取设备台账详情 + * @param {Id} + */ +export function getDeviceAccount(id) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/' + id, + method: 'get' + }) +} + +/** + * 删除设备台账 + * @param {主键} pid + */ +export function delDeviceAccount(pid) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/' + pid, + method: 'delete' + }) +} + +/** + * 获取设备下拉树数据 + * @param {查询条件} data :DeviceName + */ +export function getSelectTree(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/getSelectTree', + method: 'get', + params: query + }) +} +//******************************巡检************************************ */ +/** + * 添加绑定关系 巡检计划和设备台账 + * @param {*} data + * @returns + */ +export function AddRelation(data) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/AddRelation', + method: 'post', + data: data + }) +} + +/** + * 删除巡检计划和设备台账的关系 + * @param {主键} pid + */ +export function delDeviceAccount_relation(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/remove_relation', + method: 'get', + params: query + }) +} +//******************************点检************************************ */ +export function listDeviceAccount_point(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/list_point_inspect', + method: 'get', + params: query + }) +} + +/** + * 添加绑定关系 点检计划和设备台账 + * @param {*} data + * @returns + */ +export function AddRelation_point_account(data) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/AddRelation_point_account', + method: 'post', + data: data + }) +} + +/** + * 删除巡检计划和设备台账的关系 + * @param {主键} pid + */ +export function delDeviceAccount_relation_point_account(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/remove_relation_point_account', + method: 'get', + params: query + }) +} + + + +// +/** + * 获取设备状态 设备看板用 + * @param {主键} devicetype_id 设备类别id + */ +export function getDeviceStatusBoardData(query) { + return request({ + url: 'mes/deviceManagement/DeviceAccount/getDeviceStatusBoardData', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/deviceManagement/deviceformconfig.js b/src/api/deviceManagement/deviceformconfig.js new file mode 100644 index 0000000..db6f032 --- /dev/null +++ b/src/api/deviceManagement/deviceformconfig.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +/** + * 设备检查项表单配置表分页查询 + * @param {查询条件} data + */ +export function listDeviceFormConfig(query) { + return request({ + url: 'mes/deviceManagement/DeviceFormConfig/list', + method: 'get', + params: query + }) +} + +/** + * 新增设备检查项表单配置表 + * @param data + */ +export function addDeviceFormConfig(data) { + return request({ + url: 'mes/deviceManagement/DeviceFormConfig', + method: 'post', + data: data + }) +} +/** + * 修改设备检查项表单配置表 + * @param data + */ +export function updateDeviceFormConfig(data) { + return request({ + url: 'mes/deviceManagement/DeviceFormConfig', + method: 'PUT', + data: data + }) +} +/** + * 获取设备检查项表单配置表详情 + * @param {Id} + */ +export function getDeviceFormConfig(id) { + return request({ + url: 'mes/deviceManagement/DeviceFormConfig/' + id, + method: 'get' + }) +} + +/** + * 删除设备检查项表单配置表 + * @param {主键} pid + */ +export function delDeviceFormConfig(pid) { + return request({ + url: 'mes/deviceManagement/DeviceFormConfig/' + pid, + method: 'delete' + }) +} diff --git a/src/api/deviceManagement/deviceinspect.js b/src/api/deviceManagement/deviceinspect.js new file mode 100644 index 0000000..582110a --- /dev/null +++ b/src/api/deviceManagement/deviceinspect.js @@ -0,0 +1,107 @@ +import request from '@/utils/request' + +/** + * 设备检查项分页查询 + * @param {查询条件} data + */ +export function listDeviceInspect(query) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/list', + method: 'get', + params: query + }) +} + +/** + * 新增设备检查项 + * @param data + */ +export function addDeviceInspect(data) { + return request({ + url: 'mes/deviceManagement/DeviceInspect', + method: 'post', + data: data + }) +} +/** + * 修改设备检查项 + * @param data + */ +export function updateDeviceInspect(data) { + return request({ + url: 'mes/deviceManagement/DeviceInspect', + method: 'PUT', + data: data + }) +} +/** + * 获取设备检查项详情 + * @param {Id} + */ +export function getDeviceInspect(id) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/' + id, + method: 'get' + }) +} + +/** + * 删除设备检查项 + * @param {主键} pid + */ +export function delDeviceInspect(pid) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/' + pid, + method: 'delete' + }) +} + + +/** + * 查看设备已绑定 Isbind = 1,未绑定 Isbind = 0 的检查项 + * @param {查询条件} data + */ +export function listDeviceInspect2(query) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/list2', + method: 'get', + params: query + }) +} + + +/** + * 添加设备与检查项的关联 + * @param {查询条件} data + */ +export function addBind(data) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/addbind', + method: 'post', + data: data + }) +} + +/** + * 取消设备与检查项的关联 + * @param {查询条件} data + */ +export function removeBind(query) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/removebind', + method: 'get', + params: query + }) +} + +/** + * 检查项排序 + * @param {查询条件} data + */ +export function sortDeviceInspect(data) { + return request({ + url: 'mes/deviceManagement/DeviceInspect/sort', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/deviceManagement/devicemaintenancerecord.js b/src/api/deviceManagement/devicemaintenancerecord.js new file mode 100644 index 0000000..3798494 --- /dev/null +++ b/src/api/deviceManagement/devicemaintenancerecord.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +/** +* 维修记录分页查询 +* @param {查询条件} data +*/ +export function listDeviceMaintenanceRecord(query) { + return request({ + url: 'mes/deviceManagement/DeviceMaintenanceRecord/list', + method: 'get', + params: query, + }) +} + +/** +* 新增维修记录 +* @param data +*/ +export function addDeviceMaintenanceRecord(data) { + return request({ + url: 'mes/deviceManagement/DeviceMaintenanceRecord', + method: 'post', + data: data, + }) +} +/** +* 修改维修记录 +* @param data +*/ +export function updateDeviceMaintenanceRecord(data) { + return request({ + url: 'mes/deviceManagement/DeviceMaintenanceRecord', + method: 'PUT', + data: data, + }) +} +/** +* 获取维修记录详情 +* @param {Id} +*/ +export function getDeviceMaintenanceRecord(id) { + return request({ + url: 'mes/deviceManagement/DeviceMaintenanceRecord/' + id, + method: 'get' + }) +} + +/** +* 删除维修记录 +* @param {主键} pid +*/ +export function delDeviceMaintenanceRecord(pid) { + return request({ + url: 'mes/deviceManagement/DeviceMaintenanceRecord/' + pid, + method: 'delete' + }) +} diff --git a/src/api/deviceManagement/devicepointinspectionplan.js b/src/api/deviceManagement/devicepointinspectionplan.js new file mode 100644 index 0000000..dbf6f0b --- /dev/null +++ b/src/api/deviceManagement/devicepointinspectionplan.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +/** +* 点检任务分页查询 +* @param {查询条件} data +*/ +export function listDevicePointInspectionPlan(query) { + return request({ + url: 'mes/deviceManagement/DevicePointInspectionPlan/list', + method: 'get', + params: query, + }) +} + +/** +* 新增点检任务 +* @param data +*/ +export function addDevicePointInspectionPlan(data) { + return request({ + url: 'mes/deviceManagement/DevicePointInspectionPlan', + method: 'post', + data: data, + }) +} +/** +* 修改点检任务 +* @param data +*/ +export function updateDevicePointInspectionPlan(data) { + return request({ + url: 'mes/deviceManagement/DevicePointInspectionPlan', + method: 'PUT', + data: data, + }) +} +/** +* 获取点检任务详情 +* @param {Id} +*/ +export function getDevicePointInspectionPlan(id) { + return request({ + url: 'mes/deviceManagement/DevicePointInspectionPlan/' + id, + method: 'get' + }) +} + +/** +* 删除点检任务 +* @param {主键} pid +*/ +export function delDevicePointInspectionPlan(pid) { + return request({ + url: 'mes/deviceManagement/DevicePointInspectionPlan/' + pid, + method: 'delete' + }) +} diff --git a/src/api/deviceManagement/devicerepair.js b/src/api/deviceManagement/devicerepair.js new file mode 100644 index 0000000..e73206a --- /dev/null +++ b/src/api/deviceManagement/devicerepair.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +/** + * 报修单分页查询 + * @param {查询条件} data + */ +export function listDeviceRepair(query) { + return request({ + url: 'business/DeviceRepair/list', + method: 'post', + data: query, + }) +} + +/** + * 新增报修单 + * @param data + */ +export function addDeviceRepair(data) { + return request({ + url: 'business/DeviceRepair', + method: 'post', + data: data, + }) +} +/** + * 修改报修单 + * @param data + */ +export function updateDeviceRepair(data) { + return request({ + url: 'business/DeviceRepair', + method: 'PUT', + data: data, + }) +} +/** + * 获取报修单详情 + * @param {Id} + */ +export function getDeviceRepair(id) { + return request({ + url: 'business/DeviceRepair/' + id, + method: 'get' + }) +} + +/** + * 删除报修单 + * @param {主键} pid + */ +export function delDeviceRepair(pid) { + return request({ + url: 'business/DeviceRepair/' + pid, + method: 'delete' + }) +} \ No newline at end of file diff --git a/src/api/deviceManagement/devicerouteinspectionplan.js b/src/api/deviceManagement/devicerouteinspectionplan.js new file mode 100644 index 0000000..ef1c796 --- /dev/null +++ b/src/api/deviceManagement/devicerouteinspectionplan.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +/** +* 巡检计划分页查询 +* @param {查询条件} data +*/ +export function listDeviceRouteInspectionPlan(query) { + return request({ + url: 'mes/deviceManagement/DeviceRouteInspectionPlan/list', + method: 'get', + params: query, + }) +} + +/** +* 新增巡检计划 +* @param data +*/ +export function addDeviceRouteInspectionPlan(data) { + return request({ + url: 'mes/deviceManagement/DeviceRouteInspectionPlan', + method: 'post', + data: data, + }) +} +/** +* 修改巡检计划 +* @param data +*/ +export function updateDeviceRouteInspectionPlan(data) { + return request({ + url: 'mes/deviceManagement/DeviceRouteInspectionPlan', + method: 'PUT', + data: data, + }) +} +/** +* 获取巡检计划详情 +* @param {Id} +*/ +export function getDeviceRouteInspectionPlan(id) { + return request({ + url: 'mes/deviceManagement/DeviceRouteInspectionPlan/' + id, + method: 'get' + }) +} + +/** +* 删除巡检计划 +* @param {主键} pid +*/ +export function delDeviceRouteInspectionPlan(pid) { + return request({ + url: 'mes/deviceManagement/DeviceRouteInspectionPlan/' + pid, + method: 'delete' + }) +} diff --git a/src/api/deviceManagement/devicetaskexecute.js b/src/api/deviceManagement/devicetaskexecute.js new file mode 100644 index 0000000..4dc6fe4 --- /dev/null +++ b/src/api/deviceManagement/devicetaskexecute.js @@ -0,0 +1,173 @@ +import request from '@/utils/request' +import { downFile } from '@/utils/request' + +/** + * 任务执行分页查询 + * @param {查询条件} data + */ +export function listDeviceTaskExecute(query) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/list', + method: 'post', + data: query + }) +} + +/** + * 新增任务执行 + * @param data + */ +export function addDeviceTaskExecute(data) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute', + method: 'post', + data: data + }) +} +/** + * 修改任务执行 + * @param data + */ +export function updateDeviceTaskExecute(data) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute', + method: 'PUT', + data: data + }) +} +/** + * 获取任务执行详情 + * @param {Id} + */ +export function getDeviceTaskExecute(id) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/' + id, + method: 'get' + }) +} + +/** + * 删除任务执行 + * @param {主键} pid + */ +export function delDeviceTaskExecute(pid) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/' + pid, + method: 'delete' + }) +} +// 清空任务执行 +export function clearDeviceTaskExecute() { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/clean', + method: 'delete' + }) +} +// 导出任务执行 +export async function exportDeviceTaskExecute(query) { + await downFile('mes/deviceManagement/DeviceTaskExecute/export', { ...query }) +} +/** + * 检查派发任务 + * @param {Id} 设备id + */ +export function taskdispatch(id) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/dispatch/' + id, + method: 'get' + }) +} + +/** + * 根据任务id获取绑定设备 + * @param {Id} 设备id + */ +export function AchieveTaskbindDevice(id) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/get_bind_device/' + id, + method: 'get' + }) +} + +/** + * 根据任务绑定设备id 获取检查项 + * @param {Id} + */ +export function AchieveDevicebindInspect(params) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/get_bind_inspect', + method: 'get', + params: params + }) +} + +/** + * 根据检查项id 获取绑定的表单 + * @param {Id} + */ +export function AchieveInspectbindForm(id) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/bind_form/' + id, + method: 'get' + }) +} + +/** + * 根据检查项id 获取绑定的表单 + * @param {PlanType,FkPlanId,FkDeviceId,FkInspectId} + */ +export function getAchieveInspectbindFormResult(data) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/get_form_result', + method: 'post', + data + }) +} + +/** + * 根据检查项id 修改绑定的值 + * @param {id,value} + */ +export function setAchieveInspectbindFormResult(data) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/update_form_result', + method: 'post', + data + }) +} + +/** + * 修改任务值 + * @param {id,status} + */ +export function updateTaskStatus(params) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/update_task_status', + method: 'get', + params: params + }) +} + +/** + * 设置任务开始时间(仅生效第一次) + * @param {id} + */ +export function setTaskStartTime(params) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/add_task_start', + method: 'get', + params: params + }) +} + +/** + * 设置任务结束时间(多次生效) + * @param {id} + */ +export function setTaskEndTime(params) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecute/add_task_finally', + method: 'get', + params: params + }) +} diff --git a/src/api/deviceManagement/devicetaskexecuteresult1.js b/src/api/deviceManagement/devicetaskexecuteresult1.js new file mode 100644 index 0000000..677a883 --- /dev/null +++ b/src/api/deviceManagement/devicetaskexecuteresult1.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +/** + * 巡检/点检任务结果表分页查询 + * @param {查询条件} data + */ +export function listDeviceTaskExecuteResult1(query) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecuteResult/list', + method: 'get', + params: query + }) +} + +/** + * 新增巡检/点检任务结果表 + * @param data + */ +export function addDeviceTaskExecuteResult1(data) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecuteResult', + method: 'post', + data: data + }) +} +/** + * 修改巡检/点检任务结果表 + * @param data + */ +export function updateDeviceTaskExecuteResult1(data) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecuteResult', + method: 'PUT', + data: data + }) +} +/** + * 获取巡检/点检任务结果表详情 + * @param {Id} + */ +export function getDeviceTaskExecuteResult1(id) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecuteResult/' + id, + method: 'get' + }) +} + +/** + * 删除巡检/点检任务结果表 + * @param {主键} pid + */ +export function delDeviceTaskExecuteResult1(pid) { + return request({ + url: 'mes/deviceManagement/DeviceTaskExecuteResult/' + pid, + method: 'delete' + }) +} diff --git a/src/api/deviceManagement/devicetype.js b/src/api/deviceManagement/devicetype.js new file mode 100644 index 0000000..1202a1c --- /dev/null +++ b/src/api/deviceManagement/devicetype.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +/** + * 查询 + * @param {查询条件} data + */ +export function getList(query) { + return request({ + url: 'mes/deviceManagement/DeviceType/list', + method: 'get', + params: query + }) +} +export function getTree(query) { + return request({ + url: 'mes/deviceManagement/DeviceType/tree', + method: 'get', + params: query + }) +} + +/** + * 更改 + * @param {*} data + * @returns + */ +export function updateDevicetype(data) { + return request({ + url: 'mes/deviceManagement/DeviceType/update', + method: 'post', + data: data + }) +} + +/** + * 新增 + * @param {*} data + * @returns + */ +export function addDevicetype(data) { + return request({ + url: 'mes/deviceManagement/DeviceType/insert', + method: 'post', + data: data + }) +} + +export function deleteDevicetype(id) { + return request({ + url: 'mes/deviceManagement/DeviceType/delete/' + id, + method: 'get' + }) +} diff --git a/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue b/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue new file mode 100644 index 0000000..c44fdda --- /dev/null +++ b/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/src/views/deviceManagement/components/BaseDeviceAccountView/index.vue b/src/views/deviceManagement/components/BaseDeviceAccountView/index.vue new file mode 100644 index 0000000..313f774 --- /dev/null +++ b/src/views/deviceManagement/components/BaseDeviceAccountView/index.vue @@ -0,0 +1,50 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/components/BaseDeviceTypeTree/index.vue b/src/views/deviceManagement/components/BaseDeviceTypeTree/index.vue new file mode 100644 index 0000000..7caa76f --- /dev/null +++ b/src/views/deviceManagement/components/BaseDeviceTypeTree/index.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/components/BaseDeviceTypeTreeSelect/index.vue b/src/views/deviceManagement/components/BaseDeviceTypeTreeSelect/index.vue new file mode 100644 index 0000000..9116d6c --- /dev/null +++ b/src/views/deviceManagement/components/BaseDeviceTypeTreeSelect/index.vue @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/components/deviceInspect/index.vue b/src/views/deviceManagement/components/deviceInspect/index.vue new file mode 100644 index 0000000..22746ea --- /dev/null +++ b/src/views/deviceManagement/components/deviceInspect/index.vue @@ -0,0 +1,14 @@ + + + + + diff --git a/src/views/deviceManagement/components/devicelist/index.vue b/src/views/deviceManagement/components/devicelist/index.vue new file mode 100644 index 0000000..15583bd --- /dev/null +++ b/src/views/deviceManagement/components/devicelist/index.vue @@ -0,0 +1,394 @@ + + + diff --git a/src/views/deviceManagement/components/devicelist_point/index.vue b/src/views/deviceManagement/components/devicelist_point/index.vue new file mode 100644 index 0000000..939f9e3 --- /dev/null +++ b/src/views/deviceManagement/components/devicelist_point/index.vue @@ -0,0 +1,385 @@ + + + diff --git a/src/views/deviceManagement/components/devicelist_route/index.vue b/src/views/deviceManagement/components/devicelist_route/index.vue new file mode 100644 index 0000000..16875df --- /dev/null +++ b/src/views/deviceManagement/components/devicelist_route/index.vue @@ -0,0 +1,392 @@ + + + diff --git a/src/views/deviceManagement/datascreen/DemoChart.vue b/src/views/deviceManagement/datascreen/DemoChart.vue new file mode 100644 index 0000000..8c6a9d2 --- /dev/null +++ b/src/views/deviceManagement/datascreen/DemoChart.vue @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/barChart1.vue b/src/views/deviceManagement/datascreen/components/barChart1.vue new file mode 100644 index 0000000..0a2c6f3 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/barChart1.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/barChart2.vue b/src/views/deviceManagement/datascreen/components/barChart2.vue new file mode 100644 index 0000000..2a84278 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/barChart2.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/lineChart1.vue b/src/views/deviceManagement/datascreen/components/lineChart1.vue new file mode 100644 index 0000000..c5c93bd --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/lineChart1.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/lineChart2.vue b/src/views/deviceManagement/datascreen/components/lineChart2.vue new file mode 100644 index 0000000..4937b6c --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/lineChart2.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/lineChart3.vue b/src/views/deviceManagement/datascreen/components/lineChart3.vue new file mode 100644 index 0000000..7b06e64 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/lineChart3.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/lineChart4.vue b/src/views/deviceManagement/datascreen/components/lineChart4.vue new file mode 100644 index 0000000..fcdd156 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/lineChart4.vue @@ -0,0 +1,138 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/pieChart1.vue b/src/views/deviceManagement/datascreen/components/pieChart1.vue new file mode 100644 index 0000000..854ab2d --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/pieChart1.vue @@ -0,0 +1,131 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/pieChart2.vue b/src/views/deviceManagement/datascreen/components/pieChart2.vue new file mode 100644 index 0000000..a521013 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/pieChart2.vue @@ -0,0 +1,133 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/table1.vue b/src/views/deviceManagement/datascreen/components/table1.vue new file mode 100644 index 0000000..0d22e61 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/table1.vue @@ -0,0 +1,190 @@ + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/components/table2.vue b/src/views/deviceManagement/datascreen/components/table2.vue new file mode 100644 index 0000000..f9e5794 --- /dev/null +++ b/src/views/deviceManagement/datascreen/components/table2.vue @@ -0,0 +1,194 @@ + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/dayTaskAnalysis/index.vue b/src/views/deviceManagement/datascreen/dayTaskAnalysis/index.vue new file mode 100644 index 0000000..15669ca --- /dev/null +++ b/src/views/deviceManagement/datascreen/dayTaskAnalysis/index.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/dayTaskAnalysis/table1.vue b/src/views/deviceManagement/datascreen/dayTaskAnalysis/table1.vue new file mode 100644 index 0000000..9f6df9a --- /dev/null +++ b/src/views/deviceManagement/datascreen/dayTaskAnalysis/table1.vue @@ -0,0 +1,186 @@ + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/dayTaskAnalysis/table2.vue b/src/views/deviceManagement/datascreen/dayTaskAnalysis/table2.vue new file mode 100644 index 0000000..58fc5d2 --- /dev/null +++ b/src/views/deviceManagement/datascreen/dayTaskAnalysis/table2.vue @@ -0,0 +1,190 @@ + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/DemoChart.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/DemoChart.vue new file mode 100644 index 0000000..5e58a9f --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/DemoChart.vue @@ -0,0 +1,291 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/barChart1.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/barChart1.vue new file mode 100644 index 0000000..ec8dcbf --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/barChart1.vue @@ -0,0 +1,162 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/barChart2.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/barChart2.vue new file mode 100644 index 0000000..a7fc4ea --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/barChart2.vue @@ -0,0 +1,169 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/index.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/index.vue new file mode 100644 index 0000000..5c4db8a --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/index.vue @@ -0,0 +1,195 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/lineChart1.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/lineChart1.vue new file mode 100644 index 0000000..c7d59ad --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/lineChart1.vue @@ -0,0 +1,167 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart1.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart1.vue new file mode 100644 index 0000000..242f165 --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart1.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart2.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart2.vue new file mode 100644 index 0000000..eecdd2a --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart2.vue @@ -0,0 +1,148 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart3.vue b/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart3.vue new file mode 100644 index 0000000..3f84a84 --- /dev/null +++ b/src/views/deviceManagement/datascreen/deviceAnalysis/pieChart3.vue @@ -0,0 +1,148 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/index.vue b/src/views/deviceManagement/datascreen/index.vue new file mode 100644 index 0000000..14c37f1 --- /dev/null +++ b/src/views/deviceManagement/datascreen/index.vue @@ -0,0 +1,340 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/personAnalysis/index.vue b/src/views/deviceManagement/datascreen/personAnalysis/index.vue new file mode 100644 index 0000000..f56ec6b --- /dev/null +++ b/src/views/deviceManagement/datascreen/personAnalysis/index.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/personAnalysis/lineChart1.vue b/src/views/deviceManagement/datascreen/personAnalysis/lineChart1.vue new file mode 100644 index 0000000..69f582d --- /dev/null +++ b/src/views/deviceManagement/datascreen/personAnalysis/lineChart1.vue @@ -0,0 +1,350 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/personAnalysis/lineChart2.vue b/src/views/deviceManagement/datascreen/personAnalysis/lineChart2.vue new file mode 100644 index 0000000..974a4d3 --- /dev/null +++ b/src/views/deviceManagement/datascreen/personAnalysis/lineChart2.vue @@ -0,0 +1,325 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/taskAnalysis/index.vue b/src/views/deviceManagement/datascreen/taskAnalysis/index.vue new file mode 100644 index 0000000..72518a2 --- /dev/null +++ b/src/views/deviceManagement/datascreen/taskAnalysis/index.vue @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/taskAnalysis/lineChart1.vue b/src/views/deviceManagement/datascreen/taskAnalysis/lineChart1.vue new file mode 100644 index 0000000..439f53c --- /dev/null +++ b/src/views/deviceManagement/datascreen/taskAnalysis/lineChart1.vue @@ -0,0 +1,162 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/taskAnalysis/table1.vue b/src/views/deviceManagement/datascreen/taskAnalysis/table1.vue new file mode 100644 index 0000000..a90b81f --- /dev/null +++ b/src/views/deviceManagement/datascreen/taskAnalysis/table1.vue @@ -0,0 +1,185 @@ + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/theme/essos.json b/src/views/deviceManagement/datascreen/theme/essos.json new file mode 100644 index 0000000..5da4694 --- /dev/null +++ b/src/views/deviceManagement/datascreen/theme/essos.json @@ -0,0 +1,399 @@ +{ + "color": [ + "#893448", + "#df0000", + "#d95850", + "#eb8146", + "#ffb248", + "#f2d643", + "#ebdba4", + "#c8c800", + "#8e00d5", + "#ba00ba" + ], + "backgroundColor": "rgba(242,234,191,0.0)", + "textStyle": {}, + "title": { + "textStyle": { + "color": "#000000" + }, + "subtextStyle": { + "color": "#000000" + } + }, + "line": { + "itemStyle": { + "borderWidth": "2" + }, + "lineStyle": { + "width": "2" + }, + "symbolSize": "6", + "symbol": "emptyCircle", + "smooth": true + }, + "radar": { + "itemStyle": { + "borderWidth": "2" + }, + "lineStyle": { + "width": "2" + }, + "symbolSize": "6", + "symbol": "emptyCircle", + "smooth": true + }, + "bar": { + "itemStyle": { + "barBorderWidth": 0, + "barBorderColor": "#ccc" + } + }, + "pie": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "scatter": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "boxplot": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "parallel": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "sankey": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "funnel": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "gauge": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "candlestick": { + "itemStyle": { + "color": "#eb8146", + "color0": "transparent", + "borderColor": "#d95850", + "borderColor0": "#58c470", + "borderWidth": "2" + } + }, + "graph": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + }, + "lineStyle": { + "width": 1, + "color": "#aaa" + }, + "symbolSize": "6", + "symbol": "emptyCircle", + "smooth": true, + "color": [ + "#893448", + "#d95850", + "#eb8146", + "#ffb248", + "#f2d643", + "#ebdba4" + ], + "label": { + "color": "#ffffff" + } + }, + "map": { + "itemStyle": { + "areaColor": "#f3f3f3", + "borderColor": "#999999", + "borderWidth": 0.5 + }, + "label": { + "color": "#893448" + }, + "emphasis": { + "itemStyle": { + "areaColor": "#ffb248", + "borderColor": "#eb8146", + "borderWidth": 1 + }, + "label": { + "color": "#893448" + } + } + }, + "geo": { + "itemStyle": { + "areaColor": "#f3f3f3", + "borderColor": "#999999", + "borderWidth": 0.5 + }, + "label": { + "color": "#893448" + }, + "emphasis": { + "itemStyle": { + "areaColor": "#ffb248", + "borderColor": "#eb8146", + "borderWidth": 1 + }, + "label": { + "color": "#893448" + } + } + }, + "categoryAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#aaaaaa" + } + }, + "axisTick": { + "show": false, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#999999" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#e6e6e6" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.05)", + "rgba(200,200,200,0.02)" + ] + } + } + }, + "valueAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#aaaaaa" + } + }, + "axisTick": { + "show": false, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#999999" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#e6e6e6" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.05)", + "rgba(200,200,200,0.02)" + ] + } + } + }, + "logAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#aaaaaa" + } + }, + "axisTick": { + "show": false, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#999999" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#e6e6e6" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.05)", + "rgba(200,200,200,0.02)" + ] + } + } + }, + "timeAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#aaaaaa" + } + }, + "axisTick": { + "show": false, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#999999" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#e6e6e6" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.05)", + "rgba(200,200,200,0.02)" + ] + } + } + }, + "toolbox": { + "iconStyle": { + "borderColor": "#999999" + }, + "emphasis": { + "iconStyle": { + "borderColor": "#666666" + } + } + }, + "legend": { + "textStyle": { + "color": "#000000" + } + }, + "tooltip": { + "axisPointer": { + "lineStyle": { + "color": "#cccccc", + "width": 1 + }, + "crossStyle": { + "color": "#cccccc", + "width": 1 + } + } + }, + "timeline": { + "lineStyle": { + "color": "#893448", + "width": 1 + }, + "itemStyle": { + "color": "#893448", + "borderWidth": 1 + }, + "controlStyle": { + "color": "#893448", + "borderColor": "#893448", + "borderWidth": 0.5 + }, + "checkpointStyle": { + "color": "#eb8146", + "borderColor": "#ffb248" + }, + "label": { + "color": "#893448" + }, + "emphasis": { + "itemStyle": { + "color": "#ffb248" + }, + "controlStyle": { + "color": "#893448", + "borderColor": "#893448", + "borderWidth": 0.5 + }, + "label": { + "color": "#893448" + } + } + }, + "visualMap": { + "color": [ + "#893448", + "#d95850", + "#eb8146", + "#ffb248", + "#f2d643", + "rgb(247,238,173)" + ] + }, + "dataZoom": { + "backgroundColor": "rgba(255,255,255,0)", + "dataBackgroundColor": "rgba(255,178,72,0.5)", + "fillerColor": "rgba(255,178,72,0.15)", + "handleColor": "#ffb248", + "handleSize": "100%", + "textStyle": { + "color": "#333" + } + }, + "markPoint": { + "label": { + "color": "#ffffff" + }, + "emphasis": { + "label": { + "color": "#ffffff" + } + } + } +} \ No newline at end of file diff --git a/src/views/deviceManagement/datascreen/theme/shine.json b/src/views/deviceManagement/datascreen/theme/shine.json new file mode 100644 index 0000000..5774817 --- /dev/null +++ b/src/views/deviceManagement/datascreen/theme/shine.json @@ -0,0 +1,395 @@ +{ + "color": [ + "#c12e34", + "#e6b600", + "#0098d9", + "#2b821d", + "#005eaa", + "#339ca8", + "#cda819", + "#32a487" + ], + "backgroundColor": "rgba(0,0,0,0)", + "textStyle": {}, + "title": { + "textStyle": { + "color": "#333333" + }, + "subtextStyle": { + "color": "#aaaaaa" + } + }, + "line": { + "itemStyle": { + "borderWidth": 1 + }, + "lineStyle": { + "width": 2 + }, + "symbolSize": 4, + "symbol": "emptyCircle", + "smooth": false + }, + "radar": { + "itemStyle": { + "borderWidth": 1 + }, + "lineStyle": { + "width": 2 + }, + "symbolSize": 4, + "symbol": "emptyCircle", + "smooth": false + }, + "bar": { + "itemStyle": { + "barBorderWidth": 0, + "barBorderColor": "#ccc" + } + }, + "pie": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "scatter": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "boxplot": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "parallel": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "sankey": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "funnel": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "gauge": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + } + }, + "candlestick": { + "itemStyle": { + "color": "#c12e34", + "color0": "#2b821d", + "borderColor": "#c12e34", + "borderColor0": "#2b821d", + "borderWidth": 1 + } + }, + "graph": { + "itemStyle": { + "borderWidth": 0, + "borderColor": "#ccc" + }, + "lineStyle": { + "width": 1, + "color": "#aaa" + }, + "symbolSize": 4, + "symbol": "emptyCircle", + "smooth": false, + "color": [ + "#c12e34", + "#e6b600", + "#0098d9", + "#2b821d", + "#005eaa", + "#339ca8", + "#cda819", + "#32a487" + ], + "label": { + "color": "#eeeeee" + } + }, + "map": { + "itemStyle": { + "areaColor": "#ddd", + "borderColor": "#eee", + "borderWidth": 0.5 + }, + "label": { + "color": "#c12e34" + }, + "emphasis": { + "itemStyle": { + "areaColor": "#e6b600", + "borderColor": "#ddd", + "borderWidth": 1 + }, + "label": { + "color": "#c12e34" + } + } + }, + "geo": { + "itemStyle": { + "areaColor": "#ddd", + "borderColor": "#eee", + "borderWidth": 0.5 + }, + "label": { + "color": "#c12e34" + }, + "emphasis": { + "itemStyle": { + "areaColor": "#e6b600", + "borderColor": "#ddd", + "borderWidth": 1 + }, + "label": { + "color": "#c12e34" + } + } + }, + "categoryAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisTick": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#333" + }, + "splitLine": { + "show": false, + "lineStyle": { + "color": [ + "#ccc" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.3)", + "rgba(200,200,200,0.3)" + ] + } + } + }, + "valueAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisTick": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#333" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#ccc" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.3)", + "rgba(200,200,200,0.3)" + ] + } + } + }, + "logAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisTick": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#333" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#ccc" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.3)", + "rgba(200,200,200,0.3)" + ] + } + } + }, + "timeAxis": { + "axisLine": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisTick": { + "show": true, + "lineStyle": { + "color": "#333" + } + }, + "axisLabel": { + "show": true, + "color": "#333" + }, + "splitLine": { + "show": true, + "lineStyle": { + "color": [ + "#ccc" + ] + } + }, + "splitArea": { + "show": false, + "areaStyle": { + "color": [ + "rgba(250,250,250,0.3)", + "rgba(200,200,200,0.3)" + ] + } + } + }, + "toolbox": { + "iconStyle": { + "borderColor": "#06467c" + }, + "emphasis": { + "iconStyle": { + "borderColor": "#4187c2" + } + } + }, + "legend": { + "textStyle": { + "color": "#333333" + } + }, + "tooltip": { + "axisPointer": { + "lineStyle": { + "color": "#cccccc", + "width": 1 + }, + "crossStyle": { + "color": "#cccccc", + "width": 1 + } + } + }, + "timeline": { + "lineStyle": { + "color": "#005eaa", + "width": 1 + }, + "itemStyle": { + "color": "#005eaa", + "borderWidth": 1 + }, + "controlStyle": { + "color": "#005eaa", + "borderColor": "#005eaa", + "borderWidth": 0.5 + }, + "checkpointStyle": { + "color": "#005eaa", + "borderColor": "#316bc2" + }, + "label": { + "color": "#005eaa" + }, + "emphasis": { + "itemStyle": { + "color": "#005eaa" + }, + "controlStyle": { + "color": "#005eaa", + "borderColor": "#005eaa", + "borderWidth": 0.5 + }, + "label": { + "color": "#005eaa" + } + } + }, + "visualMap": { + "color": [ + "#1790cf", + "#a2d4e6" + ] + }, + "dataZoom": { + "backgroundColor": "rgba(47,69,84,0)", + "dataBackgroundColor": "rgba(47,69,84,0.3)", + "fillerColor": "rgba(167,183,204,0.4)", + "handleColor": "#a7b7cc", + "handleSize": "100%", + "textStyle": { + "color": "#333333" + } + }, + "markPoint": { + "label": { + "color": "#eeeeee" + }, + "emphasis": { + "label": { + "color": "#eeeeee" + } + } + } +} \ No newline at end of file diff --git a/src/views/deviceManagement/deviceMaintenanceRecord/index.vue b/src/views/deviceManagement/deviceMaintenanceRecord/index.vue new file mode 100644 index 0000000..cf2c81f --- /dev/null +++ b/src/views/deviceManagement/deviceMaintenanceRecord/index.vue @@ -0,0 +1,287 @@ + + + diff --git a/src/views/deviceManagement/devicePointInspectionPlan/index.vue b/src/views/deviceManagement/devicePointInspectionPlan/index.vue new file mode 100644 index 0000000..9d9541c --- /dev/null +++ b/src/views/deviceManagement/devicePointInspectionPlan/index.vue @@ -0,0 +1,370 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceDialog.vue b/src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceDialog.vue new file mode 100644 index 0000000..d690830 --- /dev/null +++ b/src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceDialog.vue @@ -0,0 +1,43 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceHistoryTable.vue b/src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceHistoryTable.vue new file mode 100644 index 0000000..a3061dc --- /dev/null +++ b/src/views/deviceManagement/deviceRepair/TheDeviceMaintenanceHistoryTable.vue @@ -0,0 +1,331 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceRepair/index.vue b/src/views/deviceManagement/deviceRepair/index.vue new file mode 100644 index 0000000..0e04c24 --- /dev/null +++ b/src/views/deviceManagement/deviceRepair/index.vue @@ -0,0 +1,460 @@ + + + + diff --git a/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue b/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue new file mode 100644 index 0000000..1efb65b --- /dev/null +++ b/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue @@ -0,0 +1,463 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceStatusBoard/index.vue b/src/views/deviceManagement/deviceStatusBoard/index.vue new file mode 100644 index 0000000..2a08c3b --- /dev/null +++ b/src/views/deviceManagement/deviceStatusBoard/index.vue @@ -0,0 +1,304 @@ + + + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDeviceItemStep.vue b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDeviceItemStep.vue new file mode 100644 index 0000000..3422159 --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDeviceItemStep.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDialog.vue b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDialog.vue new file mode 100644 index 0000000..cac2a81 --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteDialog.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteFormDialog.vue b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteFormDialog.vue new file mode 100644 index 0000000..6effead --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteFormDialog.vue @@ -0,0 +1,136 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteTable.vue b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteTable.vue new file mode 100644 index 0000000..d2e2dd5 --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteTable.vue @@ -0,0 +1,116 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteView.vue b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteView.vue new file mode 100644 index 0000000..8538f15 --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecute/TheTaskExecuteView.vue @@ -0,0 +1,157 @@ + + + + + diff --git a/src/views/deviceManagement/deviceTaskExecute/index.vue b/src/views/deviceManagement/deviceTaskExecute/index.vue new file mode 100644 index 0000000..e3cb098 --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecute/index.vue @@ -0,0 +1,484 @@ + + + + diff --git a/src/views/deviceManagement/deviceTaskExecuteResult/index.vue b/src/views/deviceManagement/deviceTaskExecuteResult/index.vue new file mode 100644 index 0000000..c2090a6 --- /dev/null +++ b/src/views/deviceManagement/deviceTaskExecuteResult/index.vue @@ -0,0 +1,561 @@ + + + diff --git a/src/views/deviceManagement/deviceaccount/TheChouseDeviceInspect.vue b/src/views/deviceManagement/deviceaccount/TheChouseDeviceInspect.vue new file mode 100644 index 0000000..0714da6 --- /dev/null +++ b/src/views/deviceManagement/deviceaccount/TheChouseDeviceInspect.vue @@ -0,0 +1,181 @@ + + + diff --git a/src/views/deviceManagement/deviceaccount/TheDeviceActionDialog.vue b/src/views/deviceManagement/deviceaccount/TheDeviceActionDialog.vue new file mode 100644 index 0000000..4104937 --- /dev/null +++ b/src/views/deviceManagement/deviceaccount/TheDeviceActionDialog.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/src/views/deviceManagement/deviceaccount/TheDeviceInspectTable.vue b/src/views/deviceManagement/deviceaccount/TheDeviceInspectTable.vue new file mode 100644 index 0000000..200d1cc --- /dev/null +++ b/src/views/deviceManagement/deviceaccount/TheDeviceInspectTable.vue @@ -0,0 +1,378 @@ + + + diff --git a/src/views/deviceManagement/deviceaccount/index.vue b/src/views/deviceManagement/deviceaccount/index.vue new file mode 100644 index 0000000..81b5887 --- /dev/null +++ b/src/views/deviceManagement/deviceaccount/index.vue @@ -0,0 +1,561 @@ + + + + diff --git a/src/views/deviceManagement/deviceformconfig/index.vue b/src/views/deviceManagement/deviceformconfig/index.vue new file mode 100644 index 0000000..e5bace1 --- /dev/null +++ b/src/views/deviceManagement/deviceformconfig/index.vue @@ -0,0 +1,285 @@ + + + diff --git a/src/views/deviceManagement/deviceinspect/index.vue b/src/views/deviceManagement/deviceinspect/index.vue new file mode 100644 index 0000000..b4d96ed --- /dev/null +++ b/src/views/deviceManagement/deviceinspect/index.vue @@ -0,0 +1,383 @@ + + + diff --git a/src/views/deviceManagement/devicetype/index.vue b/src/views/deviceManagement/devicetype/index.vue new file mode 100644 index 0000000..1ff9d20 --- /dev/null +++ b/src/views/deviceManagement/devicetype/index.vue @@ -0,0 +1,199 @@ + + + + +