sctj-components 1.0.67 → 1.0.69
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/lib/sctj-components.es.js +703 -264
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +6 -5
|
@@ -38,9 +38,9 @@ const _export_sfc = (sfc, props) => {
|
|
|
38
38
|
}
|
|
39
39
|
return target;
|
|
40
40
|
};
|
|
41
|
-
const _hoisted_1$
|
|
42
|
-
const _hoisted_2$
|
|
43
|
-
const _sfc_main$
|
|
41
|
+
const _hoisted_1$p = { class: "dict-tag-container" };
|
|
42
|
+
const _hoisted_2$f = ["index"];
|
|
43
|
+
const _sfc_main$w = {
|
|
44
44
|
__name: "index",
|
|
45
45
|
props: {
|
|
46
46
|
options: {
|
|
@@ -60,7 +60,7 @@ const _sfc_main$v = {
|
|
|
60
60
|
});
|
|
61
61
|
return (_ctx, _cache) => {
|
|
62
62
|
const _component_el_tag = resolveComponent("el-tag");
|
|
63
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
63
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
64
64
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item, index2) => {
|
|
65
65
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
66
66
|
unref(values).includes(item.value) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -68,7 +68,7 @@ const _sfc_main$v = {
|
|
|
68
68
|
key: item.value,
|
|
69
69
|
index: index2,
|
|
70
70
|
class: normalizeClass(item.elTagClass)
|
|
71
|
-
}, toDisplayString(item.label), 11, _hoisted_2$
|
|
71
|
+
}, toDisplayString(item.label), 11, _hoisted_2$f)) : (openBlock(), createBlock(_component_el_tag, {
|
|
72
72
|
"disable-transitions": true,
|
|
73
73
|
key: item.value + "",
|
|
74
74
|
index: index2,
|
|
@@ -87,10 +87,10 @@ const _sfc_main$v = {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90
|
+
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-659e1d01"]]);
|
|
91
91
|
const index_vue_vue_type_style_index_0_scope_true_lang = "";
|
|
92
|
-
const _hoisted_1$
|
|
93
|
-
const _sfc_main$
|
|
92
|
+
const _hoisted_1$o = ["xlink:href", "fill"];
|
|
93
|
+
const _sfc_main$v = {
|
|
94
94
|
__name: "index",
|
|
95
95
|
props: {
|
|
96
96
|
iconClass: {
|
|
@@ -123,7 +123,7 @@ const _sfc_main$u = {
|
|
|
123
123
|
createElementVNode("use", {
|
|
124
124
|
"xlink:href": unref(iconName),
|
|
125
125
|
fill: __props.color
|
|
126
|
-
}, null, 8, _hoisted_1$
|
|
126
|
+
}, null, 8, _hoisted_1$o)
|
|
127
127
|
], 2);
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -132,14 +132,14 @@ const index$2 = "";
|
|
|
132
132
|
const index$1 = "";
|
|
133
133
|
const index_vue_vue_type_style_index_0_scoped_006fbc77_lang = "";
|
|
134
134
|
const index_vue_vue_type_style_index_1_lang = "";
|
|
135
|
-
const _hoisted_1$
|
|
136
|
-
const _hoisted_2$
|
|
137
|
-
const _hoisted_3$
|
|
138
|
-
const _hoisted_4$
|
|
139
|
-
const _hoisted_5$
|
|
140
|
-
const _hoisted_6$
|
|
141
|
-
const _hoisted_7$
|
|
142
|
-
const _sfc_main$
|
|
135
|
+
const _hoisted_1$n = { class: "upload-file" };
|
|
136
|
+
const _hoisted_2$e = { class: "el-upload__tip" };
|
|
137
|
+
const _hoisted_3$a = { style: { "color": "#f56c6c" } };
|
|
138
|
+
const _hoisted_4$9 = { style: { "color": "#f56c6c" } };
|
|
139
|
+
const _hoisted_5$7 = ["title"];
|
|
140
|
+
const _hoisted_6$4 = { class: "ele-upload-list__item-content-action" };
|
|
141
|
+
const _hoisted_7$4 = { style: { "width": "100%", "height": "100%", "overflow": "auto" } };
|
|
142
|
+
const _sfc_main$u = {
|
|
143
143
|
__name: "index",
|
|
144
144
|
props: {
|
|
145
145
|
modelValue: [String, Object, Array],
|
|
@@ -371,7 +371,7 @@ const _sfc_main$t = {
|
|
|
371
371
|
const _component_el_icon = resolveComponent("el-icon");
|
|
372
372
|
const _component_el_image = resolveComponent("el-image");
|
|
373
373
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
374
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
374
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
375
375
|
!__props.disabled ? (openBlock(), createBlock(_component_el_upload, mergeProps({
|
|
376
376
|
key: 0,
|
|
377
377
|
multiple: "",
|
|
@@ -410,15 +410,15 @@ const _sfc_main$t = {
|
|
|
410
410
|
unref(showTip) ? {
|
|
411
411
|
name: "tip",
|
|
412
412
|
fn: withCtx(() => [
|
|
413
|
-
createElementVNode("div", _hoisted_2$
|
|
413
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
414
414
|
createTextVNode(" \u8BF7\u4E0A\u4F20 "),
|
|
415
415
|
__props.fileSize ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
416
416
|
createTextVNode(" \u5927\u5C0F\u4E0D\u8D85\u8FC7 "),
|
|
417
|
-
createElementVNode("b", _hoisted_3$
|
|
417
|
+
createElementVNode("b", _hoisted_3$a, toDisplayString(__props.fileSize) + "MB", 1)
|
|
418
418
|
], 64)) : createCommentVNode("", true),
|
|
419
419
|
__props.fileType ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
420
420
|
createTextVNode(" \u683C\u5F0F\u4E3A "),
|
|
421
|
-
createElementVNode("b", _hoisted_4$
|
|
421
|
+
createElementVNode("b", _hoisted_4$9, toDisplayString(__props.fileType.join("/")), 1)
|
|
422
422
|
], 64)) : createCommentVNode("", true),
|
|
423
423
|
createTextVNode(" \u7684\u6587\u4EF6 ")
|
|
424
424
|
])
|
|
@@ -441,8 +441,8 @@ const _sfc_main$t = {
|
|
|
441
441
|
createElementVNode("div", {
|
|
442
442
|
title: getFileName(file.name),
|
|
443
443
|
class: "ele-upload-list__item-content-name"
|
|
444
|
-
}, toDisplayString(getFileName(file.name)), 9, _hoisted_5$
|
|
445
|
-
createElementVNode("div", _hoisted_6$
|
|
444
|
+
}, toDisplayString(getFileName(file.name)), 9, _hoisted_5$7),
|
|
445
|
+
createElementVNode("div", _hoisted_6$4, [
|
|
446
446
|
createVNode(_component_el_icon, {
|
|
447
447
|
title: "\u9884\u89C8",
|
|
448
448
|
class: "el-icon-view-icon",
|
|
@@ -490,7 +490,7 @@ const _sfc_main$t = {
|
|
|
490
490
|
"before-close": handlePreviewClose
|
|
491
491
|
}, {
|
|
492
492
|
default: withCtx(() => [
|
|
493
|
-
createElementVNode("div", _hoisted_7$
|
|
493
|
+
createElementVNode("div", _hoisted_7$4, [
|
|
494
494
|
previewType.value === "pdf" ? (openBlock(), createBlock(unref(VueOfficePdf), {
|
|
495
495
|
key: 0,
|
|
496
496
|
src: previewUrl.value
|
|
@@ -517,17 +517,17 @@ const _sfc_main$t = {
|
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
519
|
};
|
|
520
|
-
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
520
|
+
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-006fbc77"]]);
|
|
521
521
|
const index_vue_vue_type_style_index_0_scoped_672e5149_lang = "";
|
|
522
|
-
const _hoisted_1$
|
|
523
|
-
const _hoisted_2$
|
|
522
|
+
const _hoisted_1$m = { class: "component-upload-image" };
|
|
523
|
+
const _hoisted_2$d = {
|
|
524
524
|
key: 0,
|
|
525
525
|
class: "el-upload__tip"
|
|
526
526
|
};
|
|
527
|
-
const _hoisted_3$
|
|
528
|
-
const _hoisted_4$
|
|
529
|
-
const _hoisted_5$
|
|
530
|
-
const _sfc_main$
|
|
527
|
+
const _hoisted_3$9 = { style: { "color": "#f56c6c" } };
|
|
528
|
+
const _hoisted_4$8 = { style: { "color": "#f56c6c" } };
|
|
529
|
+
const _hoisted_5$6 = ["src"];
|
|
530
|
+
const _sfc_main$t = {
|
|
531
531
|
__name: "index",
|
|
532
532
|
props: {
|
|
533
533
|
modelValue: {
|
|
@@ -728,7 +728,7 @@ const _sfc_main$s = {
|
|
|
728
728
|
const _component_el_icon = resolveComponent("el-icon");
|
|
729
729
|
const _component_el_upload = resolveComponent("el-upload");
|
|
730
730
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
731
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
731
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
732
732
|
createVNode(_component_el_upload, mergeProps({
|
|
733
733
|
disabled: props.disabled,
|
|
734
734
|
multiple: "",
|
|
@@ -760,15 +760,15 @@ const _sfc_main$s = {
|
|
|
760
760
|
]),
|
|
761
761
|
_: 1
|
|
762
762
|
}, 16, ["disabled", "action", "limit", "http-request", "headers", "file-list", "drag", "class"]),
|
|
763
|
-
unref(showTip) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
763
|
+
unref(showTip) ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
764
764
|
createTextVNode(" \u8BF7\u4E0A\u4F20 "),
|
|
765
765
|
props.fileSize ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
766
766
|
createTextVNode(" \u5927\u5C0F\u4E0D\u8D85\u8FC7 "),
|
|
767
|
-
createElementVNode("b", _hoisted_3$
|
|
767
|
+
createElementVNode("b", _hoisted_3$9, toDisplayString(props.fileSize) + "MB", 1)
|
|
768
768
|
], 64)) : createCommentVNode("", true),
|
|
769
769
|
props.fileType ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
770
770
|
createTextVNode(" \u683C\u5F0F\u4E3A "),
|
|
771
|
-
createElementVNode("b", _hoisted_4$
|
|
771
|
+
createElementVNode("b", _hoisted_4$8, toDisplayString(props.fileType.join("/")), 1)
|
|
772
772
|
], 64)) : createCommentVNode("", true),
|
|
773
773
|
createTextVNode(" \u7684\u6587\u4EF6 ")
|
|
774
774
|
])) : createCommentVNode("", true),
|
|
@@ -783,7 +783,7 @@ const _sfc_main$s = {
|
|
|
783
783
|
createElementVNode("img", {
|
|
784
784
|
src: dialogImageUrl.value,
|
|
785
785
|
style: { "display": "block", "max-width": "100%", "margin": "0 auto" }
|
|
786
|
-
}, null, 8, _hoisted_5$
|
|
786
|
+
}, null, 8, _hoisted_5$6)
|
|
787
787
|
]),
|
|
788
788
|
_: 1
|
|
789
789
|
}, 8, ["modelValue"])
|
|
@@ -791,10 +791,10 @@ const _sfc_main$s = {
|
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
|
-
const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
794
|
+
const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-672e5149"]]);
|
|
795
795
|
const index_vue_vue_type_style_index_0_scoped_e91fd2ba_lang = "";
|
|
796
|
-
const _hoisted_1$
|
|
797
|
-
const _sfc_main$
|
|
796
|
+
const _hoisted_1$l = { class: "image-slot" };
|
|
797
|
+
const _sfc_main$s = {
|
|
798
798
|
__name: "index",
|
|
799
799
|
props: {
|
|
800
800
|
enableDelete: {
|
|
@@ -908,7 +908,7 @@ const _sfc_main$r = {
|
|
|
908
908
|
"preview-src-list": unref(realSrcList)
|
|
909
909
|
}, {
|
|
910
910
|
error: withCtx(() => [
|
|
911
|
-
createElementVNode("div", _hoisted_1$
|
|
911
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
912
912
|
createVNode(_component_el_icon, { class: "el-icon-picture-outline" }, {
|
|
913
913
|
default: withCtx(() => [
|
|
914
914
|
createVNode(unref(Picture))
|
|
@@ -925,7 +925,7 @@ const _sfc_main$r = {
|
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
|
-
const SCTJImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
928
|
+
const SCTJImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-e91fd2ba"]]);
|
|
929
929
|
const icons = [
|
|
930
930
|
"404",
|
|
931
931
|
"asset",
|
|
@@ -1017,10 +1017,10 @@ const icons = [
|
|
|
1017
1017
|
"zip"
|
|
1018
1018
|
];
|
|
1019
1019
|
const index_vue_vue_type_style_index_0_scoped_37029e19_lang = "";
|
|
1020
|
-
const _hoisted_1$
|
|
1021
|
-
const _hoisted_2$
|
|
1022
|
-
const _hoisted_3$
|
|
1023
|
-
const _sfc_main$
|
|
1020
|
+
const _hoisted_1$k = { class: "icon-content" };
|
|
1021
|
+
const _hoisted_2$c = { class: "icon-list" };
|
|
1022
|
+
const _hoisted_3$8 = ["onClick"];
|
|
1023
|
+
const _sfc_main$r = {
|
|
1024
1024
|
__name: "index",
|
|
1025
1025
|
props: {
|
|
1026
1026
|
modelValue: {
|
|
@@ -1111,12 +1111,12 @@ const _sfc_main$q = {
|
|
|
1111
1111
|
unref(iconName) ? {
|
|
1112
1112
|
name: "prefix",
|
|
1113
1113
|
fn: withCtx(() => [
|
|
1114
|
-
createVNode(_sfc_main$
|
|
1114
|
+
createVNode(_sfc_main$v, { "icon-class": unref(iconName) }, null, 8, ["icon-class"])
|
|
1115
1115
|
]),
|
|
1116
1116
|
key: "0"
|
|
1117
1117
|
} : void 0
|
|
1118
1118
|
]), 1032, ["modelValue"]),
|
|
1119
|
-
withDirectives(createElementVNode("div", _hoisted_1$
|
|
1119
|
+
withDirectives(createElementVNode("div", _hoisted_1$k, [
|
|
1120
1120
|
createElementVNode("div", null, [
|
|
1121
1121
|
createVNode(_component_el_input, {
|
|
1122
1122
|
modelValue: keyWord.value,
|
|
@@ -1138,18 +1138,18 @@ const _sfc_main$q = {
|
|
|
1138
1138
|
_: 1
|
|
1139
1139
|
}, 8, ["modelValue"])
|
|
1140
1140
|
]),
|
|
1141
|
-
createElementVNode("div", _hoisted_2$
|
|
1141
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
1142
1142
|
(openBlock(true), createElementBlock(Fragment, null, renderList(iconList.value, (item, index2) => {
|
|
1143
1143
|
return openBlock(), createElementBlock("div", {
|
|
1144
1144
|
key: index2,
|
|
1145
1145
|
onClick: ($event) => selectedIcon(item)
|
|
1146
1146
|
}, [
|
|
1147
|
-
createVNode(_sfc_main$
|
|
1147
|
+
createVNode(_sfc_main$v, {
|
|
1148
1148
|
"icon-class": item,
|
|
1149
1149
|
style: { "height": "30px", "width": "16px", "flex-shrink": "0" }
|
|
1150
1150
|
}, null, 8, ["icon-class"]),
|
|
1151
1151
|
createElementVNode("span", null, toDisplayString(item), 1)
|
|
1152
|
-
], 8, _hoisted_3$
|
|
1152
|
+
], 8, _hoisted_3$8);
|
|
1153
1153
|
}), 128))
|
|
1154
1154
|
])
|
|
1155
1155
|
], 512), [
|
|
@@ -1159,7 +1159,7 @@ const _sfc_main$q = {
|
|
|
1159
1159
|
};
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
|
-
const SCTJIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1162
|
+
const SCTJIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-37029e19"]]);
|
|
1163
1163
|
function useMobile() {
|
|
1164
1164
|
const isMobile = ref$1(false);
|
|
1165
1165
|
const checkIsMobile = () => {
|
|
@@ -1186,7 +1186,7 @@ function useMobile() {
|
|
|
1186
1186
|
checkIsMobile
|
|
1187
1187
|
};
|
|
1188
1188
|
}
|
|
1189
|
-
const _sfc_main$
|
|
1189
|
+
const _sfc_main$q = {
|
|
1190
1190
|
__name: "index",
|
|
1191
1191
|
props: {
|
|
1192
1192
|
modelValue: {
|
|
@@ -1291,8 +1291,8 @@ const _sfc_main$p = {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
};
|
|
1293
1293
|
const index_vue_vue_type_style_index_0_scoped_7b45925b_lang = "";
|
|
1294
|
-
const _hoisted_1$
|
|
1295
|
-
const _sfc_main$
|
|
1294
|
+
const _hoisted_1$j = { class: "el-tree-select" };
|
|
1295
|
+
const _sfc_main$p = {
|
|
1296
1296
|
__name: "index",
|
|
1297
1297
|
props: {
|
|
1298
1298
|
objMap: {
|
|
@@ -1502,7 +1502,7 @@ const _sfc_main$o = {
|
|
|
1502
1502
|
const _component_el_option = resolveComponent("el-option");
|
|
1503
1503
|
const _component_el_tree = resolveComponent("el-tree");
|
|
1504
1504
|
const _component_el_select = resolveComponent("el-select");
|
|
1505
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1505
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
1506
1506
|
createVNode(_component_el_select, {
|
|
1507
1507
|
style: { "width": "100%" },
|
|
1508
1508
|
modelValue: unref(valueId),
|
|
@@ -1562,8 +1562,8 @@ const _sfc_main$o = {
|
|
|
1562
1562
|
};
|
|
1563
1563
|
}
|
|
1564
1564
|
};
|
|
1565
|
-
const SCTJTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1566
|
-
const _sfc_main$
|
|
1565
|
+
const SCTJTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-7b45925b"]]);
|
|
1566
|
+
const _sfc_main$o = {
|
|
1567
1567
|
__name: "index",
|
|
1568
1568
|
props: {
|
|
1569
1569
|
modelValue: {
|
|
@@ -1649,7 +1649,7 @@ const _sfc_main$n = {
|
|
|
1649
1649
|
};
|
|
1650
1650
|
}
|
|
1651
1651
|
};
|
|
1652
|
-
const _sfc_main$
|
|
1652
|
+
const _sfc_main$n = {
|
|
1653
1653
|
__name: "index",
|
|
1654
1654
|
props: {
|
|
1655
1655
|
modelValue: {
|
|
@@ -1723,9 +1723,9 @@ const _sfc_main$m = {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
};
|
|
1725
1725
|
const index_vue_vue_type_style_index_0_scoped_1c87997b_lang = "";
|
|
1726
|
-
const _hoisted_1$
|
|
1727
|
-
const _hoisted_2$
|
|
1728
|
-
const _sfc_main$
|
|
1726
|
+
const _hoisted_1$i = { class: "time-line-slider-container" };
|
|
1727
|
+
const _hoisted_2$b = { class: "time-line-slider-wrapper" };
|
|
1728
|
+
const _sfc_main$m = {
|
|
1729
1729
|
__name: "index",
|
|
1730
1730
|
props: {
|
|
1731
1731
|
timeConfig: {
|
|
@@ -1970,8 +1970,8 @@ const _sfc_main$l = {
|
|
|
1970
1970
|
const _component_el_slider = resolveComponent("el-slider");
|
|
1971
1971
|
const _component_el_option = resolveComponent("el-option");
|
|
1972
1972
|
const _component_el_select = resolveComponent("el-select");
|
|
1973
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1974
|
-
createElementVNode("div", _hoisted_2$
|
|
1973
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
1974
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
1975
1975
|
createVNode(_component_el_slider, {
|
|
1976
1976
|
style: normalizeStyle({ width: unref(sliderWidth) }),
|
|
1977
1977
|
modelValue: selectValue.value,
|
|
@@ -2008,10 +2008,10 @@ const _sfc_main$l = {
|
|
|
2008
2008
|
};
|
|
2009
2009
|
}
|
|
2010
2010
|
};
|
|
2011
|
-
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2011
|
+
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1c87997b"]]);
|
|
2012
2012
|
const index_vue_vue_type_style_index_0_scoped_0e809a5c_lang = "";
|
|
2013
|
-
const _hoisted_1$
|
|
2014
|
-
const _sfc_main$
|
|
2013
|
+
const _hoisted_1$h = { class: "table-container" };
|
|
2014
|
+
const _sfc_main$l = {
|
|
2015
2015
|
__name: "index",
|
|
2016
2016
|
props: {
|
|
2017
2017
|
request: {
|
|
@@ -2267,7 +2267,7 @@ const _sfc_main$k = {
|
|
|
2267
2267
|
class: "TJ-table-container",
|
|
2268
2268
|
style: normalizeStyle({ height: __props.height })
|
|
2269
2269
|
}, [
|
|
2270
|
-
createElementVNode("div", _hoisted_1$
|
|
2270
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
2271
2271
|
createVNode(_component_el_table, mergeProps({
|
|
2272
2272
|
ref_key: "tableRef",
|
|
2273
2273
|
ref: tableRef,
|
|
@@ -2347,18 +2347,18 @@ const _sfc_main$k = {
|
|
|
2347
2347
|
};
|
|
2348
2348
|
}
|
|
2349
2349
|
};
|
|
2350
|
-
const SCTJTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2350
|
+
const SCTJTable = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-0e809a5c"]]);
|
|
2351
2351
|
const index_vue_vue_type_style_index_0_scoped_45fb95db_lang = "";
|
|
2352
|
-
const _sfc_main$
|
|
2353
|
-
const _hoisted_1$
|
|
2352
|
+
const _sfc_main$k = {};
|
|
2353
|
+
const _hoisted_1$g = { class: "table-container" };
|
|
2354
2354
|
function _sfc_render(_ctx, _cache) {
|
|
2355
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2355
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
2356
2356
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2357
2357
|
]);
|
|
2358
2358
|
}
|
|
2359
|
-
const SCTJTableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2359
|
+
const SCTJTableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render], ["__scopeId", "data-v-45fb95db"]]);
|
|
2360
2360
|
const index_vue_vue_type_style_index_0_scoped_46df4461_lang = "";
|
|
2361
|
-
const _sfc_main$
|
|
2361
|
+
const _sfc_main$j = {
|
|
2362
2362
|
__name: "index",
|
|
2363
2363
|
props: {
|
|
2364
2364
|
showSearch: {
|
|
@@ -2502,10 +2502,10 @@ const _sfc_main$i = {
|
|
|
2502
2502
|
};
|
|
2503
2503
|
}
|
|
2504
2504
|
};
|
|
2505
|
-
const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2505
|
+
const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-46df4461"]]);
|
|
2506
2506
|
const index_vue_vue_type_style_index_0_scoped_056cfdde_lang = "";
|
|
2507
|
-
const _hoisted_1$
|
|
2508
|
-
const _sfc_main$
|
|
2507
|
+
const _hoisted_1$f = { class: "table-top-action-container" };
|
|
2508
|
+
const _sfc_main$i = {
|
|
2509
2509
|
__name: "index",
|
|
2510
2510
|
props: {
|
|
2511
2511
|
showSearch: {
|
|
@@ -2532,7 +2532,7 @@ const _sfc_main$h = {
|
|
|
2532
2532
|
emit("refresh");
|
|
2533
2533
|
};
|
|
2534
2534
|
return (_ctx, _cache) => {
|
|
2535
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2535
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
2536
2536
|
renderSlot(_ctx.$slots, "left", {}, void 0, true),
|
|
2537
2537
|
renderSlot(_ctx.$slots, "right", {}, () => [
|
|
2538
2538
|
createVNode(SCTJRightToolbar, {
|
|
@@ -2546,24 +2546,24 @@ const _sfc_main$h = {
|
|
|
2546
2546
|
};
|
|
2547
2547
|
}
|
|
2548
2548
|
};
|
|
2549
|
-
const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2549
|
+
const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-056cfdde"]]);
|
|
2550
2550
|
const index_vue_vue_type_style_index_0_scoped_26db7104_lang = "";
|
|
2551
|
-
const _withScopeId$
|
|
2552
|
-
const _hoisted_1$
|
|
2551
|
+
const _withScopeId$6 = (n) => (pushScopeId("data-v-26db7104"), n = n(), popScopeId(), n);
|
|
2552
|
+
const _hoisted_1$e = {
|
|
2553
2553
|
key: 0,
|
|
2554
2554
|
class: "search-container"
|
|
2555
2555
|
};
|
|
2556
|
-
const _hoisted_2$
|
|
2557
|
-
const _hoisted_3$
|
|
2558
|
-
const _hoisted_4$
|
|
2556
|
+
const _hoisted_2$a = { class: "table-box" };
|
|
2557
|
+
const _hoisted_3$7 = ["onClick"];
|
|
2558
|
+
const _hoisted_4$7 = {
|
|
2559
2559
|
slot: "header",
|
|
2560
2560
|
class: "clearfix"
|
|
2561
2561
|
};
|
|
2562
|
-
const _hoisted_5$
|
|
2563
|
-
const _hoisted_6$
|
|
2564
|
-
const _hoisted_7$
|
|
2565
|
-
const _hoisted_8$
|
|
2566
|
-
const _sfc_main$
|
|
2562
|
+
const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("span", { style: { "font-weight": "bold" } }, "\u5DF2\u9009\u5217\u8868", -1));
|
|
2563
|
+
const _hoisted_6$3 = { class: "tag-container" };
|
|
2564
|
+
const _hoisted_7$3 = { class: "tag-name" };
|
|
2565
|
+
const _hoisted_8$3 = { class: "dialog-footer" };
|
|
2566
|
+
const _sfc_main$h = {
|
|
2567
2567
|
__name: "index",
|
|
2568
2568
|
props: {
|
|
2569
2569
|
mode: {
|
|
@@ -2822,7 +2822,7 @@ const _sfc_main$g = {
|
|
|
2822
2822
|
"append-to-body": ""
|
|
2823
2823
|
}, { ..._ctx.$attrs }), {
|
|
2824
2824
|
footer: withCtx(() => [
|
|
2825
|
-
createElementVNode("div", _hoisted_8$
|
|
2825
|
+
createElementVNode("div", _hoisted_8$3, [
|
|
2826
2826
|
createVNode(_component_el_button, {
|
|
2827
2827
|
size: unref(isMobile) ? "small" : "",
|
|
2828
2828
|
onClick: close
|
|
@@ -2845,7 +2845,7 @@ const _sfc_main$g = {
|
|
|
2845
2845
|
])
|
|
2846
2846
|
]),
|
|
2847
2847
|
default: withCtx(() => [
|
|
2848
|
-
unref(queryColumns).length ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2848
|
+
unref(queryColumns).length ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
2849
2849
|
createVNode(_component_el_card, { shadow: "hover" }, {
|
|
2850
2850
|
default: withCtx(() => [
|
|
2851
2851
|
createVNode(_component_el_form, {
|
|
@@ -2934,7 +2934,7 @@ const _sfc_main$g = {
|
|
|
2934
2934
|
style: normalizeStyle({ height: !unref(isMobile) ? __props.height : "100%" }),
|
|
2935
2935
|
class: normalizeClass(["content-box", unref(isMobile) && "content-box-mobile"])
|
|
2936
2936
|
}, [
|
|
2937
|
-
createElementVNode("div", _hoisted_2$
|
|
2937
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
2938
2938
|
withDirectives((openBlock(), createBlock(_component_el_table, {
|
|
2939
2939
|
size: unref(isMobile) ? "small" : "",
|
|
2940
2940
|
class: "table-content",
|
|
@@ -2980,7 +2980,7 @@ const _sfc_main$g = {
|
|
|
2980
2980
|
createElementVNode("span", {
|
|
2981
2981
|
onClick: ($event) => handleClick(item.action, item.prop, scope),
|
|
2982
2982
|
class: normalizeClass({ "linkStyle": item.action || false })
|
|
2983
|
-
}, toDisplayString(item.format ? item.format(scope.row, scope.$index) : scope.row[item.prop]), 11, _hoisted_3$
|
|
2983
|
+
}, toDisplayString(item.format ? item.format(scope.row, scope.$index) : scope.row[item.prop]), 11, _hoisted_3$7)
|
|
2984
2984
|
]),
|
|
2985
2985
|
_: 2
|
|
2986
2986
|
}, 1040))
|
|
@@ -3028,8 +3028,8 @@ const _sfc_main$g = {
|
|
|
3028
3028
|
shadow: "never"
|
|
3029
3029
|
}, {
|
|
3030
3030
|
default: withCtx(() => [
|
|
3031
|
-
createElementVNode("div", _hoisted_4$
|
|
3032
|
-
_hoisted_5$
|
|
3031
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
3032
|
+
_hoisted_5$5,
|
|
3033
3033
|
createVNode(_component_el_button, {
|
|
3034
3034
|
style: { "float": "right", "padding": "3px 0" },
|
|
3035
3035
|
link: "",
|
|
@@ -3041,7 +3041,7 @@ const _sfc_main$g = {
|
|
|
3041
3041
|
_: 1
|
|
3042
3042
|
})
|
|
3043
3043
|
]),
|
|
3044
|
-
createElementVNode("div", _hoisted_6$
|
|
3044
|
+
createElementVNode("div", _hoisted_6$3, [
|
|
3045
3045
|
(openBlock(true), createElementBlock(Fragment, null, renderList(selectDataList.value, (tag) => {
|
|
3046
3046
|
return openBlock(), createElementBlock("div", {
|
|
3047
3047
|
key: tag[__props.selectOptions.valueKey]
|
|
@@ -3052,7 +3052,7 @@ const _sfc_main$g = {
|
|
|
3052
3052
|
closable: ""
|
|
3053
3053
|
}, {
|
|
3054
3054
|
default: withCtx(() => [
|
|
3055
|
-
createElementVNode("span", _hoisted_7$
|
|
3055
|
+
createElementVNode("span", _hoisted_7$3, toDisplayString(tag[__props.selectOptions.nameKey] || tag[__props.selectOptions.valueKey]), 1)
|
|
3056
3056
|
]),
|
|
3057
3057
|
_: 2
|
|
3058
3058
|
}, 1032, ["onClose"])
|
|
@@ -3073,10 +3073,10 @@ const _sfc_main$g = {
|
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
3075
|
};
|
|
3076
|
-
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3076
|
+
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-26db7104"]]);
|
|
3077
3077
|
const index_vue_vue_type_style_index_0_scoped_80cb4921_lang = "";
|
|
3078
|
-
const _hoisted_1$
|
|
3079
|
-
const _sfc_main$
|
|
3078
|
+
const _hoisted_1$d = { style: { "background": "#fff" } };
|
|
3079
|
+
const _sfc_main$g = {
|
|
3080
3080
|
__name: "index",
|
|
3081
3081
|
props: {
|
|
3082
3082
|
tableData: {
|
|
@@ -3363,7 +3363,7 @@ const _sfc_main$f = {
|
|
|
3363
3363
|
const _component_el_table = resolveComponent("el-table");
|
|
3364
3364
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
3365
3365
|
const _directive_loading = resolveDirective("loading");
|
|
3366
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3366
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
3367
3367
|
withDirectives((openBlock(), createBlock(_component_el_table, mergeProps({
|
|
3368
3368
|
size: unref(isMobile) ? "small" : "default",
|
|
3369
3369
|
ref_key: "tableRef",
|
|
@@ -3423,8 +3423,8 @@ const _sfc_main$f = {
|
|
|
3423
3423
|
};
|
|
3424
3424
|
}
|
|
3425
3425
|
};
|
|
3426
|
-
const SCTJScrollTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3427
|
-
const _sfc_main$
|
|
3426
|
+
const SCTJScrollTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-80cb4921"]]);
|
|
3427
|
+
const _sfc_main$f = {
|
|
3428
3428
|
__name: "index",
|
|
3429
3429
|
setup(__props) {
|
|
3430
3430
|
const { isMobile } = useMobile();
|
|
@@ -3473,9 +3473,9 @@ const _sfc_main$e = {
|
|
|
3473
3473
|
}
|
|
3474
3474
|
};
|
|
3475
3475
|
const index_vue_vue_type_style_index_0_scoped_48dc11be_lang = "";
|
|
3476
|
-
const _hoisted_1$
|
|
3477
|
-
const _hoisted_2$
|
|
3478
|
-
const _sfc_main$
|
|
3476
|
+
const _hoisted_1$c = { class: "table-page-container" };
|
|
3477
|
+
const _hoisted_2$9 = { style: { "flex": "1", "height": "0" } };
|
|
3478
|
+
const _sfc_main$e = {
|
|
3479
3479
|
__name: "index",
|
|
3480
3480
|
props: {
|
|
3481
3481
|
showSearch: {
|
|
@@ -3502,7 +3502,7 @@ const _sfc_main$d = {
|
|
|
3502
3502
|
emit("update:showSearch", !newVal);
|
|
3503
3503
|
}, { immediate: true });
|
|
3504
3504
|
return (_ctx, _cache) => {
|
|
3505
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3505
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
3506
3506
|
renderSlot(_ctx.$slots, "search", {}, void 0, true),
|
|
3507
3507
|
createVNode(SCTJTableTopActionContainer, {
|
|
3508
3508
|
showSearch: unref(outSearch),
|
|
@@ -3514,7 +3514,7 @@ const _sfc_main$d = {
|
|
|
3514
3514
|
]),
|
|
3515
3515
|
_: 3
|
|
3516
3516
|
}, 8, ["showSearch"]),
|
|
3517
|
-
createElementVNode("div", _hoisted_2$
|
|
3517
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
3518
3518
|
renderSlot(_ctx.$slots, "table", {}, void 0, true)
|
|
3519
3519
|
]),
|
|
3520
3520
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -3522,17 +3522,17 @@ const _sfc_main$d = {
|
|
|
3522
3522
|
};
|
|
3523
3523
|
}
|
|
3524
3524
|
};
|
|
3525
|
-
const SCTJTablePageContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3525
|
+
const SCTJTablePageContainer = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-48dc11be"]]);
|
|
3526
3526
|
const index_vue_vue_type_style_index_0_scoped_6e30b57f_lang = "";
|
|
3527
|
-
const _hoisted_1$
|
|
3527
|
+
const _hoisted_1$b = {
|
|
3528
3528
|
key: 0,
|
|
3529
3529
|
class: "search-container"
|
|
3530
3530
|
};
|
|
3531
|
-
const _hoisted_2$
|
|
3531
|
+
const _hoisted_2$8 = {
|
|
3532
3532
|
key: 1,
|
|
3533
3533
|
class: "custom-drawer"
|
|
3534
3534
|
};
|
|
3535
|
-
const _sfc_main$
|
|
3535
|
+
const _sfc_main$d = {
|
|
3536
3536
|
__name: "index",
|
|
3537
3537
|
props: {
|
|
3538
3538
|
visible: {
|
|
@@ -3549,7 +3549,7 @@ const _sfc_main$c = {
|
|
|
3549
3549
|
return (_ctx, _cache) => {
|
|
3550
3550
|
const _component_el_card = resolveComponent("el-card");
|
|
3551
3551
|
const _component_el_drawer = resolveComponent("el-drawer");
|
|
3552
|
-
return !unref(isMobile) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
3552
|
+
return !unref(isMobile) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
3553
3553
|
createVNode(_component_el_card, null, {
|
|
3554
3554
|
default: withCtx(() => [
|
|
3555
3555
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -3558,7 +3558,7 @@ const _sfc_main$c = {
|
|
|
3558
3558
|
})
|
|
3559
3559
|
], 512)), [
|
|
3560
3560
|
[vShow, __props.visible]
|
|
3561
|
-
]) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3561
|
+
]) : (openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
3562
3562
|
createVNode(_component_el_drawer, {
|
|
3563
3563
|
"model-value": __props.visible,
|
|
3564
3564
|
title: "\u7B5B\u9009\u6761\u4EF6",
|
|
@@ -3574,8 +3574,8 @@ const _sfc_main$c = {
|
|
|
3574
3574
|
};
|
|
3575
3575
|
}
|
|
3576
3576
|
};
|
|
3577
|
-
const SCTJSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3578
|
-
const _sfc_main$
|
|
3577
|
+
const SCTJSearch = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-6e30b57f"]]);
|
|
3578
|
+
const _sfc_main$c = {
|
|
3579
3579
|
__name: "BaseChart",
|
|
3580
3580
|
props: {
|
|
3581
3581
|
option: {
|
|
@@ -3678,15 +3678,15 @@ const _sfc_main$b = {
|
|
|
3678
3678
|
};
|
|
3679
3679
|
const emptyImg = "data:image/png;base64,";
|
|
3680
3680
|
const CommonChart_vue_vue_type_style_index_0_scoped_2f3b9e13_lang = "";
|
|
3681
|
-
const _withScopeId$
|
|
3682
|
-
const _hoisted_1$
|
|
3683
|
-
const _hoisted_2$
|
|
3681
|
+
const _withScopeId$5 = (n) => (pushScopeId("data-v-2f3b9e13"), n = n(), popScopeId(), n);
|
|
3682
|
+
const _hoisted_1$a = ["element-loading-background"];
|
|
3683
|
+
const _hoisted_2$7 = {
|
|
3684
3684
|
key: 1,
|
|
3685
3685
|
class: "empty-wrapper"
|
|
3686
3686
|
};
|
|
3687
|
-
const _hoisted_3$
|
|
3688
|
-
const _hoisted_4$
|
|
3689
|
-
const _sfc_main$
|
|
3687
|
+
const _hoisted_3$6 = ["src"];
|
|
3688
|
+
const _hoisted_4$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "empty-text" }, "\u6682\u65E0\u6570\u636E", -1));
|
|
3689
|
+
const _sfc_main$b = {
|
|
3690
3690
|
__name: "CommonChart",
|
|
3691
3691
|
props: {
|
|
3692
3692
|
height: { type: String, default: "300px" },
|
|
@@ -4210,22 +4210,22 @@ const _sfc_main$a = {
|
|
|
4210
4210
|
style: normalizeStyle({ height: __props.height }),
|
|
4211
4211
|
class: "card-body"
|
|
4212
4212
|
}, [
|
|
4213
|
-
!unref(isEmptyData) ? (openBlock(), createBlock(_sfc_main$
|
|
4213
|
+
!unref(isEmptyData) ? (openBlock(), createBlock(_sfc_main$c, {
|
|
4214
4214
|
key: 0,
|
|
4215
4215
|
onChartClick: handleChartClick,
|
|
4216
4216
|
onLegendselectchanged: handleLegendSelectChanged,
|
|
4217
4217
|
ref_key: "baseChartRef",
|
|
4218
4218
|
ref: baseChartRef,
|
|
4219
4219
|
option: unref(option)
|
|
4220
|
-
}, null, 8, ["option"])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4220
|
+
}, null, 8, ["option"])) : (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
4221
4221
|
createElementVNode("img", {
|
|
4222
4222
|
src: unref(emptyImg),
|
|
4223
4223
|
alt: "empty",
|
|
4224
4224
|
class: "empty-image"
|
|
4225
|
-
}, null, 8, _hoisted_3$
|
|
4226
|
-
_hoisted_4$
|
|
4225
|
+
}, null, 8, _hoisted_3$6),
|
|
4226
|
+
_hoisted_4$6
|
|
4227
4227
|
]))
|
|
4228
|
-
], 12, _hoisted_1$
|
|
4228
|
+
], 12, _hoisted_1$a)), [
|
|
4229
4229
|
[_directive_loading, __props.loading]
|
|
4230
4230
|
])
|
|
4231
4231
|
]),
|
|
@@ -4252,10 +4252,10 @@ const _sfc_main$a = {
|
|
|
4252
4252
|
};
|
|
4253
4253
|
}
|
|
4254
4254
|
};
|
|
4255
|
-
const SCTJCommonChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4255
|
+
const SCTJCommonChart = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-2f3b9e13"]]);
|
|
4256
4256
|
const PieChart_vue_vue_type_style_index_0_scoped_747db0fa_lang = "";
|
|
4257
|
-
const _hoisted_1$
|
|
4258
|
-
const _sfc_main$
|
|
4257
|
+
const _hoisted_1$9 = ["element-loading-background"];
|
|
4258
|
+
const _sfc_main$a = {
|
|
4259
4259
|
__name: "PieChart",
|
|
4260
4260
|
props: {
|
|
4261
4261
|
title: { type: String, required: true },
|
|
@@ -4480,13 +4480,13 @@ const _sfc_main$9 = {
|
|
|
4480
4480
|
style: normalizeStyle({ height: __props.height }),
|
|
4481
4481
|
class: "card-body"
|
|
4482
4482
|
}, [
|
|
4483
|
-
createVNode(_sfc_main$
|
|
4483
|
+
createVNode(_sfc_main$c, {
|
|
4484
4484
|
ref_key: "baseChart",
|
|
4485
4485
|
ref: baseChart,
|
|
4486
4486
|
option: unref(chartOption),
|
|
4487
4487
|
height: "100%"
|
|
4488
4488
|
}, null, 8, ["option"])
|
|
4489
|
-
], 12, _hoisted_1$
|
|
4489
|
+
], 12, _hoisted_1$9)), [
|
|
4490
4490
|
[_directive_loading, __props.loading]
|
|
4491
4491
|
])
|
|
4492
4492
|
]),
|
|
@@ -4495,7 +4495,7 @@ const _sfc_main$9 = {
|
|
|
4495
4495
|
};
|
|
4496
4496
|
}
|
|
4497
4497
|
};
|
|
4498
|
-
const SCTJPieChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4498
|
+
const SCTJPieChart = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-747db0fa"]]);
|
|
4499
4499
|
const generateShortId = () => {
|
|
4500
4500
|
return Math.random().toString(36).substring(2, 8);
|
|
4501
4501
|
};
|
|
@@ -4522,19 +4522,19 @@ const validateCoordinates = (longitude, latitude) => {
|
|
|
4522
4522
|
return true;
|
|
4523
4523
|
};
|
|
4524
4524
|
const index_vue_vue_type_style_index_0_scoped_c613bad1_lang = "";
|
|
4525
|
-
const _withScopeId$
|
|
4526
|
-
const _hoisted_1$
|
|
4527
|
-
const _hoisted_2$
|
|
4525
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-c613bad1"), n = n(), popScopeId(), n);
|
|
4526
|
+
const _hoisted_1$8 = ["id"];
|
|
4527
|
+
const _hoisted_2$6 = {
|
|
4528
4528
|
key: 0,
|
|
4529
4529
|
class: "error-content"
|
|
4530
4530
|
};
|
|
4531
|
-
const _hoisted_3$
|
|
4532
|
-
const _hoisted_4$
|
|
4531
|
+
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "error-icon" }, "!", -1));
|
|
4532
|
+
const _hoisted_4$5 = {
|
|
4533
4533
|
key: 1,
|
|
4534
4534
|
class: "loading-overlay"
|
|
4535
4535
|
};
|
|
4536
|
-
const _hoisted_5$
|
|
4537
|
-
const _sfc_main$
|
|
4536
|
+
const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("p", null, "\u6B63\u5728\u52A0\u8F7D\u64AD\u653E\u5668...", -1));
|
|
4537
|
+
const _sfc_main$9 = {
|
|
4538
4538
|
__name: "index",
|
|
4539
4539
|
props: {
|
|
4540
4540
|
playerId: {
|
|
@@ -4819,9 +4819,9 @@ const _sfc_main$8 = {
|
|
|
4819
4819
|
class: "video-js",
|
|
4820
4820
|
controls: ""
|
|
4821
4821
|
}, null, 512)
|
|
4822
|
-
], 8, _hoisted_1$
|
|
4823
|
-
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4824
|
-
_hoisted_3$
|
|
4822
|
+
], 8, _hoisted_1$8),
|
|
4823
|
+
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
4824
|
+
_hoisted_3$5,
|
|
4825
4825
|
createElementVNode("p", null, toDisplayString(errorMessage.value), 1),
|
|
4826
4826
|
createVNode(unref(ElButton), {
|
|
4827
4827
|
type: "primary",
|
|
@@ -4835,22 +4835,22 @@ const _sfc_main$8 = {
|
|
|
4835
4835
|
_: 1
|
|
4836
4836
|
})
|
|
4837
4837
|
])) : createCommentVNode("", true),
|
|
4838
|
-
!errorMessage.value && !player.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4838
|
+
!errorMessage.value && !player.value ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
4839
4839
|
createVNode(unref(ElIcon), { class: "loading-icon" }, {
|
|
4840
4840
|
default: withCtx(() => [
|
|
4841
4841
|
createVNode(unref(Loading))
|
|
4842
4842
|
]),
|
|
4843
4843
|
_: 1
|
|
4844
4844
|
}),
|
|
4845
|
-
_hoisted_5$
|
|
4845
|
+
_hoisted_5$4
|
|
4846
4846
|
])) : createCommentVNode("", true)
|
|
4847
4847
|
], 512);
|
|
4848
4848
|
};
|
|
4849
4849
|
}
|
|
4850
4850
|
};
|
|
4851
|
-
const SCTJFlvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4852
|
-
const _hoisted_1$
|
|
4853
|
-
const _sfc_main$
|
|
4851
|
+
const SCTJFlvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-c613bad1"]]);
|
|
4852
|
+
const _hoisted_1$7 = ["src"];
|
|
4853
|
+
const _sfc_main$8 = {
|
|
4854
4854
|
__name: "index",
|
|
4855
4855
|
props: {
|
|
4856
4856
|
src: {
|
|
@@ -4881,25 +4881,25 @@ const _sfc_main$7 = {
|
|
|
4881
4881
|
frameborder: "no",
|
|
4882
4882
|
style: { "width": "100%", "height": "100%" },
|
|
4883
4883
|
scrolling: "auto"
|
|
4884
|
-
}, null, 8, _hoisted_1$
|
|
4884
|
+
}, null, 8, _hoisted_1$7)
|
|
4885
4885
|
], 4)), [
|
|
4886
4886
|
[_directive_loading, unref(loading)]
|
|
4887
4887
|
]);
|
|
4888
4888
|
};
|
|
4889
4889
|
}
|
|
4890
4890
|
};
|
|
4891
|
-
const _hoisted_1$
|
|
4891
|
+
const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("div", { class: "el-upload__text" }, [
|
|
4892
4892
|
/* @__PURE__ */ createTextVNode("\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\uFF0C\u6216"),
|
|
4893
4893
|
/* @__PURE__ */ createElementVNode("em", null, "\u70B9\u51FB\u4E0A\u4F20")
|
|
4894
4894
|
], -1);
|
|
4895
|
-
const _hoisted_2$
|
|
4896
|
-
const _hoisted_3$
|
|
4895
|
+
const _hoisted_2$5 = { class: "el-upload__tip text-center" };
|
|
4896
|
+
const _hoisted_3$4 = {
|
|
4897
4897
|
key: 0,
|
|
4898
4898
|
class: "el-upload__tip"
|
|
4899
4899
|
};
|
|
4900
|
-
const _hoisted_4$
|
|
4901
|
-
const _hoisted_5$
|
|
4902
|
-
const _sfc_main$
|
|
4900
|
+
const _hoisted_4$4 = /* @__PURE__ */ createElementVNode("span", null, "\u4EC5\u5141\u8BB8\u5BFC\u5165xls\u3001xlsx\u683C\u5F0F\u6587\u4EF6\u3002", -1);
|
|
4901
|
+
const _hoisted_5$3 = { class: "dialog-footer" };
|
|
4902
|
+
const _sfc_main$7 = {
|
|
4903
4903
|
__name: "index",
|
|
4904
4904
|
props: {
|
|
4905
4905
|
title: {
|
|
@@ -5088,7 +5088,7 @@ const _sfc_main$6 = {
|
|
|
5088
5088
|
onClose: cancel
|
|
5089
5089
|
}, {
|
|
5090
5090
|
footer: withCtx(() => [
|
|
5091
|
-
createElementVNode("div", _hoisted_5$
|
|
5091
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
5092
5092
|
createVNode(_component_el_button, {
|
|
5093
5093
|
onClick: _cache[2] || (_cache[2] = ($event) => params.open = false)
|
|
5094
5094
|
}, {
|
|
@@ -5124,15 +5124,15 @@ const _sfc_main$6 = {
|
|
|
5124
5124
|
drag: ""
|
|
5125
5125
|
}, {
|
|
5126
5126
|
tip: withCtx(() => [
|
|
5127
|
-
createElementVNode("div", _hoisted_2$
|
|
5128
|
-
__props.showCheckBox ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5127
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
5128
|
+
__props.showCheckBox ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
5129
5129
|
createVNode(_component_el_checkbox, {
|
|
5130
5130
|
modelValue: params.updateSupport,
|
|
5131
5131
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => params.updateSupport = $event)
|
|
5132
5132
|
}, null, 8, ["modelValue"]),
|
|
5133
5133
|
createTextVNode(" \u662F\u5426\u66F4\u65B0\u5DF2\u7ECF\u5B58\u5728\u7684\u6570\u636E ")
|
|
5134
5134
|
])) : createCommentVNode("", true),
|
|
5135
|
-
_hoisted_4$
|
|
5135
|
+
_hoisted_4$4,
|
|
5136
5136
|
!__props.otherTemplate.length ? (openBlock(), createBlock(_component_el_link, {
|
|
5137
5137
|
key: 1,
|
|
5138
5138
|
type: "primary",
|
|
@@ -5195,7 +5195,7 @@ const _sfc_main$6 = {
|
|
|
5195
5195
|
]),
|
|
5196
5196
|
_: 1
|
|
5197
5197
|
}),
|
|
5198
|
-
_hoisted_1$
|
|
5198
|
+
_hoisted_1$6
|
|
5199
5199
|
]),
|
|
5200
5200
|
_: 1
|
|
5201
5201
|
}, 8, ["headers", "action", "disabled"])
|
|
@@ -5206,12 +5206,12 @@ const _sfc_main$6 = {
|
|
|
5206
5206
|
}
|
|
5207
5207
|
};
|
|
5208
5208
|
const index_vue_vue_type_style_index_0_scoped_ae15bc12_lang = "";
|
|
5209
|
-
const _hoisted_1$
|
|
5210
|
-
const _hoisted_2$
|
|
5209
|
+
const _hoisted_1$5 = { class: "action-container" };
|
|
5210
|
+
const _hoisted_2$4 = {
|
|
5211
5211
|
key: 0,
|
|
5212
5212
|
class: "legendContainer"
|
|
5213
5213
|
};
|
|
5214
|
-
const _sfc_main$
|
|
5214
|
+
const _sfc_main$6 = {
|
|
5215
5215
|
__name: "index",
|
|
5216
5216
|
props: {
|
|
5217
5217
|
legendConfig: {
|
|
@@ -6155,8 +6155,8 @@ const _sfc_main$5 = {
|
|
|
6155
6155
|
ref: mapContainer,
|
|
6156
6156
|
style: normalizeStyle(unref(controlsPositionVars))
|
|
6157
6157
|
}, [
|
|
6158
|
-
createElementVNode("div", _hoisted_1$
|
|
6159
|
-
__props.legendConfig.length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6158
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
6159
|
+
__props.legendConfig.length ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
6160
6160
|
createVNode(_component_el_checkbox_group, {
|
|
6161
6161
|
modelValue: legend.value,
|
|
6162
6162
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => legend.value = $event),
|
|
@@ -6183,28 +6183,28 @@ const _sfc_main$5 = {
|
|
|
6183
6183
|
};
|
|
6184
6184
|
}
|
|
6185
6185
|
};
|
|
6186
|
-
const SCTJMapViewer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6186
|
+
const SCTJMapViewer = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-ae15bc12"]]);
|
|
6187
6187
|
const index_vue_vue_type_style_index_0_scoped_761d2ab4_lang = "";
|
|
6188
|
-
const _withScopeId$
|
|
6189
|
-
const _hoisted_1$
|
|
6188
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-761d2ab4"), n = n(), popScopeId(), n);
|
|
6189
|
+
const _hoisted_1$4 = {
|
|
6190
6190
|
key: 0,
|
|
6191
6191
|
class: "btn-container"
|
|
6192
6192
|
};
|
|
6193
|
-
const _hoisted_2$
|
|
6194
|
-
const _hoisted_3$
|
|
6193
|
+
const _hoisted_2$3 = { class: "help-button-container" };
|
|
6194
|
+
const _hoisted_3$3 = {
|
|
6195
6195
|
key: 0,
|
|
6196
6196
|
class: "layer-switch"
|
|
6197
6197
|
};
|
|
6198
|
-
const _hoisted_4$
|
|
6199
|
-
const _hoisted_5$
|
|
6200
|
-
const _hoisted_6$
|
|
6201
|
-
const _hoisted_7$
|
|
6202
|
-
const _hoisted_8$
|
|
6203
|
-
const _hoisted_9$
|
|
6204
|
-
const _hoisted_10$
|
|
6198
|
+
const _hoisted_4$3 = { class: "search-container" };
|
|
6199
|
+
const _hoisted_5$2 = { class: "place-suggestion-item" };
|
|
6200
|
+
const _hoisted_6$2 = { class: "name" };
|
|
6201
|
+
const _hoisted_7$2 = { class: "address" };
|
|
6202
|
+
const _hoisted_8$2 = { class: "search-container" };
|
|
6203
|
+
const _hoisted_9$2 = { class: "delete-buttons" };
|
|
6204
|
+
const _hoisted_10$2 = { key: 0 };
|
|
6205
6205
|
const _hoisted_11$1 = { key: 0 };
|
|
6206
6206
|
const _hoisted_12$1 = { class: "dialog-footer" };
|
|
6207
|
-
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$
|
|
6207
|
+
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
6208
6208
|
/* @__PURE__ */ createElementVNode("div", { class: "guide-section" }, [
|
|
6209
6209
|
/* @__PURE__ */ createElementVNode("strong", null, "\u5F00\u59CB\u7ED8\u5236\uFF1A"),
|
|
6210
6210
|
/* @__PURE__ */ createElementVNode("ul", null, [
|
|
@@ -6248,7 +6248,7 @@ const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ creat
|
|
|
6248
6248
|
])
|
|
6249
6249
|
], -1));
|
|
6250
6250
|
const _hoisted_14$1 = { class: "dialog-footer" };
|
|
6251
|
-
const _sfc_main$
|
|
6251
|
+
const _sfc_main$5 = {
|
|
6252
6252
|
__name: "index",
|
|
6253
6253
|
props: {
|
|
6254
6254
|
title: {
|
|
@@ -7590,10 +7590,10 @@ const _sfc_main$4 = {
|
|
|
7590
7590
|
ref_key: "mapContainer",
|
|
7591
7591
|
ref: mapContainer
|
|
7592
7592
|
}, null, 512),
|
|
7593
|
-
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7593
|
+
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
7594
7594
|
createVNode(_component_el_card, { shadow: "never" }, {
|
|
7595
7595
|
default: withCtx(() => [
|
|
7596
|
-
createElementVNode("div", _hoisted_2$
|
|
7596
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
7597
7597
|
createVNode(_component_el_button, {
|
|
7598
7598
|
type: "primary",
|
|
7599
7599
|
icon: unref(QuestionFilled),
|
|
@@ -7606,7 +7606,7 @@ const _sfc_main$4 = {
|
|
|
7606
7606
|
_: 1
|
|
7607
7607
|
}, 8, ["icon"])
|
|
7608
7608
|
]),
|
|
7609
|
-
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7609
|
+
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
7610
7610
|
createVNode(_component_el_switch, {
|
|
7611
7611
|
modelValue: isSatellite.value,
|
|
7612
7612
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isSatellite.value = $event),
|
|
@@ -7624,7 +7624,7 @@ const _sfc_main$4 = {
|
|
|
7624
7624
|
]),
|
|
7625
7625
|
_: 1
|
|
7626
7626
|
})) : createCommentVNode("", true),
|
|
7627
|
-
createElementVNode("div", _hoisted_4$
|
|
7627
|
+
createElementVNode("div", _hoisted_4$3, [
|
|
7628
7628
|
createVNode(_component_el_autocomplete, {
|
|
7629
7629
|
modelValue: searchKeyword.value,
|
|
7630
7630
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchKeyword.value = $event),
|
|
@@ -7635,9 +7635,9 @@ const _sfc_main$4 = {
|
|
|
7635
7635
|
class: "place-search-input"
|
|
7636
7636
|
}, {
|
|
7637
7637
|
default: withCtx(({ item }) => [
|
|
7638
|
-
createElementVNode("div", _hoisted_5$
|
|
7639
|
-
createElementVNode("div", _hoisted_6$
|
|
7640
|
-
createElementVNode("div", _hoisted_7$
|
|
7638
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
7639
|
+
createElementVNode("div", _hoisted_6$2, toDisplayString(item.name), 1),
|
|
7640
|
+
createElementVNode("div", _hoisted_7$2, toDisplayString(item.address), 1)
|
|
7641
7641
|
])
|
|
7642
7642
|
]),
|
|
7643
7643
|
_: 1
|
|
@@ -7652,7 +7652,7 @@ const _sfc_main$4 = {
|
|
|
7652
7652
|
]),
|
|
7653
7653
|
_: 1
|
|
7654
7654
|
})) : createCommentVNode("", true),
|
|
7655
|
-
createElementVNode("div", _hoisted_8$
|
|
7655
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
7656
7656
|
createVNode(_component_el_input, {
|
|
7657
7657
|
modelValue: searchLngLat.value,
|
|
7658
7658
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => searchLngLat.value = $event),
|
|
@@ -7692,7 +7692,7 @@ const _sfc_main$4 = {
|
|
|
7692
7692
|
]),
|
|
7693
7693
|
_: 1
|
|
7694
7694
|
}, 8, ["modelValue"]),
|
|
7695
|
-
createElementVNode("div", _hoisted_9$
|
|
7695
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
7696
7696
|
!unref(isMobile) ? (openBlock(), createBlock(_component_el_divider, {
|
|
7697
7697
|
key: 0,
|
|
7698
7698
|
"content-position": "center"
|
|
@@ -7712,7 +7712,7 @@ const _sfc_main$4 = {
|
|
|
7712
7712
|
}, {
|
|
7713
7713
|
default: withCtx(() => [
|
|
7714
7714
|
createTextVNode(" \u5220\u9664\u6240\u6709" + toDisplayString(getButtonLabel(type)) + " ", 1),
|
|
7715
|
-
getCountByType(type) > 0 ? (openBlock(), createElementBlock("span", _hoisted_10$
|
|
7715
|
+
getCountByType(type) > 0 ? (openBlock(), createElementBlock("span", _hoisted_10$2, "(" + toDisplayString(getCountByType(type)) + ")", 1)) : createCommentVNode("", true)
|
|
7716
7716
|
]),
|
|
7717
7717
|
_: 2
|
|
7718
7718
|
}, 1032, ["onClick", "disabled"]);
|
|
@@ -7778,28 +7778,28 @@ const _sfc_main$4 = {
|
|
|
7778
7778
|
};
|
|
7779
7779
|
}
|
|
7780
7780
|
};
|
|
7781
|
-
const SCTJMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7781
|
+
const SCTJMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-761d2ab4"]]);
|
|
7782
7782
|
const index_vue_vue_type_style_index_0_scoped_d0bea808_lang = "";
|
|
7783
|
-
const _withScopeId$
|
|
7784
|
-
const _hoisted_1$
|
|
7783
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-d0bea808"), n = n(), popScopeId(), n);
|
|
7784
|
+
const _hoisted_1$3 = {
|
|
7785
7785
|
key: 0,
|
|
7786
7786
|
class: "btn-container"
|
|
7787
7787
|
};
|
|
7788
|
-
const _hoisted_2$
|
|
7789
|
-
const _hoisted_3$
|
|
7788
|
+
const _hoisted_2$2 = { class: "help-button-container" };
|
|
7789
|
+
const _hoisted_3$2 = {
|
|
7790
7790
|
key: 0,
|
|
7791
7791
|
class: "layer-switch"
|
|
7792
7792
|
};
|
|
7793
|
-
const _hoisted_4$
|
|
7794
|
-
const _hoisted_5 = { class: "place-suggestion-item" };
|
|
7795
|
-
const _hoisted_6 = { class: "name" };
|
|
7796
|
-
const _hoisted_7 = { class: "address" };
|
|
7797
|
-
const _hoisted_8 = { class: "search-container" };
|
|
7798
|
-
const _hoisted_9 = { class: "delete-buttons" };
|
|
7799
|
-
const _hoisted_10 = { key: 0 };
|
|
7793
|
+
const _hoisted_4$2 = { class: "search-container" };
|
|
7794
|
+
const _hoisted_5$1 = { class: "place-suggestion-item" };
|
|
7795
|
+
const _hoisted_6$1 = { class: "name" };
|
|
7796
|
+
const _hoisted_7$1 = { class: "address" };
|
|
7797
|
+
const _hoisted_8$1 = { class: "search-container" };
|
|
7798
|
+
const _hoisted_9$1 = { class: "delete-buttons" };
|
|
7799
|
+
const _hoisted_10$1 = { key: 0 };
|
|
7800
7800
|
const _hoisted_11 = { key: 0 };
|
|
7801
7801
|
const _hoisted_12 = { class: "dialog-footer" };
|
|
7802
|
-
const _hoisted_13 = /* @__PURE__ */ _withScopeId$
|
|
7802
|
+
const _hoisted_13 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
7803
7803
|
/* @__PURE__ */ createElementVNode("div", { class: "guide-section" }, [
|
|
7804
7804
|
/* @__PURE__ */ createElementVNode("strong", null, "\u5F00\u59CB\u7ED8\u5236\uFF1A"),
|
|
7805
7805
|
/* @__PURE__ */ createElementVNode("ul", null, [
|
|
@@ -7843,7 +7843,7 @@ const _hoisted_13 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createE
|
|
|
7843
7843
|
])
|
|
7844
7844
|
], -1));
|
|
7845
7845
|
const _hoisted_14 = { class: "dialog-footer" };
|
|
7846
|
-
const _sfc_main$
|
|
7846
|
+
const _sfc_main$4 = {
|
|
7847
7847
|
__name: "index",
|
|
7848
7848
|
props: {
|
|
7849
7849
|
title: {
|
|
@@ -9390,10 +9390,10 @@ const _sfc_main$3 = {
|
|
|
9390
9390
|
ref_key: "mapContainer",
|
|
9391
9391
|
ref: mapContainer
|
|
9392
9392
|
}, null, 512),
|
|
9393
|
-
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9393
|
+
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
9394
9394
|
createVNode(_component_el_card, { shadow: "never" }, {
|
|
9395
9395
|
default: withCtx(() => [
|
|
9396
|
-
createElementVNode("div", _hoisted_2$
|
|
9396
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
9397
9397
|
createVNode(_component_el_button, {
|
|
9398
9398
|
type: "primary",
|
|
9399
9399
|
icon: unref(QuestionFilled),
|
|
@@ -9406,7 +9406,7 @@ const _sfc_main$3 = {
|
|
|
9406
9406
|
_: 1
|
|
9407
9407
|
}, 8, ["icon"])
|
|
9408
9408
|
]),
|
|
9409
|
-
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
9409
|
+
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
9410
9410
|
createVNode(_component_el_switch, {
|
|
9411
9411
|
modelValue: isSatellite.value,
|
|
9412
9412
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isSatellite.value = $event),
|
|
@@ -9424,7 +9424,7 @@ const _sfc_main$3 = {
|
|
|
9424
9424
|
]),
|
|
9425
9425
|
_: 1
|
|
9426
9426
|
})) : createCommentVNode("", true),
|
|
9427
|
-
createElementVNode("div", _hoisted_4$
|
|
9427
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
9428
9428
|
createVNode(_component_el_autocomplete, {
|
|
9429
9429
|
modelValue: searchKeyword.value,
|
|
9430
9430
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchKeyword.value = $event),
|
|
@@ -9435,9 +9435,9 @@ const _sfc_main$3 = {
|
|
|
9435
9435
|
class: "place-search-input"
|
|
9436
9436
|
}, {
|
|
9437
9437
|
default: withCtx(({ item }) => [
|
|
9438
|
-
createElementVNode("div", _hoisted_5, [
|
|
9439
|
-
createElementVNode("div", _hoisted_6, toDisplayString(item.name), 1),
|
|
9440
|
-
createElementVNode("div", _hoisted_7, toDisplayString(item.address), 1)
|
|
9438
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
9439
|
+
createElementVNode("div", _hoisted_6$1, toDisplayString(item.name), 1),
|
|
9440
|
+
createElementVNode("div", _hoisted_7$1, toDisplayString(item.address), 1)
|
|
9441
9441
|
])
|
|
9442
9442
|
]),
|
|
9443
9443
|
_: 1
|
|
@@ -9452,7 +9452,7 @@ const _sfc_main$3 = {
|
|
|
9452
9452
|
]),
|
|
9453
9453
|
_: 1
|
|
9454
9454
|
})) : createCommentVNode("", true),
|
|
9455
|
-
createElementVNode("div", _hoisted_8, [
|
|
9455
|
+
createElementVNode("div", _hoisted_8$1, [
|
|
9456
9456
|
createVNode(_component_el_input, {
|
|
9457
9457
|
modelValue: searchLngLat.value,
|
|
9458
9458
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => searchLngLat.value = $event),
|
|
@@ -9523,7 +9523,7 @@ const _sfc_main$3 = {
|
|
|
9523
9523
|
]),
|
|
9524
9524
|
_: 1
|
|
9525
9525
|
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
9526
|
-
createElementVNode("div", _hoisted_9, [
|
|
9526
|
+
createElementVNode("div", _hoisted_9$1, [
|
|
9527
9527
|
!unref(isMobile) ? (openBlock(), createBlock(_component_el_divider, {
|
|
9528
9528
|
key: 0,
|
|
9529
9529
|
"content-position": "center"
|
|
@@ -9543,7 +9543,7 @@ const _sfc_main$3 = {
|
|
|
9543
9543
|
}, {
|
|
9544
9544
|
default: withCtx(() => [
|
|
9545
9545
|
createTextVNode(" \u5220\u9664\u6240\u6709" + toDisplayString(business.label) + " ", 1),
|
|
9546
|
-
getCountByBusiness(business.key) > 0 ? (openBlock(), createElementBlock("span", _hoisted_10, "(" + toDisplayString(getCountByBusiness(business.key)) + ")", 1)) : createCommentVNode("", true)
|
|
9546
|
+
getCountByBusiness(business.key) > 0 ? (openBlock(), createElementBlock("span", _hoisted_10$1, "(" + toDisplayString(getCountByBusiness(business.key)) + ")", 1)) : createCommentVNode("", true)
|
|
9547
9547
|
]),
|
|
9548
9548
|
_: 2
|
|
9549
9549
|
}, 1032, ["onClick", "disabled"]);
|
|
@@ -9609,10 +9609,10 @@ const _sfc_main$3 = {
|
|
|
9609
9609
|
};
|
|
9610
9610
|
}
|
|
9611
9611
|
};
|
|
9612
|
-
const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9613
|
-
const
|
|
9614
|
-
const _hoisted_1$
|
|
9615
|
-
const _sfc_main$
|
|
9612
|
+
const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d0bea808"]]);
|
|
9613
|
+
const index_vue_vue_type_style_index_0_scoped_27971162_lang = "";
|
|
9614
|
+
const _hoisted_1$2 = { class: "controls" };
|
|
9615
|
+
const _sfc_main$3 = {
|
|
9616
9616
|
__name: "index",
|
|
9617
9617
|
props: {
|
|
9618
9618
|
center: {
|
|
@@ -9662,7 +9662,7 @@ const _sfc_main$2 = {
|
|
|
9662
9662
|
const startMarker = ref$1(null);
|
|
9663
9663
|
const endMarker = ref$1(null);
|
|
9664
9664
|
const isPlaying = ref$1(false);
|
|
9665
|
-
const playSpeed = ref$1(
|
|
9665
|
+
const playSpeed = ref$1(12.5);
|
|
9666
9666
|
const passedPolyline = ref$1(null);
|
|
9667
9667
|
const isPlayed = ref$1(false);
|
|
9668
9668
|
let AMapInstance = null;
|
|
@@ -9761,7 +9761,7 @@ const _sfc_main$2 = {
|
|
|
9761
9761
|
isPlaying.value = true;
|
|
9762
9762
|
const path = formatPath(props.pathPoints);
|
|
9763
9763
|
moveMarker.value.moveAlong(path, {
|
|
9764
|
-
duration:
|
|
9764
|
+
duration: playSpeed.value,
|
|
9765
9765
|
autoRotation: true
|
|
9766
9766
|
});
|
|
9767
9767
|
};
|
|
@@ -9841,7 +9841,7 @@ const _sfc_main$2 = {
|
|
|
9841
9841
|
ref: mapContainerRef,
|
|
9842
9842
|
class: "map-container"
|
|
9843
9843
|
}, null, 512),
|
|
9844
|
-
createElementVNode("div", _hoisted_1$
|
|
9844
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
9845
9845
|
createVNode(_component_el_button_group, null, {
|
|
9846
9846
|
default: withCtx(() => [
|
|
9847
9847
|
createVNode(_component_el_button, {
|
|
@@ -9883,19 +9883,19 @@ const _sfc_main$2 = {
|
|
|
9883
9883
|
}, {
|
|
9884
9884
|
default: withCtx(() => [
|
|
9885
9885
|
createVNode(_component_el_option, {
|
|
9886
|
-
value:
|
|
9886
|
+
value: 100,
|
|
9887
9887
|
label: "1x"
|
|
9888
9888
|
}),
|
|
9889
9889
|
createVNode(_component_el_option, {
|
|
9890
|
-
value:
|
|
9890
|
+
value: 50,
|
|
9891
9891
|
label: "2x"
|
|
9892
9892
|
}),
|
|
9893
9893
|
createVNode(_component_el_option, {
|
|
9894
|
-
value:
|
|
9894
|
+
value: 25,
|
|
9895
9895
|
label: "4x"
|
|
9896
|
-
}
|
|
9896
|
+
}),
|
|
9897
9897
|
createVNode(_component_el_option, {
|
|
9898
|
-
value:
|
|
9898
|
+
value: 12.5,
|
|
9899
9899
|
label: "8x"
|
|
9900
9900
|
}, null, 8, ["value"])
|
|
9901
9901
|
]),
|
|
@@ -9906,17 +9906,17 @@ const _sfc_main$2 = {
|
|
|
9906
9906
|
};
|
|
9907
9907
|
}
|
|
9908
9908
|
};
|
|
9909
|
-
const SCTJTrackPlayback = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9909
|
+
const SCTJTrackPlayback = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-27971162"]]);
|
|
9910
9910
|
const BimViewer_vue_vue_type_style_index_0_scoped_89f55b38_lang = "";
|
|
9911
|
-
const _withScopeId = (n) => (pushScopeId("data-v-89f55b38"), n = n(), popScopeId(), n);
|
|
9912
|
-
const _hoisted_1 = {
|
|
9911
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-89f55b38"), n = n(), popScopeId(), n);
|
|
9912
|
+
const _hoisted_1$1 = {
|
|
9913
9913
|
key: 0,
|
|
9914
9914
|
class: "error-overlay"
|
|
9915
9915
|
};
|
|
9916
|
-
const _hoisted_2 = { class: "error-content" };
|
|
9917
|
-
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "error-icon" }, "\u26A0\uFE0F", -1));
|
|
9918
|
-
const _hoisted_4 = { class: "error-text" };
|
|
9919
|
-
const _sfc_main$
|
|
9916
|
+
const _hoisted_2$1 = { class: "error-content" };
|
|
9917
|
+
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "error-icon" }, "\u26A0\uFE0F", -1));
|
|
9918
|
+
const _hoisted_4$1 = { class: "error-text" };
|
|
9919
|
+
const _sfc_main$2 = {
|
|
9920
9920
|
__name: "BimViewer",
|
|
9921
9921
|
props: {
|
|
9922
9922
|
viewToken: {
|
|
@@ -10234,10 +10234,10 @@ const _sfc_main$1 = {
|
|
|
10234
10234
|
ref_key: "bimContainer",
|
|
10235
10235
|
ref: bimContainer
|
|
10236
10236
|
}, [
|
|
10237
|
-
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
10238
|
-
createElementVNode("div", _hoisted_2, [
|
|
10239
|
-
_hoisted_3,
|
|
10240
|
-
createElementVNode("div", _hoisted_4, toDisplayString(errorMessage.value), 1),
|
|
10237
|
+
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
10238
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
10239
|
+
_hoisted_3$1,
|
|
10240
|
+
createElementVNode("div", _hoisted_4$1, toDisplayString(errorMessage.value), 1),
|
|
10241
10241
|
createVNode(_component_el_button, {
|
|
10242
10242
|
type: "primary",
|
|
10243
10243
|
size: "small",
|
|
@@ -10256,9 +10256,9 @@ const _sfc_main$1 = {
|
|
|
10256
10256
|
};
|
|
10257
10257
|
}
|
|
10258
10258
|
};
|
|
10259
|
-
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10259
|
+
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-89f55b38"]]);
|
|
10260
10260
|
const DwgViewer_vue_vue_type_style_index_0_scoped_ab9c8ebd_lang = "";
|
|
10261
|
-
const _sfc_main = {
|
|
10261
|
+
const _sfc_main$1 = {
|
|
10262
10262
|
__name: "DwgViewer",
|
|
10263
10263
|
props: {
|
|
10264
10264
|
viewToken: {
|
|
@@ -10496,32 +10496,468 @@ const _sfc_main = {
|
|
|
10496
10496
|
};
|
|
10497
10497
|
}
|
|
10498
10498
|
};
|
|
10499
|
-
const SCTJDwgViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ab9c8ebd"]]);
|
|
10499
|
+
const SCTJDwgViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ab9c8ebd"]]);
|
|
10500
|
+
const ModelCompare_vue_vue_type_style_index_0_scoped_3019374b_lang = "";
|
|
10501
|
+
const _withScopeId = (n) => (pushScopeId("data-v-3019374b"), n = n(), popScopeId(), n);
|
|
10502
|
+
const _hoisted_1 = { class: "panel-title" };
|
|
10503
|
+
const _hoisted_2 = { class: "panel prev" };
|
|
10504
|
+
const _hoisted_3 = { class: "panel-title" };
|
|
10505
|
+
const _hoisted_4 = { class: "compare-content" };
|
|
10506
|
+
const _hoisted_5 = { class: "component-list" };
|
|
10507
|
+
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "tit" }, "\u4FEE\u6539\u6784\u4EF6\u5217\u8868", -1));
|
|
10508
|
+
const _hoisted_7 = { class: "type-mode" };
|
|
10509
|
+
const _hoisted_8 = ["onClick"];
|
|
10510
|
+
const _hoisted_9 = ["data-oid", "onClick"];
|
|
10511
|
+
const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "check checked" }, null, -1));
|
|
10512
|
+
const _sfc_main = {
|
|
10513
|
+
__name: "ModelCompare",
|
|
10514
|
+
props: {
|
|
10515
|
+
prevToken: {
|
|
10516
|
+
type: String,
|
|
10517
|
+
default: "069e600081374097be18f62dfaf85bee"
|
|
10518
|
+
},
|
|
10519
|
+
latestToken: {
|
|
10520
|
+
type: String,
|
|
10521
|
+
default: "ce5cdbebc70f4ee280d78153c60076ac"
|
|
10522
|
+
},
|
|
10523
|
+
compareToken: {
|
|
10524
|
+
type: String,
|
|
10525
|
+
default: "c9a3ee6c80684d8e9fe1420a82715ae5"
|
|
10526
|
+
}
|
|
10527
|
+
},
|
|
10528
|
+
setup(__props) {
|
|
10529
|
+
const props = __props;
|
|
10530
|
+
const containerRef = ref$1(null);
|
|
10531
|
+
const latestRef = ref$1(null);
|
|
10532
|
+
const prevRef = ref$1(null);
|
|
10533
|
+
const latestVersionLabel = ref$1("");
|
|
10534
|
+
const prevVersionLabel = ref$1("");
|
|
10535
|
+
const focus = ref$1(void 0);
|
|
10536
|
+
let latestApp = null;
|
|
10537
|
+
let prevApp = null;
|
|
10538
|
+
let prevViewer = null;
|
|
10539
|
+
let latestViewer = null;
|
|
10540
|
+
let view1Bind = null;
|
|
10541
|
+
let view2Bind = null;
|
|
10542
|
+
let view1El = null;
|
|
10543
|
+
let view2El = null;
|
|
10544
|
+
let onMouseMoveHandler = null;
|
|
10545
|
+
let onView1MouseOverHandler = null;
|
|
10546
|
+
let onView2MouseOverHandler = null;
|
|
10547
|
+
let onPrevHoverChangedHandler = null;
|
|
10548
|
+
let onLatestHoverChangedHandler = null;
|
|
10549
|
+
const newItems = ref$1([]);
|
|
10550
|
+
const deleteItems = ref$1([]);
|
|
10551
|
+
const changeItems = ref$1([]);
|
|
10552
|
+
const sectionNewOpen = ref$1(true);
|
|
10553
|
+
const sectionDeleteOpen = ref$1(true);
|
|
10554
|
+
const sectionChangeOpen = ref$1(true);
|
|
10555
|
+
const sections = computed$1(() => [
|
|
10556
|
+
{
|
|
10557
|
+
key: "new",
|
|
10558
|
+
label: "\u65B0\u589E\u6784\u4EF6",
|
|
10559
|
+
typeClass: "new",
|
|
10560
|
+
items: newItems.value,
|
|
10561
|
+
open: sectionNewOpen.value
|
|
10562
|
+
},
|
|
10563
|
+
{
|
|
10564
|
+
key: "delete",
|
|
10565
|
+
label: "\u5220\u9664\u6784\u4EF6",
|
|
10566
|
+
typeClass: "remove",
|
|
10567
|
+
items: deleteItems.value,
|
|
10568
|
+
open: sectionDeleteOpen.value
|
|
10569
|
+
},
|
|
10570
|
+
{
|
|
10571
|
+
key: "change",
|
|
10572
|
+
label: "\u4FEE\u6539\u6784\u4EF6",
|
|
10573
|
+
typeClass: "revise",
|
|
10574
|
+
items: changeItems.value,
|
|
10575
|
+
open: sectionChangeOpen.value
|
|
10576
|
+
}
|
|
10577
|
+
]);
|
|
10578
|
+
function toggleSection(key) {
|
|
10579
|
+
if (key === "new")
|
|
10580
|
+
sectionNewOpen.value = !sectionNewOpen.value;
|
|
10581
|
+
else if (key === "delete")
|
|
10582
|
+
sectionDeleteOpen.value = !sectionDeleteOpen.value;
|
|
10583
|
+
else if (key === "change")
|
|
10584
|
+
sectionChangeOpen.value = !sectionChangeOpen.value;
|
|
10585
|
+
}
|
|
10586
|
+
function loadBimfaceSDK() {
|
|
10587
|
+
return new Promise((resolve) => {
|
|
10588
|
+
if (typeof window.BimfaceSDKLoader !== "undefined") {
|
|
10589
|
+
resolve();
|
|
10590
|
+
return;
|
|
10591
|
+
}
|
|
10592
|
+
const script = document.createElement("script");
|
|
10593
|
+
script.src = "https://static.bimface.com/api/BimfaceSDKLoader/BimfaceSDKLoader@latest-debug.js";
|
|
10594
|
+
script.charset = "utf-8";
|
|
10595
|
+
script.onload = () => resolve();
|
|
10596
|
+
script.onerror = () => resolve();
|
|
10597
|
+
document.head.appendChild(script);
|
|
10598
|
+
});
|
|
10599
|
+
}
|
|
10600
|
+
function parseCompareResult(data) {
|
|
10601
|
+
const result = { newItems: [], deleteItems: [], changeItems: [] };
|
|
10602
|
+
if (data.newsNameMap) {
|
|
10603
|
+
for (let i = 0; i < data.newsNameMap.length; i++) {
|
|
10604
|
+
for (const j in data.newsNameMap[i]) {
|
|
10605
|
+
for (const k in data.newsNameMap[i][j]) {
|
|
10606
|
+
result.newItems.push({
|
|
10607
|
+
name: data.newsNameMap[i][j][k],
|
|
10608
|
+
id: k,
|
|
10609
|
+
diffType: "NEW"
|
|
10610
|
+
});
|
|
10611
|
+
}
|
|
10612
|
+
}
|
|
10613
|
+
}
|
|
10614
|
+
}
|
|
10615
|
+
if (data.deletesNameMap) {
|
|
10616
|
+
for (let i = 0; i < data.deletesNameMap.length; i++) {
|
|
10617
|
+
for (const j in data.deletesNameMap[i]) {
|
|
10618
|
+
for (const k in data.deletesNameMap[i][j]) {
|
|
10619
|
+
result.deleteItems.push({
|
|
10620
|
+
name: data.deletesNameMap[i][j][k],
|
|
10621
|
+
id: k,
|
|
10622
|
+
diffType: "DELETE"
|
|
10623
|
+
});
|
|
10624
|
+
}
|
|
10625
|
+
}
|
|
10626
|
+
}
|
|
10627
|
+
}
|
|
10628
|
+
if (data.changes) {
|
|
10629
|
+
for (let i = 0; i < data.changes.length; i++) {
|
|
10630
|
+
result.changeItems.push({
|
|
10631
|
+
diffType: "CHANGE",
|
|
10632
|
+
name: data.changes[i].AName,
|
|
10633
|
+
id: data.changes[i].A.split(".")[1]
|
|
10634
|
+
});
|
|
10635
|
+
}
|
|
10636
|
+
}
|
|
10637
|
+
return result;
|
|
10638
|
+
}
|
|
10639
|
+
function fetchCompareResult(databagId) {
|
|
10640
|
+
const url = `https://m.bimface.com/${databagId}/result.json`;
|
|
10641
|
+
fetch(url).then((res) => res.json()).then((data) => {
|
|
10642
|
+
const parsed = parseCompareResult(data);
|
|
10643
|
+
newItems.value = parsed.newItems;
|
|
10644
|
+
deleteItems.value = parsed.deleteItems;
|
|
10645
|
+
changeItems.value = parsed.changeItems;
|
|
10646
|
+
}).catch(() => {
|
|
10647
|
+
});
|
|
10648
|
+
}
|
|
10649
|
+
function bindView1() {
|
|
10650
|
+
if (!latestViewer || !prevViewer)
|
|
10651
|
+
return;
|
|
10652
|
+
const state = latestViewer.getCurrentState();
|
|
10653
|
+
prevViewer.setState(state);
|
|
10654
|
+
prevViewer.getViewer().camera.up.copy(latestViewer.getViewer().camera.up);
|
|
10655
|
+
}
|
|
10656
|
+
function bindView2() {
|
|
10657
|
+
if (!latestViewer || !prevViewer)
|
|
10658
|
+
return;
|
|
10659
|
+
const state = prevViewer.getCurrentState();
|
|
10660
|
+
latestViewer.setState(state);
|
|
10661
|
+
latestViewer.getViewer().camera.up.copy(prevViewer.getViewer().camera.up);
|
|
10662
|
+
}
|
|
10663
|
+
function setupCorrespond() {
|
|
10664
|
+
if (!containerRef.value || !latestRef.value || !prevRef.value)
|
|
10665
|
+
return;
|
|
10666
|
+
view1El = latestRef.value;
|
|
10667
|
+
view2El = prevRef.value;
|
|
10668
|
+
view1Bind = bindView1;
|
|
10669
|
+
view2Bind = bindView2;
|
|
10670
|
+
onMouseMoveHandler = (e) => {
|
|
10671
|
+
var _a, _b;
|
|
10672
|
+
if (focus.value !== void 0)
|
|
10673
|
+
return;
|
|
10674
|
+
const width = (_b = (_a = latestRef.value) == null ? void 0 : _a.offsetWidth) != null ? _b : 0;
|
|
10675
|
+
if (e.clientX > width) {
|
|
10676
|
+
focus.value = 1;
|
|
10677
|
+
latestViewer.removeEventListener("Rendered", view1Bind);
|
|
10678
|
+
prevViewer.addEventListener("Rendered", view2Bind);
|
|
10679
|
+
} else {
|
|
10680
|
+
focus.value = 0;
|
|
10681
|
+
prevViewer.removeEventListener("Rendered", view2Bind);
|
|
10682
|
+
latestViewer.addEventListener("Rendered", view1Bind);
|
|
10683
|
+
}
|
|
10684
|
+
};
|
|
10685
|
+
onView1MouseOverHandler = () => {
|
|
10686
|
+
if (focus.value === 0)
|
|
10687
|
+
return;
|
|
10688
|
+
focus.value = 0;
|
|
10689
|
+
prevViewer.removeEventListener("Rendered", view2Bind);
|
|
10690
|
+
latestViewer.addEventListener("Rendered", view1Bind);
|
|
10691
|
+
};
|
|
10692
|
+
onView2MouseOverHandler = () => {
|
|
10693
|
+
if (focus.value === 1)
|
|
10694
|
+
return;
|
|
10695
|
+
focus.value = 1;
|
|
10696
|
+
latestViewer.removeEventListener("Rendered", view1Bind);
|
|
10697
|
+
prevViewer.addEventListener("Rendered", view2Bind);
|
|
10698
|
+
};
|
|
10699
|
+
onPrevHoverChangedHandler = (e) => {
|
|
10700
|
+
latestViewer.getViewer().modelManager.sceneState.setHoverId(e.objectId);
|
|
10701
|
+
};
|
|
10702
|
+
onLatestHoverChangedHandler = (e) => {
|
|
10703
|
+
prevViewer.getViewer().modelManager.sceneState.setHoverId(e.objectId);
|
|
10704
|
+
};
|
|
10705
|
+
containerRef.value.addEventListener("mousemove", onMouseMoveHandler);
|
|
10706
|
+
view1El.addEventListener("mouseover", onView1MouseOverHandler);
|
|
10707
|
+
view2El.addEventListener("mouseover", onView2MouseOverHandler);
|
|
10708
|
+
prevViewer.addEventListener("ComponentsHoverChanged", onPrevHoverChangedHandler);
|
|
10709
|
+
latestViewer.addEventListener("ComponentsHoverChanged", onLatestHoverChangedHandler);
|
|
10710
|
+
latestViewer.setCameraAnimation(false);
|
|
10711
|
+
prevViewer.setCameraAnimation(false);
|
|
10712
|
+
}
|
|
10713
|
+
function handleElementClick(type, id) {
|
|
10714
|
+
if (!latestViewer || !prevViewer)
|
|
10715
|
+
return;
|
|
10716
|
+
focus.value = 2;
|
|
10717
|
+
prevViewer.removeEventListener("Rendered", view2Bind);
|
|
10718
|
+
latestViewer.removeEventListener("Rendered", view1Bind);
|
|
10719
|
+
if (type === "NEW") {
|
|
10720
|
+
latestViewer.setSelectedComponentsById([id]);
|
|
10721
|
+
latestViewer.zoomToSelectedComponents();
|
|
10722
|
+
view1Bind();
|
|
10723
|
+
} else if (type === "DELETE") {
|
|
10724
|
+
prevViewer.setSelectedComponentsById([id]);
|
|
10725
|
+
prevViewer.zoomToSelectedComponents();
|
|
10726
|
+
view2Bind();
|
|
10727
|
+
} else {
|
|
10728
|
+
latestViewer.setSelectedComponentsById([id]);
|
|
10729
|
+
latestViewer.zoomToSelectedComponents();
|
|
10730
|
+
view1Bind();
|
|
10731
|
+
prevViewer.setSelectedComponentsById([id]);
|
|
10732
|
+
}
|
|
10733
|
+
}
|
|
10734
|
+
function initViewers() {
|
|
10735
|
+
const { BimfaceSDKLoader: BimfaceSDKLoader2, BimfaceSDKLoaderConfig: BimfaceSDKLoaderConfig2 } = window;
|
|
10736
|
+
const Glodon2 = window.Glodon;
|
|
10737
|
+
if (!BimfaceSDKLoader2 || !Glodon2)
|
|
10738
|
+
return;
|
|
10739
|
+
const loaderConfig = new BimfaceSDKLoaderConfig2();
|
|
10740
|
+
loaderConfig.viewToken = props.latestToken;
|
|
10741
|
+
BimfaceSDKLoader2.load(loaderConfig, (viewMetaData) => {
|
|
10742
|
+
latestVersionLabel.value = viewMetaData.viewToken || "";
|
|
10743
|
+
const WebAppConfig = new Glodon2.Bimface.Application.WebApplication3DConfig();
|
|
10744
|
+
WebAppConfig.domElement = latestRef.value;
|
|
10745
|
+
WebAppConfig.viewToken = viewMetaData.viewToken;
|
|
10746
|
+
WebAppConfig.globalUnit = Glodon2.Bimface.Common.Units.LengthUnits.Millimeter;
|
|
10747
|
+
WebAppConfig.enableHover = true;
|
|
10748
|
+
WebAppConfig.Buttons = ["Home", "RectangleSelect", "Measure", "Section", "Property", "Information"];
|
|
10749
|
+
latestApp = new Glodon2.Bimface.Application.WebApplication3D(WebAppConfig);
|
|
10750
|
+
latestApp.addView(viewMetaData.viewToken);
|
|
10751
|
+
latestApp.addEventListener("ViewAdded", () => {
|
|
10752
|
+
loaderConfig.viewToken = props.prevToken;
|
|
10753
|
+
BimfaceSDKLoader2.load(loaderConfig, (prevMetaData) => {
|
|
10754
|
+
prevVersionLabel.value = prevMetaData.viewToken || "";
|
|
10755
|
+
const WebAppConfig2 = new Glodon2.Bimface.Application.WebApplication3DConfig();
|
|
10756
|
+
WebAppConfig2.domElement = prevRef.value;
|
|
10757
|
+
WebAppConfig2.viewToken = prevMetaData.viewToken;
|
|
10758
|
+
WebAppConfig2.globalUnit = Glodon2.Bimface.Common.Units.LengthUnits.Millimeter;
|
|
10759
|
+
WebAppConfig2.enableHover = true;
|
|
10760
|
+
WebAppConfig2.Buttons = ["Home", "RectangleSelect", "Measure", "Section", "Property", "Information"];
|
|
10761
|
+
prevApp = new Glodon2.Bimface.Application.WebApplication3D(WebAppConfig2);
|
|
10762
|
+
prevViewer = prevApp.getViewer();
|
|
10763
|
+
prevViewer.addView(prevMetaData.viewToken);
|
|
10764
|
+
prevViewer.addEventListener("ViewAdded", () => {
|
|
10765
|
+
latestViewer = latestApp.getViewer();
|
|
10766
|
+
setupCorrespond();
|
|
10767
|
+
loaderConfig.viewToken = props.compareToken;
|
|
10768
|
+
BimfaceSDKLoader2.load(loaderConfig, (compareMetaData) => {
|
|
10769
|
+
fetchCompareResult(compareMetaData.databagId);
|
|
10770
|
+
});
|
|
10771
|
+
});
|
|
10772
|
+
});
|
|
10773
|
+
});
|
|
10774
|
+
});
|
|
10775
|
+
}
|
|
10776
|
+
onMounted$1(async () => {
|
|
10777
|
+
await loadBimfaceSDK();
|
|
10778
|
+
await nextTick();
|
|
10779
|
+
initViewers();
|
|
10780
|
+
});
|
|
10781
|
+
function cleanup() {
|
|
10782
|
+
if (containerRef.value && onMouseMoveHandler) {
|
|
10783
|
+
containerRef.value.removeEventListener("mousemove", onMouseMoveHandler);
|
|
10784
|
+
}
|
|
10785
|
+
if (view1El && onView1MouseOverHandler) {
|
|
10786
|
+
view1El.removeEventListener("mouseover", onView1MouseOverHandler);
|
|
10787
|
+
}
|
|
10788
|
+
if (view2El && onView2MouseOverHandler) {
|
|
10789
|
+
view2El.removeEventListener("mouseover", onView2MouseOverHandler);
|
|
10790
|
+
}
|
|
10791
|
+
if (latestViewer) {
|
|
10792
|
+
latestViewer.removeEventListener("Rendered", view1Bind);
|
|
10793
|
+
if (onLatestHoverChangedHandler) {
|
|
10794
|
+
latestViewer.removeEventListener("ComponentsHoverChanged", onLatestHoverChangedHandler);
|
|
10795
|
+
}
|
|
10796
|
+
}
|
|
10797
|
+
if (prevViewer) {
|
|
10798
|
+
prevViewer.removeEventListener("Rendered", view2Bind);
|
|
10799
|
+
if (onPrevHoverChangedHandler) {
|
|
10800
|
+
prevViewer.removeEventListener("ComponentsHoverChanged", onPrevHoverChangedHandler);
|
|
10801
|
+
}
|
|
10802
|
+
}
|
|
10803
|
+
if (latestApp && typeof latestApp.destroy === "function") {
|
|
10804
|
+
latestApp.destroy();
|
|
10805
|
+
}
|
|
10806
|
+
if (prevApp && typeof prevApp.destroy === "function") {
|
|
10807
|
+
prevApp.destroy();
|
|
10808
|
+
}
|
|
10809
|
+
latestApp = null;
|
|
10810
|
+
prevApp = null;
|
|
10811
|
+
prevViewer = null;
|
|
10812
|
+
latestViewer = null;
|
|
10813
|
+
view1Bind = null;
|
|
10814
|
+
view2Bind = null;
|
|
10815
|
+
view1El = null;
|
|
10816
|
+
view2El = null;
|
|
10817
|
+
onMouseMoveHandler = null;
|
|
10818
|
+
onView1MouseOverHandler = null;
|
|
10819
|
+
onView2MouseOverHandler = null;
|
|
10820
|
+
onPrevHoverChangedHandler = null;
|
|
10821
|
+
onLatestHoverChangedHandler = null;
|
|
10822
|
+
console.log("cleanup");
|
|
10823
|
+
}
|
|
10824
|
+
onBeforeUnmount(() => {
|
|
10825
|
+
cleanup();
|
|
10826
|
+
});
|
|
10827
|
+
return (_ctx, _cache) => {
|
|
10828
|
+
const _component_el_col = resolveComponent("el-col");
|
|
10829
|
+
const _component_el_row = resolveComponent("el-row");
|
|
10830
|
+
return openBlock(), createElementBlock("div", {
|
|
10831
|
+
ref_key: "containerRef",
|
|
10832
|
+
ref: containerRef,
|
|
10833
|
+
class: "compare-container"
|
|
10834
|
+
}, [
|
|
10835
|
+
createVNode(_component_el_row, {
|
|
10836
|
+
class: "compare-row",
|
|
10837
|
+
gutter: 5
|
|
10838
|
+
}, {
|
|
10839
|
+
default: withCtx(() => [
|
|
10840
|
+
createVNode(_component_el_col, {
|
|
10841
|
+
xs: 24,
|
|
10842
|
+
sm: 24,
|
|
10843
|
+
md: 12,
|
|
10844
|
+
lg: 12,
|
|
10845
|
+
xl: 12,
|
|
10846
|
+
class: "compare-col"
|
|
10847
|
+
}, {
|
|
10848
|
+
default: withCtx(() => [
|
|
10849
|
+
createElementVNode("div", {
|
|
10850
|
+
ref_key: "latestRef",
|
|
10851
|
+
ref: latestRef,
|
|
10852
|
+
class: "panel latest"
|
|
10853
|
+
}, [
|
|
10854
|
+
createElementVNode("div", _hoisted_1, [
|
|
10855
|
+
createTextVNode("\u5F53\u524D\u6A21\u578B\uFF1A"),
|
|
10856
|
+
createElementVNode("span", null, toDisplayString(latestVersionLabel.value), 1)
|
|
10857
|
+
])
|
|
10858
|
+
], 512)
|
|
10859
|
+
]),
|
|
10860
|
+
_: 1
|
|
10861
|
+
}),
|
|
10862
|
+
createVNode(_component_el_col, {
|
|
10863
|
+
xs: 24,
|
|
10864
|
+
sm: 24,
|
|
10865
|
+
md: 12,
|
|
10866
|
+
lg: 12,
|
|
10867
|
+
xl: 12,
|
|
10868
|
+
class: "compare-col"
|
|
10869
|
+
}, {
|
|
10870
|
+
default: withCtx(() => [
|
|
10871
|
+
createElementVNode("div", _hoisted_2, [
|
|
10872
|
+
createElementVNode("div", _hoisted_3, [
|
|
10873
|
+
createElementVNode("span", null, "\u5BF9\u6BD4\u6A21\u578B\uFF1A" + toDisplayString(prevVersionLabel.value), 1)
|
|
10874
|
+
]),
|
|
10875
|
+
createElementVNode("div", {
|
|
10876
|
+
ref_key: "prevRef",
|
|
10877
|
+
ref: prevRef,
|
|
10878
|
+
class: "prev-wrap"
|
|
10879
|
+
}, null, 512)
|
|
10880
|
+
])
|
|
10881
|
+
]),
|
|
10882
|
+
_: 1
|
|
10883
|
+
})
|
|
10884
|
+
]),
|
|
10885
|
+
_: 1
|
|
10886
|
+
}),
|
|
10887
|
+
createElementVNode("div", _hoisted_4, [
|
|
10888
|
+
createElementVNode("div", _hoisted_5, [
|
|
10889
|
+
_hoisted_6,
|
|
10890
|
+
createElementVNode("div", _hoisted_7, [
|
|
10891
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(sections), (section) => {
|
|
10892
|
+
return openBlock(), createElementBlock("div", {
|
|
10893
|
+
key: section.key,
|
|
10894
|
+
class: "type-box"
|
|
10895
|
+
}, [
|
|
10896
|
+
createElementVNode("div", {
|
|
10897
|
+
class: "title",
|
|
10898
|
+
onClick: ($event) => toggleSection(section.key)
|
|
10899
|
+
}, [
|
|
10900
|
+
createElementVNode("i", {
|
|
10901
|
+
class: normalizeClass(["icon arrow", { close: !section.open }])
|
|
10902
|
+
}, null, 2),
|
|
10903
|
+
createElementVNode("i", {
|
|
10904
|
+
class: normalizeClass(["icon-type", section.typeClass])
|
|
10905
|
+
}, null, 2),
|
|
10906
|
+
createTextVNode(" " + toDisplayString(section.label) + "\uFF08" + toDisplayString(section.items.length) + "\uFF09 ", 1)
|
|
10907
|
+
], 8, _hoisted_8),
|
|
10908
|
+
createElementVNode("ul", {
|
|
10909
|
+
class: normalizeClass(["type-ul", { close: !section.open }])
|
|
10910
|
+
}, [
|
|
10911
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(section.items, (item) => {
|
|
10912
|
+
return openBlock(), createElementBlock("li", {
|
|
10913
|
+
key: item.id
|
|
10914
|
+
}, [
|
|
10915
|
+
createElementVNode("div", {
|
|
10916
|
+
"data-oid": item.id,
|
|
10917
|
+
class: "elements",
|
|
10918
|
+
onClick: ($event) => handleElementClick(item.diffType, item.id)
|
|
10919
|
+
}, [
|
|
10920
|
+
_hoisted_10,
|
|
10921
|
+
createElementVNode("span", null, toDisplayString(item.name), 1)
|
|
10922
|
+
], 8, _hoisted_9)
|
|
10923
|
+
]);
|
|
10924
|
+
}), 128))
|
|
10925
|
+
], 2)
|
|
10926
|
+
]);
|
|
10927
|
+
}), 128))
|
|
10928
|
+
])
|
|
10929
|
+
])
|
|
10930
|
+
])
|
|
10931
|
+
], 512);
|
|
10932
|
+
};
|
|
10933
|
+
}
|
|
10934
|
+
};
|
|
10935
|
+
const SCTJModelCompare = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3019374b"]]);
|
|
10500
10936
|
const components = [
|
|
10501
10937
|
{ component: SCTJDictTag, name: "SCTJDictTag" },
|
|
10502
10938
|
{ component: SCTJTreeSelect, name: "SCTJTreeSelect" },
|
|
10503
|
-
{ component: _sfc_main$
|
|
10504
|
-
{ component: _sfc_main$
|
|
10939
|
+
{ component: _sfc_main$o, name: "SCTJSelect" },
|
|
10940
|
+
{ component: _sfc_main$n, name: "SCTJCheckBox" },
|
|
10505
10941
|
{ component: SCTJTimeLineSelect, name: "SCTJTimeLineSelect" },
|
|
10506
|
-
{ component: _sfc_main$
|
|
10942
|
+
{ component: _sfc_main$v, name: "SCTJIcon" },
|
|
10507
10943
|
{ component: SCTJFileUpload, name: "SCTJFileUpload" },
|
|
10508
10944
|
{ component: SCTJImageUpload, name: "SCTJImageUpload" },
|
|
10509
10945
|
{ component: SCTJImagePreview, name: "SCTJImagePreview" },
|
|
10510
10946
|
{ component: SCTJIconSelect, name: "SCTJIconSelect" },
|
|
10511
10947
|
{ component: SCTJSearch, name: "SCTJSearch" },
|
|
10512
|
-
{ component: _sfc_main$
|
|
10948
|
+
{ component: _sfc_main$q, name: "SCTJDateRangePicker" },
|
|
10513
10949
|
{ component: SCTJTable, name: "SCTJTable" },
|
|
10514
10950
|
{ component: SCTJTableContainer, name: "SCTJTableContainer" },
|
|
10515
10951
|
{ component: SCTJTablePageContainer, name: "SCTJTablePageContainer" },
|
|
10516
10952
|
{ component: SCTJTableTopActionContainer, name: "SCTJTableTopActionContainer" },
|
|
10517
10953
|
{ component: SCTJRightToolbar, name: "SCTJRightToolbar" },
|
|
10518
|
-
{ component: _sfc_main$
|
|
10519
|
-
{ component: _sfc_main$
|
|
10954
|
+
{ component: _sfc_main$f, name: "SCTJBtnContainer" },
|
|
10955
|
+
{ component: _sfc_main$c, name: "SCTJBaseChart" },
|
|
10520
10956
|
{ component: SCTJCommonChart, name: "SCTJCommonChart" },
|
|
10521
10957
|
{ component: SCTJPieChart, name: "SCTJPieChart" },
|
|
10522
10958
|
{ component: SCTJFlvPlayer, name: "SCTJFlvPlayer" },
|
|
10523
|
-
{ component: _sfc_main$
|
|
10524
|
-
{ component: _sfc_main$
|
|
10959
|
+
{ component: _sfc_main$8, name: "SCTJIframe" },
|
|
10960
|
+
{ component: _sfc_main$7, name: "SCTJImportDialog" },
|
|
10525
10961
|
{ component: SCTJDialogTable, name: "SCTJDialogTable" },
|
|
10526
10962
|
{ component: SCTJScrollTable, name: "SCTJScrollTable" },
|
|
10527
10963
|
{ component: SCTJMapViewer, name: "SCTJMapViewer" },
|
|
@@ -10529,7 +10965,8 @@ const components = [
|
|
|
10529
10965
|
{ component: SCTJBusinessMapDrawingDialog, name: "SCTJBusinessMapDrawingDialog" },
|
|
10530
10966
|
{ component: SCTJTrackPlayback, name: "SCTJTrackPlayback" },
|
|
10531
10967
|
{ component: SCTJBimViewer, name: "SCTJBimViewer" },
|
|
10532
|
-
{ component: SCTJDwgViewer, name: "SCTJDwgViewer" }
|
|
10968
|
+
{ component: SCTJDwgViewer, name: "SCTJDwgViewer" },
|
|
10969
|
+
{ component: SCTJModelCompare, name: "SCTJModelCompare" }
|
|
10533
10970
|
];
|
|
10534
10971
|
const install = (app) => {
|
|
10535
10972
|
components.forEach(({ component, name }) => {
|
|
@@ -10540,28 +10977,28 @@ const index = {
|
|
|
10540
10977
|
install,
|
|
10541
10978
|
SCTJDictTag,
|
|
10542
10979
|
SCTJTreeSelect,
|
|
10543
|
-
SCTJSelect: _sfc_main$
|
|
10544
|
-
SCTJCheckBox: _sfc_main$
|
|
10980
|
+
SCTJSelect: _sfc_main$o,
|
|
10981
|
+
SCTJCheckBox: _sfc_main$n,
|
|
10545
10982
|
SCTJTimeLineSelect,
|
|
10546
|
-
SCTJIcon: _sfc_main$
|
|
10983
|
+
SCTJIcon: _sfc_main$v,
|
|
10547
10984
|
SCTJFileUpload,
|
|
10548
10985
|
SCTJImageUpload,
|
|
10549
10986
|
SCTJImagePreview,
|
|
10550
10987
|
SCTJIconSelect,
|
|
10551
10988
|
SCTJSearch,
|
|
10552
|
-
SCTJDateRangePicker: _sfc_main$
|
|
10989
|
+
SCTJDateRangePicker: _sfc_main$q,
|
|
10553
10990
|
SCTJTable,
|
|
10554
10991
|
SCTJTableContainer,
|
|
10555
10992
|
SCTJTablePageContainer,
|
|
10556
10993
|
SCTJTableTopActionContainer,
|
|
10557
10994
|
SCTJRightToolbar,
|
|
10558
|
-
SCTJBtnContainer: _sfc_main$
|
|
10559
|
-
SCTJBaseChart: _sfc_main$
|
|
10995
|
+
SCTJBtnContainer: _sfc_main$f,
|
|
10996
|
+
SCTJBaseChart: _sfc_main$c,
|
|
10560
10997
|
SCTJCommonChart,
|
|
10561
10998
|
SCTJPieChart,
|
|
10562
10999
|
SCTJFlvPlayer,
|
|
10563
|
-
SCTJIframe: _sfc_main$
|
|
10564
|
-
SCTJImportDialog: _sfc_main$
|
|
11000
|
+
SCTJIframe: _sfc_main$8,
|
|
11001
|
+
SCTJImportDialog: _sfc_main$7,
|
|
10565
11002
|
SCTJDialogTable,
|
|
10566
11003
|
SCTJScrollTable,
|
|
10567
11004
|
SCTJMapViewer,
|
|
@@ -10569,34 +11006,36 @@ const index = {
|
|
|
10569
11006
|
SCTJBusinessMapDrawingDialog,
|
|
10570
11007
|
SCTJTrackPlayback,
|
|
10571
11008
|
SCTJBimViewer,
|
|
10572
|
-
SCTJDwgViewer
|
|
11009
|
+
SCTJDwgViewer,
|
|
11010
|
+
SCTJModelCompare
|
|
10573
11011
|
};
|
|
10574
11012
|
export {
|
|
10575
|
-
_sfc_main$
|
|
11013
|
+
_sfc_main$c as SCTJBaseChart,
|
|
10576
11014
|
SCTJBimViewer,
|
|
10577
|
-
_sfc_main$
|
|
11015
|
+
_sfc_main$f as SCTJBtnContainer,
|
|
10578
11016
|
SCTJBusinessMapDrawingDialog,
|
|
10579
|
-
_sfc_main$
|
|
11017
|
+
_sfc_main$n as SCTJCheckBox,
|
|
10580
11018
|
SCTJCommonChart,
|
|
10581
|
-
_sfc_main$
|
|
11019
|
+
_sfc_main$q as SCTJDateRangePicker,
|
|
10582
11020
|
SCTJDialogTable,
|
|
10583
11021
|
SCTJDictTag,
|
|
10584
11022
|
SCTJDwgViewer,
|
|
10585
11023
|
SCTJFileUpload,
|
|
10586
11024
|
SCTJFlvPlayer,
|
|
10587
|
-
_sfc_main$
|
|
11025
|
+
_sfc_main$v as SCTJIcon,
|
|
10588
11026
|
SCTJIconSelect,
|
|
10589
|
-
_sfc_main$
|
|
11027
|
+
_sfc_main$8 as SCTJIframe,
|
|
10590
11028
|
SCTJImagePreview,
|
|
10591
11029
|
SCTJImageUpload,
|
|
10592
|
-
_sfc_main$
|
|
11030
|
+
_sfc_main$7 as SCTJImportDialog,
|
|
10593
11031
|
SCTJMapDrawingDialog,
|
|
10594
11032
|
SCTJMapViewer,
|
|
11033
|
+
SCTJModelCompare,
|
|
10595
11034
|
SCTJPieChart,
|
|
10596
11035
|
SCTJRightToolbar,
|
|
10597
11036
|
SCTJScrollTable,
|
|
10598
11037
|
SCTJSearch,
|
|
10599
|
-
_sfc_main$
|
|
11038
|
+
_sfc_main$o as SCTJSelect,
|
|
10600
11039
|
SCTJTable,
|
|
10601
11040
|
SCTJTableContainer,
|
|
10602
11041
|
SCTJTablePageContainer,
|