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