sctj-components 1.0.52 → 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 +168 -130
- 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),
|
|
@@ -1549,8 +1549,8 @@ const _sfc_main$l = {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
};
|
|
1551
1551
|
const index_vue_vue_type_style_index_0_scoped_1c87997b_lang = "";
|
|
1552
|
-
const _hoisted_1$
|
|
1553
|
-
const _hoisted_2$
|
|
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,
|
|
@@ -1836,7 +1836,7 @@ const _sfc_main$k = {
|
|
|
1836
1836
|
};
|
|
1837
1837
|
const SCTJTimeLineSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1c87997b"]]);
|
|
1838
1838
|
const index_vue_vue_type_style_index_0_scoped_0e809a5c_lang = "";
|
|
1839
|
-
const _hoisted_1$
|
|
1839
|
+
const _hoisted_1$f = { class: "table-container" };
|
|
1840
1840
|
const _sfc_main$j = {
|
|
1841
1841
|
__name: "index",
|
|
1842
1842
|
props: {
|
|
@@ -2093,7 +2093,7 @@ const _sfc_main$j = {
|
|
|
2093
2093
|
class: "TJ-table-container",
|
|
2094
2094
|
style: normalizeStyle({ height: __props.height })
|
|
2095
2095
|
}, [
|
|
2096
|
-
createElementVNode("div", _hoisted_1$
|
|
2096
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
2097
2097
|
createVNode(_component_el_table, mergeProps({
|
|
2098
2098
|
ref_key: "tableRef",
|
|
2099
2099
|
ref: tableRef,
|
|
@@ -2176,9 +2176,9 @@ const _sfc_main$j = {
|
|
|
2176
2176
|
const SCTJTable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0e809a5c"]]);
|
|
2177
2177
|
const index_vue_vue_type_style_index_0_scoped_45fb95db_lang = "";
|
|
2178
2178
|
const _sfc_main$i = {};
|
|
2179
|
-
const _hoisted_1$
|
|
2179
|
+
const _hoisted_1$e = { class: "table-container" };
|
|
2180
2180
|
function _sfc_render(_ctx, _cache) {
|
|
2181
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2181
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
2182
2182
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2183
2183
|
]);
|
|
2184
2184
|
}
|
|
@@ -2330,7 +2330,7 @@ const _sfc_main$h = {
|
|
|
2330
2330
|
};
|
|
2331
2331
|
const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-46df4461"]]);
|
|
2332
2332
|
const index_vue_vue_type_style_index_0_scoped_056cfdde_lang = "";
|
|
2333
|
-
const _hoisted_1$
|
|
2333
|
+
const _hoisted_1$d = { class: "table-top-action-container" };
|
|
2334
2334
|
const _sfc_main$g = {
|
|
2335
2335
|
__name: "index",
|
|
2336
2336
|
props: {
|
|
@@ -2358,7 +2358,7 @@ const _sfc_main$g = {
|
|
|
2358
2358
|
emit("refresh");
|
|
2359
2359
|
};
|
|
2360
2360
|
return (_ctx, _cache) => {
|
|
2361
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2361
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
2362
2362
|
renderSlot(_ctx.$slots, "left", {}, void 0, true),
|
|
2363
2363
|
renderSlot(_ctx.$slots, "right", {}, () => [
|
|
2364
2364
|
createVNode(SCTJRightToolbar, {
|
|
@@ -2374,18 +2374,18 @@ const _sfc_main$g = {
|
|
|
2374
2374
|
};
|
|
2375
2375
|
const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-056cfdde"]]);
|
|
2376
2376
|
const index_vue_vue_type_style_index_0_scoped_26db7104_lang = "";
|
|
2377
|
-
const _withScopeId$
|
|
2378
|
-
const _hoisted_1$
|
|
2377
|
+
const _withScopeId$5 = (n) => (pushScopeId("data-v-26db7104"), n = n(), popScopeId(), n);
|
|
2378
|
+
const _hoisted_1$c = {
|
|
2379
2379
|
key: 0,
|
|
2380
2380
|
class: "search-container"
|
|
2381
2381
|
};
|
|
2382
|
-
const _hoisted_2$
|
|
2383
|
-
const _hoisted_3$
|
|
2384
|
-
const _hoisted_4$
|
|
2382
|
+
const _hoisted_2$9 = { class: "table-box" };
|
|
2383
|
+
const _hoisted_3$7 = ["onClick"];
|
|
2384
|
+
const _hoisted_4$6 = {
|
|
2385
2385
|
slot: "header",
|
|
2386
2386
|
class: "clearfix"
|
|
2387
2387
|
};
|
|
2388
|
-
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));
|
|
2389
2389
|
const _hoisted_6$2 = { class: "tag-container" };
|
|
2390
2390
|
const _hoisted_7$2 = { class: "tag-name" };
|
|
2391
2391
|
const _hoisted_8$2 = { class: "dialog-footer" };
|
|
@@ -2671,7 +2671,7 @@ const _sfc_main$f = {
|
|
|
2671
2671
|
])
|
|
2672
2672
|
]),
|
|
2673
2673
|
default: withCtx(() => [
|
|
2674
|
-
unref(queryColumns).length ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2674
|
+
unref(queryColumns).length ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
2675
2675
|
createVNode(_component_el_card, { shadow: "hover" }, {
|
|
2676
2676
|
default: withCtx(() => [
|
|
2677
2677
|
createVNode(_component_el_form, {
|
|
@@ -2760,7 +2760,7 @@ const _sfc_main$f = {
|
|
|
2760
2760
|
style: normalizeStyle({ height: !unref(isMobile) ? __props.height : "100%" }),
|
|
2761
2761
|
class: normalizeClass(["content-box", unref(isMobile) && "content-box-mobile"])
|
|
2762
2762
|
}, [
|
|
2763
|
-
createElementVNode("div", _hoisted_2$
|
|
2763
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
2764
2764
|
withDirectives((openBlock(), createBlock(_component_el_table, {
|
|
2765
2765
|
size: unref(isMobile) ? "small" : "",
|
|
2766
2766
|
class: "table-content",
|
|
@@ -2806,7 +2806,7 @@ const _sfc_main$f = {
|
|
|
2806
2806
|
createElementVNode("span", {
|
|
2807
2807
|
onClick: ($event) => handleClick(item.action, item.prop, scope),
|
|
2808
2808
|
class: normalizeClass({ "linkStyle": item.action || false })
|
|
2809
|
-
}, 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)
|
|
2810
2810
|
]),
|
|
2811
2811
|
_: 2
|
|
2812
2812
|
}, 1040))
|
|
@@ -2854,7 +2854,7 @@ const _sfc_main$f = {
|
|
|
2854
2854
|
shadow: "never"
|
|
2855
2855
|
}, {
|
|
2856
2856
|
default: withCtx(() => [
|
|
2857
|
-
createElementVNode("div", _hoisted_4$
|
|
2857
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
2858
2858
|
_hoisted_5$4,
|
|
2859
2859
|
createVNode(_component_el_button, {
|
|
2860
2860
|
style: { "float": "right", "padding": "3px 0" },
|
|
@@ -2901,7 +2901,7 @@ const _sfc_main$f = {
|
|
|
2901
2901
|
};
|
|
2902
2902
|
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-26db7104"]]);
|
|
2903
2903
|
const index_vue_vue_type_style_index_0_scoped_80cb4921_lang = "";
|
|
2904
|
-
const _hoisted_1$
|
|
2904
|
+
const _hoisted_1$b = { style: { "background": "#fff" } };
|
|
2905
2905
|
const _sfc_main$e = {
|
|
2906
2906
|
__name: "index",
|
|
2907
2907
|
props: {
|
|
@@ -3189,7 +3189,7 @@ const _sfc_main$e = {
|
|
|
3189
3189
|
const _component_el_table = resolveComponent("el-table");
|
|
3190
3190
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
3191
3191
|
const _directive_loading = resolveDirective("loading");
|
|
3192
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3192
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
3193
3193
|
withDirectives((openBlock(), createBlock(_component_el_table, mergeProps({
|
|
3194
3194
|
size: unref(isMobile) ? "small" : "default",
|
|
3195
3195
|
ref_key: "tableRef",
|
|
@@ -3299,8 +3299,8 @@ const _sfc_main$d = {
|
|
|
3299
3299
|
}
|
|
3300
3300
|
};
|
|
3301
3301
|
const index_vue_vue_type_style_index_0_scoped_48dc11be_lang = "";
|
|
3302
|
-
const _hoisted_1$
|
|
3303
|
-
const _hoisted_2$
|
|
3302
|
+
const _hoisted_1$a = { class: "table-page-container" };
|
|
3303
|
+
const _hoisted_2$8 = { style: { "flex": "1", "height": "0" } };
|
|
3304
3304
|
const _sfc_main$c = {
|
|
3305
3305
|
__name: "index",
|
|
3306
3306
|
props: {
|
|
@@ -3328,7 +3328,7 @@ const _sfc_main$c = {
|
|
|
3328
3328
|
emit("update:showSearch", !newVal);
|
|
3329
3329
|
}, { immediate: true });
|
|
3330
3330
|
return (_ctx, _cache) => {
|
|
3331
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3331
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
3332
3332
|
renderSlot(_ctx.$slots, "search", {}, void 0, true),
|
|
3333
3333
|
createVNode(SCTJTableTopActionContainer, {
|
|
3334
3334
|
showSearch: unref(outSearch),
|
|
@@ -3340,7 +3340,7 @@ const _sfc_main$c = {
|
|
|
3340
3340
|
]),
|
|
3341
3341
|
_: 3
|
|
3342
3342
|
}, 8, ["showSearch"]),
|
|
3343
|
-
createElementVNode("div", _hoisted_2$
|
|
3343
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
3344
3344
|
renderSlot(_ctx.$slots, "table", {}, void 0, true)
|
|
3345
3345
|
]),
|
|
3346
3346
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -3350,11 +3350,11 @@ const _sfc_main$c = {
|
|
|
3350
3350
|
};
|
|
3351
3351
|
const SCTJTablePageContainer = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-48dc11be"]]);
|
|
3352
3352
|
const index_vue_vue_type_style_index_0_scoped_6e30b57f_lang = "";
|
|
3353
|
-
const _hoisted_1$
|
|
3353
|
+
const _hoisted_1$9 = {
|
|
3354
3354
|
key: 0,
|
|
3355
3355
|
class: "search-container"
|
|
3356
3356
|
};
|
|
3357
|
-
const _hoisted_2$
|
|
3357
|
+
const _hoisted_2$7 = {
|
|
3358
3358
|
key: 1,
|
|
3359
3359
|
class: "custom-drawer"
|
|
3360
3360
|
};
|
|
@@ -3375,7 +3375,7 @@ const _sfc_main$b = {
|
|
|
3375
3375
|
return (_ctx, _cache) => {
|
|
3376
3376
|
const _component_el_card = resolveComponent("el-card");
|
|
3377
3377
|
const _component_el_drawer = resolveComponent("el-drawer");
|
|
3378
|
-
return !unref(isMobile) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
3378
|
+
return !unref(isMobile) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
3379
3379
|
createVNode(_component_el_card, null, {
|
|
3380
3380
|
default: withCtx(() => [
|
|
3381
3381
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -3384,7 +3384,7 @@ const _sfc_main$b = {
|
|
|
3384
3384
|
})
|
|
3385
3385
|
], 512)), [
|
|
3386
3386
|
[vShow, __props.visible]
|
|
3387
|
-
]) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3387
|
+
]) : (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
3388
3388
|
createVNode(_component_el_drawer, {
|
|
3389
3389
|
"model-value": __props.visible,
|
|
3390
3390
|
title: "\u7B5B\u9009\u6761\u4EF6",
|
|
@@ -3504,14 +3504,14 @@ const _sfc_main$a = {
|
|
|
3504
3504
|
};
|
|
3505
3505
|
const emptyImg = "data:image/png;base64,";
|
|
3506
3506
|
const CommonChart_vue_vue_type_style_index_0_scoped_2f3b9e13_lang = "";
|
|
3507
|
-
const _withScopeId$
|
|
3508
|
-
const _hoisted_1$
|
|
3509
|
-
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 = {
|
|
3510
3510
|
key: 1,
|
|
3511
3511
|
class: "empty-wrapper"
|
|
3512
3512
|
};
|
|
3513
|
-
const _hoisted_3$
|
|
3514
|
-
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));
|
|
3515
3515
|
const _sfc_main$9 = {
|
|
3516
3516
|
__name: "CommonChart",
|
|
3517
3517
|
props: {
|
|
@@ -4043,15 +4043,15 @@ const _sfc_main$9 = {
|
|
|
4043
4043
|
ref_key: "baseChartRef",
|
|
4044
4044
|
ref: baseChartRef,
|
|
4045
4045
|
option: unref(option)
|
|
4046
|
-
}, null, 8, ["option"])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4046
|
+
}, null, 8, ["option"])) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
4047
4047
|
createElementVNode("img", {
|
|
4048
4048
|
src: unref(emptyImg),
|
|
4049
4049
|
alt: "empty",
|
|
4050
4050
|
class: "empty-image"
|
|
4051
|
-
}, null, 8, _hoisted_3$
|
|
4052
|
-
_hoisted_4$
|
|
4051
|
+
}, null, 8, _hoisted_3$6),
|
|
4052
|
+
_hoisted_4$5
|
|
4053
4053
|
]))
|
|
4054
|
-
], 12, _hoisted_1$
|
|
4054
|
+
], 12, _hoisted_1$8)), [
|
|
4055
4055
|
[_directive_loading, __props.loading]
|
|
4056
4056
|
])
|
|
4057
4057
|
]),
|
|
@@ -4080,7 +4080,7 @@ const _sfc_main$9 = {
|
|
|
4080
4080
|
};
|
|
4081
4081
|
const SCTJCommonChart = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-2f3b9e13"]]);
|
|
4082
4082
|
const PieChart_vue_vue_type_style_index_0_scoped_747db0fa_lang = "";
|
|
4083
|
-
const _hoisted_1$
|
|
4083
|
+
const _hoisted_1$7 = ["element-loading-background"];
|
|
4084
4084
|
const _sfc_main$8 = {
|
|
4085
4085
|
__name: "PieChart",
|
|
4086
4086
|
props: {
|
|
@@ -4312,7 +4312,7 @@ const _sfc_main$8 = {
|
|
|
4312
4312
|
option: unref(chartOption),
|
|
4313
4313
|
height: "100%"
|
|
4314
4314
|
}, null, 8, ["option"])
|
|
4315
|
-
], 12, _hoisted_1$
|
|
4315
|
+
], 12, _hoisted_1$7)), [
|
|
4316
4316
|
[_directive_loading, __props.loading]
|
|
4317
4317
|
])
|
|
4318
4318
|
]),
|
|
@@ -4348,18 +4348,18 @@ const validateCoordinates = (longitude, latitude) => {
|
|
|
4348
4348
|
return true;
|
|
4349
4349
|
};
|
|
4350
4350
|
const index_vue_vue_type_style_index_0_scoped_c613bad1_lang = "";
|
|
4351
|
-
const _withScopeId$
|
|
4352
|
-
const _hoisted_1$
|
|
4353
|
-
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 = {
|
|
4354
4354
|
key: 0,
|
|
4355
4355
|
class: "error-content"
|
|
4356
4356
|
};
|
|
4357
|
-
const _hoisted_3$
|
|
4358
|
-
const _hoisted_4$
|
|
4357
|
+
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "error-icon" }, "!", -1));
|
|
4358
|
+
const _hoisted_4$4 = {
|
|
4359
4359
|
key: 1,
|
|
4360
4360
|
class: "loading-overlay"
|
|
4361
4361
|
};
|
|
4362
|
-
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));
|
|
4363
4363
|
const _sfc_main$7 = {
|
|
4364
4364
|
__name: "index",
|
|
4365
4365
|
props: {
|
|
@@ -4645,9 +4645,9 @@ const _sfc_main$7 = {
|
|
|
4645
4645
|
class: "video-js",
|
|
4646
4646
|
controls: ""
|
|
4647
4647
|
}, null, 512)
|
|
4648
|
-
], 8, _hoisted_1$
|
|
4649
|
-
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4650
|
-
_hoisted_3$
|
|
4648
|
+
], 8, _hoisted_1$6),
|
|
4649
|
+
errorMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
4650
|
+
_hoisted_3$5,
|
|
4651
4651
|
createElementVNode("p", null, toDisplayString(errorMessage.value), 1),
|
|
4652
4652
|
createVNode(unref(ElButton), {
|
|
4653
4653
|
type: "primary",
|
|
@@ -4661,7 +4661,7 @@ const _sfc_main$7 = {
|
|
|
4661
4661
|
_: 1
|
|
4662
4662
|
})
|
|
4663
4663
|
])) : createCommentVNode("", true),
|
|
4664
|
-
!errorMessage.value && !player.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4664
|
+
!errorMessage.value && !player.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
4665
4665
|
createVNode(unref(ElIcon), { class: "loading-icon" }, {
|
|
4666
4666
|
default: withCtx(() => [
|
|
4667
4667
|
createVNode(unref(Loading))
|
|
@@ -4675,7 +4675,7 @@ const _sfc_main$7 = {
|
|
|
4675
4675
|
}
|
|
4676
4676
|
};
|
|
4677
4677
|
const SCTJFlvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-c613bad1"]]);
|
|
4678
|
-
const _hoisted_1$
|
|
4678
|
+
const _hoisted_1$5 = ["src"];
|
|
4679
4679
|
const _sfc_main$6 = {
|
|
4680
4680
|
__name: "index",
|
|
4681
4681
|
props: {
|
|
@@ -4707,23 +4707,23 @@ const _sfc_main$6 = {
|
|
|
4707
4707
|
frameborder: "no",
|
|
4708
4708
|
style: { "width": "100%", "height": "100%" },
|
|
4709
4709
|
scrolling: "auto"
|
|
4710
|
-
}, null, 8, _hoisted_1$
|
|
4710
|
+
}, null, 8, _hoisted_1$5)
|
|
4711
4711
|
], 4)), [
|
|
4712
4712
|
[_directive_loading, unref(loading)]
|
|
4713
4713
|
]);
|
|
4714
4714
|
};
|
|
4715
4715
|
}
|
|
4716
4716
|
};
|
|
4717
|
-
const _hoisted_1$
|
|
4717
|
+
const _hoisted_1$4 = /* @__PURE__ */ createElementVNode("div", { class: "el-upload__text" }, [
|
|
4718
4718
|
/* @__PURE__ */ createTextVNode("\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\uFF0C\u6216"),
|
|
4719
4719
|
/* @__PURE__ */ createElementVNode("em", null, "\u70B9\u51FB\u4E0A\u4F20")
|
|
4720
4720
|
], -1);
|
|
4721
|
-
const _hoisted_2$
|
|
4722
|
-
const _hoisted_3$
|
|
4721
|
+
const _hoisted_2$4 = { class: "el-upload__tip text-center" };
|
|
4722
|
+
const _hoisted_3$4 = {
|
|
4723
4723
|
key: 0,
|
|
4724
4724
|
class: "el-upload__tip"
|
|
4725
4725
|
};
|
|
4726
|
-
const _hoisted_4$
|
|
4726
|
+
const _hoisted_4$3 = /* @__PURE__ */ createElementVNode("span", null, "\u4EC5\u5141\u8BB8\u5BFC\u5165xls\u3001xlsx\u683C\u5F0F\u6587\u4EF6\u3002", -1);
|
|
4727
4727
|
const _hoisted_5$2 = { class: "dialog-footer" };
|
|
4728
4728
|
const _sfc_main$5 = {
|
|
4729
4729
|
__name: "index",
|
|
@@ -4950,15 +4950,15 @@ const _sfc_main$5 = {
|
|
|
4950
4950
|
drag: ""
|
|
4951
4951
|
}, {
|
|
4952
4952
|
tip: withCtx(() => [
|
|
4953
|
-
createElementVNode("div", _hoisted_2$
|
|
4954
|
-
__props.showCheckBox ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
4953
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
4954
|
+
__props.showCheckBox ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
4955
4955
|
createVNode(_component_el_checkbox, {
|
|
4956
4956
|
modelValue: params.updateSupport,
|
|
4957
4957
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => params.updateSupport = $event)
|
|
4958
4958
|
}, null, 8, ["modelValue"]),
|
|
4959
4959
|
createTextVNode(" \u662F\u5426\u66F4\u65B0\u5DF2\u7ECF\u5B58\u5728\u7684\u6570\u636E ")
|
|
4960
4960
|
])) : createCommentVNode("", true),
|
|
4961
|
-
_hoisted_4$
|
|
4961
|
+
_hoisted_4$3,
|
|
4962
4962
|
!__props.otherTemplate.length ? (openBlock(), createBlock(_component_el_link, {
|
|
4963
4963
|
key: 1,
|
|
4964
4964
|
type: "primary",
|
|
@@ -5021,7 +5021,7 @@ const _sfc_main$5 = {
|
|
|
5021
5021
|
]),
|
|
5022
5022
|
_: 1
|
|
5023
5023
|
}),
|
|
5024
|
-
_hoisted_1$
|
|
5024
|
+
_hoisted_1$4
|
|
5025
5025
|
]),
|
|
5026
5026
|
_: 1
|
|
5027
5027
|
}, 8, ["headers", "action", "disabled"])
|
|
@@ -5032,12 +5032,12 @@ const _sfc_main$5 = {
|
|
|
5032
5032
|
}
|
|
5033
5033
|
};
|
|
5034
5034
|
const index_vue_vue_type_style_index_0_scoped_23f6e80a_lang = "";
|
|
5035
|
-
const _hoisted_1$
|
|
5036
|
-
const _hoisted_2$
|
|
5035
|
+
const _hoisted_1$3 = { class: "action-container" };
|
|
5036
|
+
const _hoisted_2$3 = {
|
|
5037
5037
|
key: 0,
|
|
5038
5038
|
class: "layer-switch"
|
|
5039
5039
|
};
|
|
5040
|
-
const _hoisted_3$
|
|
5040
|
+
const _hoisted_3$3 = {
|
|
5041
5041
|
key: 1,
|
|
5042
5042
|
class: "legendContainer"
|
|
5043
5043
|
};
|
|
@@ -5936,8 +5936,8 @@ const _sfc_main$4 = {
|
|
|
5936
5936
|
ref_key: "mapContainer",
|
|
5937
5937
|
ref: mapContainer
|
|
5938
5938
|
}, [
|
|
5939
|
-
createElementVNode("div", _hoisted_1$
|
|
5940
|
-
__props.changeMapType ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5939
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
5940
|
+
__props.changeMapType ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
5941
5941
|
createVNode(_component_el_switch, {
|
|
5942
5942
|
modelValue: isSatellite.value,
|
|
5943
5943
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isSatellite.value = $event),
|
|
@@ -5946,7 +5946,7 @@ const _sfc_main$4 = {
|
|
|
5946
5946
|
onChange: handleLayerChange
|
|
5947
5947
|
}, null, 8, ["modelValue"])
|
|
5948
5948
|
])) : createCommentVNode("", true),
|
|
5949
|
-
__props.legendConfig.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5949
|
+
__props.legendConfig.length ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
5950
5950
|
createVNode(_component_el_checkbox_group, {
|
|
5951
5951
|
modelValue: legend.value,
|
|
5952
5952
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => legend.value = $event),
|
|
@@ -5975,17 +5975,17 @@ const _sfc_main$4 = {
|
|
|
5975
5975
|
};
|
|
5976
5976
|
const SCTJMapViewer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-23f6e80a"]]);
|
|
5977
5977
|
const index_vue_vue_type_style_index_0_scoped_761d2ab4_lang = "";
|
|
5978
|
-
const _withScopeId$
|
|
5979
|
-
const _hoisted_1$
|
|
5978
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-761d2ab4"), n = n(), popScopeId(), n);
|
|
5979
|
+
const _hoisted_1$2 = {
|
|
5980
5980
|
key: 0,
|
|
5981
5981
|
class: "btn-container"
|
|
5982
5982
|
};
|
|
5983
|
-
const _hoisted_2$
|
|
5984
|
-
const _hoisted_3$
|
|
5983
|
+
const _hoisted_2$2 = { class: "help-button-container" };
|
|
5984
|
+
const _hoisted_3$2 = {
|
|
5985
5985
|
key: 0,
|
|
5986
5986
|
class: "layer-switch"
|
|
5987
5987
|
};
|
|
5988
|
-
const _hoisted_4$
|
|
5988
|
+
const _hoisted_4$2 = { class: "search-container" };
|
|
5989
5989
|
const _hoisted_5$1 = { class: "place-suggestion-item" };
|
|
5990
5990
|
const _hoisted_6$1 = { class: "name" };
|
|
5991
5991
|
const _hoisted_7$1 = { class: "address" };
|
|
@@ -5994,7 +5994,7 @@ const _hoisted_9$1 = { class: "delete-buttons" };
|
|
|
5994
5994
|
const _hoisted_10$1 = { key: 0 };
|
|
5995
5995
|
const _hoisted_11$1 = { key: 0 };
|
|
5996
5996
|
const _hoisted_12$1 = { class: "dialog-footer" };
|
|
5997
|
-
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$
|
|
5997
|
+
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
5998
5998
|
/* @__PURE__ */ createElementVNode("div", { class: "guide-section" }, [
|
|
5999
5999
|
/* @__PURE__ */ createElementVNode("strong", null, "\u5F00\u59CB\u7ED8\u5236\uFF1A"),
|
|
6000
6000
|
/* @__PURE__ */ createElementVNode("ul", null, [
|
|
@@ -7380,10 +7380,10 @@ const _sfc_main$3 = {
|
|
|
7380
7380
|
ref_key: "mapContainer",
|
|
7381
7381
|
ref: mapContainer
|
|
7382
7382
|
}, null, 512),
|
|
7383
|
-
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7383
|
+
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
7384
7384
|
createVNode(_component_el_card, { shadow: "never" }, {
|
|
7385
7385
|
default: withCtx(() => [
|
|
7386
|
-
createElementVNode("div", _hoisted_2$
|
|
7386
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
7387
7387
|
createVNode(_component_el_button, {
|
|
7388
7388
|
type: "primary",
|
|
7389
7389
|
icon: unref(QuestionFilled),
|
|
@@ -7396,7 +7396,7 @@ const _sfc_main$3 = {
|
|
|
7396
7396
|
_: 1
|
|
7397
7397
|
}, 8, ["icon"])
|
|
7398
7398
|
]),
|
|
7399
|
-
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7399
|
+
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
7400
7400
|
createVNode(_component_el_switch, {
|
|
7401
7401
|
modelValue: isSatellite.value,
|
|
7402
7402
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isSatellite.value = $event),
|
|
@@ -7414,7 +7414,7 @@ const _sfc_main$3 = {
|
|
|
7414
7414
|
]),
|
|
7415
7415
|
_: 1
|
|
7416
7416
|
})) : createCommentVNode("", true),
|
|
7417
|
-
createElementVNode("div", _hoisted_4$
|
|
7417
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
7418
7418
|
createVNode(_component_el_autocomplete, {
|
|
7419
7419
|
modelValue: searchKeyword.value,
|
|
7420
7420
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchKeyword.value = $event),
|
|
@@ -7570,17 +7570,17 @@ const _sfc_main$3 = {
|
|
|
7570
7570
|
};
|
|
7571
7571
|
const SCTJMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-761d2ab4"]]);
|
|
7572
7572
|
const index_vue_vue_type_style_index_0_scoped_d0bea808_lang = "";
|
|
7573
|
-
const _withScopeId = (n) => (pushScopeId("data-v-d0bea808"), n = n(), popScopeId(), n);
|
|
7574
|
-
const _hoisted_1 = {
|
|
7573
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-d0bea808"), n = n(), popScopeId(), n);
|
|
7574
|
+
const _hoisted_1$1 = {
|
|
7575
7575
|
key: 0,
|
|
7576
7576
|
class: "btn-container"
|
|
7577
7577
|
};
|
|
7578
|
-
const _hoisted_2 = { class: "help-button-container" };
|
|
7579
|
-
const _hoisted_3 = {
|
|
7578
|
+
const _hoisted_2$1 = { class: "help-button-container" };
|
|
7579
|
+
const _hoisted_3$1 = {
|
|
7580
7580
|
key: 0,
|
|
7581
7581
|
class: "layer-switch"
|
|
7582
7582
|
};
|
|
7583
|
-
const _hoisted_4 = { class: "search-container" };
|
|
7583
|
+
const _hoisted_4$1 = { class: "search-container" };
|
|
7584
7584
|
const _hoisted_5 = { class: "place-suggestion-item" };
|
|
7585
7585
|
const _hoisted_6 = { class: "name" };
|
|
7586
7586
|
const _hoisted_7 = { class: "address" };
|
|
@@ -7589,7 +7589,7 @@ const _hoisted_9 = { class: "delete-buttons" };
|
|
|
7589
7589
|
const _hoisted_10 = { key: 0 };
|
|
7590
7590
|
const _hoisted_11 = { key: 0 };
|
|
7591
7591
|
const _hoisted_12 = { class: "dialog-footer" };
|
|
7592
|
-
const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
7592
|
+
const _hoisted_13 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "operation-guide" }, [
|
|
7593
7593
|
/* @__PURE__ */ createElementVNode("div", { class: "guide-section" }, [
|
|
7594
7594
|
/* @__PURE__ */ createElementVNode("strong", null, "\u5F00\u59CB\u7ED8\u5236\uFF1A"),
|
|
7595
7595
|
/* @__PURE__ */ createElementVNode("ul", null, [
|
|
@@ -9180,10 +9180,10 @@ const _sfc_main$2 = {
|
|
|
9180
9180
|
ref_key: "mapContainer",
|
|
9181
9181
|
ref: mapContainer
|
|
9182
9182
|
}, null, 512),
|
|
9183
|
-
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
9183
|
+
!__props.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
9184
9184
|
createVNode(_component_el_card, { shadow: "never" }, {
|
|
9185
9185
|
default: withCtx(() => [
|
|
9186
|
-
createElementVNode("div", _hoisted_2, [
|
|
9186
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
9187
9187
|
createVNode(_component_el_button, {
|
|
9188
9188
|
type: "primary",
|
|
9189
9189
|
icon: unref(QuestionFilled),
|
|
@@ -9196,7 +9196,7 @@ const _sfc_main$2 = {
|
|
|
9196
9196
|
_: 1
|
|
9197
9197
|
}, 8, ["icon"])
|
|
9198
9198
|
]),
|
|
9199
|
-
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
9199
|
+
__props.changeMapType && !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
9200
9200
|
createVNode(_component_el_switch, {
|
|
9201
9201
|
modelValue: isSatellite.value,
|
|
9202
9202
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isSatellite.value = $event),
|
|
@@ -9214,7 +9214,7 @@ const _sfc_main$2 = {
|
|
|
9214
9214
|
]),
|
|
9215
9215
|
_: 1
|
|
9216
9216
|
})) : createCommentVNode("", true),
|
|
9217
|
-
createElementVNode("div", _hoisted_4, [
|
|
9217
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
9218
9218
|
createVNode(_component_el_autocomplete, {
|
|
9219
9219
|
modelValue: searchKeyword.value,
|
|
9220
9220
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchKeyword.value = $event),
|
|
@@ -9400,7 +9400,15 @@ const _sfc_main$2 = {
|
|
|
9400
9400
|
}
|
|
9401
9401
|
};
|
|
9402
9402
|
const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d0bea808"]]);
|
|
9403
|
-
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" };
|
|
9404
9412
|
const _sfc_main$1 = {
|
|
9405
9413
|
__name: "BimViewer",
|
|
9406
9414
|
props: {
|
|
@@ -9416,10 +9424,12 @@ const _sfc_main$1 = {
|
|
|
9416
9424
|
emits: ["contextMenuClick"],
|
|
9417
9425
|
setup(__props, { expose, emit }) {
|
|
9418
9426
|
const props = __props;
|
|
9427
|
+
const loading = ref$1(true);
|
|
9419
9428
|
const bimContainer = ref$1(null);
|
|
9420
9429
|
const viewer3D = ref$1(null);
|
|
9421
9430
|
const app = ref$1(null);
|
|
9422
9431
|
const resizeHandler = ref$1(null);
|
|
9432
|
+
const errorMessage = ref$1("");
|
|
9423
9433
|
const handleResize = () => {
|
|
9424
9434
|
if (viewer3D.value) {
|
|
9425
9435
|
viewer3D.value.resize(
|
|
@@ -9545,13 +9555,11 @@ const _sfc_main$1 = {
|
|
|
9545
9555
|
const successCallback = (viewMetaData) => {
|
|
9546
9556
|
console.log("viewMetaData", viewMetaData);
|
|
9547
9557
|
if (viewMetaData.viewType !== "3DView") {
|
|
9558
|
+
loading.value = false;
|
|
9559
|
+
errorMessage.value = "\u5F53\u524D\u89C6\u56FE\u4E0D\u662F3D\u89C6\u56FE";
|
|
9548
9560
|
console.warn("\u5F53\u524D\u89C6\u56FE\u4E0D\u662F3D\u89C6\u56FE");
|
|
9549
9561
|
return;
|
|
9550
9562
|
}
|
|
9551
|
-
if (!bimContainer.value) {
|
|
9552
|
-
console.error("\u5BB9\u5668\u5143\u7D20\u4E0D\u5B58\u5728");
|
|
9553
|
-
return;
|
|
9554
|
-
}
|
|
9555
9563
|
try {
|
|
9556
9564
|
const webAppConfig = new Glodon.Bimface.Application.WebApplication3DConfig();
|
|
9557
9565
|
webAppConfig.domElement = bimContainer.value;
|
|
@@ -9568,13 +9576,19 @@ const _sfc_main$1 = {
|
|
|
9568
9576
|
handleContextMenu
|
|
9569
9577
|
);
|
|
9570
9578
|
} catch (error) {
|
|
9579
|
+
errorMessage.value = `\u521D\u59CB\u5316BIM\u6A21\u578B\u5931\u8D25`;
|
|
9571
9580
|
console.error("\u521D\u59CB\u5316BIM\u6A21\u578B\u5931\u8D25:", error);
|
|
9581
|
+
} finally {
|
|
9582
|
+
loading.value = false;
|
|
9572
9583
|
}
|
|
9573
9584
|
};
|
|
9574
9585
|
const failureCallback = (error) => {
|
|
9586
|
+
loading.value = false;
|
|
9587
|
+
errorMessage.value = `\u52A0\u8F7DBIM\u6A21\u578B\u5931\u8D25`;
|
|
9575
9588
|
console.error("\u52A0\u8F7DBIM\u6A21\u578B\u5931\u8D25:", error);
|
|
9576
9589
|
};
|
|
9577
9590
|
const loadModel = () => {
|
|
9591
|
+
errorMessage.value = "";
|
|
9578
9592
|
if (!bimContainer.value) {
|
|
9579
9593
|
console.error("\u5BB9\u5668\u5143\u7D20\u672A\u51C6\u5907\u597D");
|
|
9580
9594
|
return;
|
|
@@ -9587,6 +9601,11 @@ const _sfc_main$1 = {
|
|
|
9587
9601
|
options.viewToken = props.viewToken;
|
|
9588
9602
|
BimfaceSDKLoader.load(options, successCallback, failureCallback);
|
|
9589
9603
|
};
|
|
9604
|
+
const handleRetry = () => {
|
|
9605
|
+
errorMessage.value = "";
|
|
9606
|
+
loading.value = true;
|
|
9607
|
+
loadModel();
|
|
9608
|
+
};
|
|
9590
9609
|
const cleanup = () => {
|
|
9591
9610
|
var _a, _b, _c, _d, _e, _f;
|
|
9592
9611
|
if (resizeHandler.value) {
|
|
@@ -9673,9 +9692,7 @@ const _sfc_main$1 = {
|
|
|
9673
9692
|
});
|
|
9674
9693
|
};
|
|
9675
9694
|
watch(() => props.viewToken, () => {
|
|
9676
|
-
|
|
9677
|
-
initBim();
|
|
9678
|
-
}
|
|
9695
|
+
initBim();
|
|
9679
9696
|
}, { immediate: true });
|
|
9680
9697
|
onBeforeUnmount(() => {
|
|
9681
9698
|
cleanup();
|
|
@@ -9689,15 +9706,36 @@ const _sfc_main$1 = {
|
|
|
9689
9706
|
unIsolateComponent
|
|
9690
9707
|
});
|
|
9691
9708
|
return (_ctx, _cache) => {
|
|
9692
|
-
|
|
9709
|
+
const _component_el_button = resolveComponent("el-button");
|
|
9710
|
+
const _directive_loading = resolveDirective("loading");
|
|
9711
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
9693
9712
|
class: "model-container",
|
|
9694
9713
|
ref_key: "bimContainer",
|
|
9695
9714
|
ref: bimContainer
|
|
9696
|
-
},
|
|
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
|
+
]);
|
|
9697
9735
|
};
|
|
9698
9736
|
}
|
|
9699
9737
|
};
|
|
9700
|
-
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
9738
|
+
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-89adda4f"]]);
|
|
9701
9739
|
const DwgViewer_vue_vue_type_style_index_0_scoped_ab9c8ebd_lang = "";
|
|
9702
9740
|
const _sfc_main = {
|
|
9703
9741
|
__name: "DwgViewer",
|