sctj-components 1.0.51 → 1.0.53
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 +172 -133
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -38,8 +38,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
38
38
|
}
|
|
39
39
|
return target;
|
|
40
40
|
};
|
|
41
|
-
const _hoisted_1$
|
|
42
|
-
const _hoisted_2$
|
|
41
|
+
const _hoisted_1$n = { class: "dict-tag-container" };
|
|
42
|
+
const _hoisted_2$e = ["index"];
|
|
43
43
|
const _sfc_main$u = {
|
|
44
44
|
__name: "index",
|
|
45
45
|
props: {
|
|
@@ -60,7 +60,7 @@ const _sfc_main$u = {
|
|
|
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$n, [
|
|
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$u = {
|
|
|
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$e)) : (openBlock(), createBlock(_component_el_tag, {
|
|
72
72
|
"disable-transitions": true,
|
|
73
73
|
key: item.value + "",
|
|
74
74
|
index: index2,
|
|
@@ -89,7 +89,7 @@ const _sfc_main$u = {
|
|
|
89
89
|
};
|
|
90
90
|
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-659e1d01"]]);
|
|
91
91
|
const index_vue_vue_type_style_index_0_scope_true_lang = "";
|
|
92
|
-
const _hoisted_1$
|
|
92
|
+
const _hoisted_1$m = ["xlink:href", "fill"];
|
|
93
93
|
const _sfc_main$t = {
|
|
94
94
|
__name: "index",
|
|
95
95
|
props: {
|
|
@@ -123,7 +123,7 @@ const _sfc_main$t = {
|
|
|
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$m)
|
|
127
127
|
], 2);
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -132,10 +132,10 @@ 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$
|
|
135
|
+
const _hoisted_1$l = { class: "upload-file" };
|
|
136
|
+
const _hoisted_2$d = { class: "el-upload__tip" };
|
|
137
|
+
const _hoisted_3$a = { style: { "color": "#f56c6c" } };
|
|
138
|
+
const _hoisted_4$8 = { style: { "color": "#f56c6c" } };
|
|
139
139
|
const _hoisted_5$6 = ["title"];
|
|
140
140
|
const _hoisted_6$3 = { class: "ele-upload-list__item-content-action" };
|
|
141
141
|
const _hoisted_7$3 = { style: { "width": "100%", "height": "100%", "overflow": "auto" } };
|
|
@@ -371,7 +371,7 @@ const _sfc_main$s = {
|
|
|
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$l, [
|
|
375
375
|
!__props.disabled ? (openBlock(), createBlock(_component_el_upload, mergeProps({
|
|
376
376
|
key: 0,
|
|
377
377
|
multiple: "",
|
|
@@ -410,15 +410,15 @@ const _sfc_main$s = {
|
|
|
410
410
|
unref(showTip) ? {
|
|
411
411
|
name: "tip",
|
|
412
412
|
fn: withCtx(() => [
|
|
413
|
-
createElementVNode("div", _hoisted_2$
|
|
413
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
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$8, toDisplayString(__props.fileType.join("/")), 1)
|
|
422
422
|
], 64)) : createCommentVNode("", true),
|
|
423
423
|
createTextVNode(" \u7684\u6587\u4EF6 ")
|
|
424
424
|
])
|
|
@@ -519,13 +519,13 @@ const _sfc_main$s = {
|
|
|
519
519
|
};
|
|
520
520
|
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__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$k = { class: "component-upload-image" };
|
|
523
|
+
const _hoisted_2$c = {
|
|
524
524
|
key: 0,
|
|
525
525
|
class: "el-upload__tip"
|
|
526
526
|
};
|
|
527
|
-
const _hoisted_3$
|
|
528
|
-
const _hoisted_4$
|
|
527
|
+
const _hoisted_3$9 = { style: { "color": "#f56c6c" } };
|
|
528
|
+
const _hoisted_4$7 = { style: { "color": "#f56c6c" } };
|
|
529
529
|
const _hoisted_5$5 = ["src"];
|
|
530
530
|
const _sfc_main$r = {
|
|
531
531
|
__name: "index",
|
|
@@ -728,7 +728,7 @@ const _sfc_main$r = {
|
|
|
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$k, [
|
|
732
732
|
createVNode(_component_el_upload, mergeProps({
|
|
733
733
|
disabled: props.disabled,
|
|
734
734
|
multiple: "",
|
|
@@ -760,15 +760,15 @@ const _sfc_main$r = {
|
|
|
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$c, [
|
|
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$7, toDisplayString(props.fileType.join("/")), 1)
|
|
772
772
|
], 64)) : createCommentVNode("", true),
|
|
773
773
|
createTextVNode(" \u7684\u6587\u4EF6 ")
|
|
774
774
|
])) : createCommentVNode("", true),
|
|
@@ -793,7 +793,7 @@ const _sfc_main$r = {
|
|
|
793
793
|
};
|
|
794
794
|
const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-672e5149"]]);
|
|
795
795
|
const index_vue_vue_type_style_index_0_scoped_e91fd2ba_lang = "";
|
|
796
|
-
const _hoisted_1$
|
|
796
|
+
const _hoisted_1$j = { class: "image-slot" };
|
|
797
797
|
const _sfc_main$q = {
|
|
798
798
|
__name: "index",
|
|
799
799
|
props: {
|
|
@@ -908,7 +908,7 @@ const _sfc_main$q = {
|
|
|
908
908
|
"preview-src-list": unref(realSrcList)
|
|
909
909
|
}, {
|
|
910
910
|
error: withCtx(() => [
|
|
911
|
-
createElementVNode("div", _hoisted_1$
|
|
911
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
912
912
|
createVNode(_component_el_icon, { class: "el-icon-picture-outline" }, {
|
|
913
913
|
default: withCtx(() => [
|
|
914
914
|
createVNode(unref(Picture))
|
|
@@ -1017,9 +1017,9 @@ 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$
|
|
1020
|
+
const _hoisted_1$i = { class: "icon-content" };
|
|
1021
|
+
const _hoisted_2$b = { class: "icon-list" };
|
|
1022
|
+
const _hoisted_3$8 = ["onClick"];
|
|
1023
1023
|
const _sfc_main$p = {
|
|
1024
1024
|
__name: "index",
|
|
1025
1025
|
props: {
|
|
@@ -1116,7 +1116,7 @@ const _sfc_main$p = {
|
|
|
1116
1116
|
key: "0"
|
|
1117
1117
|
} : void 0
|
|
1118
1118
|
]), 1032, ["modelValue"]),
|
|
1119
|
-
withDirectives(createElementVNode("div", _hoisted_1$
|
|
1119
|
+
withDirectives(createElementVNode("div", _hoisted_1$i, [
|
|
1120
1120
|
createElementVNode("div", null, [
|
|
1121
1121
|
createVNode(_component_el_input, {
|
|
1122
1122
|
modelValue: keyWord.value,
|
|
@@ -1138,7 +1138,7 @@ const _sfc_main$p = {
|
|
|
1138
1138
|
_: 1
|
|
1139
1139
|
}, 8, ["modelValue"])
|
|
1140
1140
|
]),
|
|
1141
|
-
createElementVNode("div", _hoisted_2$
|
|
1141
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
1142
1142
|
(openBlock(true), createElementBlock(Fragment, null, renderList(iconList.value, (item, index2) => {
|
|
1143
1143
|
return openBlock(), createElementBlock("div", {
|
|
1144
1144
|
key: index2,
|
|
@@ -1149,7 +1149,7 @@ const _sfc_main$p = {
|
|
|
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), [
|
|
@@ -1291,7 +1291,7 @@ const _sfc_main$o = {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
};
|
|
1293
1293
|
const index_vue_vue_type_style_index_0_scoped_a2fe1763_lang = "";
|
|
1294
|
-
const _hoisted_1$
|
|
1294
|
+
const _hoisted_1$h = { class: "el-tree-select" };
|
|
1295
1295
|
const _sfc_main$n = {
|
|
1296
1296
|
__name: "index",
|
|
1297
1297
|
props: {
|
|
@@ -1386,7 +1386,7 @@ const _sfc_main$n = {
|
|
|
1386
1386
|
const _component_el_tree = resolveComponent("el-tree");
|
|
1387
1387
|
const _component_el_option = resolveComponent("el-option");
|
|
1388
1388
|
const _component_el_select = resolveComponent("el-select");
|
|
1389
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1389
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
1390
1390
|
createVNode(_component_el_select, {
|
|
1391
1391
|
style: { "width": "100%" },
|
|
1392
1392
|
modelValue: unref(valueId),
|
|
@@ -1548,9 +1548,9 @@ const _sfc_main$l = {
|
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
1550
|
};
|
|
1551
|
-
const
|
|
1552
|
-
const _hoisted_1$
|
|
1553
|
-
const _hoisted_2$
|
|
1551
|
+
const index_vue_vue_type_style_index_0_scoped_1c87997b_lang = "";
|
|
1552
|
+
const _hoisted_1$g = { class: "time-line-slider-container" };
|
|
1553
|
+
const _hoisted_2$a = { class: "time-line-slider-wrapper" };
|
|
1554
1554
|
const _sfc_main$k = {
|
|
1555
1555
|
__name: "index",
|
|
1556
1556
|
props: {
|
|
@@ -1796,8 +1796,8 @@ const _sfc_main$k = {
|
|
|
1796
1796
|
const _component_el_slider = resolveComponent("el-slider");
|
|
1797
1797
|
const _component_el_option = resolveComponent("el-option");
|
|
1798
1798
|
const _component_el_select = resolveComponent("el-select");
|
|
1799
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1800
|
-
createElementVNode("div", _hoisted_2$
|
|
1799
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
1800
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
1801
1801
|
createVNode(_component_el_slider, {
|
|
1802
1802
|
style: normalizeStyle({ width: unref(sliderWidth) }),
|
|
1803
1803
|
modelValue: selectValue.value,
|
|
@@ -1816,7 +1816,8 @@ const _sfc_main$k = {
|
|
|
1816
1816
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(selectDate) ? selectDate.value = $event : null),
|
|
1817
1817
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
1818
1818
|
filterable: "",
|
|
1819
|
-
onChange: selectChange
|
|
1819
|
+
onChange: selectChange,
|
|
1820
|
+
style: { "width": "auto" }
|
|
1820
1821
|
}, {
|
|
1821
1822
|
default: withCtx(() => [
|
|
1822
1823
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(timePoints), (point, index2) => {
|
|
@@ -1833,9 +1834,9 @@ const _sfc_main$k = {
|
|
|
1833
1834
|
};
|
|
1834
1835
|
}
|
|
1835
1836
|
};
|
|
1836
|
-
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
1837
|
+
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1c87997b"]]);
|
|
1837
1838
|
const index_vue_vue_type_style_index_0_scoped_0e809a5c_lang = "";
|
|
1838
|
-
const _hoisted_1$
|
|
1839
|
+
const _hoisted_1$f = { class: "table-container" };
|
|
1839
1840
|
const _sfc_main$j = {
|
|
1840
1841
|
__name: "index",
|
|
1841
1842
|
props: {
|
|
@@ -2092,7 +2093,7 @@ const _sfc_main$j = {
|
|
|
2092
2093
|
class: "TJ-table-container",
|
|
2093
2094
|
style: normalizeStyle({ height: __props.height })
|
|
2094
2095
|
}, [
|
|
2095
|
-
createElementVNode("div", _hoisted_1$
|
|
2096
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
2096
2097
|
createVNode(_component_el_table, mergeProps({
|
|
2097
2098
|
ref_key: "tableRef",
|
|
2098
2099
|
ref: tableRef,
|
|
@@ -2175,9 +2176,9 @@ const _sfc_main$j = {
|
|
|
2175
2176
|
const SCTJTable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0e809a5c"]]);
|
|
2176
2177
|
const index_vue_vue_type_style_index_0_scoped_45fb95db_lang = "";
|
|
2177
2178
|
const _sfc_main$i = {};
|
|
2178
|
-
const _hoisted_1$
|
|
2179
|
+
const _hoisted_1$e = { class: "table-container" };
|
|
2179
2180
|
function _sfc_render(_ctx, _cache) {
|
|
2180
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2181
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
2181
2182
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2182
2183
|
]);
|
|
2183
2184
|
}
|
|
@@ -2329,7 +2330,7 @@ const _sfc_main$h = {
|
|
|
2329
2330
|
};
|
|
2330
2331
|
const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-46df4461"]]);
|
|
2331
2332
|
const index_vue_vue_type_style_index_0_scoped_056cfdde_lang = "";
|
|
2332
|
-
const _hoisted_1$
|
|
2333
|
+
const _hoisted_1$d = { class: "table-top-action-container" };
|
|
2333
2334
|
const _sfc_main$g = {
|
|
2334
2335
|
__name: "index",
|
|
2335
2336
|
props: {
|
|
@@ -2357,7 +2358,7 @@ const _sfc_main$g = {
|
|
|
2357
2358
|
emit("refresh");
|
|
2358
2359
|
};
|
|
2359
2360
|
return (_ctx, _cache) => {
|
|
2360
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2361
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
2361
2362
|
renderSlot(_ctx.$slots, "left", {}, void 0, true),
|
|
2362
2363
|
renderSlot(_ctx.$slots, "right", {}, () => [
|
|
2363
2364
|
createVNode(SCTJRightToolbar, {
|
|
@@ -2373,18 +2374,18 @@ const _sfc_main$g = {
|
|
|
2373
2374
|
};
|
|
2374
2375
|
const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-056cfdde"]]);
|
|
2375
2376
|
const index_vue_vue_type_style_index_0_scoped_26db7104_lang = "";
|
|
2376
|
-
const _withScopeId$
|
|
2377
|
-
const _hoisted_1$
|
|
2377
|
+
const _withScopeId$5 = (n) => (pushScopeId("data-v-26db7104"), n = n(), popScopeId(), n);
|
|
2378
|
+
const _hoisted_1$c = {
|
|
2378
2379
|
key: 0,
|
|
2379
2380
|
class: "search-container"
|
|
2380
2381
|
};
|
|
2381
|
-
const _hoisted_2$
|
|
2382
|
-
const _hoisted_3$
|
|
2383
|
-
const _hoisted_4$
|
|
2382
|
+
const _hoisted_2$9 = { class: "table-box" };
|
|
2383
|
+
const _hoisted_3$7 = ["onClick"];
|
|
2384
|
+
const _hoisted_4$6 = {
|
|
2384
2385
|
slot: "header",
|
|
2385
2386
|
class: "clearfix"
|
|
2386
2387
|
};
|
|
2387
|
-
const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$
|
|
2388
|
+
const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", { style: { "font-weight": "bold" } }, "\u5DF2\u9009\u5217\u8868", -1));
|
|
2388
2389
|
const _hoisted_6$2 = { class: "tag-container" };
|
|
2389
2390
|
const _hoisted_7$2 = { class: "tag-name" };
|
|
2390
2391
|
const _hoisted_8$2 = { class: "dialog-footer" };
|
|
@@ -2670,7 +2671,7 @@ const _sfc_main$f = {
|
|
|
2670
2671
|
])
|
|
2671
2672
|
]),
|
|
2672
2673
|
default: withCtx(() => [
|
|
2673
|
-
unref(queryColumns).length ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2674
|
+
unref(queryColumns).length ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
2674
2675
|
createVNode(_component_el_card, { shadow: "hover" }, {
|
|
2675
2676
|
default: withCtx(() => [
|
|
2676
2677
|
createVNode(_component_el_form, {
|
|
@@ -2759,7 +2760,7 @@ const _sfc_main$f = {
|
|
|
2759
2760
|
style: normalizeStyle({ height: !unref(isMobile) ? __props.height : "100%" }),
|
|
2760
2761
|
class: normalizeClass(["content-box", unref(isMobile) && "content-box-mobile"])
|
|
2761
2762
|
}, [
|
|
2762
|
-
createElementVNode("div", _hoisted_2$
|
|
2763
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
2763
2764
|
withDirectives((openBlock(), createBlock(_component_el_table, {
|
|
2764
2765
|
size: unref(isMobile) ? "small" : "",
|
|
2765
2766
|
class: "table-content",
|
|
@@ -2805,7 +2806,7 @@ const _sfc_main$f = {
|
|
|
2805
2806
|
createElementVNode("span", {
|
|
2806
2807
|
onClick: ($event) => handleClick(item.action, item.prop, scope),
|
|
2807
2808
|
class: normalizeClass({ "linkStyle": item.action || false })
|
|
2808
|
-
}, toDisplayString(item.format ? item.format(scope.row, scope.$index) : scope.row[item.prop]), 11, _hoisted_3$
|
|
2809
|
+
}, toDisplayString(item.format ? item.format(scope.row, scope.$index) : scope.row[item.prop]), 11, _hoisted_3$7)
|
|
2809
2810
|
]),
|
|
2810
2811
|
_: 2
|
|
2811
2812
|
}, 1040))
|
|
@@ -2853,7 +2854,7 @@ const _sfc_main$f = {
|
|
|
2853
2854
|
shadow: "never"
|
|
2854
2855
|
}, {
|
|
2855
2856
|
default: withCtx(() => [
|
|
2856
|
-
createElementVNode("div", _hoisted_4$
|
|
2857
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
2857
2858
|
_hoisted_5$4,
|
|
2858
2859
|
createVNode(_component_el_button, {
|
|
2859
2860
|
style: { "float": "right", "padding": "3px 0" },
|
|
@@ -2900,7 +2901,7 @@ const _sfc_main$f = {
|
|
|
2900
2901
|
};
|
|
2901
2902
|
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-26db7104"]]);
|
|
2902
2903
|
const index_vue_vue_type_style_index_0_scoped_80cb4921_lang = "";
|
|
2903
|
-
const _hoisted_1$
|
|
2904
|
+
const _hoisted_1$b = { style: { "background": "#fff" } };
|
|
2904
2905
|
const _sfc_main$e = {
|
|
2905
2906
|
__name: "index",
|
|
2906
2907
|
props: {
|
|
@@ -3188,7 +3189,7 @@ const _sfc_main$e = {
|
|
|
3188
3189
|
const _component_el_table = resolveComponent("el-table");
|
|
3189
3190
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
3190
3191
|
const _directive_loading = resolveDirective("loading");
|
|
3191
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3192
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
3192
3193
|
withDirectives((openBlock(), createBlock(_component_el_table, mergeProps({
|
|
3193
3194
|
size: unref(isMobile) ? "small" : "default",
|
|
3194
3195
|
ref_key: "tableRef",
|
|
@@ -3298,8 +3299,8 @@ const _sfc_main$d = {
|
|
|
3298
3299
|
}
|
|
3299
3300
|
};
|
|
3300
3301
|
const index_vue_vue_type_style_index_0_scoped_48dc11be_lang = "";
|
|
3301
|
-
const _hoisted_1$
|
|
3302
|
-
const _hoisted_2$
|
|
3302
|
+
const _hoisted_1$a = { class: "table-page-container" };
|
|
3303
|
+
const _hoisted_2$8 = { style: { "flex": "1", "height": "0" } };
|
|
3303
3304
|
const _sfc_main$c = {
|
|
3304
3305
|
__name: "index",
|
|
3305
3306
|
props: {
|
|
@@ -3327,7 +3328,7 @@ const _sfc_main$c = {
|
|
|
3327
3328
|
emit("update:showSearch", !newVal);
|
|
3328
3329
|
}, { immediate: true });
|
|
3329
3330
|
return (_ctx, _cache) => {
|
|
3330
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3331
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
3331
3332
|
renderSlot(_ctx.$slots, "search", {}, void 0, true),
|
|
3332
3333
|
createVNode(SCTJTableTopActionContainer, {
|
|
3333
3334
|
showSearch: unref(outSearch),
|
|
@@ -3339,7 +3340,7 @@ const _sfc_main$c = {
|
|
|
3339
3340
|
]),
|
|
3340
3341
|
_: 3
|
|
3341
3342
|
}, 8, ["showSearch"]),
|
|
3342
|
-
createElementVNode("div", _hoisted_2$
|
|
3343
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
3343
3344
|
renderSlot(_ctx.$slots, "table", {}, void 0, true)
|
|
3344
3345
|
]),
|
|
3345
3346
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -3349,11 +3350,11 @@ const _sfc_main$c = {
|
|
|
3349
3350
|
};
|
|
3350
3351
|
const SCTJTablePageContainer = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-48dc11be"]]);
|
|
3351
3352
|
const index_vue_vue_type_style_index_0_scoped_6e30b57f_lang = "";
|
|
3352
|
-
const _hoisted_1$
|
|
3353
|
+
const _hoisted_1$9 = {
|
|
3353
3354
|
key: 0,
|
|
3354
3355
|
class: "search-container"
|
|
3355
3356
|
};
|
|
3356
|
-
const _hoisted_2$
|
|
3357
|
+
const _hoisted_2$7 = {
|
|
3357
3358
|
key: 1,
|
|
3358
3359
|
class: "custom-drawer"
|
|
3359
3360
|
};
|
|
@@ -3374,7 +3375,7 @@ const _sfc_main$b = {
|
|
|
3374
3375
|
return (_ctx, _cache) => {
|
|
3375
3376
|
const _component_el_card = resolveComponent("el-card");
|
|
3376
3377
|
const _component_el_drawer = resolveComponent("el-drawer");
|
|
3377
|
-
return !unref(isMobile) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
3378
|
+
return !unref(isMobile) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
3378
3379
|
createVNode(_component_el_card, null, {
|
|
3379
3380
|
default: withCtx(() => [
|
|
3380
3381
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -3383,7 +3384,7 @@ const _sfc_main$b = {
|
|
|
3383
3384
|
})
|
|
3384
3385
|
], 512)), [
|
|
3385
3386
|
[vShow, __props.visible]
|
|
3386
|
-
]) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3387
|
+
]) : (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
3387
3388
|
createVNode(_component_el_drawer, {
|
|
3388
3389
|
"model-value": __props.visible,
|
|
3389
3390
|
title: "\u7B5B\u9009\u6761\u4EF6",
|
|
@@ -3503,14 +3504,14 @@ const _sfc_main$a = {
|
|
|
3503
3504
|
};
|
|
3504
3505
|
const emptyImg = "data:image/png;base64,";
|
|
3505
3506
|
const CommonChart_vue_vue_type_style_index_0_scoped_2f3b9e13_lang = "";
|
|
3506
|
-
const _withScopeId$
|
|
3507
|
-
const _hoisted_1$
|
|
3508
|
-
const _hoisted_2$
|
|
3507
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-2f3b9e13"), n = n(), popScopeId(), n);
|
|
3508
|
+
const _hoisted_1$8 = ["element-loading-background"];
|
|
3509
|
+
const _hoisted_2$6 = {
|
|
3509
3510
|
key: 1,
|
|
3510
3511
|
class: "empty-wrapper"
|
|
3511
3512
|
};
|
|
3512
|
-
const _hoisted_3$
|
|
3513
|
-
const _hoisted_4$
|
|
3513
|
+
const _hoisted_3$6 = ["src"];
|
|
3514
|
+
const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "empty-text" }, "\u6682\u65E0\u6570\u636E", -1));
|
|
3514
3515
|
const _sfc_main$9 = {
|
|
3515
3516
|
__name: "CommonChart",
|
|
3516
3517
|
props: {
|
|
@@ -4042,15 +4043,15 @@ const _sfc_main$9 = {
|
|
|
4042
4043
|
ref_key: "baseChartRef",
|
|
4043
4044
|
ref: baseChartRef,
|
|
4044
4045
|
option: unref(option)
|
|
4045
|
-
}, null, 8, ["option"])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4046
|
+
}, null, 8, ["option"])) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
4046
4047
|
createElementVNode("img", {
|
|
4047
4048
|
src: unref(emptyImg),
|
|
4048
4049
|
alt: "empty",
|
|
4049
4050
|
class: "empty-image"
|
|
4050
|
-
}, null, 8, _hoisted_3$
|
|
4051
|
-
_hoisted_4$
|
|
4051
|
+
}, null, 8, _hoisted_3$6),
|
|
4052
|
+
_hoisted_4$5
|
|
4052
4053
|
]))
|
|
4053
|
-
], 12, _hoisted_1$
|
|
4054
|
+
], 12, _hoisted_1$8)), [
|
|
4054
4055
|
[_directive_loading, __props.loading]
|
|
4055
4056
|
])
|
|
4056
4057
|
]),
|
|
@@ -4079,7 +4080,7 @@ const _sfc_main$9 = {
|
|
|
4079
4080
|
};
|
|
4080
4081
|
const SCTJCommonChart = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-2f3b9e13"]]);
|
|
4081
4082
|
const PieChart_vue_vue_type_style_index_0_scoped_747db0fa_lang = "";
|
|
4082
|
-
const _hoisted_1$
|
|
4083
|
+
const _hoisted_1$7 = ["element-loading-background"];
|
|
4083
4084
|
const _sfc_main$8 = {
|
|
4084
4085
|
__name: "PieChart",
|
|
4085
4086
|
props: {
|
|
@@ -4311,7 +4312,7 @@ const _sfc_main$8 = {
|
|
|
4311
4312
|
option: unref(chartOption),
|
|
4312
4313
|
height: "100%"
|
|
4313
4314
|
}, null, 8, ["option"])
|
|
4314
|
-
], 12, _hoisted_1$
|
|
4315
|
+
], 12, _hoisted_1$7)), [
|
|
4315
4316
|
[_directive_loading, __props.loading]
|
|
4316
4317
|
])
|
|
4317
4318
|
]),
|
|
@@ -4347,18 +4348,18 @@ const validateCoordinates = (longitude, latitude) => {
|
|
|
4347
4348
|
return true;
|
|
4348
4349
|
};
|
|
4349
4350
|
const index_vue_vue_type_style_index_0_scoped_c613bad1_lang = "";
|
|
4350
|
-
const _withScopeId$
|
|
4351
|
-
const _hoisted_1$
|
|
4352
|
-
const _hoisted_2$
|
|
4351
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-c613bad1"), n = n(), popScopeId(), n);
|
|
4352
|
+
const _hoisted_1$6 = ["id"];
|
|
4353
|
+
const _hoisted_2$5 = {
|
|
4353
4354
|
key: 0,
|
|
4354
4355
|
class: "error-content"
|
|
4355
4356
|
};
|
|
4356
|
-
const _hoisted_3$
|
|
4357
|
-
const _hoisted_4$
|
|
4357
|
+
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "error-icon" }, "!", -1));
|
|
4358
|
+
const _hoisted_4$4 = {
|
|
4358
4359
|
key: 1,
|
|
4359
4360
|
class: "loading-overlay"
|
|
4360
4361
|
};
|
|
4361
|
-
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$
|
|
4362
|
+
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("p", null, "\u6B63\u5728\u52A0\u8F7D\u64AD\u653E\u5668...", -1));
|
|
4362
4363
|
const _sfc_main$7 = {
|
|
4363
4364
|
__name: "index",
|
|
4364
4365
|
props: {
|
|
@@ -4644,9 +4645,9 @@ const _sfc_main$7 = {
|
|
|
4644
4645
|
class: "video-js",
|
|
4645
4646
|
controls: ""
|
|
4646
4647
|
}, null, 512)
|
|
4647
|
-
], 8, _hoisted_1$
|
|
4648
|
-
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4649
|
-
_hoisted_3$
|
|
4648
|
+
], 8, _hoisted_1$6),
|
|
4649
|
+
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
4650
|
+
_hoisted_3$5,
|
|
4650
4651
|
createElementVNode("p", null, toDisplayString(errorMessage.value), 1),
|
|
4651
4652
|
createVNode(unref(ElButton), {
|
|
4652
4653
|
type: "primary",
|
|
@@ -4660,7 +4661,7 @@ const _sfc_main$7 = {
|
|
|
4660
4661
|
_: 1
|
|
4661
4662
|
})
|
|
4662
4663
|
])) : createCommentVNode("", true),
|
|
4663
|
-
!errorMessage.value && !player.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4664
|
+
!errorMessage.value && !player.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
4664
4665
|
createVNode(unref(ElIcon), { class: "loading-icon" }, {
|
|
4665
4666
|
default: withCtx(() => [
|
|
4666
4667
|
createVNode(unref(Loading))
|
|
@@ -4674,7 +4675,7 @@ const _sfc_main$7 = {
|
|
|
4674
4675
|
}
|
|
4675
4676
|
};
|
|
4676
4677
|
const SCTJFlvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-c613bad1"]]);
|
|
4677
|
-
const _hoisted_1$
|
|
4678
|
+
const _hoisted_1$5 = ["src"];
|
|
4678
4679
|
const _sfc_main$6 = {
|
|
4679
4680
|
__name: "index",
|
|
4680
4681
|
props: {
|
|
@@ -4706,23 +4707,23 @@ const _sfc_main$6 = {
|
|
|
4706
4707
|
frameborder: "no",
|
|
4707
4708
|
style: { "width": "100%", "height": "100%" },
|
|
4708
4709
|
scrolling: "auto"
|
|
4709
|
-
}, null, 8, _hoisted_1$
|
|
4710
|
+
}, null, 8, _hoisted_1$5)
|
|
4710
4711
|
], 4)), [
|
|
4711
4712
|
[_directive_loading, unref(loading)]
|
|
4712
4713
|
]);
|
|
4713
4714
|
};
|
|
4714
4715
|
}
|
|
4715
4716
|
};
|
|
4716
|
-
const _hoisted_1$
|
|
4717
|
+
const _hoisted_1$4 = /* @__PURE__ */ createElementVNode("div", { class: "el-upload__text" }, [
|
|
4717
4718
|
/* @__PURE__ */ createTextVNode("\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\uFF0C\u6216"),
|
|
4718
4719
|
/* @__PURE__ */ createElementVNode("em", null, "\u70B9\u51FB\u4E0A\u4F20")
|
|
4719
4720
|
], -1);
|
|
4720
|
-
const _hoisted_2$
|
|
4721
|
-
const _hoisted_3$
|
|
4721
|
+
const _hoisted_2$4 = { class: "el-upload__tip text-center" };
|
|
4722
|
+
const _hoisted_3$4 = {
|
|
4722
4723
|
key: 0,
|
|
4723
4724
|
class: "el-upload__tip"
|
|
4724
4725
|
};
|
|
4725
|
-
const _hoisted_4$
|
|
4726
|
+
const _hoisted_4$3 = /* @__PURE__ */ createElementVNode("span", null, "\u4EC5\u5141\u8BB8\u5BFC\u5165xls\u3001xlsx\u683C\u5F0F\u6587\u4EF6\u3002", -1);
|
|
4726
4727
|
const _hoisted_5$2 = { class: "dialog-footer" };
|
|
4727
4728
|
const _sfc_main$5 = {
|
|
4728
4729
|
__name: "index",
|
|
@@ -4949,15 +4950,15 @@ const _sfc_main$5 = {
|
|
|
4949
4950
|
drag: ""
|
|
4950
4951
|
}, {
|
|
4951
4952
|
tip: withCtx(() => [
|
|
4952
|
-
createElementVNode("div", _hoisted_2$
|
|
4953
|
-
__props.showCheckBox ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
4953
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
4954
|
+
__props.showCheckBox ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
4954
4955
|
createVNode(_component_el_checkbox, {
|
|
4955
4956
|
modelValue: params.updateSupport,
|
|
4956
4957
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => params.updateSupport = $event)
|
|
4957
4958
|
}, null, 8, ["modelValue"]),
|
|
4958
4959
|
createTextVNode(" \u662F\u5426\u66F4\u65B0\u5DF2\u7ECF\u5B58\u5728\u7684\u6570\u636E ")
|
|
4959
4960
|
])) : createCommentVNode("", true),
|
|
4960
|
-
_hoisted_4$
|
|
4961
|
+
_hoisted_4$3,
|
|
4961
4962
|
!__props.otherTemplate.length ? (openBlock(), createBlock(_component_el_link, {
|
|
4962
4963
|
key: 1,
|
|
4963
4964
|
type: "primary",
|
|
@@ -5020,7 +5021,7 @@ const _sfc_main$5 = {
|
|
|
5020
5021
|
]),
|
|
5021
5022
|
_: 1
|
|
5022
5023
|
}),
|
|
5023
|
-
_hoisted_1$
|
|
5024
|
+
_hoisted_1$4
|
|
5024
5025
|
]),
|
|
5025
5026
|
_: 1
|
|
5026
5027
|
}, 8, ["headers", "action", "disabled"])
|
|
@@ -5031,12 +5032,12 @@ const _sfc_main$5 = {
|
|
|
5031
5032
|
}
|
|
5032
5033
|
};
|
|
5033
5034
|
const index_vue_vue_type_style_index_0_scoped_23f6e80a_lang = "";
|
|
5034
|
-
const _hoisted_1$
|
|
5035
|
-
const _hoisted_2$
|
|
5035
|
+
const _hoisted_1$3 = { class: "action-container" };
|
|
5036
|
+
const _hoisted_2$3 = {
|
|
5036
5037
|
key: 0,
|
|
5037
5038
|
class: "layer-switch"
|
|
5038
5039
|
};
|
|
5039
|
-
const _hoisted_3$
|
|
5040
|
+
const _hoisted_3$3 = {
|
|
5040
5041
|
key: 1,
|
|
5041
5042
|
class: "legendContainer"
|
|
5042
5043
|
};
|
|
@@ -5935,8 +5936,8 @@ const _sfc_main$4 = {
|
|
|
5935
5936
|
ref_key: "mapContainer",
|
|
5936
5937
|
ref: mapContainer
|
|
5937
5938
|
}, [
|
|
5938
|
-
createElementVNode("div", _hoisted_1$
|
|
5939
|
-
__props.changeMapType ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5939
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
5940
|
+
__props.changeMapType ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
5940
5941
|
createVNode(_component_el_switch, {
|
|
5941
5942
|
modelValue: isSatellite.value,
|
|
5942
5943
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isSatellite.value = $event),
|
|
@@ -5945,7 +5946,7 @@ const _sfc_main$4 = {
|
|
|
5945
5946
|
onChange: handleLayerChange
|
|
5946
5947
|
}, null, 8, ["modelValue"])
|
|
5947
5948
|
])) : createCommentVNode("", true),
|
|
5948
|
-
__props.legendConfig.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5949
|
+
__props.legendConfig.length ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
5949
5950
|
createVNode(_component_el_checkbox_group, {
|
|
5950
5951
|
modelValue: legend.value,
|
|
5951
5952
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => legend.value = $event),
|
|
@@ -5974,17 +5975,17 @@ const _sfc_main$4 = {
|
|
|
5974
5975
|
};
|
|
5975
5976
|
const SCTJMapViewer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-23f6e80a"]]);
|
|
5976
5977
|
const index_vue_vue_type_style_index_0_scoped_761d2ab4_lang = "";
|
|
5977
|
-
const _withScopeId$
|
|
5978
|
-
const _hoisted_1$
|
|
5978
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-761d2ab4"), n = n(), popScopeId(), n);
|
|
5979
|
+
const _hoisted_1$2 = {
|
|
5979
5980
|
key: 0,
|
|
5980
5981
|
class: "btn-container"
|
|
5981
5982
|
};
|
|
5982
|
-
const _hoisted_2$
|
|
5983
|
-
const _hoisted_3$
|
|
5983
|
+
const _hoisted_2$2 = { class: "help-button-container" };
|
|
5984
|
+
const _hoisted_3$2 = {
|
|
5984
5985
|
key: 0,
|
|
5985
5986
|
class: "layer-switch"
|
|
5986
5987
|
};
|
|
5987
|
-
const _hoisted_4$
|
|
5988
|
+
const _hoisted_4$2 = { class: "search-container" };
|
|
5988
5989
|
const _hoisted_5$1 = { class: "place-suggestion-item" };
|
|
5989
5990
|
const _hoisted_6$1 = { class: "name" };
|
|
5990
5991
|
const _hoisted_7$1 = { class: "address" };
|
|
@@ -5993,7 +5994,7 @@ const _hoisted_9$1 = { class: "delete-buttons" };
|
|
|
5993
5994
|
const _hoisted_10$1 = { key: 0 };
|
|
5994
5995
|
const _hoisted_11$1 = { key: 0 };
|
|
5995
5996
|
const _hoisted_12$1 = { class: "dialog-footer" };
|
|
5996
|
-
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$
|
|
5997
|
+
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
5997
5998
|
/* @__PURE__ */ createElementVNode("div", { class: "guide-section" }, [
|
|
5998
5999
|
/* @__PURE__ */ createElementVNode("strong", null, "\u5F00\u59CB\u7ED8\u5236\uFF1A"),
|
|
5999
6000
|
/* @__PURE__ */ createElementVNode("ul", null, [
|
|
@@ -7379,10 +7380,10 @@ const _sfc_main$3 = {
|
|
|
7379
7380
|
ref_key: "mapContainer",
|
|
7380
7381
|
ref: mapContainer
|
|
7381
7382
|
}, null, 512),
|
|
7382
|
-
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7383
|
+
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
7383
7384
|
createVNode(_component_el_card, { shadow: "never" }, {
|
|
7384
7385
|
default: withCtx(() => [
|
|
7385
|
-
createElementVNode("div", _hoisted_2$
|
|
7386
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
7386
7387
|
createVNode(_component_el_button, {
|
|
7387
7388
|
type: "primary",
|
|
7388
7389
|
icon: unref(QuestionFilled),
|
|
@@ -7395,7 +7396,7 @@ const _sfc_main$3 = {
|
|
|
7395
7396
|
_: 1
|
|
7396
7397
|
}, 8, ["icon"])
|
|
7397
7398
|
]),
|
|
7398
|
-
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7399
|
+
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
7399
7400
|
createVNode(_component_el_switch, {
|
|
7400
7401
|
modelValue: isSatellite.value,
|
|
7401
7402
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isSatellite.value = $event),
|
|
@@ -7413,7 +7414,7 @@ const _sfc_main$3 = {
|
|
|
7413
7414
|
]),
|
|
7414
7415
|
_: 1
|
|
7415
7416
|
})) : createCommentVNode("", true),
|
|
7416
|
-
createElementVNode("div", _hoisted_4$
|
|
7417
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
7417
7418
|
createVNode(_component_el_autocomplete, {
|
|
7418
7419
|
modelValue: searchKeyword.value,
|
|
7419
7420
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchKeyword.value = $event),
|
|
@@ -7569,17 +7570,17 @@ const _sfc_main$3 = {
|
|
|
7569
7570
|
};
|
|
7570
7571
|
const SCTJMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-761d2ab4"]]);
|
|
7571
7572
|
const index_vue_vue_type_style_index_0_scoped_d0bea808_lang = "";
|
|
7572
|
-
const _withScopeId = (n) => (pushScopeId("data-v-d0bea808"), n = n(), popScopeId(), n);
|
|
7573
|
-
const _hoisted_1 = {
|
|
7573
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-d0bea808"), n = n(), popScopeId(), n);
|
|
7574
|
+
const _hoisted_1$1 = {
|
|
7574
7575
|
key: 0,
|
|
7575
7576
|
class: "btn-container"
|
|
7576
7577
|
};
|
|
7577
|
-
const _hoisted_2 = { class: "help-button-container" };
|
|
7578
|
-
const _hoisted_3 = {
|
|
7578
|
+
const _hoisted_2$1 = { class: "help-button-container" };
|
|
7579
|
+
const _hoisted_3$1 = {
|
|
7579
7580
|
key: 0,
|
|
7580
7581
|
class: "layer-switch"
|
|
7581
7582
|
};
|
|
7582
|
-
const _hoisted_4 = { class: "search-container" };
|
|
7583
|
+
const _hoisted_4$1 = { class: "search-container" };
|
|
7583
7584
|
const _hoisted_5 = { class: "place-suggestion-item" };
|
|
7584
7585
|
const _hoisted_6 = { class: "name" };
|
|
7585
7586
|
const _hoisted_7 = { class: "address" };
|
|
@@ -7588,7 +7589,7 @@ const _hoisted_9 = { class: "delete-buttons" };
|
|
|
7588
7589
|
const _hoisted_10 = { key: 0 };
|
|
7589
7590
|
const _hoisted_11 = { key: 0 };
|
|
7590
7591
|
const _hoisted_12 = { class: "dialog-footer" };
|
|
7591
|
-
const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
7592
|
+
const _hoisted_13 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
7592
7593
|
/* @__PURE__ */ createElementVNode("div", { class: "guide-section" }, [
|
|
7593
7594
|
/* @__PURE__ */ createElementVNode("strong", null, "\u5F00\u59CB\u7ED8\u5236\uFF1A"),
|
|
7594
7595
|
/* @__PURE__ */ createElementVNode("ul", null, [
|
|
@@ -9179,10 +9180,10 @@ const _sfc_main$2 = {
|
|
|
9179
9180
|
ref_key: "mapContainer",
|
|
9180
9181
|
ref: mapContainer
|
|
9181
9182
|
}, null, 512),
|
|
9182
|
-
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
9183
|
+
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
9183
9184
|
createVNode(_component_el_card, { shadow: "never" }, {
|
|
9184
9185
|
default: withCtx(() => [
|
|
9185
|
-
createElementVNode("div", _hoisted_2, [
|
|
9186
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
9186
9187
|
createVNode(_component_el_button, {
|
|
9187
9188
|
type: "primary",
|
|
9188
9189
|
icon: unref(QuestionFilled),
|
|
@@ -9195,7 +9196,7 @@ const _sfc_main$2 = {
|
|
|
9195
9196
|
_: 1
|
|
9196
9197
|
}, 8, ["icon"])
|
|
9197
9198
|
]),
|
|
9198
|
-
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
9199
|
+
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
9199
9200
|
createVNode(_component_el_switch, {
|
|
9200
9201
|
modelValue: isSatellite.value,
|
|
9201
9202
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isSatellite.value = $event),
|
|
@@ -9213,7 +9214,7 @@ const _sfc_main$2 = {
|
|
|
9213
9214
|
]),
|
|
9214
9215
|
_: 1
|
|
9215
9216
|
})) : createCommentVNode("", true),
|
|
9216
|
-
createElementVNode("div", _hoisted_4, [
|
|
9217
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
9217
9218
|
createVNode(_component_el_autocomplete, {
|
|
9218
9219
|
modelValue: searchKeyword.value,
|
|
9219
9220
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchKeyword.value = $event),
|
|
@@ -9399,7 +9400,15 @@ const _sfc_main$2 = {
|
|
|
9399
9400
|
}
|
|
9400
9401
|
};
|
|
9401
9402
|
const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d0bea808"]]);
|
|
9402
|
-
const
|
|
9403
|
+
const BimViewer_vue_vue_type_style_index_0_scoped_89adda4f_lang = "";
|
|
9404
|
+
const _withScopeId = (n) => (pushScopeId("data-v-89adda4f"), n = n(), popScopeId(), n);
|
|
9405
|
+
const _hoisted_1 = {
|
|
9406
|
+
key: 0,
|
|
9407
|
+
class: "error-overlay"
|
|
9408
|
+
};
|
|
9409
|
+
const _hoisted_2 = { class: "error-content" };
|
|
9410
|
+
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "error-icon" }, "\u26A0\uFE0F", -1));
|
|
9411
|
+
const _hoisted_4 = { class: "error-text" };
|
|
9403
9412
|
const _sfc_main$1 = {
|
|
9404
9413
|
__name: "BimViewer",
|
|
9405
9414
|
props: {
|
|
@@ -9415,10 +9424,12 @@ const _sfc_main$1 = {
|
|
|
9415
9424
|
emits: ["contextMenuClick"],
|
|
9416
9425
|
setup(__props, { expose, emit }) {
|
|
9417
9426
|
const props = __props;
|
|
9427
|
+
const loading = ref$1(true);
|
|
9418
9428
|
const bimContainer = ref$1(null);
|
|
9419
9429
|
const viewer3D = ref$1(null);
|
|
9420
9430
|
const app = ref$1(null);
|
|
9421
9431
|
const resizeHandler = ref$1(null);
|
|
9432
|
+
const errorMessage = ref$1("");
|
|
9422
9433
|
const handleResize = () => {
|
|
9423
9434
|
if (viewer3D.value) {
|
|
9424
9435
|
viewer3D.value.resize(
|
|
@@ -9544,13 +9555,11 @@ const _sfc_main$1 = {
|
|
|
9544
9555
|
const successCallback = (viewMetaData) => {
|
|
9545
9556
|
console.log("viewMetaData", viewMetaData);
|
|
9546
9557
|
if (viewMetaData.viewType !== "3DView") {
|
|
9558
|
+
loading.value = false;
|
|
9559
|
+
errorMessage.value = "\u5F53\u524D\u89C6\u56FE\u4E0D\u662F3D\u89C6\u56FE";
|
|
9547
9560
|
console.warn("\u5F53\u524D\u89C6\u56FE\u4E0D\u662F3D\u89C6\u56FE");
|
|
9548
9561
|
return;
|
|
9549
9562
|
}
|
|
9550
|
-
if (!bimContainer.value) {
|
|
9551
|
-
console.error("\u5BB9\u5668\u5143\u7D20\u4E0D\u5B58\u5728");
|
|
9552
|
-
return;
|
|
9553
|
-
}
|
|
9554
9563
|
try {
|
|
9555
9564
|
const webAppConfig = new Glodon.Bimface.Application.WebApplication3DConfig();
|
|
9556
9565
|
webAppConfig.domElement = bimContainer.value;
|
|
@@ -9567,13 +9576,19 @@ const _sfc_main$1 = {
|
|
|
9567
9576
|
handleContextMenu
|
|
9568
9577
|
);
|
|
9569
9578
|
} catch (error) {
|
|
9579
|
+
errorMessage.value = `\u521D\u59CB\u5316BIM\u6A21\u578B\u5931\u8D25`;
|
|
9570
9580
|
console.error("\u521D\u59CB\u5316BIM\u6A21\u578B\u5931\u8D25:", error);
|
|
9581
|
+
} finally {
|
|
9582
|
+
loading.value = false;
|
|
9571
9583
|
}
|
|
9572
9584
|
};
|
|
9573
9585
|
const failureCallback = (error) => {
|
|
9586
|
+
loading.value = false;
|
|
9587
|
+
errorMessage.value = `\u52A0\u8F7DBIM\u6A21\u578B\u5931\u8D25`;
|
|
9574
9588
|
console.error("\u52A0\u8F7DBIM\u6A21\u578B\u5931\u8D25:", error);
|
|
9575
9589
|
};
|
|
9576
9590
|
const loadModel = () => {
|
|
9591
|
+
errorMessage.value = "";
|
|
9577
9592
|
if (!bimContainer.value) {
|
|
9578
9593
|
console.error("\u5BB9\u5668\u5143\u7D20\u672A\u51C6\u5907\u597D");
|
|
9579
9594
|
return;
|
|
@@ -9586,6 +9601,11 @@ const _sfc_main$1 = {
|
|
|
9586
9601
|
options.viewToken = props.viewToken;
|
|
9587
9602
|
BimfaceSDKLoader.load(options, successCallback, failureCallback);
|
|
9588
9603
|
};
|
|
9604
|
+
const handleRetry = () => {
|
|
9605
|
+
errorMessage.value = "";
|
|
9606
|
+
loading.value = true;
|
|
9607
|
+
loadModel();
|
|
9608
|
+
};
|
|
9589
9609
|
const cleanup = () => {
|
|
9590
9610
|
var _a, _b, _c, _d, _e, _f;
|
|
9591
9611
|
if (resizeHandler.value) {
|
|
@@ -9672,9 +9692,7 @@ const _sfc_main$1 = {
|
|
|
9672
9692
|
});
|
|
9673
9693
|
};
|
|
9674
9694
|
watch(() => props.viewToken, () => {
|
|
9675
|
-
|
|
9676
|
-
initBim();
|
|
9677
|
-
}
|
|
9695
|
+
initBim();
|
|
9678
9696
|
}, { immediate: true });
|
|
9679
9697
|
onBeforeUnmount(() => {
|
|
9680
9698
|
cleanup();
|
|
@@ -9688,15 +9706,36 @@ const _sfc_main$1 = {
|
|
|
9688
9706
|
unIsolateComponent
|
|
9689
9707
|
});
|
|
9690
9708
|
return (_ctx, _cache) => {
|
|
9691
|
-
|
|
9709
|
+
const _component_el_button = resolveComponent("el-button");
|
|
9710
|
+
const _directive_loading = resolveDirective("loading");
|
|
9711
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
9692
9712
|
class: "model-container",
|
|
9693
9713
|
ref_key: "bimContainer",
|
|
9694
9714
|
ref: bimContainer
|
|
9695
|
-
},
|
|
9715
|
+
}, [
|
|
9716
|
+
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
9717
|
+
createElementVNode("div", _hoisted_2, [
|
|
9718
|
+
_hoisted_3,
|
|
9719
|
+
createElementVNode("div", _hoisted_4, toDisplayString(errorMessage.value), 1),
|
|
9720
|
+
createVNode(_component_el_button, {
|
|
9721
|
+
type: "primary",
|
|
9722
|
+
size: "small",
|
|
9723
|
+
onClick: handleRetry
|
|
9724
|
+
}, {
|
|
9725
|
+
default: withCtx(() => [
|
|
9726
|
+
createTextVNode("\u91CD\u8BD5")
|
|
9727
|
+
]),
|
|
9728
|
+
_: 1
|
|
9729
|
+
})
|
|
9730
|
+
])
|
|
9731
|
+
])) : createCommentVNode("", true)
|
|
9732
|
+
])), [
|
|
9733
|
+
[_directive_loading, loading.value]
|
|
9734
|
+
]);
|
|
9696
9735
|
};
|
|
9697
9736
|
}
|
|
9698
9737
|
};
|
|
9699
|
-
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
9738
|
+
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-89adda4f"]]);
|
|
9700
9739
|
const DwgViewer_vue_vue_type_style_index_0_scoped_ab9c8ebd_lang = "";
|
|
9701
9740
|
const _sfc_main = {
|
|
9702
9741
|
__name: "DwgViewer",
|