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 @@