From 22ec75cbf2013b4974509e3eba4890db3b234c64 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Wed, 3 Jul 2024 11:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E9=A1=B5=E9=9D=A2=E6=90=AD?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/newLogin.vue | 2 +- .../machinery/coding/component/MapDIalog.vue | 52 +++++++++++++++++++ .../machinery/coding/index.vue | 8 ++- 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue diff --git a/sgzb-ui/src/views/newLogin.vue b/sgzb-ui/src/views/newLogin.vue index 0ef9206e..0b307040 100644 --- a/sgzb-ui/src/views/newLogin.vue +++ b/sgzb-ui/src/views/newLogin.vue @@ -32,7 +32,7 @@ - + diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue new file mode 100644 index 00000000..768df88c --- /dev/null +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue index 474d603a..6eb7a8f8 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue @@ -532,6 +532,8 @@ + +
@@ -556,13 +558,15 @@ import Treeselect from '@riophae/vue-treeselect' import '@riophae/vue-treeselect/dist/vue-treeselect.css' import QRCode from 'qrcodejs2' import BindIOT from './component/BindIOT.vue' +import MapDIalog from './component/MapDIalog.vue' export default { name: 'Devices', dicts: ['sys_normal_disable'], - components: { Treeselect, BindIOT }, + components: { Treeselect, BindIOT, MapDIalog }, data() { return { + openMap: false, isShow: false, // 遮罩层 loading: true, @@ -816,6 +820,8 @@ export default { }, handleMap(row) { console.log('~ handleMap ~ 地图', row) + // 点击打开弹框 + this.openMap = true } }, }