From 1053452fee40c8260b23e3b689d4fed17fa77cd5 Mon Sep 17 00:00:00 2001 From: "maxw@mesnac.com" Date: Thu, 5 Dec 2024 21:50:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=86=E9=A1=B5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DmsBaseDeviceLedgerController.java | 6 ++ hw-ui/src/api/dms/ledger.js | 7 ++ .../src/views/dms/dmsBaseAlarmRule/index.vue | 70 +++++++++---------- .../views/dms/dmsInspectRouteDetail/index.vue | 6 +- hw-ui/src/views/dms/maintDetail/index.vue | 7 +- 5 files changed, 55 insertions(+), 41 deletions(-) diff --git a/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceLedgerController.java b/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceLedgerController.java index ede4e273..978ce3cc 100644 --- a/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceLedgerController.java +++ b/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceLedgerController.java @@ -46,6 +46,12 @@ public class DmsBaseDeviceLedgerController extends BaseController List list = dmsBaseDeviceLedgerService.selectDmsBaseDeviceLedgerList(dmsBaseDeviceLedger); return getDataTable(list); } + @GetMapping("/deviceList") + public AjaxResult deviceList(DmsBaseDeviceLedger dmsBaseDeviceLedger) + { + List list = dmsBaseDeviceLedgerService.selectDmsBaseDeviceLedgerList(dmsBaseDeviceLedger); + return AjaxResult.success(list); + } /** * 查询设备台账信息下拉框列表 diff --git a/hw-ui/src/api/dms/ledger.js b/hw-ui/src/api/dms/ledger.js index 5c787008..9c67465a 100644 --- a/hw-ui/src/api/dms/ledger.js +++ b/hw-ui/src/api/dms/ledger.js @@ -8,6 +8,13 @@ export function listLedger(query) { params: query }) } +export function deviceList(query) { + return request({ + url: '/dms/ledger/deviceList', + method: 'get', + params: query + }) +} // 查询设备台账信息详细 export function getLedger(deviceId) { diff --git a/hw-ui/src/views/dms/dmsBaseAlarmRule/index.vue b/hw-ui/src/views/dms/dmsBaseAlarmRule/index.vue index 7e21b89f..5714d4f1 100644 --- a/hw-ui/src/views/dms/dmsBaseAlarmRule/index.vue +++ b/hw-ui/src/views/dms/dmsBaseAlarmRule/index.vue @@ -64,41 +64,41 @@ - - 新增 - - - - 修改 - - - - 删除 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hw-ui/src/views/dms/dmsInspectRouteDetail/index.vue b/hw-ui/src/views/dms/dmsInspectRouteDetail/index.vue index 82d2db3b..012d91c5 100644 --- a/hw-ui/src/views/dms/dmsInspectRouteDetail/index.vue +++ b/hw-ui/src/views/dms/dmsInspectRouteDetail/index.vue @@ -246,7 +246,7 @@