diff --git a/src/api/cabinet/smart-cabinet.ts b/src/api/cabinet/smart-cabinet.ts index b114e33..8de20fe 100644 --- a/src/api/cabinet/smart-cabinet.ts +++ b/src/api/cabinet/smart-cabinet.ts @@ -43,6 +43,8 @@ export interface SmartCabinetDTO { operator?: string; /** 归属类型(0-借还柜 1-固资通) */ belongType?: number; + usedCells?: number; + availableCells?: number; } /** diff --git a/src/utils/cabinetImgMap.ts b/src/utils/cabinetImgMap.ts index 15a34a1..639bfac 100644 --- a/src/utils/cabinetImgMap.ts +++ b/src/utils/cabinetImgMap.ts @@ -1,38 +1,38 @@ export const CabinetImgMap = { 1: { img: "cabinet_16.jpg", - name: "16口机柜", + name: "16格柜", }, 2: { img: "cabinet_20.jpg", - name: "20口机柜", + name: "20格柜", }, 3: { img: "cabinet_22.jpg", - name: "22口机柜", + name: "22格柜", }, 4: { img: "cabinet_24.jpg", - name: "24口机柜", + name: "24格柜", }, 5: { img: "cabinet_40.jpg", - name: "40口机柜", + name: "40格柜", }, 6: { img: "cabinet_48.jpg", - name: "48口机柜", + name: "48格柜", }, 7: { img: "cabinet_60.jpg", - name: "60口机柜", + name: "60格柜", }, 8: { img: "cabinet_120.jpg", - name: "120口机柜", + name: "120格柜", }, 9: { img: "cabinet_4.jpg", - name: "4口机柜", + name: "4格柜", }, } \ No newline at end of file diff --git a/src/views/cabinet/shop/index.vue b/src/views/cabinet/shop/index.vue index c4de39b..f49756c 100644 --- a/src/views/cabinet/shop/index.vue +++ b/src/views/cabinet/shop/index.vue @@ -93,7 +93,7 @@ const handleBulkDelete = async () => { try { await ElMessageBox.confirm( - `确认删除选中的${multipleSelection.value.length}家商店吗?`, + `确认删除选中的${multipleSelection.value.length}家地址吗?`, "警告", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" } ); @@ -138,7 +138,7 @@ getList(); - @@ -151,7 +151,7 @@ getList(); - 新增商店 + 新增地址 @@ -160,8 +160,8 @@ getList(); - - + +