From aca7087add54935e9ad4c0fcd13246cff36e16b9 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 25 Nov 2024 15:43:27 +0800
Subject: [PATCH] 污水处理厂上图
---
src/api/firmInfo/firmInfo.js | 9 +++++++++
src/pages/layout/components/scomponents/layersControl.vue | 17 ++++++++++++++++-
public/img/mapicon/gouqu.png | 0
public/img/mapicon/wsclc.png | 0
4 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/public/img/mapicon/gouqu.png b/public/img/mapicon/gouqu.png
new file mode 100644
index 0000000..fa78de5
--- /dev/null
+++ b/public/img/mapicon/gouqu.png
Binary files differ
diff --git a/public/img/mapicon/wsclc.png b/public/img/mapicon/wsclc.png
new file mode 100644
index 0000000..4266bb6
--- /dev/null
+++ b/public/img/mapicon/wsclc.png
Binary files differ
diff --git a/src/api/firmInfo/firmInfo.js b/src/api/firmInfo/firmInfo.js
index bbaa0c3..0577614 100644
--- a/src/api/firmInfo/firmInfo.js
+++ b/src/api/firmInfo/firmInfo.js
@@ -17,4 +17,13 @@
method: 'get',
params,
})
+}
+
+export const getPage = (params) => {
+ const url = `/yw/firmInfo/page`
+ return request({
+ url,
+ method: 'get',
+ params,
+ })
}
\ No newline at end of file
diff --git a/src/pages/layout/components/scomponents/layersControl.vue b/src/pages/layout/components/scomponents/layersControl.vue
index 1c9194e..c058560 100644
--- a/src/pages/layout/components/scomponents/layersControl.vue
+++ b/src/pages/layout/components/scomponents/layersControl.vue
@@ -59,6 +59,7 @@
})
import panorama from './popup/panorama.vue'
import { getPage } from '@/api/indParkInfo'
+import { getPage as getfirmPage } from '@/api/firmInfo/firmInfo'
import { getList, getGouQu } from "@/api/space/space"
import { getList as getRiskList } from "@/api/riskSource/riskSource"
import { getPanoramaList } from "@/api/panorama/"
@@ -445,10 +446,24 @@
params: {
type: 8,
},
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/xfs.png',
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/gouqu.png',
className: 'xfs-box',
showPanel: false,
layerName: 'gouqu'
+ },
+ {
+ id: '3-9',
+ label: '废水处理站',
+ type: 'layer',
+ subType: 'labelPoint',
+ method: getfirmPage,
+ params: {
+ name: '吉水县绿源污水处理厂',
+ },
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/wsclc.png',
+ className: 'xfs-box',
+ showPanel: false,
+ layerName: 'fsclz'
}
]
},
--
Gitblit v1.9.3