From 8095477b48372442baae60f375150b56830d7018 Mon Sep 17 00:00:00 2001 From: hflllll Date: Sun, 31 Aug 2025 10:25:40 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=AD=98=E5=9C=A8=E9=97=AE=E9=A2=98-=E5=BE=85?= =?UTF-8?q?=E8=AF=A2=E9=97=AE'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/modules/exhibit.js | 20 +++++++++++++++++ pages/index/maintain.vue | 54 +++++++++++---------------------------------- subPages/home/RAArecord.vue | 21 ++++++++++++++---- 3 files changed, 50 insertions(+), 45 deletions(-) diff --git a/api/modules/exhibit.js b/api/modules/exhibit.js index f3e7469..2ceccb2 100644 --- a/api/modules/exhibit.js +++ b/api/modules/exhibit.js @@ -20,6 +20,15 @@ export default { }) }, + // 查看保养记录 + async queryMaintenanceList(data) { + return http({ + url: '/showpiece/queryMaintenanceList', + method: 'GET', + data + }) + }, + // 保养-新增保养记录 async addMaintenance(data) { return http({ @@ -29,4 +38,15 @@ export default { needToken: true }) }, + + // 报修- 查看报修单列表 + async queryMalfunctionList(data) { + return http({ + url: '/showpiece/queryMalfunctionList', + method: 'GET', + data + }) + }, + + // chakan } \ No newline at end of file diff --git a/pages/index/maintain.vue b/pages/index/maintain.vue index ab96b88..24cf5ab 100644 --- a/pages/index/maintain.vue +++ b/pages/index/maintain.vue @@ -17,7 +17,7 @@ - + @@ -25,7 +25,7 @@ 复制图标 - {{ item.status }} + {{ item.status_dictText }} @@ -34,7 +34,7 @@ - {{ item.name }} + {{ item.showpieceId_dictText }} @@ -42,33 +42,33 @@ 展品编号 - {{ item.code }} + {{ item.showpieceId }} 紧急程度 - 一般 + {{ item.urgency_dictText }} 展品位置 - {{ item.location }} + {{ item.position }} 报修人 - {{ item.reporter }} + {{ item.reporterName }} 报修日期 - {{ item.reportDate }} + {{ item.firstDate }} 故障描述 - {{ item.description }} + {{ item.malfunctionDesc }} @@ -103,13 +103,17 @@