From 0f5e4b8368f3efe9a7387bc2e29316e99a7c052a Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 30 Aug 2023 10:27:49 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=AE=BE=E5=A4=8724=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../monitoring/equipmentRecentHours/index.vue | 455 ++++++++++++++++++ .../equipmentRecentHours/props.json | 80 +++ .../equipmentRecentHours/response.json | 176 +++++++ 3 files changed, 711 insertions(+) create mode 100644 src/views/monitoring/equipmentRecentHours/index.vue create mode 100644 src/views/monitoring/equipmentRecentHours/props.json create mode 100644 src/views/monitoring/equipmentRecentHours/response.json diff --git a/src/views/monitoring/equipmentRecentHours/index.vue b/src/views/monitoring/equipmentRecentHours/index.vue new file mode 100644 index 00000000..d6df828b --- /dev/null +++ b/src/views/monitoring/equipmentRecentHours/index.vue @@ -0,0 +1,455 @@ + + + + + + + diff --git a/src/views/monitoring/equipmentRecentHours/props.json b/src/views/monitoring/equipmentRecentHours/props.json new file mode 100644 index 00000000..a8976b08 --- /dev/null +++ b/src/views/monitoring/equipmentRecentHours/props.json @@ -0,0 +1,80 @@ +{ + "tableProps": [ + { + "prop": "inspectionContent", + "label": "检测内容", + "align": "center" + }, + { + "prop": "2023-03-18T00:00:00", + "label": "2023-03-18T00:00:00", + "align": "center", + "children": [ + { + "prop": "2023-03-18T00:00:00-产线1", + "label": "产线1", + "align": "center" + }, + { + "prop": "2023-03-18T00:00:00-产线2", + "label": "产线2", + "align": "center" + }, + { + "prop": "2023-03-18T00:00:00-产线3", + "label": "产线3", + "align": "center" + }, + { + "prop": "2023-03-18T00:00:00-产线4", + "label": "产线4", + "align": "center" + }, + { + "prop": "2023-03-18T00:00:00-产线5", + "label": "产线5", + "align": "center" + } + ] + }, + { + "prop": "2023-03-18T01:00:00", + "label": "2023-03-18T01:00:00", + "align": "center", + "children": [ + { + "prop": "2023-03-18T01:00:00-产线1", + "label": "产线1", + "align": "center" + }, + { + "prop": "2023-03-18T01:00:00-产线2", + "label": "产线2", + "align": "center" + }, + { + "prop": "2023-03-18T01:00:00-产线3", + "label": "产线3", + "align": "center" + } + ] + }, + { + "prop": "2023-03-18T02:00:00", + "label": "2023-03-18T02:00:00", + "align": "center", + "children": [ + { + "prop": "2023-03-18T02:00:00-产线1", + "label": "产线1", + "align": "center" + }, + { + "prop": "2023-03-18T02:00:00-产线2", + "label": "产线2", + "align": "center" + } + ] + } + ] +} diff --git a/src/views/monitoring/equipmentRecentHours/response.json b/src/views/monitoring/equipmentRecentHours/response.json new file mode 100644 index 00000000..9524dfb4 --- /dev/null +++ b/src/views/monitoring/equipmentRecentHours/response.json @@ -0,0 +1,176 @@ +{ + "code": 0, + "data": { + "data": [ + { + "data": [ + { + "id": "测试222023-08-09T02:00", + "parentId": "测试22", + "dynamicName": "2023-08-09T02:00", + "dynamicValue": 1691517600000, + "children": [ + { + "id": "1672847052717821953", + "parentId": "测试222023-08-09T02:00", + "dynamicName": "产线1", + "dynamicValue": 1 + } + ] + }, + { + "id": "测试222023-08-09T08:00", + "parentId": "测试22", + "dynamicName": "2023-08-09T08:00", + "dynamicValue": 1691539200000, + "children": [ + { + "id": "1672847052717821953", + "parentId": "测试222023-08-09T08:00", + "dynamicName": "产线1", + "dynamicValue": 1 + } + ] + }, + { + "id": "测试222023-08-09T11:00", + "parentId": "测试22", + "dynamicName": "2023-08-09T11:00", + "dynamicValue": 1691550000000, + "children": [ + { + "id": "1672847052717821953", + "parentId": "测试222023-08-09T11:00", + "dynamicName": "产线1", + "dynamicValue": 1 + } + ] + } + ], + "inspectionDetContent": "测试22" + }, + { + "data": [ + { + "id": "测试112023-08-09T02:00", + "parentId": "测试11", + "dynamicName": "2023-08-09T02:00", + "dynamicValue": 1691517600000, + "children": [ + { + "id": "1672847052717821954", + "parentId": "测试112023-08-09T02:00", + "dynamicName": "产线22", + "dynamicValue": 1 + } + ] + }, + { + "id": "测试112023-08-09T08:00", + "parentId": "测试11", + "dynamicName": "2023-08-09T08:00", + "dynamicValue": 1691539200000, + "children": [ + { + "id": "1672847052717821953", + "parentId": "测试112023-08-09T08:00", + "dynamicName": "产线1", + "dynamicValue": 1 + } + ] + }, + { + "id": "测试112023-08-09T09:00", + "parentId": "测试11", + "dynamicName": "2023-08-09T09:00", + "dynamicValue": 1691542800000, + "children": [ + { + "id": "1672847052717821954", + "parentId": "测试112023-08-09T09:00", + "dynamicName": "产线22", + "dynamicValue": 2 + } + ] + } + ], + "inspectionDetContent": "测试11" + } + ], + "nameData": [ + { + "name": "2023-08-09T02:00", + "tree": 1, + "id": "测试222023-08-09T02:00", + "parentId": "测试22" + }, + { + "name": "产线1", + "tree": 2, + "id": "1672847052717821953", + "parentId": "测试222023-08-09T02:00" + }, + { + "name": "2023-08-09T08:00", + "tree": 1, + "id": "测试222023-08-09T08:00", + "parentId": "测试22" + }, + { + "name": "产线1", + "tree": 2, + "id": "1672847052717821953", + "parentId": "测试222023-08-09T08:00" + }, + { + "name": "2023-08-09T11:00", + "tree": 1, + "id": "测试222023-08-09T11:00", + "parentId": "测试22" + }, + { + "name": "产线1", + "tree": 2, + "id": "1672847052717821953", + "parentId": "测试222023-08-09T11:00" + }, + { + "name": "2023-08-09T02:00", + "tree": 1, + "id": "测试112023-08-09T02:00", + "parentId": "测试11" + }, + { + "name": "产线22", + "tree": 2, + "id": "1672847052717821954", + "parentId": "测试112023-08-09T02:00" + }, + { + "name": "2023-08-09T08:00", + "tree": 1, + "id": "测试112023-08-09T08:00", + "parentId": "测试11" + }, + { + "name": "产线1", + "tree": 2, + "id": "1672847052717821953", + "parentId": "测试112023-08-09T08:00" + }, + { + "name": "2023-08-09T09:00", + "tree": 1, + "id": "测试112023-08-09T09:00", + "parentId": "测试11" + }, + { + "name": "产线22", + "tree": 2, + "id": "1672847052717821954", + "parentId": "测试112023-08-09T09:00" + } + ] + }, + "msg": "" +}