From f49e256cd96aa275622651fcc80664b7248acdc2 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 16 Oct 2025 15:10:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=A6=E6=9E=B6=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/area/index.js | 19 +- src/api/system/dict.js | 11 +- .../deviceManage/area/areaClassifyRelated.vue | 185 +++++++++++--- src/views/deviceManage/area/index.vue | 2 +- src/views/deviceManage/bookshelf/index.vue | 30 ++- src/views/deviceManage/floor/index.vue | 2 +- src/views/deviceManage/map3d/index.vue | 2 +- src/views/deviceManage/map3d/map.vue | 6 +- src/views/deviceManage/shelfManage/shelf.vue | 2 +- .../shelfManage/shelf3dPosition.vue | 24 ++ .../shelfManage/shelfAllSearch.vue | 240 ++++++++++++++++++ src/views/digitalScreen/index.vue | 2 +- .../digitalScreen/module/areaSetting.vue | 2 +- .../faceRecognition/personInfoManage.vue | 2 +- src/views/faceRecognition/personRegister.vue | 2 +- src/views/inquiryMachine/column.vue | 2 +- 16 files changed, 475 insertions(+), 58 deletions(-) create mode 100644 src/views/deviceManage/shelfManage/shelf3dPosition.vue create mode 100644 src/views/deviceManage/shelfManage/shelfAllSearch.vue diff --git a/src/api/area/index.js b/src/api/area/index.js index b5ab1c5..ec502b4 100644 --- a/src/api/area/index.js +++ b/src/api/area/index.js @@ -64,4 +64,21 @@ export function FetchLibraryRegionDetails(params) { }) } -export default { add, edit, del, sort, saveLibraryRegionSignPoint, FetchInitLibraryRegionList, FetchRegionAllByFloor, FetchLibraryRegionDetails } +// 区域id关联图书分类 +export function FetchbookClassRegionIdRelated(parameter) { + return request({ + url: 'api/libraryRegion/bookClassRegionIdRelated', + method: 'post', + data: parameter + }) +} + +// 根据区域id获取关联图书分类 +export function FetchBookClassByRegionId(params) { + return request({ + url: 'api/libraryRegion/getBookClassByRegionId' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +export default { add, edit, del, sort, saveLibraryRegionSignPoint, FetchInitLibraryRegionList, FetchRegionAllByFloor, FetchLibraryRegionDetails, FetchbookClassRegionIdRelated, FetchBookClassByRegionId } diff --git a/src/api/system/dict.js b/src/api/system/dict.js index 14218d5..ebf068c 100644 --- a/src/api/system/dict.js +++ b/src/api/system/dict.js @@ -57,4 +57,13 @@ export function FetchDictionaryTreeByCategoryId(params) { }) } -export default { add, edit, del, FetchDictsList, FetchDictionaryTree, FetchSonDictionaryList, FetchDictionaryTreeByCategoryId } +// 根据父code查询子集 +export function FetchSonDictionaryListByCode(params) { + return request({ + url: '/api/dictionary/getSonDictionaryListByCode', + method: 'get', + params + }) +} + +export default { add, edit, del, FetchDictsList, FetchDictionaryTree, FetchSonDictionaryList, FetchDictionaryTreeByCategoryId, FetchSonDictionaryListByCode } diff --git a/src/views/deviceManage/area/areaClassifyRelated.vue b/src/views/deviceManage/area/areaClassifyRelated.vue index fafe8fb..913db27 100644 --- a/src/views/deviceManage/area/areaClassifyRelated.vue +++ b/src/views/deviceManage/area/areaClassifyRelated.vue @@ -17,13 +17,16 @@
{{ item + '架' }}
+