diff --git a/src/api/system/room.js b/src/api/system/room.js index f961d75..823ec42 100644 --- a/src/api/system/room.js +++ b/src/api/system/room.js @@ -81,7 +81,7 @@ export function openRoomGate(roomId) { // 房间设备全开/全关 export function switchAllDevices(roomId, open) { return request({ - url: `/app/device/adminAll/${roomId}/switch`, + url: `/app/device/admin/adminAll/${roomId}/switch`, method: 'post', params: { open: open diff --git a/src/views/system/cardOrder/index.vue b/src/views/system/cardOrder/index.vue index 35a4e9b..01ce326 100644 --- a/src/views/system/cardOrder/index.vue +++ b/src/views/system/cardOrder/index.vue @@ -9,122 +9,42 @@ @keyup.enter.native="handleQuery" /> - - - - - - - + - - - - - - - - + - - - - - - - - - - + - - - - - - - + - + - - - @@ -137,82 +57,10 @@ @keyup.enter.native="handleQuery" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - @@ -224,38 +72,6 @@ - - 新增 - - - 修改 - - - 删除 - - - - + + + + + + + + + + + + + + + + + + - - + + @@ -371,8 +187,8 @@ - - + + @@ -383,8 +199,8 @@ - - + + @@ -392,14 +208,14 @@ - - + + - - + +