From 5f44ec715bf5e506f51d3ec9e9477fe60a92b3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Mon, 3 Mar 2025 18:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ss/suit.js | 7 + src/api/system/device.js | 12 + .../Business/StoreType/StoreTypeSelect.vue | 31 +- .../Business/Suit/SuitCheckDialog.vue | 128 +++++++++ src/components/Business/Suit/SuitInput.vue | 70 +++++ src/components/CheckDialog/index.vue | 270 ++++++++++++++++++ src/views/ss/storeType/index.vue | 47 ++- .../ss/suit/component/SuitSearchForm.vue | 67 +++++ src/views/ss/suit/component/SuitTable.vue | 122 +++----- .../ss/suit/component/SuitTableColumn.vue | 75 +++++ .../device/components/DeviceEditDialog.vue | 67 +++-- src/views/system/device/detail.vue | 63 +++- 12 files changed, 819 insertions(+), 140 deletions(-) create mode 100644 src/components/Business/Suit/SuitCheckDialog.vue create mode 100644 src/components/Business/Suit/SuitInput.vue create mode 100644 src/components/CheckDialog/index.vue create mode 100644 src/views/ss/suit/component/SuitSearchForm.vue create mode 100644 src/views/ss/suit/component/SuitTableColumn.vue diff --git a/src/api/ss/suit.js b/src/api/ss/suit.js index 821c567..0a87d98 100644 --- a/src/api/ss/suit.js +++ b/src/api/ss/suit.js @@ -9,6 +9,13 @@ export function listSuit(query) { }) } +// 查询套餐列表 +export function listSuitByIds(ids) { + return request({ + url: `/ss/suit/listByIds/${ids}`, + method: 'get', + }) +} // 查询套餐详细 export function getSuit(suitId) { return request({ diff --git a/src/api/system/device.js b/src/api/system/device.js index 73348be..8ed0030 100644 --- a/src/api/system/device.js +++ b/src/api/system/device.js @@ -219,3 +219,15 @@ export function deviceSetWxs(deviceId, wxs) { } }) } + +// 设置设备反转参数 +export function deviceSetSet(deviceId, set) { + return request({ + url: '/system/device/setSet', + method: 'put', + data: { + deviceId, + set + } + }) +} diff --git a/src/components/Business/StoreType/StoreTypeSelect.vue b/src/components/Business/StoreType/StoreTypeSelect.vue index e347d35..2635047 100644 --- a/src/components/Business/StoreType/StoreTypeSelect.vue +++ b/src/components/Business/StoreType/StoreTypeSelect.vue @@ -1,21 +1,22 @@ diff --git a/src/components/Business/Suit/SuitInput.vue b/src/components/Business/Suit/SuitInput.vue new file mode 100644 index 0000000..b8cf6dd --- /dev/null +++ b/src/components/Business/Suit/SuitInput.vue @@ -0,0 +1,70 @@ + + + \ No newline at end of file diff --git a/src/components/CheckDialog/index.vue b/src/components/CheckDialog/index.vue new file mode 100644 index 0000000..0628972 --- /dev/null +++ b/src/components/CheckDialog/index.vue @@ -0,0 +1,270 @@ + + + + + \ No newline at end of file diff --git a/src/views/ss/storeType/index.vue b/src/views/ss/storeType/index.vue index 0970075..03c2405 100644 --- a/src/views/ss/storeType/index.vue +++ b/src/views/ss/storeType/index.vue @@ -50,7 +50,16 @@ - +