@yimou6/common-ui 1.14.5 → 1.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.cdn.js +14 -14
- package/cdn/index.cdn.js.map +1 -1
- package/cdn/index.cdn.mjs +14 -14
- package/cdn/index.cdn.mjs.map +1 -1
- package/es/components/geoMark/index.d.ts +3 -77
- package/es/components/geoMark/src/geoMark.d.ts +1 -8
- package/es/components/geoMark/src/geoMark.mjs.map +1 -1
- package/es/components/geoMark/src/geoMark.vue.d.ts +4 -78
- package/es/components/geoMark/src/geoMark.vue2.mjs +694 -689
- package/es/components/geoMark/src/geoMark.vue2.mjs.map +1 -1
- package/es/components/geoMark/src/openMap.vue2.mjs +2 -1
- package/es/components/geoMark/src/openMap.vue2.mjs.map +1 -1
- package/lib/components/geoMark/index.d.ts +3 -77
- package/lib/components/geoMark/src/geoMark.d.ts +1 -8
- package/lib/components/geoMark/src/geoMark.js.map +1 -1
- package/lib/components/geoMark/src/geoMark.vue.d.ts +4 -78
- package/lib/components/geoMark/src/geoMark.vue2.js +693 -688
- package/lib/components/geoMark/src/geoMark.vue2.js.map +1 -1
- package/lib/components/geoMark/src/openMap.vue2.js +1 -0
- package/lib/components/geoMark/src/openMap.vue2.js.map +1 -1
- package/package.json +1 -1
- package/es/components/geoMark/src/DragIcon.vue.d.ts +0 -77
- package/es/components/geoMark/src/DragIcon.vue.mjs +0 -6
- package/es/components/geoMark/src/DragIcon.vue.mjs.map +0 -1
- package/es/components/geoMark/src/DragIcon.vue2.mjs +0 -67
- package/es/components/geoMark/src/DragIcon.vue2.mjs.map +0 -1
- package/lib/components/geoMark/src/DragIcon.vue.d.ts +0 -77
- package/lib/components/geoMark/src/DragIcon.vue.js +0 -10
- package/lib/components/geoMark/src/DragIcon.vue.js.map +0 -1
- package/lib/components/geoMark/src/DragIcon.vue2.js +0 -71
- package/lib/components/geoMark/src/DragIcon.vue2.js.map +0 -1
|
@@ -20,52 +20,47 @@ import img$6 from './assets/新弹框.png.mjs';
|
|
|
20
20
|
import img$1 from './assets/灭火器.png.mjs';
|
|
21
21
|
import img$3 from './assets/编辑.png.mjs';
|
|
22
22
|
import img$4 from './assets/颜色.png.mjs';
|
|
23
|
-
import './DragIcon.vue.mjs';
|
|
24
23
|
import './floor.vue.mjs';
|
|
25
24
|
import { GeoMarkProps } from './geoMark.mjs';
|
|
26
25
|
import './openMap.vue.mjs';
|
|
27
26
|
import _sfc_main$1 from './floor.vue2.mjs';
|
|
28
|
-
import _sfc_main$2 from './
|
|
29
|
-
import _sfc_main$3 from './openMap.vue2.mjs';
|
|
27
|
+
import _sfc_main$2 from './openMap.vue2.mjs';
|
|
30
28
|
|
|
31
29
|
var __defProp = Object.defineProperty;
|
|
32
30
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
33
|
-
const _hoisted_1 = {
|
|
34
|
-
|
|
35
|
-
class: "relative w-full h-full overflow-hidden t-geo-mark"
|
|
36
|
-
};
|
|
37
|
-
const _hoisted_2 = { class: "flex items-center justify-between h-full" };
|
|
38
|
-
const _hoisted_3 = {
|
|
31
|
+
const _hoisted_1 = { class: "flex items-center justify-between h-full" };
|
|
32
|
+
const _hoisted_2 = {
|
|
39
33
|
key: 0,
|
|
40
34
|
class: "t-top-bar__value"
|
|
41
35
|
};
|
|
42
|
-
const
|
|
36
|
+
const _hoisted_3 = { class: "t-bottom-bar__inner" };
|
|
37
|
+
const _hoisted_4 = ["onClick"];
|
|
43
38
|
const _hoisted_5 = ["onClick"];
|
|
44
39
|
const _hoisted_6 = ["onClick"];
|
|
45
40
|
const _hoisted_7 = ["onClick"];
|
|
46
|
-
const _hoisted_8 =
|
|
47
|
-
const _hoisted_9 =
|
|
48
|
-
const _hoisted_10 =
|
|
49
|
-
const _hoisted_11 = { class: "
|
|
50
|
-
const _hoisted_12 = { class: "t-info-
|
|
51
|
-
const _hoisted_13 = { class: "t-info-
|
|
52
|
-
const _hoisted_14 = {
|
|
53
|
-
const _hoisted_15 = {
|
|
41
|
+
const _hoisted_8 = { class: "grid grid-cols-3 gap-2 p-1" };
|
|
42
|
+
const _hoisted_9 = ["onClick"];
|
|
43
|
+
const _hoisted_10 = { class: "text-xs mt-1" };
|
|
44
|
+
const _hoisted_11 = { class: "t-info-panel__header" };
|
|
45
|
+
const _hoisted_12 = { class: "t-info-panel__tabs" };
|
|
46
|
+
const _hoisted_13 = { class: "t-info-panel__filters" };
|
|
47
|
+
const _hoisted_14 = {
|
|
54
48
|
key: 0,
|
|
55
49
|
class: "grid gap-1 mt-4 px-3.5 w-full grid-cols-12"
|
|
56
50
|
};
|
|
57
|
-
const
|
|
58
|
-
const
|
|
51
|
+
const _hoisted_15 = { class: "col-span-4" };
|
|
52
|
+
const _hoisted_16 = {
|
|
59
53
|
key: 1,
|
|
60
54
|
class: "grid gap-1 mt-4 px-3.5 w-full grid-cols-12"
|
|
61
55
|
};
|
|
62
|
-
const
|
|
56
|
+
const _hoisted_17 = {
|
|
63
57
|
key: 2,
|
|
64
58
|
style: { "height": "calc(100% - 100px)" },
|
|
65
59
|
class: "w-full mt-4 pb-5 overflow-x-hidden overflow-y-auto panel"
|
|
66
60
|
};
|
|
67
|
-
const
|
|
68
|
-
const
|
|
61
|
+
const _hoisted_18 = ["title"];
|
|
62
|
+
const _hoisted_19 = { class: "col-span-1 cursor-pointer" };
|
|
63
|
+
const _hoisted_20 = ["src", "onDragstart"];
|
|
69
64
|
const _hoisted_21 = { class: "col-span-4 break-words" };
|
|
70
65
|
const _hoisted_22 = ["title"];
|
|
71
66
|
const _hoisted_23 = ["title"];
|
|
@@ -194,8 +189,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
189
|
const center = ref([0, 0]);
|
|
195
190
|
const zoom = ref(1);
|
|
196
191
|
const projection = ref("EPSG:3857");
|
|
197
|
-
const size = ref([
|
|
198
|
-
const extent = ref([0, 0,
|
|
192
|
+
const size = ref([1024, 968]);
|
|
193
|
+
const extent = ref([0, 0, 1024, 968]);
|
|
199
194
|
const configOptionsDeviceType = ref([]);
|
|
200
195
|
const configOptionsDeviceModel = ref([]);
|
|
201
196
|
const configOptionsManufacturer = ref([]);
|
|
@@ -292,13 +287,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
292
287
|
const open = /* @__PURE__ */ __name(async (params = {
|
|
293
288
|
listFloor: [],
|
|
294
289
|
listDevice: [],
|
|
295
|
-
mode: "edit",
|
|
296
290
|
defaultFloor: null,
|
|
297
291
|
waring: null,
|
|
298
292
|
listTitle: "\u8BBE\u5907\u4FE1\u606F\u5217\u8868",
|
|
299
293
|
configIcon: {},
|
|
300
294
|
configTopBar: [],
|
|
301
|
-
type: "edit",
|
|
302
295
|
featureType: ["Areas"],
|
|
303
296
|
useRealImageSize: true
|
|
304
297
|
}) => {
|
|
@@ -420,9 +413,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
420
413
|
activatedPropertiesOverlay.value = feature.getProperties();
|
|
421
414
|
}
|
|
422
415
|
} else {
|
|
423
|
-
|
|
424
|
-
activatedPositionOverlay.value = [];
|
|
425
|
-
}
|
|
416
|
+
activatedPositionOverlay.value = [];
|
|
426
417
|
}
|
|
427
418
|
});
|
|
428
419
|
(_c = rrefMap.value) == null ? void 0 : _c.getMap().on("contextmenu", (event) => {
|
|
@@ -438,11 +429,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
438
429
|
const features = ((_a2 = rrefMap.value) == null ? void 0 : _a2.getVectorSource().getFeatures()) || [];
|
|
439
430
|
activatedArrayFeatures.value = features;
|
|
440
431
|
});
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
432
|
+
if (activatedMode.value !== "view") {
|
|
433
|
+
nextTick(() => {
|
|
434
|
+
initAdvancedModify();
|
|
435
|
+
initTranslate();
|
|
436
|
+
initDraw(currentDrawType.value);
|
|
437
|
+
});
|
|
438
|
+
}
|
|
446
439
|
}
|
|
447
440
|
__name(initMap, "initMap");
|
|
448
441
|
const imageDimensionsCache = /* @__PURE__ */ new Map();
|
|
@@ -460,17 +453,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
460
453
|
img.src = imageUrl;
|
|
461
454
|
});
|
|
462
455
|
}, "getImageDimensions");
|
|
456
|
+
let loadSeq = 0;
|
|
463
457
|
const loadingSource = /* @__PURE__ */ __name(async (data, centerOnWarning = true) => {
|
|
464
458
|
var _a, _b, _c;
|
|
459
|
+
const token = ++loadSeq;
|
|
465
460
|
activatedPositionOverlay.value = [];
|
|
466
461
|
activatedPositionOverlayWaring.value = [];
|
|
467
462
|
activatedPropertiesOverlay.value = {};
|
|
468
463
|
activatedFeature.value = null;
|
|
469
|
-
(_a = rrefMap.value) == null ? void 0 : _a.calculateAutoZoom();
|
|
470
464
|
if (!data) {
|
|
471
465
|
listDevice.value = [];
|
|
472
466
|
activatedFloor.value = void 0;
|
|
473
|
-
(
|
|
467
|
+
(_a = rrefMap.value) == null ? void 0 : _a.getVectorSource().clear();
|
|
474
468
|
imgUrl.value = "";
|
|
475
469
|
return;
|
|
476
470
|
}
|
|
@@ -478,22 +472,25 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
478
472
|
return item.floor === data.floor;
|
|
479
473
|
});
|
|
480
474
|
activatedFloor.value = data;
|
|
481
|
-
(
|
|
475
|
+
(_b = rrefMap.value) == null ? void 0 : _b.getVectorSource().clear();
|
|
482
476
|
const url = data.bucketName || img;
|
|
483
477
|
let dims;
|
|
484
478
|
if (!useRealImageSize.value) {
|
|
485
|
-
dims = { width:
|
|
479
|
+
dims = { width: 1024, height: 968 };
|
|
486
480
|
imgUrl.value = url;
|
|
487
481
|
} else {
|
|
488
482
|
try {
|
|
489
483
|
dims = await getImageDimensions(url);
|
|
484
|
+
if (token !== loadSeq) return;
|
|
490
485
|
imgUrl.value = url;
|
|
491
486
|
} catch {
|
|
492
487
|
try {
|
|
493
488
|
dims = await getImageDimensions(img);
|
|
489
|
+
if (token !== loadSeq) return;
|
|
494
490
|
imgUrl.value = img;
|
|
495
491
|
} catch {
|
|
496
|
-
|
|
492
|
+
if (token !== loadSeq) return;
|
|
493
|
+
dims = { width: 1024, height: 968 };
|
|
497
494
|
imgUrl.value = "";
|
|
498
495
|
}
|
|
499
496
|
}
|
|
@@ -501,14 +498,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
501
498
|
size.value = [dims.width, dims.height];
|
|
502
499
|
extent.value = [0, 0, dims.width, dims.height];
|
|
503
500
|
center.value = [dims.width / 2, dims.height / 2];
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
view.setCenter(center.value);
|
|
508
|
-
view.setZoom(zoom.value);
|
|
509
|
-
}
|
|
510
|
-
rrefMap.value.calculateAutoZoom && rrefMap.value.calculateAutoZoom();
|
|
511
|
-
}
|
|
501
|
+
await nextTick();
|
|
502
|
+
if (token !== loadSeq) return;
|
|
503
|
+
(_c = rrefMap.value) == null ? void 0 : _c.calculateAutoZoom();
|
|
512
504
|
if (data == null ? void 0 : data.bucketName) {
|
|
513
505
|
if (filtrationType.value && filtrationType.value.length > 0) {
|
|
514
506
|
const geoConfig = {
|
|
@@ -666,7 +658,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
666
658
|
const dragStart = /* @__PURE__ */ __name((item) => {
|
|
667
659
|
activatedDragItem.value = item;
|
|
668
660
|
}, "dragStart");
|
|
669
|
-
const dragEnd = /* @__PURE__ */ __name((
|
|
661
|
+
const dragEnd = /* @__PURE__ */ __name(() => {
|
|
670
662
|
setTimeout(() => {
|
|
671
663
|
var _a;
|
|
672
664
|
const viewCoordinate = move1.value;
|
|
@@ -757,6 +749,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
757
749
|
}, "callback")
|
|
758
750
|
}
|
|
759
751
|
]);
|
|
752
|
+
const clearHoverOverlay = /* @__PURE__ */ __name(() => {
|
|
753
|
+
activatedPositionOverlay.value = [];
|
|
754
|
+
}, "clearHoverOverlay");
|
|
760
755
|
__expose({
|
|
761
756
|
open
|
|
762
757
|
});
|
|
@@ -766,674 +761,684 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
766
761
|
const _component_el_option = resolveComponent("el-option");
|
|
767
762
|
const _component_el_select = resolveComponent("el-select");
|
|
768
763
|
const _component_el_input = resolveComponent("el-input");
|
|
769
|
-
return openBlock(), createElementBlock(
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
/* TEXT */
|
|
868
|
-
)
|
|
869
|
-
])
|
|
870
|
-
], 10, _hoisted_5)) : o.name === "\u533A\u57DF\u8BBE\u7F6E" ? (openBlock(), createBlock(
|
|
871
|
-
_component_el_popover,
|
|
872
|
-
{
|
|
873
|
-
key: 1,
|
|
874
|
-
width: 250,
|
|
875
|
-
style: { "height": "350px !important" },
|
|
876
|
-
placement: "top",
|
|
877
|
-
trigger: "click",
|
|
878
|
-
"popper-class": "t-popper"
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
reference: withCtx(() => [
|
|
882
|
-
createElementVNode("div", {
|
|
883
|
-
class: normalizeClass(["t-bottom-bar__item", [activatedBottomBar.value === o.name ? "t-bbar-active" : ""]]),
|
|
884
|
-
onClick: /* @__PURE__ */ __name(($event) => handlerChecked(o.name), "onClick")
|
|
885
|
-
}, [
|
|
886
|
-
createElementVNode("span", null, [
|
|
887
|
-
createElementVNode(
|
|
888
|
-
"i",
|
|
889
|
-
{
|
|
890
|
-
class: normalizeClass(["iconfont", [o.icon]])
|
|
891
|
-
},
|
|
892
|
-
null,
|
|
893
|
-
2
|
|
894
|
-
/* CLASS */
|
|
895
|
-
),
|
|
896
|
-
createTextVNode(
|
|
897
|
-
" " + toDisplayString(o.name),
|
|
898
|
-
1
|
|
899
|
-
/* TEXT */
|
|
900
|
-
)
|
|
901
|
-
])
|
|
902
|
-
], 10, _hoisted_6)
|
|
903
|
-
]),
|
|
904
|
-
default: withCtx(() => [
|
|
905
|
-
(openBlock(true), createElementBlock(
|
|
906
|
-
Fragment,
|
|
764
|
+
return openBlock(), createElementBlock(
|
|
765
|
+
"div",
|
|
766
|
+
{
|
|
767
|
+
id: "ypc-map-container",
|
|
768
|
+
class: "relative w-full h-full overflow-hidden t-geo-mark",
|
|
769
|
+
onPointerleave: clearHoverOverlay
|
|
770
|
+
},
|
|
771
|
+
[
|
|
772
|
+
createVNode(
|
|
773
|
+
_sfc_main$1,
|
|
774
|
+
{
|
|
775
|
+
ref_key: "refFloor",
|
|
776
|
+
ref: refFloor,
|
|
777
|
+
onChangeFloor: FnUpdateFloor
|
|
778
|
+
},
|
|
779
|
+
null,
|
|
780
|
+
512
|
|
781
|
+
/* NEED_PATCH */
|
|
782
|
+
),
|
|
783
|
+
activatedMode.value === "edit" ? (openBlock(), createBlock(_component_el_card, {
|
|
784
|
+
key: 0,
|
|
785
|
+
class: "t-top-bar"
|
|
786
|
+
}, {
|
|
787
|
+
default: withCtx(() => [
|
|
788
|
+
createElementVNode("div", _hoisted_1, [
|
|
789
|
+
(openBlock(true), createElementBlock(
|
|
790
|
+
Fragment,
|
|
791
|
+
null,
|
|
792
|
+
renderList(configTopBar.value, (o) => {
|
|
793
|
+
return openBlock(), createElementBlock(
|
|
794
|
+
"div",
|
|
795
|
+
{
|
|
796
|
+
key: o.name,
|
|
797
|
+
class: normalizeClass(["t-top-bar__item", { "t-top-bar__item--exit": o.name === "\u9000\u51FA" }]),
|
|
798
|
+
onClick: _cache[0] || (_cache[0] = ($event) => FnCloseMain())
|
|
799
|
+
},
|
|
800
|
+
[
|
|
801
|
+
createElementVNode(
|
|
802
|
+
"i",
|
|
803
|
+
{
|
|
804
|
+
class: normalizeClass(["iconfont", [o.icon]])
|
|
805
|
+
},
|
|
806
|
+
null,
|
|
807
|
+
2
|
|
808
|
+
/* CLASS */
|
|
809
|
+
),
|
|
810
|
+
createTextVNode(
|
|
811
|
+
" " + toDisplayString(o.name) + " ",
|
|
812
|
+
1
|
|
813
|
+
/* TEXT */
|
|
814
|
+
),
|
|
815
|
+
o.name !== "\u9000\u51FA" ? (openBlock(), createElementBlock(
|
|
816
|
+
"span",
|
|
817
|
+
_hoisted_2,
|
|
818
|
+
toDisplayString(o.value),
|
|
819
|
+
1
|
|
820
|
+
/* TEXT */
|
|
821
|
+
)) : createCommentVNode("v-if", true)
|
|
822
|
+
],
|
|
823
|
+
2
|
|
824
|
+
/* CLASS */
|
|
825
|
+
);
|
|
826
|
+
}),
|
|
827
|
+
128
|
|
828
|
+
/* KEYED_FRAGMENT */
|
|
829
|
+
))
|
|
830
|
+
])
|
|
831
|
+
]),
|
|
832
|
+
_: 1
|
|
833
|
+
/* STABLE */
|
|
834
|
+
})) : createCommentVNode("v-if", true),
|
|
835
|
+
activatedMode.value === "edit" ? (openBlock(), createBlock(_component_el_card, {
|
|
836
|
+
key: 1,
|
|
837
|
+
class: "t-bottom-bar"
|
|
838
|
+
}, {
|
|
839
|
+
default: withCtx(() => [
|
|
840
|
+
createElementVNode("div", _hoisted_3, [
|
|
841
|
+
(openBlock(true), createElementBlock(
|
|
842
|
+
Fragment,
|
|
843
|
+
null,
|
|
844
|
+
renderList(configBottomBar.value, (o) => {
|
|
845
|
+
return openBlock(), createElementBlock(
|
|
846
|
+
Fragment,
|
|
847
|
+
{
|
|
848
|
+
key: o.name
|
|
849
|
+
},
|
|
850
|
+
[
|
|
851
|
+
o.name !== "\u989C\u8272" && o.name !== "\u533A\u57DF\u8BBE\u7F6E" ? (openBlock(), createElementBlock("div", {
|
|
852
|
+
key: 0,
|
|
853
|
+
class: normalizeClass(["t-bottom-bar__item", [activatedBottomBar.value === o.name ? "t-bbar-active" : ""]]),
|
|
854
|
+
onClick: /* @__PURE__ */ __name(($event) => handlerChecked(o.name), "onClick")
|
|
855
|
+
}, [
|
|
856
|
+
createElementVNode("span", null, [
|
|
857
|
+
createElementVNode(
|
|
858
|
+
"i",
|
|
859
|
+
{
|
|
860
|
+
class: normalizeClass(["iconfont", [o.icon]])
|
|
861
|
+
},
|
|
907
862
|
null,
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
reference: withCtx(() => [
|
|
953
|
-
createElementVNode("div", {
|
|
954
|
-
class: normalizeClass(["t-bottom-bar__item", [activatedBottomBar.value === o.name ? "t-bbar-active" : ""]]),
|
|
955
|
-
onClick: /* @__PURE__ */ __name(($event) => handlerChecked(o.name), "onClick")
|
|
956
|
-
}, [
|
|
957
|
-
createElementVNode("span", null, [
|
|
958
|
-
createElementVNode(
|
|
959
|
-
"i",
|
|
960
|
-
{
|
|
961
|
-
class: normalizeClass(["iconfont", [o.icon]])
|
|
962
|
-
},
|
|
963
|
-
null,
|
|
964
|
-
2
|
|
965
|
-
/* CLASS */
|
|
966
|
-
),
|
|
967
|
-
createTextVNode(
|
|
968
|
-
" " + toDisplayString(o.name),
|
|
969
|
-
1
|
|
970
|
-
/* TEXT */
|
|
971
|
-
)
|
|
972
|
-
])
|
|
973
|
-
], 10, _hoisted_8)
|
|
974
|
-
]),
|
|
975
|
-
default: withCtx(() => [
|
|
976
|
-
createElementVNode("div", _hoisted_9, [
|
|
863
|
+
2
|
|
864
|
+
/* CLASS */
|
|
865
|
+
),
|
|
866
|
+
createTextVNode(
|
|
867
|
+
" " + toDisplayString(o.name),
|
|
868
|
+
1
|
|
869
|
+
/* TEXT */
|
|
870
|
+
)
|
|
871
|
+
])
|
|
872
|
+
], 10, _hoisted_4)) : o.name === "\u533A\u57DF\u8BBE\u7F6E" ? (openBlock(), createBlock(
|
|
873
|
+
_component_el_popover,
|
|
874
|
+
{
|
|
875
|
+
key: 1,
|
|
876
|
+
width: 250,
|
|
877
|
+
style: { "height": "350px !important" },
|
|
878
|
+
placement: "top",
|
|
879
|
+
trigger: "click",
|
|
880
|
+
"popper-class": "t-popper"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
reference: withCtx(() => [
|
|
884
|
+
createElementVNode("div", {
|
|
885
|
+
class: normalizeClass(["t-bottom-bar__item", [activatedBottomBar.value === o.name ? "t-bbar-active" : ""]]),
|
|
886
|
+
onClick: /* @__PURE__ */ __name(($event) => handlerChecked(o.name), "onClick")
|
|
887
|
+
}, [
|
|
888
|
+
createElementVNode("span", null, [
|
|
889
|
+
createElementVNode(
|
|
890
|
+
"i",
|
|
891
|
+
{
|
|
892
|
+
class: normalizeClass(["iconfont", [o.icon]])
|
|
893
|
+
},
|
|
894
|
+
null,
|
|
895
|
+
2
|
|
896
|
+
/* CLASS */
|
|
897
|
+
),
|
|
898
|
+
createTextVNode(
|
|
899
|
+
" " + toDisplayString(o.name),
|
|
900
|
+
1
|
|
901
|
+
/* TEXT */
|
|
902
|
+
)
|
|
903
|
+
])
|
|
904
|
+
], 10, _hoisted_5)
|
|
905
|
+
]),
|
|
906
|
+
default: withCtx(() => [
|
|
977
907
|
(openBlock(true), createElementBlock(
|
|
978
908
|
Fragment,
|
|
979
909
|
null,
|
|
980
|
-
renderList(
|
|
910
|
+
renderList(configBottomBar2.value, (o2) => {
|
|
981
911
|
return openBlock(), createElementBlock("div", {
|
|
982
|
-
key:
|
|
983
|
-
class: "
|
|
984
|
-
onClick: /* @__PURE__ */ __name(($event) =>
|
|
912
|
+
key: o2.name,
|
|
913
|
+
class: normalizeClass(["t-bottom-bar__item", [activatedBottomBar.value === o2.name ? "t-bbar-active" : ""]]),
|
|
914
|
+
onClick: /* @__PURE__ */ __name(($event) => handlerChecked(o2.name), "onClick")
|
|
985
915
|
}, [
|
|
986
|
-
createElementVNode(
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
], 8, _hoisted_10);
|
|
916
|
+
createElementVNode("span", null, [
|
|
917
|
+
createElementVNode(
|
|
918
|
+
"i",
|
|
919
|
+
{
|
|
920
|
+
class: normalizeClass(["iconfont", [o2.icon]])
|
|
921
|
+
},
|
|
922
|
+
null,
|
|
923
|
+
2
|
|
924
|
+
/* CLASS */
|
|
925
|
+
),
|
|
926
|
+
createTextVNode(
|
|
927
|
+
" " + toDisplayString(o2.name),
|
|
928
|
+
1
|
|
929
|
+
/* TEXT */
|
|
930
|
+
)
|
|
931
|
+
])
|
|
932
|
+
], 10, _hoisted_6);
|
|
1004
933
|
}),
|
|
1005
934
|
128
|
|
1006
935
|
/* KEYED_FRAGMENT */
|
|
1007
936
|
))
|
|
1008
|
-
])
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
937
|
+
]),
|
|
938
|
+
_: 2
|
|
939
|
+
/* DYNAMIC */
|
|
940
|
+
},
|
|
941
|
+
1024
|
|
942
|
+
/* DYNAMIC_SLOTS */
|
|
943
|
+
)) : (openBlock(), createBlock(
|
|
944
|
+
_component_el_popover,
|
|
945
|
+
{
|
|
946
|
+
key: 2,
|
|
947
|
+
width: 250,
|
|
948
|
+
style: { "height": "350px !important" },
|
|
949
|
+
placement: "top",
|
|
950
|
+
trigger: "click",
|
|
951
|
+
"popper-class": "t-popper"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
reference: withCtx(() => [
|
|
955
|
+
createElementVNode("div", {
|
|
956
|
+
class: normalizeClass(["t-bottom-bar__item", [activatedBottomBar.value === o.name ? "t-bbar-active" : ""]]),
|
|
957
|
+
onClick: /* @__PURE__ */ __name(($event) => handlerChecked(o.name), "onClick")
|
|
958
|
+
}, [
|
|
959
|
+
createElementVNode("span", null, [
|
|
960
|
+
createElementVNode(
|
|
961
|
+
"i",
|
|
962
|
+
{
|
|
963
|
+
class: normalizeClass(["iconfont", [o.icon]])
|
|
964
|
+
},
|
|
965
|
+
null,
|
|
966
|
+
2
|
|
967
|
+
/* CLASS */
|
|
968
|
+
),
|
|
969
|
+
createTextVNode(
|
|
970
|
+
" " + toDisplayString(o.name),
|
|
971
|
+
1
|
|
972
|
+
/* TEXT */
|
|
973
|
+
)
|
|
974
|
+
])
|
|
975
|
+
], 10, _hoisted_7)
|
|
976
|
+
]),
|
|
977
|
+
default: withCtx(() => [
|
|
978
|
+
createElementVNode("div", _hoisted_8, [
|
|
979
|
+
(openBlock(true), createElementBlock(
|
|
980
|
+
Fragment,
|
|
981
|
+
null,
|
|
982
|
+
renderList(colorList.value, (c) => {
|
|
983
|
+
return openBlock(), createElementBlock("div", {
|
|
984
|
+
key: c.value,
|
|
985
|
+
class: "flex flex-col items-center cursor-pointer",
|
|
986
|
+
onClick: /* @__PURE__ */ __name(($event) => FnSetColor(c.value), "onClick")
|
|
987
|
+
}, [
|
|
988
|
+
createElementVNode(
|
|
989
|
+
"span",
|
|
990
|
+
{
|
|
991
|
+
class: "w-8 h-8 rounded border border-gray-300",
|
|
992
|
+
style: normalizeStyle({ backgroundColor: c.value })
|
|
993
|
+
},
|
|
994
|
+
null,
|
|
995
|
+
4
|
|
996
|
+
/* STYLE */
|
|
997
|
+
),
|
|
998
|
+
createElementVNode(
|
|
999
|
+
"span",
|
|
1000
|
+
_hoisted_10,
|
|
1001
|
+
toDisplayString(c.name),
|
|
1002
|
+
1
|
|
1003
|
+
/* TEXT */
|
|
1004
|
+
)
|
|
1005
|
+
], 8, _hoisted_9);
|
|
1006
|
+
}),
|
|
1007
|
+
128
|
|
1008
|
+
/* KEYED_FRAGMENT */
|
|
1009
|
+
))
|
|
1010
|
+
])
|
|
1011
|
+
]),
|
|
1012
|
+
_: 2
|
|
1013
|
+
/* DYNAMIC */
|
|
1014
|
+
},
|
|
1015
|
+
1024
|
|
1016
|
+
/* DYNAMIC_SLOTS */
|
|
1017
|
+
))
|
|
1018
|
+
],
|
|
1019
|
+
64
|
|
1020
|
+
/* STABLE_FRAGMENT */
|
|
1021
|
+
);
|
|
1022
|
+
}),
|
|
1023
|
+
128
|
|
1024
|
+
/* KEYED_FRAGMENT */
|
|
1025
|
+
))
|
|
1026
|
+
])
|
|
1027
|
+
]),
|
|
1028
|
+
_: 1
|
|
1029
|
+
/* STABLE */
|
|
1030
|
+
})) : createCommentVNode("v-if", true),
|
|
1031
|
+
activatedMode.value === "edit" ? (openBlock(), createBlock(_component_el_card, {
|
|
1032
|
+
key: 2,
|
|
1033
|
+
class: normalizeClass(["t-info-panel", [activatedFold.value === true ? "t-fold" : "t-unfold"]])
|
|
1034
|
+
}, {
|
|
1035
|
+
default: withCtx(() => [
|
|
1036
|
+
createElementVNode("div", _hoisted_11, [
|
|
1037
|
+
createElementVNode("div", _hoisted_12, [
|
|
1038
|
+
createElementVNode(
|
|
1039
|
+
"span",
|
|
1040
|
+
{
|
|
1041
|
+
class: normalizeClass(["t-info-panel__tab", { "t-info-panel__tab--active": activatedList.value }]),
|
|
1042
|
+
onClick: _cache[1] || (_cache[1] = ($event) => activatedList.value = true)
|
|
1043
|
+
},
|
|
1044
|
+
toDisplayString(listTitle.value),
|
|
1045
|
+
3
|
|
1046
|
+
/* TEXT, CLASS */
|
|
1047
|
+
),
|
|
1048
|
+
createElementVNode(
|
|
1049
|
+
"span",
|
|
1050
|
+
{
|
|
1051
|
+
class: normalizeClass(["t-info-panel__tab", { "t-info-panel__tab--active": !activatedList.value }]),
|
|
1052
|
+
onClick: _cache[2] || (_cache[2] = ($event) => activatedList.value = false)
|
|
1053
|
+
},
|
|
1054
|
+
" \u6807\u6CE8\u4FE1\u606F\u5217\u8868 ",
|
|
1055
|
+
2
|
|
1056
|
+
/* CLASS */
|
|
1057
|
+
)
|
|
1058
|
+
]),
|
|
1046
1059
|
createElementVNode(
|
|
1047
1060
|
"span",
|
|
1048
1061
|
{
|
|
1049
|
-
class:
|
|
1050
|
-
onClick:
|
|
1062
|
+
class: "t-info-panel__fold",
|
|
1063
|
+
onClick: FnUpdateActivatedFold
|
|
1051
1064
|
},
|
|
1052
|
-
"
|
|
1053
|
-
2
|
|
1054
|
-
/* CLASS */
|
|
1055
|
-
)
|
|
1056
|
-
]),
|
|
1057
|
-
createElementVNode(
|
|
1058
|
-
"span",
|
|
1059
|
-
{
|
|
1060
|
-
class: "t-info-panel__fold",
|
|
1061
|
-
onClick: FnUpdateActivatedFold
|
|
1062
|
-
},
|
|
1063
|
-
toDisplayString(activatedFold.value ? "\u5C55\u5F00" : "\u6536\u8D77"),
|
|
1064
|
-
1
|
|
1065
|
-
/* TEXT */
|
|
1066
|
-
)
|
|
1067
|
-
]),
|
|
1068
|
-
createElementVNode("div", _hoisted_14, [
|
|
1069
|
-
createVNode(_component_el_select, {
|
|
1070
|
-
modelValue: queryDeviceList.value.activatedDeviceType,
|
|
1071
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => queryDeviceList.value.activatedDeviceType = $event),
|
|
1072
|
-
clearable: "",
|
|
1073
|
-
style: { "width": "32%" },
|
|
1074
|
-
class: "mr-2",
|
|
1075
|
-
placeholder: "\u8BF7\u9009\u62E9\u7C7B\u578B",
|
|
1076
|
-
teleported: false
|
|
1077
|
-
}, {
|
|
1078
|
-
default: withCtx(() => [
|
|
1079
|
-
(openBlock(true), createElementBlock(
|
|
1080
|
-
Fragment,
|
|
1081
|
-
null,
|
|
1082
|
-
renderList(configOptionsDeviceType.value, (item) => {
|
|
1083
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
1084
|
-
key: item.value,
|
|
1085
|
-
label: item.label,
|
|
1086
|
-
value: item.value
|
|
1087
|
-
}, null, 8, ["label", "value"]);
|
|
1088
|
-
}),
|
|
1089
|
-
128
|
|
1090
|
-
/* KEYED_FRAGMENT */
|
|
1091
|
-
))
|
|
1092
|
-
]),
|
|
1093
|
-
_: 1
|
|
1094
|
-
/* STABLE */
|
|
1095
|
-
}, 8, ["modelValue"]),
|
|
1096
|
-
createVNode(_component_el_select, {
|
|
1097
|
-
modelValue: queryDeviceList.value.activatedDeviceModel,
|
|
1098
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => queryDeviceList.value.activatedDeviceModel = $event),
|
|
1099
|
-
clearable: "",
|
|
1100
|
-
style: { "width": "32%" },
|
|
1101
|
-
class: "mr-2",
|
|
1102
|
-
placeholder: "\u8BF7\u9009\u62E9\u578B\u53F7",
|
|
1103
|
-
teleported: false
|
|
1104
|
-
}, {
|
|
1105
|
-
default: withCtx(() => [
|
|
1106
|
-
(openBlock(true), createElementBlock(
|
|
1107
|
-
Fragment,
|
|
1108
|
-
null,
|
|
1109
|
-
renderList(configOptionsDeviceModel.value, (item) => {
|
|
1110
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
1111
|
-
key: item.value,
|
|
1112
|
-
label: item.label,
|
|
1113
|
-
value: item.value
|
|
1114
|
-
}, null, 8, ["label", "value"]);
|
|
1115
|
-
}),
|
|
1116
|
-
128
|
|
1117
|
-
/* KEYED_FRAGMENT */
|
|
1118
|
-
))
|
|
1119
|
-
]),
|
|
1120
|
-
_: 1
|
|
1121
|
-
/* STABLE */
|
|
1122
|
-
}, 8, ["modelValue"]),
|
|
1123
|
-
createVNode(_component_el_select, {
|
|
1124
|
-
modelValue: queryDeviceList.value.activatedManufacturer,
|
|
1125
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => queryDeviceList.value.activatedManufacturer = $event),
|
|
1126
|
-
clearable: "",
|
|
1127
|
-
style: { "width": "32%" },
|
|
1128
|
-
placeholder: "\u8BF7\u9009\u62E9\u5382\u5546",
|
|
1129
|
-
teleported: false
|
|
1130
|
-
}, {
|
|
1131
|
-
default: withCtx(() => [
|
|
1132
|
-
(openBlock(true), createElementBlock(
|
|
1133
|
-
Fragment,
|
|
1134
|
-
null,
|
|
1135
|
-
renderList(configOptionsManufacturer.value, (item) => {
|
|
1136
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
1137
|
-
key: item.value,
|
|
1138
|
-
label: item.label,
|
|
1139
|
-
value: item.value
|
|
1140
|
-
}, null, 8, ["label", "value"]);
|
|
1141
|
-
}),
|
|
1142
|
-
128
|
|
1143
|
-
/* KEYED_FRAGMENT */
|
|
1144
|
-
))
|
|
1145
|
-
]),
|
|
1146
|
-
_: 1
|
|
1147
|
-
/* STABLE */
|
|
1148
|
-
}, 8, ["modelValue"])
|
|
1149
|
-
]),
|
|
1150
|
-
activatedList.value ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
1151
|
-
_cache[6] || (_cache[6] = createElementVNode(
|
|
1152
|
-
"span",
|
|
1153
|
-
{ class: "col-span-1" },
|
|
1154
|
-
"\u56FE\u6807",
|
|
1155
|
-
-1
|
|
1156
|
-
/* CACHED */
|
|
1157
|
-
)),
|
|
1158
|
-
_cache[7] || (_cache[7] = createElementVNode(
|
|
1159
|
-
"span",
|
|
1160
|
-
{ class: "col-span-4" },
|
|
1161
|
-
"\u7F16\u53F7",
|
|
1162
|
-
-1
|
|
1163
|
-
/* CACHED */
|
|
1164
|
-
)),
|
|
1165
|
-
createCommentVNode(' <span class="col-span-2 text-center">\u697C\u5C42</span> '),
|
|
1166
|
-
createElementVNode(
|
|
1167
|
-
"span",
|
|
1168
|
-
_hoisted_16,
|
|
1169
|
-
toDisplayString(listTitle.value === "\u8BBE\u5907\u4FE1\u606F\u5217\u8868" ? "\u8BBE\u5907\u7C7B\u578B" : "\u8BBE\u65BD\u7C7B\u578B"),
|
|
1170
|
-
1
|
|
1171
|
-
/* TEXT */
|
|
1172
|
-
),
|
|
1173
|
-
_cache[8] || (_cache[8] = createElementVNode(
|
|
1174
|
-
"span",
|
|
1175
|
-
{ class: "col-span-3" },
|
|
1176
|
-
"\u4F4D\u7F6E",
|
|
1177
|
-
-1
|
|
1178
|
-
/* CACHED */
|
|
1179
|
-
))
|
|
1180
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_17, _cache[9] || (_cache[9] = [
|
|
1181
|
-
createElementVNode(
|
|
1182
|
-
"span",
|
|
1183
|
-
{ class: "col-span-1" },
|
|
1184
|
-
"\u5E8F\u53F7",
|
|
1185
|
-
-1
|
|
1186
|
-
/* CACHED */
|
|
1187
|
-
),
|
|
1188
|
-
createElementVNode(
|
|
1189
|
-
"span",
|
|
1190
|
-
{ class: "col-span-1" },
|
|
1191
|
-
"\u56FE\u6807",
|
|
1192
|
-
-1
|
|
1193
|
-
/* CACHED */
|
|
1194
|
-
),
|
|
1195
|
-
createElementVNode(
|
|
1196
|
-
"span",
|
|
1197
|
-
{ class: "col-span-8" },
|
|
1198
|
-
"\u540D\u79F0",
|
|
1199
|
-
-1
|
|
1200
|
-
/* CACHED */
|
|
1201
|
-
),
|
|
1202
|
-
createElementVNode(
|
|
1203
|
-
"span",
|
|
1204
|
-
{ class: "col-span-2" },
|
|
1205
|
-
"\u64CD\u4F5C",
|
|
1206
|
-
-1
|
|
1207
|
-
/* CACHED */
|
|
1208
|
-
)
|
|
1209
|
-
]))),
|
|
1210
|
-
activatedList.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
1211
|
-
createCommentVNode(" {{ listUnitDevice.length }} "),
|
|
1212
|
-
(openBlock(true), createElementBlock(
|
|
1213
|
-
Fragment,
|
|
1214
|
-
null,
|
|
1215
|
-
renderList(listUnitDevice.value, (item, index) => {
|
|
1216
|
-
return openBlock(), createElementBlock("div", {
|
|
1217
|
-
key: index,
|
|
1218
|
-
class: "t-info-panel__row grid gap-1 mt-4 px-3.5 w-full grid-cols-12",
|
|
1219
|
-
title: item.deviceTypeName
|
|
1220
|
-
}, [
|
|
1221
|
-
createElementVNode("span", _hoisted_20, [
|
|
1222
|
-
createVNode(_sfc_main$2, {
|
|
1223
|
-
icon: configIcon.value[item.code] || unref(img$1),
|
|
1224
|
-
item,
|
|
1225
|
-
"map-ref": rrefMap.value,
|
|
1226
|
-
move1: move1.value,
|
|
1227
|
-
onDragstart: dragStart,
|
|
1228
|
-
onDragend: dragEnd
|
|
1229
|
-
}, null, 8, ["icon", "item", "map-ref", "move1"])
|
|
1230
|
-
]),
|
|
1231
|
-
createElementVNode(
|
|
1232
|
-
"span",
|
|
1233
|
-
_hoisted_21,
|
|
1234
|
-
toDisplayString(item.code),
|
|
1235
|
-
1
|
|
1236
|
-
/* TEXT */
|
|
1237
|
-
),
|
|
1238
|
-
createElementVNode("span", {
|
|
1239
|
-
class: "col-span-4 break-words",
|
|
1240
|
-
title: item.remark || item.deviceTypeName || item.videoName
|
|
1241
|
-
}, toDisplayString(item.remark || item.deviceTypeName || item.videoName), 9, _hoisted_22),
|
|
1242
|
-
createElementVNode("span", {
|
|
1243
|
-
class: "col-span-3 break-words",
|
|
1244
|
-
title: item.locationDesc
|
|
1245
|
-
}, toDisplayString(item.locationDesc || item.addressDesc), 9, _hoisted_23)
|
|
1246
|
-
], 8, _hoisted_19);
|
|
1247
|
-
}),
|
|
1248
|
-
128
|
|
1249
|
-
/* KEYED_FRAGMENT */
|
|
1250
|
-
))
|
|
1251
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
1252
|
-
(openBlock(true), createElementBlock(
|
|
1253
|
-
Fragment,
|
|
1254
|
-
null,
|
|
1255
|
-
renderList(activatedArrayFeatures.value, (item, index) => {
|
|
1256
|
-
return openBlock(), createElementBlock("div", {
|
|
1257
|
-
key: item,
|
|
1258
|
-
class: "t-info-panel__row grid gap-1 mt-4 px-3.5 w-full grid-cols-12"
|
|
1259
|
-
}, [
|
|
1260
|
-
createElementVNode(
|
|
1261
|
-
"span",
|
|
1262
|
-
_hoisted_25,
|
|
1263
|
-
toDisplayString(index + 1),
|
|
1264
|
-
1
|
|
1265
|
-
/* TEXT */
|
|
1266
|
-
),
|
|
1267
|
-
createElementVNode("span", _hoisted_26, [
|
|
1268
|
-
item.values_.geometry.getType() === "Point" ? (openBlock(), createElementBlock("div", _hoisted_27)) : (openBlock(), createElementBlock(
|
|
1269
|
-
"div",
|
|
1270
|
-
{
|
|
1271
|
-
key: 1,
|
|
1272
|
-
class: "!w-8 h-full",
|
|
1273
|
-
style: normalizeStyle(`background-color:${item.values_.color}`)
|
|
1274
|
-
},
|
|
1275
|
-
null,
|
|
1276
|
-
4
|
|
1277
|
-
/* STYLE */
|
|
1278
|
-
))
|
|
1279
|
-
]),
|
|
1280
|
-
createElementVNode("span", _hoisted_28, [
|
|
1281
|
-
item.values_.geometry.getType() === "Point" ? (openBlock(), createBlock(_component_el_input, {
|
|
1282
|
-
key: 0,
|
|
1283
|
-
modelValue: item.values_.type,
|
|
1284
|
-
"onUpdate:modelValue": /* @__PURE__ */ __name(($event) => item.values_.type = $event, "onUpdate:modelValue"),
|
|
1285
|
-
size: "large",
|
|
1286
|
-
clearable: ""
|
|
1287
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(_component_el_input, {
|
|
1288
|
-
key: 1,
|
|
1289
|
-
modelValue: item.values_.text,
|
|
1290
|
-
"onUpdate:modelValue": /* @__PURE__ */ __name(($event) => item.values_.text = $event, "onUpdate:modelValue"),
|
|
1291
|
-
size: "large",
|
|
1292
|
-
clearable: "",
|
|
1293
|
-
onChange: /* @__PURE__ */ __name(($event) => updateFeatureStyle(item), "onChange")
|
|
1294
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))
|
|
1295
|
-
]),
|
|
1296
|
-
createElementVNode("span", {
|
|
1297
|
-
class: "flex items-center justify-center col-span-2 cursor-pointer",
|
|
1298
|
-
onClick: /* @__PURE__ */ __name(($event) => deleteFeature(item), "onClick")
|
|
1299
|
-
}, _cache[10] || (_cache[10] = [
|
|
1300
|
-
createElementVNode(
|
|
1301
|
-
"i",
|
|
1302
|
-
{ class: "iconfont icon-shanchu" },
|
|
1303
|
-
null,
|
|
1304
|
-
-1
|
|
1305
|
-
/* CACHED */
|
|
1306
|
-
)
|
|
1307
|
-
]), 8, _hoisted_29)
|
|
1308
|
-
]);
|
|
1309
|
-
}),
|
|
1310
|
-
128
|
|
1311
|
-
/* KEYED_FRAGMENT */
|
|
1312
|
-
))
|
|
1313
|
-
]))
|
|
1314
|
-
]),
|
|
1315
|
-
_: 1
|
|
1316
|
-
/* STABLE */
|
|
1317
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true),
|
|
1318
|
-
listFloor.value.length > 0 && activatedFloor.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
1319
|
-
key: 3,
|
|
1320
|
-
ref_key: "rrefMap",
|
|
1321
|
-
ref: rrefMap,
|
|
1322
|
-
"api-key": "AjtUzWJBHlI3Ma_Ke6Qv2fGRXEs0ua5hUQi54ECwfXTiWsitll4AkETZDihjcfeI",
|
|
1323
|
-
center: center.value,
|
|
1324
|
-
zoom: zoom.value,
|
|
1325
|
-
projection: projection.value,
|
|
1326
|
-
"img-url": imgUrl.value,
|
|
1327
|
-
size: size.value,
|
|
1328
|
-
extent: extent.value,
|
|
1329
|
-
"config-menu-items": configMenuItems.value,
|
|
1330
|
-
"activated-bottom-bar": activatedBottomBar.value,
|
|
1331
|
-
waring: hasWaring.value ? waring.value : null,
|
|
1332
|
-
"activated-position-overlay-waring": activatedPositionOverlayWaring.value,
|
|
1333
|
-
"activated-position-overlay": activatedPositionOverlay.value,
|
|
1334
|
-
"activated-properties-overlay": activatedPropertiesOverlay.value,
|
|
1335
|
-
"list-title": listTitle.value,
|
|
1336
|
-
"alarm-type": alarmType.value,
|
|
1337
|
-
"svg-overlay": unref(img$6),
|
|
1338
|
-
"waring-icon": unref(img$7),
|
|
1339
|
-
"fn-update-draw-feature": fnUpdateDrawFeature,
|
|
1340
|
-
"fn-update-draw-feature2": fnUpdateDrawFeature2,
|
|
1341
|
-
"fn-override-style": fnOverrideStyle,
|
|
1342
|
-
onReady: handleMapReady
|
|
1343
|
-
}, {
|
|
1344
|
-
overlay: withCtx(() => {
|
|
1345
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
1346
|
-
return [
|
|
1347
|
-
activatedPropertiesOverlay.value.type && listTitle.value === "\u8BBE\u5907\u4FE1\u606F\u5217\u8868" ? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
1348
|
-
createElementVNode("img", {
|
|
1349
|
-
src: unref(img$6),
|
|
1350
|
-
alt: "",
|
|
1351
|
-
class: "absolute w-full h-full"
|
|
1352
|
-
}, null, 8, _hoisted_31),
|
|
1353
|
-
createElementVNode(
|
|
1354
|
-
"div",
|
|
1355
|
-
_hoisted_32,
|
|
1356
|
-
" \u8BBE\u5907\u7F16\u7801\uFF1A " + toDisplayString((_a = activatedPropertiesOverlay.value.other) == null ? void 0 : _a.code),
|
|
1065
|
+
toDisplayString(activatedFold.value ? "\u5C55\u5F00" : "\u6536\u8D77"),
|
|
1357
1066
|
1
|
|
1358
1067
|
/* TEXT */
|
|
1359
|
-
)
|
|
1068
|
+
)
|
|
1069
|
+
]),
|
|
1070
|
+
createElementVNode("div", _hoisted_13, [
|
|
1071
|
+
createVNode(_component_el_select, {
|
|
1072
|
+
modelValue: queryDeviceList.value.activatedDeviceType,
|
|
1073
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => queryDeviceList.value.activatedDeviceType = $event),
|
|
1074
|
+
clearable: "",
|
|
1075
|
+
style: { "width": "32%" },
|
|
1076
|
+
class: "mr-2",
|
|
1077
|
+
placeholder: "\u8BF7\u9009\u62E9\u7C7B\u578B",
|
|
1078
|
+
teleported: false
|
|
1079
|
+
}, {
|
|
1080
|
+
default: withCtx(() => [
|
|
1081
|
+
(openBlock(true), createElementBlock(
|
|
1082
|
+
Fragment,
|
|
1083
|
+
null,
|
|
1084
|
+
renderList(configOptionsDeviceType.value, (item) => {
|
|
1085
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
1086
|
+
key: item.value,
|
|
1087
|
+
label: item.label,
|
|
1088
|
+
value: item.value
|
|
1089
|
+
}, null, 8, ["label", "value"]);
|
|
1090
|
+
}),
|
|
1091
|
+
128
|
|
1092
|
+
/* KEYED_FRAGMENT */
|
|
1093
|
+
))
|
|
1094
|
+
]),
|
|
1095
|
+
_: 1
|
|
1096
|
+
/* STABLE */
|
|
1097
|
+
}, 8, ["modelValue"]),
|
|
1098
|
+
createVNode(_component_el_select, {
|
|
1099
|
+
modelValue: queryDeviceList.value.activatedDeviceModel,
|
|
1100
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => queryDeviceList.value.activatedDeviceModel = $event),
|
|
1101
|
+
clearable: "",
|
|
1102
|
+
style: { "width": "32%" },
|
|
1103
|
+
class: "mr-2",
|
|
1104
|
+
placeholder: "\u8BF7\u9009\u62E9\u578B\u53F7",
|
|
1105
|
+
teleported: false
|
|
1106
|
+
}, {
|
|
1107
|
+
default: withCtx(() => [
|
|
1108
|
+
(openBlock(true), createElementBlock(
|
|
1109
|
+
Fragment,
|
|
1110
|
+
null,
|
|
1111
|
+
renderList(configOptionsDeviceModel.value, (item) => {
|
|
1112
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
1113
|
+
key: item.value,
|
|
1114
|
+
label: item.label,
|
|
1115
|
+
value: item.value
|
|
1116
|
+
}, null, 8, ["label", "value"]);
|
|
1117
|
+
}),
|
|
1118
|
+
128
|
|
1119
|
+
/* KEYED_FRAGMENT */
|
|
1120
|
+
))
|
|
1121
|
+
]),
|
|
1122
|
+
_: 1
|
|
1123
|
+
/* STABLE */
|
|
1124
|
+
}, 8, ["modelValue"]),
|
|
1125
|
+
createVNode(_component_el_select, {
|
|
1126
|
+
modelValue: queryDeviceList.value.activatedManufacturer,
|
|
1127
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => queryDeviceList.value.activatedManufacturer = $event),
|
|
1128
|
+
clearable: "",
|
|
1129
|
+
style: { "width": "32%" },
|
|
1130
|
+
placeholder: "\u8BF7\u9009\u62E9\u5382\u5546",
|
|
1131
|
+
teleported: false
|
|
1132
|
+
}, {
|
|
1133
|
+
default: withCtx(() => [
|
|
1134
|
+
(openBlock(true), createElementBlock(
|
|
1135
|
+
Fragment,
|
|
1136
|
+
null,
|
|
1137
|
+
renderList(configOptionsManufacturer.value, (item) => {
|
|
1138
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
1139
|
+
key: item.value,
|
|
1140
|
+
label: item.label,
|
|
1141
|
+
value: item.value
|
|
1142
|
+
}, null, 8, ["label", "value"]);
|
|
1143
|
+
}),
|
|
1144
|
+
128
|
|
1145
|
+
/* KEYED_FRAGMENT */
|
|
1146
|
+
))
|
|
1147
|
+
]),
|
|
1148
|
+
_: 1
|
|
1149
|
+
/* STABLE */
|
|
1150
|
+
}, 8, ["modelValue"])
|
|
1151
|
+
]),
|
|
1152
|
+
activatedList.value ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
1153
|
+
_cache[6] || (_cache[6] = createElementVNode(
|
|
1154
|
+
"span",
|
|
1155
|
+
{ class: "col-span-1" },
|
|
1156
|
+
"\u56FE\u6807",
|
|
1157
|
+
-1
|
|
1158
|
+
/* CACHED */
|
|
1159
|
+
)),
|
|
1160
|
+
_cache[7] || (_cache[7] = createElementVNode(
|
|
1161
|
+
"span",
|
|
1162
|
+
{ class: "col-span-4" },
|
|
1163
|
+
"\u7F16\u53F7",
|
|
1164
|
+
-1
|
|
1165
|
+
/* CACHED */
|
|
1166
|
+
)),
|
|
1167
|
+
createCommentVNode(' <span class="col-span-2 text-center">\u697C\u5C42</span> '),
|
|
1360
1168
|
createElementVNode(
|
|
1361
|
-
"
|
|
1362
|
-
|
|
1363
|
-
"
|
|
1169
|
+
"span",
|
|
1170
|
+
_hoisted_15,
|
|
1171
|
+
toDisplayString(listTitle.value === "\u8BBE\u5907\u4FE1\u606F\u5217\u8868" ? "\u8BBE\u5907\u7C7B\u578B" : "\u8BBE\u65BD\u7C7B\u578B"),
|
|
1364
1172
|
1
|
|
1365
1173
|
/* TEXT */
|
|
1366
1174
|
),
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
title: ((_c = activatedPropertiesOverlay.value.other) == null ? void 0 : _c.videoName) || ((_d = activatedPropertiesOverlay.value.other) == null ? void 0 : _d.addressDesc)
|
|
1376
|
-
}, toDisplayString(alarmType.value === "video" ? (_e = activatedPropertiesOverlay.value.other) == null ? void 0 : _e.videoName : (_f = activatedPropertiesOverlay.value.other) == null ? void 0 : _f.addressDesc), 9, _hoisted_35)
|
|
1377
|
-
]),
|
|
1378
|
-
createElementVNode("div", _hoisted_36, [
|
|
1379
|
-
_cache[12] || (_cache[12] = createTextVNode(
|
|
1380
|
-
" \u8BBE\u5907\u7C7B\u578B\uFF1A ",
|
|
1381
|
-
-1
|
|
1382
|
-
/* CACHED */
|
|
1383
|
-
)),
|
|
1384
|
-
createElementVNode("div", {
|
|
1385
|
-
class: "w-52 flex justify-start items-center text-gradient2 truncate ...",
|
|
1386
|
-
title: ((_g = activatedPropertiesOverlay.value.other) == null ? void 0 : _g.remark) || ((_h = activatedPropertiesOverlay.value.other) == null ? void 0 : _h.deviceTypeName) || ((_i = activatedPropertiesOverlay.value.other) == null ? void 0 : _i.facilityTypeName)
|
|
1387
|
-
}, toDisplayString(alarmType.value === "video" ? "\u6444\u50CF\u5934" : ((_j = activatedPropertiesOverlay.value.other) == null ? void 0 : _j.remark) || ((_k = activatedPropertiesOverlay.value.other) == null ? void 0 : _k.facilityTypeName) || ((_l = activatedPropertiesOverlay.value.other) == null ? void 0 : _l.deviceTypeName)), 9, _hoisted_37)
|
|
1388
|
-
])
|
|
1389
|
-
])) : createCommentVNode("v-if", true),
|
|
1390
|
-
createCommentVNode(" \u8BBE\u65BD\u4FE1\u606F\u5F39\u7A97 "),
|
|
1391
|
-
activatedPropertiesOverlay.value.type && listTitle.value === "\u8BBE\u65BD\u4FE1\u606F\u5217\u8868" ? (openBlock(), createElementBlock("div", _hoisted_38, [
|
|
1392
|
-
createElementVNode("img", {
|
|
1393
|
-
src: unref(img$6),
|
|
1394
|
-
alt: "",
|
|
1395
|
-
class: "absolute w-full h-full"
|
|
1396
|
-
}, null, 8, _hoisted_39),
|
|
1175
|
+
_cache[8] || (_cache[8] = createElementVNode(
|
|
1176
|
+
"span",
|
|
1177
|
+
{ class: "col-span-3" },
|
|
1178
|
+
"\u4F4D\u7F6E",
|
|
1179
|
+
-1
|
|
1180
|
+
/* CACHED */
|
|
1181
|
+
))
|
|
1182
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_16, _cache[9] || (_cache[9] = [
|
|
1397
1183
|
createElementVNode(
|
|
1398
|
-
"
|
|
1399
|
-
|
|
1400
|
-
"
|
|
1401
|
-
1
|
|
1402
|
-
/*
|
|
1184
|
+
"span",
|
|
1185
|
+
{ class: "col-span-1" },
|
|
1186
|
+
"\u5E8F\u53F7",
|
|
1187
|
+
-1
|
|
1188
|
+
/* CACHED */
|
|
1403
1189
|
),
|
|
1404
1190
|
createElementVNode(
|
|
1405
|
-
"
|
|
1406
|
-
|
|
1407
|
-
"
|
|
1408
|
-
1
|
|
1409
|
-
/*
|
|
1191
|
+
"span",
|
|
1192
|
+
{ class: "col-span-1" },
|
|
1193
|
+
"\u56FE\u6807",
|
|
1194
|
+
-1
|
|
1195
|
+
/* CACHED */
|
|
1410
1196
|
),
|
|
1411
1197
|
createElementVNode(
|
|
1412
|
-
"
|
|
1413
|
-
|
|
1414
|
-
"
|
|
1415
|
-
1
|
|
1416
|
-
/*
|
|
1198
|
+
"span",
|
|
1199
|
+
{ class: "col-span-8" },
|
|
1200
|
+
"\u540D\u79F0",
|
|
1201
|
+
-1
|
|
1202
|
+
/* CACHED */
|
|
1417
1203
|
),
|
|
1418
1204
|
createElementVNode(
|
|
1419
|
-
"
|
|
1420
|
-
|
|
1421
|
-
"
|
|
1422
|
-
1
|
|
1423
|
-
/*
|
|
1205
|
+
"span",
|
|
1206
|
+
{ class: "col-span-2" },
|
|
1207
|
+
"\u64CD\u4F5C",
|
|
1208
|
+
-1
|
|
1209
|
+
/* CACHED */
|
|
1424
1210
|
)
|
|
1425
|
-
]))
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1211
|
+
]))),
|
|
1212
|
+
activatedList.value ? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
1213
|
+
createCommentVNode(" {{ listUnitDevice.length }} "),
|
|
1214
|
+
(openBlock(true), createElementBlock(
|
|
1215
|
+
Fragment,
|
|
1216
|
+
null,
|
|
1217
|
+
renderList(listUnitDevice.value, (item, index) => {
|
|
1218
|
+
return openBlock(), createElementBlock("div", {
|
|
1219
|
+
key: index,
|
|
1220
|
+
class: "t-info-panel__row grid gap-1 mt-4 px-3.5 w-full grid-cols-12",
|
|
1221
|
+
title: item.deviceTypeName
|
|
1222
|
+
}, [
|
|
1223
|
+
createElementVNode("span", _hoisted_19, [
|
|
1224
|
+
createCommentVNode(" \u53EF\u62D6\u62FD\u8BBE\u5907\u56FE\u6807\uFF1Adragstart \u76F4\u63A5\u5E26\u51FA\u8BBE\u5907\u9879\uFF0Cdragend \u89E6\u53D1\u653E\u7F6E\u903B\u8F91 "),
|
|
1225
|
+
createElementVNode("img", {
|
|
1226
|
+
src: configIcon.value[item.code] || unref(img$1),
|
|
1227
|
+
draggable: "true",
|
|
1228
|
+
class: "!w-8",
|
|
1229
|
+
onDragstart: /* @__PURE__ */ __name(($event) => dragStart(item), "onDragstart"),
|
|
1230
|
+
onDragend: dragEnd
|
|
1231
|
+
}, null, 40, _hoisted_20)
|
|
1232
|
+
]),
|
|
1233
|
+
createElementVNode(
|
|
1234
|
+
"span",
|
|
1235
|
+
_hoisted_21,
|
|
1236
|
+
toDisplayString(item.code),
|
|
1237
|
+
1
|
|
1238
|
+
/* TEXT */
|
|
1239
|
+
),
|
|
1240
|
+
createElementVNode("span", {
|
|
1241
|
+
class: "col-span-4 break-words",
|
|
1242
|
+
title: item.remark || item.deviceTypeName || item.videoName
|
|
1243
|
+
}, toDisplayString(item.remark || item.deviceTypeName || item.videoName), 9, _hoisted_22),
|
|
1244
|
+
createElementVNode("span", {
|
|
1245
|
+
class: "col-span-3 break-words",
|
|
1246
|
+
title: item.locationDesc
|
|
1247
|
+
}, toDisplayString(item.locationDesc || item.addressDesc), 9, _hoisted_23)
|
|
1248
|
+
], 8, _hoisted_18);
|
|
1249
|
+
}),
|
|
1250
|
+
128
|
|
1251
|
+
/* KEYED_FRAGMENT */
|
|
1252
|
+
))
|
|
1253
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
1254
|
+
(openBlock(true), createElementBlock(
|
|
1255
|
+
Fragment,
|
|
1256
|
+
null,
|
|
1257
|
+
renderList(activatedArrayFeatures.value, (item, index) => {
|
|
1258
|
+
return openBlock(), createElementBlock("div", {
|
|
1259
|
+
key: item,
|
|
1260
|
+
class: "t-info-panel__row grid gap-1 mt-4 px-3.5 w-full grid-cols-12"
|
|
1261
|
+
}, [
|
|
1262
|
+
createElementVNode(
|
|
1263
|
+
"span",
|
|
1264
|
+
_hoisted_25,
|
|
1265
|
+
toDisplayString(index + 1),
|
|
1266
|
+
1
|
|
1267
|
+
/* TEXT */
|
|
1268
|
+
),
|
|
1269
|
+
createElementVNode("span", _hoisted_26, [
|
|
1270
|
+
item.values_.geometry.getType() === "Point" ? (openBlock(), createElementBlock("div", _hoisted_27)) : (openBlock(), createElementBlock(
|
|
1271
|
+
"div",
|
|
1272
|
+
{
|
|
1273
|
+
key: 1,
|
|
1274
|
+
class: "!w-8 h-full",
|
|
1275
|
+
style: normalizeStyle(`background-color:${item.values_.color}`)
|
|
1276
|
+
},
|
|
1277
|
+
null,
|
|
1278
|
+
4
|
|
1279
|
+
/* STYLE */
|
|
1280
|
+
))
|
|
1281
|
+
]),
|
|
1282
|
+
createElementVNode("span", _hoisted_28, [
|
|
1283
|
+
item.values_.geometry.getType() === "Point" ? (openBlock(), createBlock(_component_el_input, {
|
|
1284
|
+
key: 0,
|
|
1285
|
+
modelValue: item.values_.type,
|
|
1286
|
+
"onUpdate:modelValue": /* @__PURE__ */ __name(($event) => item.values_.type = $event, "onUpdate:modelValue"),
|
|
1287
|
+
size: "large",
|
|
1288
|
+
clearable: ""
|
|
1289
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(_component_el_input, {
|
|
1290
|
+
key: 1,
|
|
1291
|
+
modelValue: item.values_.text,
|
|
1292
|
+
"onUpdate:modelValue": /* @__PURE__ */ __name(($event) => item.values_.text = $event, "onUpdate:modelValue"),
|
|
1293
|
+
size: "large",
|
|
1294
|
+
clearable: "",
|
|
1295
|
+
onChange: /* @__PURE__ */ __name(($event) => updateFeatureStyle(item), "onChange")
|
|
1296
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))
|
|
1297
|
+
]),
|
|
1298
|
+
createElementVNode("span", {
|
|
1299
|
+
class: "flex items-center justify-center col-span-2 cursor-pointer",
|
|
1300
|
+
onClick: /* @__PURE__ */ __name(($event) => deleteFeature(item), "onClick")
|
|
1301
|
+
}, _cache[10] || (_cache[10] = [
|
|
1302
|
+
createElementVNode(
|
|
1303
|
+
"i",
|
|
1304
|
+
{ class: "iconfont icon-shanchu" },
|
|
1305
|
+
null,
|
|
1306
|
+
-1
|
|
1307
|
+
/* CACHED */
|
|
1308
|
+
)
|
|
1309
|
+
]), 8, _hoisted_29)
|
|
1310
|
+
]);
|
|
1311
|
+
}),
|
|
1312
|
+
128
|
|
1313
|
+
/* KEYED_FRAGMENT */
|
|
1314
|
+
))
|
|
1315
|
+
]))
|
|
1316
|
+
]),
|
|
1317
|
+
_: 1
|
|
1318
|
+
/* STABLE */
|
|
1319
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true),
|
|
1320
|
+
listFloor.value.length > 0 && activatedFloor.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
1321
|
+
key: 3,
|
|
1322
|
+
ref_key: "rrefMap",
|
|
1323
|
+
ref: rrefMap,
|
|
1324
|
+
"api-key": "AjtUzWJBHlI3Ma_Ke6Qv2fGRXEs0ua5hUQi54ECwfXTiWsitll4AkETZDihjcfeI",
|
|
1325
|
+
center: center.value,
|
|
1326
|
+
zoom: zoom.value,
|
|
1327
|
+
projection: projection.value,
|
|
1328
|
+
"img-url": imgUrl.value,
|
|
1329
|
+
size: size.value,
|
|
1330
|
+
extent: extent.value,
|
|
1331
|
+
"config-menu-items": configMenuItems.value,
|
|
1332
|
+
"activated-bottom-bar": activatedBottomBar.value,
|
|
1333
|
+
waring: hasWaring.value ? waring.value : null,
|
|
1334
|
+
"activated-position-overlay-waring": activatedPositionOverlayWaring.value,
|
|
1335
|
+
"activated-position-overlay": activatedPositionOverlay.value,
|
|
1336
|
+
"activated-properties-overlay": activatedPropertiesOverlay.value,
|
|
1337
|
+
"list-title": listTitle.value,
|
|
1338
|
+
"alarm-type": alarmType.value,
|
|
1339
|
+
"svg-overlay": unref(img$6),
|
|
1340
|
+
"waring-icon": unref(img$7),
|
|
1341
|
+
"fn-update-draw-feature": fnUpdateDrawFeature,
|
|
1342
|
+
"fn-update-draw-feature2": fnUpdateDrawFeature2,
|
|
1343
|
+
"fn-override-style": fnOverrideStyle,
|
|
1344
|
+
onReady: handleMapReady
|
|
1345
|
+
}, {
|
|
1346
|
+
overlay: withCtx(() => {
|
|
1347
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
1348
|
+
return [
|
|
1349
|
+
activatedPropertiesOverlay.value.type && listTitle.value === "\u8BBE\u5907\u4FE1\u606F\u5217\u8868" ? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
1350
|
+
createElementVNode("img", {
|
|
1351
|
+
src: unref(img$6),
|
|
1352
|
+
alt: "",
|
|
1353
|
+
class: "absolute w-full h-full"
|
|
1354
|
+
}, null, 8, _hoisted_31),
|
|
1355
|
+
createElementVNode(
|
|
1356
|
+
"div",
|
|
1357
|
+
_hoisted_32,
|
|
1358
|
+
" \u8BBE\u5907\u7F16\u7801\uFF1A " + toDisplayString((_a = activatedPropertiesOverlay.value.other) == null ? void 0 : _a.code),
|
|
1359
|
+
1
|
|
1360
|
+
/* TEXT */
|
|
1361
|
+
),
|
|
1362
|
+
createElementVNode(
|
|
1363
|
+
"div",
|
|
1364
|
+
_hoisted_33,
|
|
1365
|
+
" \u521B\u5EFA\u65E5\u671F\uFF1A " + toDisplayString((_b = activatedPropertiesOverlay.value.other) == null ? void 0 : _b.createTime),
|
|
1366
|
+
1
|
|
1367
|
+
/* TEXT */
|
|
1368
|
+
),
|
|
1369
|
+
createElementVNode("div", _hoisted_34, [
|
|
1370
|
+
_cache[11] || (_cache[11] = createTextVNode(
|
|
1371
|
+
" \u8BBE\u5907\u4F4D\u7F6E\uFF1A ",
|
|
1372
|
+
-1
|
|
1373
|
+
/* CACHED */
|
|
1374
|
+
)),
|
|
1375
|
+
createElementVNode("div", {
|
|
1376
|
+
class: "w-52 flex justify-start items-center text-gradient2 truncate ...",
|
|
1377
|
+
title: ((_c = activatedPropertiesOverlay.value.other) == null ? void 0 : _c.videoName) || ((_d = activatedPropertiesOverlay.value.other) == null ? void 0 : _d.addressDesc)
|
|
1378
|
+
}, toDisplayString(alarmType.value === "video" ? (_e = activatedPropertiesOverlay.value.other) == null ? void 0 : _e.videoName : (_f = activatedPropertiesOverlay.value.other) == null ? void 0 : _f.addressDesc), 9, _hoisted_35)
|
|
1379
|
+
]),
|
|
1380
|
+
createElementVNode("div", _hoisted_36, [
|
|
1381
|
+
_cache[12] || (_cache[12] = createTextVNode(
|
|
1382
|
+
" \u8BBE\u5907\u7C7B\u578B\uFF1A ",
|
|
1383
|
+
-1
|
|
1384
|
+
/* CACHED */
|
|
1385
|
+
)),
|
|
1386
|
+
createElementVNode("div", {
|
|
1387
|
+
class: "w-52 flex justify-start items-center text-gradient2 truncate ...",
|
|
1388
|
+
title: ((_g = activatedPropertiesOverlay.value.other) == null ? void 0 : _g.remark) || ((_h = activatedPropertiesOverlay.value.other) == null ? void 0 : _h.deviceTypeName) || ((_i = activatedPropertiesOverlay.value.other) == null ? void 0 : _i.facilityTypeName)
|
|
1389
|
+
}, toDisplayString(alarmType.value === "video" ? "\u6444\u50CF\u5934" : ((_j = activatedPropertiesOverlay.value.other) == null ? void 0 : _j.remark) || ((_k = activatedPropertiesOverlay.value.other) == null ? void 0 : _k.facilityTypeName) || ((_l = activatedPropertiesOverlay.value.other) == null ? void 0 : _l.deviceTypeName)), 9, _hoisted_37)
|
|
1390
|
+
])
|
|
1391
|
+
])) : createCommentVNode("v-if", true),
|
|
1392
|
+
createCommentVNode(" \u8BBE\u65BD\u4FE1\u606F\u5F39\u7A97 "),
|
|
1393
|
+
activatedPropertiesOverlay.value.type && listTitle.value === "\u8BBE\u65BD\u4FE1\u606F\u5217\u8868" ? (openBlock(), createElementBlock("div", _hoisted_38, [
|
|
1394
|
+
createElementVNode("img", {
|
|
1395
|
+
src: unref(img$6),
|
|
1396
|
+
alt: "",
|
|
1397
|
+
class: "absolute w-full h-full"
|
|
1398
|
+
}, null, 8, _hoisted_39),
|
|
1399
|
+
createElementVNode(
|
|
1400
|
+
"div",
|
|
1401
|
+
_hoisted_40,
|
|
1402
|
+
" \u8BBE\u65BD\u7F16\u7801\uFF1A " + toDisplayString((_m = activatedPropertiesOverlay.value.other) == null ? void 0 : _m.code),
|
|
1403
|
+
1
|
|
1404
|
+
/* TEXT */
|
|
1405
|
+
),
|
|
1406
|
+
createElementVNode(
|
|
1407
|
+
"div",
|
|
1408
|
+
_hoisted_41,
|
|
1409
|
+
" \u521B\u5EFA\u65E5\u671F\uFF1A " + toDisplayString((_n = activatedPropertiesOverlay.value.other) == null ? void 0 : _n.createTime),
|
|
1410
|
+
1
|
|
1411
|
+
/* TEXT */
|
|
1412
|
+
),
|
|
1413
|
+
createElementVNode(
|
|
1414
|
+
"div",
|
|
1415
|
+
_hoisted_42,
|
|
1416
|
+
" \u8BBE\u65BD\u578B\u53F7\uFF1A " + toDisplayString((_o = activatedPropertiesOverlay.value.other) == null ? void 0 : _o.deviceModelName),
|
|
1417
|
+
1
|
|
1418
|
+
/* TEXT */
|
|
1419
|
+
),
|
|
1420
|
+
createElementVNode(
|
|
1421
|
+
"div",
|
|
1422
|
+
_hoisted_43,
|
|
1423
|
+
" \u8BBE\u65BD\u5382\u5546\uFF1A " + toDisplayString((_p = activatedPropertiesOverlay.value.other) == null ? void 0 : _p.manufacturerName),
|
|
1424
|
+
1
|
|
1425
|
+
/* TEXT */
|
|
1426
|
+
)
|
|
1427
|
+
])) : createCommentVNode("v-if", true)
|
|
1428
|
+
];
|
|
1429
|
+
}),
|
|
1430
|
+
_: 1
|
|
1431
|
+
/* STABLE */
|
|
1432
|
+
}, 8, ["center", "zoom", "projection", "img-url", "size", "extent", "config-menu-items", "activated-bottom-bar", "waring", "activated-position-overlay-waring", "activated-position-overlay", "activated-properties-overlay", "list-title", "alarm-type", "svg-overlay", "waring-icon"])) : (openBlock(), createElementBlock("img", {
|
|
1433
|
+
key: 4,
|
|
1434
|
+
src: unref(img),
|
|
1435
|
+
alt: "\u9ED8\u8BA4\u5E95\u56FE",
|
|
1436
|
+
style: normalizeStyle({ width: `${size.value[0]}px`, height: `${size.value[1]}px` })
|
|
1437
|
+
}, null, 12, _hoisted_44))
|
|
1438
|
+
],
|
|
1439
|
+
32
|
|
1440
|
+
/* NEED_HYDRATION */
|
|
1441
|
+
);
|
|
1437
1442
|
};
|
|
1438
1443
|
}
|
|
1439
1444
|
});
|