From 5eb552b86e53f1ae7a04600bcfeb593e39273445 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Wed, 29 Nov 2023 18:42:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/mapCommon.ts | 10 ++++ src/components/CodeMirror/index.vue | 10 +++- src/components/testMap/index.vue | 24 +++++++-- .../largeScreen/components/equipmentAdd.vue | 49 +++++++++++++------ src/views/goverment/largeScreen/index.vue | 10 ++-- 5 files changed, 76 insertions(+), 27 deletions(-) diff --git a/src/api/modules/mapCommon.ts b/src/api/modules/mapCommon.ts index 83b600a..c053d99 100644 --- a/src/api/modules/mapCommon.ts +++ b/src/api/modules/mapCommon.ts @@ -142,3 +142,13 @@ export const gltfModelEdit = (params: any) => { export const gltfModelDelete = (params: any) => { return http.post(BASEURL + `/base/gltfModel/delete`, params); }; + +// 设备样式 +// 样式查询 +export const equipmentStyleGet = (params: any) => { + return http.post(BASEURL + `/base/deviceConfig/queryById`, params); +}; +// 样式编辑 +export const equipmentStyleEdit = (params: any) => { + return http.post(BASEURL + `/base/deviceConfig/edit`, params); +}; diff --git a/src/components/CodeMirror/index.vue b/src/components/CodeMirror/index.vue index 4b81828..ab55948 100644 --- a/src/components/CodeMirror/index.vue +++ b/src/components/CodeMirror/index.vue @@ -14,7 +14,7 @@