From 79865ae7124655c7922568e6d87f04543cdfd5de Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 21 Jan 2026 01:07:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(iot):=E3=80=90=E8=AE=BE=E5=A4=87=E5=AE=9A?= =?UTF-8?q?=E4=BD=8D=EF=BC=9A100%=E3=80=91=E8=B0=83=E6=95=B4=E7=99=BE?= =?UTF-8?q?=E5=BA=A6=E5=9C=B0=E5=9B=BE=E9=80=89=E6=8B=A9=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=EF=BC=88=E5=BC=B9=E7=AA=97=EF=BC=89=EF=BC=8C=E5=9F=BA=E4=BA=8E?= =?UTF-8?q?=20hashed-juggling-tome.md=20=E8=A7=84=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/components/Map/index.ts | 3 + src/components/Map/index.vue | 275 ----------------- src/components/Map/src/MapDialog.vue | 291 ++++++++++++++++++ src/views/iot/device/device/DeviceForm.vue | 146 ++++----- .../device/detail/DeviceDetailsInfo.vue | 131 +++----- 6 files changed, 418 insertions(+), 430 deletions(-) create mode 100644 src/components/Map/index.ts delete mode 100644 src/components/Map/index.vue create mode 100644 src/components/Map/src/MapDialog.vue diff --git a/.env b/.env index 0f9c97e2..5a7a24a2 100644 --- a/.env +++ b/.env @@ -34,4 +34,4 @@ VITE_APP_API_ENCRYPT_RESPONSE_KEY = 96103715984234343991809655248883 # VITE_APP_API_ENCRYPT_RESPONSE_KEY = MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAOH8IfIFxL/MR9XIg1UDv5z1fGXQI93E8wrU4iPFovL/sEt9uSgSkjyidC2O7N+m7EKtoN6b1u7cEwXSkwf3kfK0jdWLSQaNpX5YshqXCBzbDfugDaxuyYrNA4/tIMs7mzZAk0APuRXB35Dmupou7Yw7TFW/7QhQmGfzeEKULQvnAgMBAAECgYAw8LqlQGyQoPv5p3gRxEMOCfgL0JzD3XBJKztiRd35RDh40Nx1ejgjW4dPioFwGiVWd2W8cAGHLzALdcQT2KDJh+T/tsd4SPmI6uSBBK6Ff2DkO+kFFcuYvfclQQKqxma5CaZOSqhgenacmgTMFeg2eKlY3symV6JlFNu/IKU42QJBAOhxAK/Eq3e61aYQV2JSguhMR3b8NXJJRroRs/QHEanksJtl+M+2qhkC9nQVXBmBkndnkU/l2tYcHfSBlAyFySMCQQD445tgm/J2b6qMQmuUGQAYDN8FIkHjeKmha+l/fv0igWm8NDlBAem91lNDIPBUzHL1X1+pcts5bjmq99YdOnhtAkAg2J8dN3B3idpZDiQbC8fd5bGPmdI/pSUudAP27uzLEjr2qrE/QPPGdwm2m7IZFJtK7kK1hKio6u48t/bg0iL7AkEAuUUs94h+v702Fnym+jJ2CHEkXvz2US8UDs52nWrZYiM1o1y4tfSHm8H8bv8JCAa9GHyriEawfBraILOmllFdLQJAQSRZy4wmlaG48MhVXodB85X+VZ9krGXZ2TLhz7kz9iuToy53l9jTkESt6L5BfBDCVdIwcXLYgK+8KFdHN5W7HQ== # 百度地图 -VITE_BAIDU_MAP_KEY = 'efHIw2qmH8RzHPxK0z0rbCgzDVLup9LD' \ No newline at end of file +VITE_BAIDU_MAP_KEY = 'Y2aJXiswwPxy6mwFs1z9c7U5gwX9WfUN' \ No newline at end of file diff --git a/src/components/Map/index.ts b/src/components/Map/index.ts new file mode 100644 index 00000000..27b9675b --- /dev/null +++ b/src/components/Map/index.ts @@ -0,0 +1,3 @@ +import MapDialog from './src/MapDialog.vue' + +export { MapDialog } diff --git a/src/components/Map/index.vue b/src/components/Map/index.vue deleted file mode 100644 index 3f965661..00000000 --- a/src/components/Map/index.vue +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - - diff --git a/src/components/Map/src/MapDialog.vue b/src/components/Map/src/MapDialog.vue new file mode 100644 index 00000000..0f93c4d5 --- /dev/null +++ b/src/components/Map/src/MapDialog.vue @@ -0,0 +1,291 @@ + + + + diff --git a/src/views/iot/device/device/DeviceForm.vue b/src/views/iot/device/device/DeviceForm.vue index 29284744..0ddbf2af 100644 --- a/src/views/iot/device/device/DeviceForm.vue +++ b/src/views/iot/device/device/DeviceForm.vue @@ -66,31 +66,17 @@ - - + +
+ + + + + + + 坐标拾取 +
- - - - -
- -
@@ -99,13 +85,15 @@ 取 消 + + diff --git a/src/views/iot/device/device/detail/DeviceDetailsInfo.vue b/src/views/iot/device/device/detail/DeviceDetailsInfo.vue index a441093c..b03c0d3e 100644 --- a/src/views/iot/device/device/detail/DeviceDetailsInfo.vue +++ b/src/views/iot/device/device/detail/DeviceDetailsInfo.vue @@ -2,81 +2,45 @@