|
@@ -1,4 +1,14 @@
|
|
|
-import { defineComponent, onMounted, ref } from 'vue';
|
|
|
+import { defineComponent, onMounted, ref, reactive } from 'vue';
|
|
|
+
|
|
|
+/** @ts-ignore */
|
|
|
+import icon_sys_zfzhdd from '@/assets/icons/syslink/zfzhdd.png';
|
|
|
+/** @ts-ignore */
|
|
|
+import icon_sys_zfyxjc from '@/assets/icons/syslink/zfyxjc.png';
|
|
|
+/** @ts-ignore */
|
|
|
+import icon_sys_sjyxjc from '@/assets/icons/syslink/sjyxjc.png';
|
|
|
+/** @ts-ignore */
|
|
|
+import icon_sys_jtyjzh from '@/assets/icons/syslink/jtyjzh.png';
|
|
|
+
|
|
|
|
|
|
let ispro = process.env.NODE_ENV === 'production';
|
|
|
export default defineComponent({
|
|
@@ -10,6 +20,29 @@ export default defineComponent({
|
|
|
|
|
|
let tipcontentRef = ref<Element>();
|
|
|
|
|
|
+ const linksysdata = reactive([
|
|
|
+ {
|
|
|
+ name: '市局运行监测',
|
|
|
+ image: icon_sys_sjyxjc,
|
|
|
+ url: 'http://61.147.254.211:9999/screen/',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '执法运行监测',
|
|
|
+ image: icon_sys_zfyxjc,
|
|
|
+ url: 'http://10.11.208.13:30080/tles-hcdp-web/#/OperationMonitoring',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '执法指挥调度',
|
|
|
+ image: icon_sys_zfzhdd,
|
|
|
+ url: 'http://10.11.208.13:30080/tles-hcdp-web/#/HCdpView',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '交通应急指挥',
|
|
|
+ image: icon_sys_jtyjzh,
|
|
|
+ url: 'http://sqpchd.xt.wenhq.top:8083/#/home',
|
|
|
+ },
|
|
|
+ ]);
|
|
|
+
|
|
|
|
|
|
onMounted(() => {
|
|
|
const map = new window.minemap.Map({
|
|
@@ -27,6 +60,27 @@ export default defineComponent({
|
|
|
ctx.emit('update:map', map);
|
|
|
});
|
|
|
|
|
|
- return () => (<><div id="map" style={{ height: '100%' }} ref={mapRef} /> <div class="maptip" ref={ tipcontentRef }> </div></>);
|
|
|
+ return () => (
|
|
|
+ <>
|
|
|
+ <div id="map" style={{ height: '100%' }} ref={mapRef} />{' '}
|
|
|
+ <div class="othersystem">
|
|
|
+
|
|
|
+ {linksysdata.map((i, index) => (
|
|
|
+ <div class="sys-item" datatype={`${index+1 == linksysdata.length?"1":'0'}`}>
|
|
|
+ <a href={i.url}>
|
|
|
+ <div class="sys-item-img">
|
|
|
+ <img src={i.image} />
|
|
|
+ </div>
|
|
|
+ <div class="sys-item-title">{i.name}</div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ ))}
|
|
|
+ </div>{' '}
|
|
|
+ <div class="maptip" ref={tipcontentRef}>
|
|
|
+ {' '}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </>
|
|
|
+ );
|
|
|
},
|
|
|
});
|