From 0e030b29c10284e50a7b0002ae39dd6d4eb63a38 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Fri, 11 Oct 2024 14:51:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9C=BA=E9=83=A8=E5=88=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/devices.js | 10 ++++-- src/views/devices/details.vue | 62 ++++++++++++++++++++++++++++------- 2 files changed, 58 insertions(+), 14 deletions(-) diff --git a/src/api/devices.js b/src/api/devices.js index ed75171..0f9ca7f 100644 --- a/src/api/devices.js +++ b/src/api/devices.js @@ -15,7 +15,6 @@ export function tbPrintMachine(data, method = 'post') { }) } // 打印机切换 - export function switchtbPrintMachine(data, method = 'post') { return request({ url: '/api/shop-config/printer/update-status', @@ -26,6 +25,14 @@ export function switchtbPrintMachine(data, method = 'post') { } }) } +// 打印机部分 +export function tbShopCategory(params) { + return request({ + url: '/api/tbShopCategory', + method: 'get', + params + }) +} /** * 打印机列表 * @returns @@ -35,7 +42,6 @@ export function tbPrintMachineGet(params) { url: '/api/shop-config/printer/list', method: 'get', params: { - ...params } }) diff --git a/src/views/devices/details.vue b/src/views/devices/details.vue index aba762f..0cc9f11 100644 --- a/src/views/devices/details.vue +++ b/src/views/devices/details.vue @@ -49,7 +49,13 @@ 部分分类 +
+ + +
+ 全部打印 @@ -97,7 +104,7 @@