From 32bd7bdcc6657068a1e35ccbc7507ca1a240728f Mon Sep 17 00:00:00 2001 From: xusd Date: Wed, 12 Jun 2024 16:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=9B=BE=E7=BA=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/drawing/drawing.js | 10 + pages.json | 7 + pages/work/drawing/listDrawing.vue | 352 ++++++++++++++++++++++ pages/work/equipInfo/detailsEquipInfo.vue | 21 ++ pages/work/index.vue | 9 + pages/work/patrol/detailsPatrol.vue | 10 +- 6 files changed, 407 insertions(+), 2 deletions(-) create mode 100644 api/drawing/drawing.js create mode 100644 pages/work/drawing/listDrawing.vue diff --git a/api/drawing/drawing.js b/api/drawing/drawing.js new file mode 100644 index 0000000..65330d9 --- /dev/null +++ b/api/drawing/drawing.js @@ -0,0 +1,10 @@ +import request from "@/utils/request"; + +// 查询设备图纸列表 +export function listDrawing(query) { + return request({ + url: "/equip/drawings/list", + method: "get", + params: query, + }); +} \ No newline at end of file diff --git a/pages.json b/pages.json index 2290746..84d51bd 100644 --- a/pages.json +++ b/pages.json @@ -157,6 +157,13 @@ { "navigationBarTitleText" : "巡检详情" } + }, + { + "path" : "pages/work/drawing/listDrawing", + "style" : + { + "navigationBarTitleText" : "设备图纸" + } }], "tabBar": { "color": "#000000", diff --git a/pages/work/drawing/listDrawing.vue b/pages/work/drawing/listDrawing.vue new file mode 100644 index 0000000..c20aa9c --- /dev/null +++ b/pages/work/drawing/listDrawing.vue @@ -0,0 +1,352 @@ + + + + + \ No newline at end of file diff --git a/pages/work/equipInfo/detailsEquipInfo.vue b/pages/work/equipInfo/detailsEquipInfo.vue index 24e1ef1..f4651cf 100644 --- a/pages/work/equipInfo/detailsEquipInfo.vue +++ b/pages/work/equipInfo/detailsEquipInfo.vue @@ -19,6 +19,27 @@ {{equipInfo.equipProductionDate}} + + {{equipInfo.equipCategoryName}} + + + {{equipInfo.deptName}} + + + {{equipInfo.equipInstallationLocation}} + + + {{equipInfo.equipPurchaseDate}} + + + {{equipInfo.equipPrice}} + + + {{equipInfo.equipTechnicalSpecifications}} + + + {{equipInfo.remark}} + diff --git a/pages/work/index.vue b/pages/work/index.vue index 2689583..8fc7ee4 100644 --- a/pages/work/index.vue +++ b/pages/work/index.vue @@ -20,6 +20,12 @@ 设备档案 + + + + 设备图纸 + + @@ -70,6 +76,9 @@ } }, methods: { + drawingClick(){ + this.$tab.navigateTo("/pages/work/drawing/listDrawing"); + }, equipCancelClick(){ this.$tab.navigateTo("/pages/work/equipCancel/listEquipCancel"); }, diff --git a/pages/work/patrol/detailsPatrol.vue b/pages/work/patrol/detailsPatrol.vue index e3aab8e..3be98e1 100644 --- a/pages/work/patrol/detailsPatrol.vue +++ b/pages/work/patrol/detailsPatrol.vue @@ -58,6 +58,9 @@