form-custom-test 3.0.99 → 3.0.101
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/dist/designer.es.js +366 -277
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +54 -54
- package/dist/render.es.js +349 -261
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +69 -69
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -3842,6 +3842,7 @@ const assetSelectSchema = {
|
|
|
3842
3842
|
dialogWidth: "50%",
|
|
3843
3843
|
hideFooter: false,
|
|
3844
3844
|
typeJson: {},
|
|
3845
|
+
assetTypeValue: "",
|
|
3845
3846
|
customClass: "",
|
|
3846
3847
|
onOpen: "",
|
|
3847
3848
|
onConfirm: ""
|
|
@@ -3909,7 +3910,8 @@ var enLocale_extension = {
|
|
|
3909
3910
|
selectTreeCheckStrictly: "Check Strictly",
|
|
3910
3911
|
assetSelectButtonText: "Button Text",
|
|
3911
3912
|
assetSelectTypeJson: "Asset Type Json",
|
|
3912
|
-
assetTableTypeJson: "Asset Table Type Json"
|
|
3913
|
+
assetTableTypeJson: "Asset Table Type Json",
|
|
3914
|
+
assetSelectAssetTypeValue: "Asset Type Value"
|
|
3913
3915
|
}
|
|
3914
3916
|
}
|
|
3915
3917
|
};
|
|
@@ -3955,7 +3957,8 @@ var zhLocale_extension = {
|
|
|
3955
3957
|
selectTreeCheckStrictly: "\u662F\u5426\u4E25\u683C\u9009\u4E2D",
|
|
3956
3958
|
assetSelectButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
3957
3959
|
assetSelectTypeJson: "\u8D44\u4EA7\u7C7B\u578BJson",
|
|
3958
|
-
assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson"
|
|
3960
|
+
assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",
|
|
3961
|
+
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C"
|
|
3959
3962
|
}
|
|
3960
3963
|
}
|
|
3961
3964
|
};
|
|
@@ -4167,13 +4170,13 @@ const _sfc_main$3x = {
|
|
|
4167
4170
|
};
|
|
4168
4171
|
const _hoisted_1$T = { class: "panel-container" };
|
|
4169
4172
|
const _hoisted_2$C = ["title", "onDblclick"];
|
|
4170
|
-
const _hoisted_3$
|
|
4173
|
+
const _hoisted_3$y = ["title", "onDblclick"];
|
|
4171
4174
|
const _hoisted_4$m = ["title", "onDblclick"];
|
|
4172
4175
|
const _hoisted_5$i = ["title", "onDblclick"];
|
|
4173
4176
|
const _hoisted_6$h = ["src"];
|
|
4174
4177
|
const _hoisted_7$e = ["src"];
|
|
4175
4178
|
const _hoisted_8$b = { class: "bottom clear-fix" };
|
|
4176
|
-
const _hoisted_9$
|
|
4179
|
+
const _hoisted_9$9 = { class: "ft-title" };
|
|
4177
4180
|
function _sfc_render$3x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4178
4181
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
4179
4182
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -4272,7 +4275,7 @@ function _sfc_render$3x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4272
4275
|
}, null, 8, ["icon-class"]),
|
|
4273
4276
|
createTextVNode(toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)), 1)
|
|
4274
4277
|
])
|
|
4275
|
-
], 40, _hoisted_3$
|
|
4278
|
+
], 40, _hoisted_3$y)
|
|
4276
4279
|
]),
|
|
4277
4280
|
_: 1
|
|
4278
4281
|
}, 8, ["list", "move", "clone"])
|
|
@@ -4393,7 +4396,7 @@ function _sfc_render$3x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4393
4396
|
_: 2
|
|
4394
4397
|
}, 1024),
|
|
4395
4398
|
createElementVNode("div", _hoisted_8$b, [
|
|
4396
|
-
createElementVNode("span", _hoisted_9$
|
|
4399
|
+
createElementVNode("span", _hoisted_9$9, "#" + toDisplayString(idx + 1) + " " + toDisplayString(ft.title), 1),
|
|
4397
4400
|
createVNode(_component_el_button, {
|
|
4398
4401
|
link: "",
|
|
4399
4402
|
type: "primary",
|
|
@@ -4637,7 +4640,7 @@ const _hoisted_1$S = {
|
|
|
4637
4640
|
class: "field-action"
|
|
4638
4641
|
};
|
|
4639
4642
|
const _hoisted_2$B = ["title"];
|
|
4640
|
-
const _hoisted_3$
|
|
4643
|
+
const _hoisted_3$x = ["title"];
|
|
4641
4644
|
const _hoisted_4$l = ["title"];
|
|
4642
4645
|
const _hoisted_5$h = ["title"];
|
|
4643
4646
|
const _hoisted_6$g = {
|
|
@@ -4674,7 +4677,7 @@ function _sfc_render$3v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4674
4677
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.moveUpWidget($props.field), ["stop"]))
|
|
4675
4678
|
}, [
|
|
4676
4679
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
4677
|
-
], 8, _hoisted_3$
|
|
4680
|
+
], 8, _hoisted_3$x)) : createCommentVNode("", true),
|
|
4678
4681
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
4679
4682
|
key: 1,
|
|
4680
4683
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
@@ -11026,7 +11029,7 @@ const _hoisted_2$A = {
|
|
|
11026
11029
|
key: 0,
|
|
11027
11030
|
class: "field-action"
|
|
11028
11031
|
};
|
|
11029
|
-
const _hoisted_3$
|
|
11032
|
+
const _hoisted_3$w = ["title"];
|
|
11030
11033
|
const _hoisted_4$k = ["title"];
|
|
11031
11034
|
const _hoisted_5$g = ["title"];
|
|
11032
11035
|
const _hoisted_6$f = ["title"];
|
|
@@ -11035,7 +11038,7 @@ const _hoisted_7$c = {
|
|
|
11035
11038
|
class: "drag-handler background-opacity"
|
|
11036
11039
|
};
|
|
11037
11040
|
const _hoisted_8$9 = ["title"];
|
|
11038
|
-
const _hoisted_9$
|
|
11041
|
+
const _hoisted_9$8 = { key: 0 };
|
|
11039
11042
|
function _sfc_render$3t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11040
11043
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11041
11044
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
@@ -11115,7 +11118,7 @@ function _sfc_render$3t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11115
11118
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
11116
11119
|
}, [
|
|
11117
11120
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
11118
|
-
], 8, _hoisted_3$
|
|
11121
|
+
], 8, _hoisted_3$w),
|
|
11119
11122
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
11120
11123
|
key: 0,
|
|
11121
11124
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -11144,7 +11147,7 @@ function _sfc_render$3t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11144
11147
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
11145
11148
|
], 8, _hoisted_8$9),
|
|
11146
11149
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
11147
|
-
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$
|
|
11150
|
+
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$8, [
|
|
11148
11151
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
11149
11152
|
])) : createCommentVNode("", true)
|
|
11150
11153
|
])) : createCommentVNode("", true)
|
|
@@ -11800,11 +11803,11 @@ const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11800
11803
|
fill: "currentColor",
|
|
11801
11804
|
d: "M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"
|
|
11802
11805
|
}, null, -1);
|
|
11803
|
-
const _hoisted_3$
|
|
11806
|
+
const _hoisted_3$v = [
|
|
11804
11807
|
_hoisted_2$z
|
|
11805
11808
|
];
|
|
11806
11809
|
function _sfc_render$3m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11807
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_3$
|
|
11810
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_3$v);
|
|
11808
11811
|
}
|
|
11809
11812
|
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["render", _sfc_render$3m]]);
|
|
11810
11813
|
const _sfc_main$3l = defineComponent({
|
|
@@ -11821,11 +11824,11 @@ const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11821
11824
|
fill: "currentColor",
|
|
11822
11825
|
d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
|
|
11823
11826
|
}, null, -1);
|
|
11824
|
-
const _hoisted_3$
|
|
11827
|
+
const _hoisted_3$u = [
|
|
11825
11828
|
_hoisted_2$y
|
|
11826
11829
|
];
|
|
11827
11830
|
function _sfc_render$3l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11828
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_3$
|
|
11831
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_3$u);
|
|
11829
11832
|
}
|
|
11830
11833
|
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$3l, [["render", _sfc_render$3l]]);
|
|
11831
11834
|
const _sfc_main$3k = defineComponent({
|
|
@@ -11842,11 +11845,11 @@ const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11842
11845
|
fill: "currentColor",
|
|
11843
11846
|
d: "M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"
|
|
11844
11847
|
}, null, -1);
|
|
11845
|
-
const _hoisted_3$
|
|
11848
|
+
const _hoisted_3$t = [
|
|
11846
11849
|
_hoisted_2$x
|
|
11847
11850
|
];
|
|
11848
11851
|
function _sfc_render$3k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11849
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_3$
|
|
11852
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_3$t);
|
|
11850
11853
|
}
|
|
11851
11854
|
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$3k, [["render", _sfc_render$3k]]);
|
|
11852
11855
|
const _sfc_main$3j = defineComponent({
|
|
@@ -11863,7 +11866,7 @@ const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11863
11866
|
fill: "currentColor",
|
|
11864
11867
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
11865
11868
|
}, null, -1);
|
|
11866
|
-
const _hoisted_3$
|
|
11869
|
+
const _hoisted_3$s = /* @__PURE__ */ createElementVNode("path", {
|
|
11867
11870
|
fill: "currentColor",
|
|
11868
11871
|
d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
|
|
11869
11872
|
}, null, -1);
|
|
@@ -11873,7 +11876,7 @@ const _hoisted_4$j = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11873
11876
|
}, null, -1);
|
|
11874
11877
|
const _hoisted_5$f = [
|
|
11875
11878
|
_hoisted_2$w,
|
|
11876
|
-
_hoisted_3$
|
|
11879
|
+
_hoisted_3$s,
|
|
11877
11880
|
_hoisted_4$j
|
|
11878
11881
|
];
|
|
11879
11882
|
function _sfc_render$3j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -11894,11 +11897,11 @@ const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11894
11897
|
fill: "currentColor",
|
|
11895
11898
|
d: "M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"
|
|
11896
11899
|
}, null, -1);
|
|
11897
|
-
const _hoisted_3$
|
|
11900
|
+
const _hoisted_3$r = [
|
|
11898
11901
|
_hoisted_2$v
|
|
11899
11902
|
];
|
|
11900
11903
|
function _sfc_render$3i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11901
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_3$
|
|
11904
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_3$r);
|
|
11902
11905
|
}
|
|
11903
11906
|
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$3i, [["render", _sfc_render$3i]]);
|
|
11904
11907
|
const _sfc_main$3h = defineComponent({
|
|
@@ -11915,13 +11918,13 @@ const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11915
11918
|
fill: "currentColor",
|
|
11916
11919
|
d: "M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"
|
|
11917
11920
|
}, null, -1);
|
|
11918
|
-
const _hoisted_3$
|
|
11921
|
+
const _hoisted_3$q = /* @__PURE__ */ createElementVNode("path", {
|
|
11919
11922
|
fill: "currentColor",
|
|
11920
11923
|
d: "M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"
|
|
11921
11924
|
}, null, -1);
|
|
11922
11925
|
const _hoisted_4$i = [
|
|
11923
11926
|
_hoisted_2$u,
|
|
11924
|
-
_hoisted_3$
|
|
11927
|
+
_hoisted_3$q
|
|
11925
11928
|
];
|
|
11926
11929
|
function _sfc_render$3h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11927
11930
|
return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_4$i);
|
|
@@ -11941,11 +11944,11 @@ const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11941
11944
|
fill: "currentColor",
|
|
11942
11945
|
d: "M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
11943
11946
|
}, null, -1);
|
|
11944
|
-
const _hoisted_3$
|
|
11947
|
+
const _hoisted_3$p = [
|
|
11945
11948
|
_hoisted_2$t
|
|
11946
11949
|
];
|
|
11947
11950
|
function _sfc_render$3g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11948
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_3$
|
|
11951
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_3$p);
|
|
11949
11952
|
}
|
|
11950
11953
|
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$3g, [["render", _sfc_render$3g]]);
|
|
11951
11954
|
const _sfc_main$3f = defineComponent({
|
|
@@ -11962,11 +11965,11 @@ const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11962
11965
|
fill: "currentColor",
|
|
11963
11966
|
d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
|
|
11964
11967
|
}, null, -1);
|
|
11965
|
-
const _hoisted_3$
|
|
11968
|
+
const _hoisted_3$o = [
|
|
11966
11969
|
_hoisted_2$s
|
|
11967
11970
|
];
|
|
11968
11971
|
function _sfc_render$3f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11969
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$
|
|
11972
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$o);
|
|
11970
11973
|
}
|
|
11971
11974
|
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$3f, [["render", _sfc_render$3f]]);
|
|
11972
11975
|
const _sfc_main$3e = defineComponent({
|
|
@@ -11983,11 +11986,11 @@ const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
|
|
|
11983
11986
|
fill: "currentColor",
|
|
11984
11987
|
d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
|
|
11985
11988
|
}, null, -1);
|
|
11986
|
-
const _hoisted_3$
|
|
11989
|
+
const _hoisted_3$n = [
|
|
11987
11990
|
_hoisted_2$r
|
|
11988
11991
|
];
|
|
11989
11992
|
function _sfc_render$3e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11990
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$
|
|
11993
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$n);
|
|
11991
11994
|
}
|
|
11992
11995
|
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$3e, [["render", _sfc_render$3e]]);
|
|
11993
11996
|
const _sfc_main$3d = defineComponent({
|
|
@@ -12004,11 +12007,11 @@ const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
|
12004
12007
|
fill: "currentColor",
|
|
12005
12008
|
d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
|
|
12006
12009
|
}, null, -1);
|
|
12007
|
-
const _hoisted_3$
|
|
12010
|
+
const _hoisted_3$m = [
|
|
12008
12011
|
_hoisted_2$q
|
|
12009
12012
|
];
|
|
12010
12013
|
function _sfc_render$3d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12011
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$
|
|
12014
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$m);
|
|
12012
12015
|
}
|
|
12013
12016
|
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$3d, [["render", _sfc_render$3d]]);
|
|
12014
12017
|
const _sfc_main$3c = defineComponent({
|
|
@@ -12025,11 +12028,11 @@ const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
|
12025
12028
|
fill: "currentColor",
|
|
12026
12029
|
d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"
|
|
12027
12030
|
}, null, -1);
|
|
12028
|
-
const _hoisted_3$
|
|
12031
|
+
const _hoisted_3$l = [
|
|
12029
12032
|
_hoisted_2$p
|
|
12030
12033
|
];
|
|
12031
12034
|
function _sfc_render$3c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12032
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$
|
|
12035
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$l);
|
|
12033
12036
|
}
|
|
12034
12037
|
var search = /* @__PURE__ */ _export_sfc(_sfc_main$3c, [["render", _sfc_render$3c]]);
|
|
12035
12038
|
var defaultConfig = {
|
|
@@ -12481,13 +12484,13 @@ const _hoisted_2$o = {
|
|
|
12481
12484
|
key: 0,
|
|
12482
12485
|
class: "el-upload__tip"
|
|
12483
12486
|
};
|
|
12484
|
-
const _hoisted_3$
|
|
12487
|
+
const _hoisted_3$k = { class: "sub-tip" };
|
|
12485
12488
|
const _hoisted_4$h = { class: "upload-file-list" };
|
|
12486
12489
|
const _hoisted_5$e = { class: "left-wrap" };
|
|
12487
12490
|
const _hoisted_6$e = ["src"];
|
|
12488
12491
|
const _hoisted_7$b = ["title"];
|
|
12489
12492
|
const _hoisted_8$8 = { class: "right-wrap" };
|
|
12490
|
-
const _hoisted_9$
|
|
12493
|
+
const _hoisted_9$7 = ["title", "onClick"];
|
|
12491
12494
|
const _hoisted_10$5 = ["onClick"];
|
|
12492
12495
|
const _hoisted_11$4 = ["onClick"];
|
|
12493
12496
|
function _sfc_render$3b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -12556,7 +12559,7 @@ function _sfc_render$3b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12556
12559
|
src: _imports_1,
|
|
12557
12560
|
alt: ""
|
|
12558
12561
|
}, null, -1)
|
|
12559
|
-
])], 8, _hoisted_9$
|
|
12562
|
+
])], 8, _hoisted_9$7)) : createCommentVNode("", true),
|
|
12560
12563
|
_ctx.getDisabled() && !$options.isZip(file.name) ? (openBlock(), createElementBlock("div", {
|
|
12561
12564
|
key: 1,
|
|
12562
12565
|
onClick: withModifiers(($event) => $options.handlePreview(file), ["stop"]),
|
|
@@ -12581,7 +12584,7 @@ function _sfc_render$3b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12581
12584
|
alt: ""
|
|
12582
12585
|
}, null, -1)),
|
|
12583
12586
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "main-tip" }, " \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ", -1)),
|
|
12584
|
-
createElementVNode("div", _hoisted_3$
|
|
12587
|
+
createElementVNode("div", _hoisted_3$k, " \u652F\u6301\u4E0A\u4F20" + toDisplayString($props.field.options.fileTypes.slice(0, 8).join("\uFF0C")) + "\u7B49\u683C\u5F0F\u6587\u4EF6 ", 1)
|
|
12585
12588
|
], 64)) : (openBlock(), createBlock(_component_el_button, {
|
|
12586
12589
|
key: 1,
|
|
12587
12590
|
type: "primary"
|
|
@@ -13119,7 +13122,7 @@ const _hoisted_2$n = {
|
|
|
13119
13122
|
class: "el-icon--upload-success",
|
|
13120
13123
|
style: { "color": "#FFF" }
|
|
13121
13124
|
};
|
|
13122
|
-
const _hoisted_3$
|
|
13125
|
+
const _hoisted_3$j = { class: "el-upload-list__item-actions" };
|
|
13123
13126
|
const _hoisted_4$g = ["onClick"];
|
|
13124
13127
|
const _hoisted_5$d = ["onClick"];
|
|
13125
13128
|
const _hoisted_6$d = {
|
|
@@ -13183,7 +13186,7 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13183
13186
|
})
|
|
13184
13187
|
])
|
|
13185
13188
|
]),
|
|
13186
|
-
createElementVNode("span", _hoisted_3$
|
|
13189
|
+
createElementVNode("span", _hoisted_3$j, [
|
|
13187
13190
|
createElementVNode("span", {
|
|
13188
13191
|
class: "el-upload-list__item-preview",
|
|
13189
13192
|
onClick: ($event) => $options.handlePictureCardPreview(file)
|
|
@@ -26620,7 +26623,7 @@ const _sfc_main$2T = {
|
|
|
26620
26623
|
};
|
|
26621
26624
|
const _hoisted_1$y = { class: "action-header-column" };
|
|
26622
26625
|
const _hoisted_2$l = { class: "action-label" };
|
|
26623
|
-
const _hoisted_3$
|
|
26626
|
+
const _hoisted_3$i = {
|
|
26624
26627
|
key: 0,
|
|
26625
26628
|
class: "custom-label"
|
|
26626
26629
|
};
|
|
@@ -26669,7 +26672,7 @@ function _sfc_render$2T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26669
26672
|
class: normalizeClass(["field-header-column", [$options.getLabelAlign($props.widget, subWidget), !!subWidget.options.required ? "is-required" : ""]]),
|
|
26670
26673
|
style: normalizeStyle({ width: subWidget.options.columnWidth })
|
|
26671
26674
|
}, [
|
|
26672
|
-
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
26675
|
+
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$i, [
|
|
26673
26676
|
subWidget.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
26674
26677
|
!!subWidget.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
26675
26678
|
createVNode(_component_el_tooltip, {
|
|
@@ -53742,7 +53745,7 @@ const _sfc_main$2N = {
|
|
|
53742
53745
|
};
|
|
53743
53746
|
const _hoisted_1$v = { class: "toolbar-container" };
|
|
53744
53747
|
const _hoisted_2$j = { class: "left-toolbar" };
|
|
53745
|
-
const _hoisted_3$
|
|
53748
|
+
const _hoisted_3$h = { class: "right-toolbar-con" };
|
|
53746
53749
|
const _hoisted_4$e = {
|
|
53747
53750
|
key: 0,
|
|
53748
53751
|
class: ""
|
|
@@ -53757,7 +53760,7 @@ const _hoisted_8$7 = {
|
|
|
53757
53760
|
key: 2,
|
|
53758
53761
|
class: ""
|
|
53759
53762
|
};
|
|
53760
|
-
const _hoisted_9$
|
|
53763
|
+
const _hoisted_9$6 = { class: "dialog-footer" };
|
|
53761
53764
|
const _hoisted_10$4 = {
|
|
53762
53765
|
key: 3,
|
|
53763
53766
|
class: ""
|
|
@@ -53884,7 +53887,7 @@ function _sfc_render$2N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53884
53887
|
class: "right-toolbar",
|
|
53885
53888
|
style: normalizeStyle({ width: $data.toolbarWidth + "px" })
|
|
53886
53889
|
}, [
|
|
53887
|
-
createElementVNode("div", _hoisted_3$
|
|
53890
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
53888
53891
|
$options.showToolButton("clearDesignerButton") ? (openBlock(), createBlock(_component_el_button, {
|
|
53889
53892
|
key: 0,
|
|
53890
53893
|
link: "",
|
|
@@ -54118,7 +54121,7 @@ function _sfc_render$2N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
54118
54121
|
"destroy-on-close": true
|
|
54119
54122
|
}, {
|
|
54120
54123
|
footer: withCtx(() => [
|
|
54121
|
-
createElementVNode("div", _hoisted_9$
|
|
54124
|
+
createElementVNode("div", _hoisted_9$6, [
|
|
54122
54125
|
createVNode(_component_el_button, {
|
|
54123
54126
|
type: "primary",
|
|
54124
54127
|
class: "copy-json-btn",
|
|
@@ -56136,7 +56139,7 @@ const _hoisted_2$i = {
|
|
|
56136
56139
|
key: 2,
|
|
56137
56140
|
class: "full-width-input"
|
|
56138
56141
|
};
|
|
56139
|
-
const _hoisted_3$
|
|
56142
|
+
const _hoisted_3$g = {
|
|
56140
56143
|
key: 3,
|
|
56141
56144
|
class: "full-width-input"
|
|
56142
56145
|
};
|
|
@@ -56148,7 +56151,7 @@ const _hoisted_8$6 = {
|
|
|
56148
56151
|
key: 6,
|
|
56149
56152
|
style: { "margin-bottom": "10px" }
|
|
56150
56153
|
};
|
|
56151
|
-
const _hoisted_9$
|
|
56154
|
+
const _hoisted_9$5 = { key: 7 };
|
|
56152
56155
|
const _hoisted_10$3 = {
|
|
56153
56156
|
key: 8,
|
|
56154
56157
|
class: ""
|
|
@@ -56285,7 +56288,7 @@ function _sfc_render$2b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
56285
56288
|
onChange: $options.emitDefaultValueChange,
|
|
56286
56289
|
placeholder: _ctx.i18nt("render.hint.selectPlaceholder")
|
|
56287
56290
|
}, null, 8, ["modelValue", "options", "onChange", "placeholder"])
|
|
56288
|
-
])) : $props.selectedWidget.type === "select-tree" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
56291
|
+
])) : $props.selectedWidget.type === "select-tree" ? (openBlock(), createElementBlock("div", _hoisted_3$g, [
|
|
56289
56292
|
createVNode(_component_el_tree, {
|
|
56290
56293
|
data: $options.optionModel.optionItems,
|
|
56291
56294
|
props: { children: "children", label: "label" },
|
|
@@ -56413,7 +56416,7 @@ function _sfc_render$2b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
56413
56416
|
_: 1
|
|
56414
56417
|
})
|
|
56415
56418
|
])) : createCommentVNode("", true),
|
|
56416
|
-
$props.selectedWidget.type === "radio" || $props.selectedWidget.type === "radio-other" || $props.selectedWidget.type === "checkbox" || $props.selectedWidget.type === "select" || $props.selectedWidget.type === "select-other" ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
56419
|
+
$props.selectedWidget.type === "radio" || $props.selectedWidget.type === "radio-other" || $props.selectedWidget.type === "checkbox" || $props.selectedWidget.type === "select" || $props.selectedWidget.type === "select-other" ? (openBlock(), createElementBlock("div", _hoisted_9$5, [
|
|
56417
56420
|
createVNode(_component_el_button, {
|
|
56418
56421
|
link: "",
|
|
56419
56422
|
type: "primary",
|
|
@@ -61040,7 +61043,7 @@ const _hoisted_1$n = {
|
|
|
61040
61043
|
class: ""
|
|
61041
61044
|
};
|
|
61042
61045
|
const _hoisted_2$h = { class: "dialog-footer" };
|
|
61043
|
-
const _hoisted_3$
|
|
61046
|
+
const _hoisted_3$f = {
|
|
61044
61047
|
key: 1,
|
|
61045
61048
|
class: ""
|
|
61046
61049
|
};
|
|
@@ -61481,7 +61484,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61481
61484
|
])), [
|
|
61482
61485
|
[_directive_drag, [".drag-dialog.el-dialog", ".drag-dialog .el-dialog__header"]]
|
|
61483
61486
|
]) : createCommentVNode("", true),
|
|
61484
|
-
$data.showEditFormCssDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3$
|
|
61487
|
+
$data.showEditFormCssDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
61485
61488
|
createVNode(_component_el_dialog, {
|
|
61486
61489
|
title: _ctx.i18nt("designer.setting.formCss"),
|
|
61487
61490
|
modelValue: $data.showEditFormCssDialogFlag,
|
|
@@ -62286,13 +62289,13 @@ const _hoisted_1$l = {
|
|
|
62286
62289
|
class: "container-action"
|
|
62287
62290
|
};
|
|
62288
62291
|
const _hoisted_2$f = ["title"];
|
|
62289
|
-
const _hoisted_3$
|
|
62292
|
+
const _hoisted_3$e = ["title"];
|
|
62290
62293
|
const _hoisted_4$b = ["title"];
|
|
62291
62294
|
const _hoisted_5$8 = ["title"];
|
|
62292
62295
|
const _hoisted_6$8 = ["title"];
|
|
62293
62296
|
const _hoisted_7$6 = ["title"];
|
|
62294
62297
|
const _hoisted_8$5 = ["title"];
|
|
62295
|
-
const _hoisted_9$
|
|
62298
|
+
const _hoisted_9$4 = {
|
|
62296
62299
|
key: 1,
|
|
62297
62300
|
class: "drag-handler"
|
|
62298
62301
|
};
|
|
@@ -62317,7 +62320,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62317
62320
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.moveUpWidget(), ["stop"]))
|
|
62318
62321
|
}, [
|
|
62319
62322
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
62320
|
-
], 8, _hoisted_3$
|
|
62323
|
+
], 8, _hoisted_3$e)) : createCommentVNode("", true),
|
|
62321
62324
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
62322
62325
|
key: 1,
|
|
62323
62326
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
@@ -62353,7 +62356,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62353
62356
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
62354
62357
|
], 8, _hoisted_8$5)
|
|
62355
62358
|
])) : createCommentVNode("", true),
|
|
62356
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
62359
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
|
|
62357
62360
|
createElementVNode("i", {
|
|
62358
62361
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
62359
62362
|
}, [
|
|
@@ -62603,7 +62606,7 @@ const _hoisted_2$e = {
|
|
|
62603
62606
|
key: 0,
|
|
62604
62607
|
class: "grid-col-action"
|
|
62605
62608
|
};
|
|
62606
|
-
const _hoisted_3$
|
|
62609
|
+
const _hoisted_3$d = ["title"];
|
|
62607
62610
|
const _hoisted_4$a = ["title"];
|
|
62608
62611
|
const _hoisted_5$7 = ["title"];
|
|
62609
62612
|
const _hoisted_6$7 = ["title"];
|
|
@@ -62612,7 +62615,7 @@ const _hoisted_8$4 = {
|
|
|
62612
62615
|
key: 1,
|
|
62613
62616
|
class: "grid-col-handler"
|
|
62614
62617
|
};
|
|
62615
|
-
const _hoisted_9$
|
|
62618
|
+
const _hoisted_9$3 = {
|
|
62616
62619
|
key: 0,
|
|
62617
62620
|
class: "col-hidden-tag"
|
|
62618
62621
|
};
|
|
@@ -62674,7 +62677,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62674
62677
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget($props.widget), ["stop"]))
|
|
62675
62678
|
}, [
|
|
62676
62679
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
62677
|
-
], 8, _hoisted_3$
|
|
62680
|
+
], 8, _hoisted_3$d),
|
|
62678
62681
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
62679
62682
|
key: 0,
|
|
62680
62683
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -62704,7 +62707,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62704
62707
|
])) : createCommentVNode("", true),
|
|
62705
62708
|
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
62706
62709
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1),
|
|
62707
|
-
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$
|
|
62710
|
+
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$3, [
|
|
62708
62711
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
62709
62712
|
])) : createCommentVNode("", true)
|
|
62710
62713
|
])) : createCommentVNode("", true)
|
|
@@ -63088,7 +63091,7 @@ const _sfc_main$o = {
|
|
|
63088
63091
|
};
|
|
63089
63092
|
const _hoisted_1$i = ["colspan", "rowspan"];
|
|
63090
63093
|
const _hoisted_2$d = { class: "form-widget-list" };
|
|
63091
|
-
const _hoisted_3$
|
|
63094
|
+
const _hoisted_3$c = {
|
|
63092
63095
|
key: 0,
|
|
63093
63096
|
class: "table-cell-action"
|
|
63094
63097
|
};
|
|
@@ -63145,7 +63148,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63145
63148
|
]),
|
|
63146
63149
|
_: 1
|
|
63147
63150
|
}, 16, ["list", "onUpdate", "move"]),
|
|
63148
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
63151
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
|
|
63149
63152
|
createElementVNode("i", {
|
|
63150
63153
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
63151
63154
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
|
|
@@ -63544,7 +63547,7 @@ const _hoisted_2$c = {
|
|
|
63544
63547
|
key: 0,
|
|
63545
63548
|
class: "no-widget-hint"
|
|
63546
63549
|
};
|
|
63547
|
-
const _hoisted_3$
|
|
63550
|
+
const _hoisted_3$b = { class: "form-widget-list" };
|
|
63548
63551
|
const _hoisted_4$8 = { class: "transition-group-el" };
|
|
63549
63552
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63550
63553
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -63558,7 +63561,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63558
63561
|
}, {
|
|
63559
63562
|
default: withCtx(() => [
|
|
63560
63563
|
$props.designer.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$c, toDisplayString(_ctx.i18nt("designer.noWidgetHint")), 1)) : createCommentVNode("", true),
|
|
63561
|
-
createElementVNode("div", _hoisted_3$
|
|
63564
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
63562
63565
|
createVNode(_component_draggable, mergeProps({
|
|
63563
63566
|
list: $props.designer.widgetList,
|
|
63564
63567
|
"item-key": "id"
|
|
@@ -68337,13 +68340,13 @@ function registerIcon(app) {
|
|
|
68337
68340
|
if (typeof window !== "undefined") {
|
|
68338
68341
|
let loadSvg = function() {
|
|
68339
68342
|
var body = document.body;
|
|
68340
|
-
var svgDom = document.getElementById("
|
|
68343
|
+
var svgDom = document.getElementById("__svg__icons__dom__1777270909015__");
|
|
68341
68344
|
if (!svgDom) {
|
|
68342
68345
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68343
68346
|
svgDom.style.position = "absolute";
|
|
68344
68347
|
svgDom.style.width = "0";
|
|
68345
68348
|
svgDom.style.height = "0";
|
|
68346
|
-
svgDom.id = "
|
|
68349
|
+
svgDom.id = "__svg__icons__dom__1777270909015__";
|
|
68347
68350
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68348
68351
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68349
68352
|
}
|
|
@@ -74541,7 +74544,7 @@ const _sfc_main$h = {
|
|
|
74541
74544
|
};
|
|
74542
74545
|
const _hoisted_1$d = { class: "person-tree-widget__trigger" };
|
|
74543
74546
|
const _hoisted_2$a = { class: "flex items-center" };
|
|
74544
|
-
const _hoisted_3$
|
|
74547
|
+
const _hoisted_3$a = { class: "dialog-footer" };
|
|
74545
74548
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74546
74549
|
const _component_el_input_tag = resolveComponent("el-input-tag");
|
|
74547
74550
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -74632,7 +74635,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
74632
74635
|
!$props.field.options.hideFooter ? {
|
|
74633
74636
|
name: "footer",
|
|
74634
74637
|
fn: withCtx(() => [
|
|
74635
|
-
createElementVNode("div", _hoisted_3$
|
|
74638
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
74636
74639
|
createVNode(_component_el_button, {
|
|
74637
74640
|
onClick: $options.handleCancel,
|
|
74638
74641
|
size: "default"
|
|
@@ -75176,7 +75179,7 @@ const _hoisted_2$9 = {
|
|
|
75176
75179
|
key: 1,
|
|
75177
75180
|
class: "room-wrap"
|
|
75178
75181
|
};
|
|
75179
|
-
const _hoisted_3$
|
|
75182
|
+
const _hoisted_3$9 = ["onClick"];
|
|
75180
75183
|
const _hoisted_4$7 = { class: "select-icon" };
|
|
75181
75184
|
const _hoisted_5$5 = { class: "room-item-name" };
|
|
75182
75185
|
const _hoisted_6$5 = {
|
|
@@ -75263,7 +75266,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75263
75266
|
item.equipment ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
|
|
75264
75267
|
createElementVNode("span", null, "\u8BBE\u5907\uFF1A" + toDisplayString(item.equipment), 1)
|
|
75265
75268
|
])) : createCommentVNode("", true)
|
|
75266
|
-
], 10, _hoisted_3$
|
|
75269
|
+
], 10, _hoisted_3$9);
|
|
75267
75270
|
}), 128))
|
|
75268
75271
|
]))
|
|
75269
75272
|
])
|
|
@@ -75349,7 +75352,7 @@ const _sfc_main$d = {
|
|
|
75349
75352
|
};
|
|
75350
75353
|
const _hoisted_1$b = { class: "sub-form-header" };
|
|
75351
75354
|
const _hoisted_2$8 = { class: "sub-form-label" };
|
|
75352
|
-
const _hoisted_3$
|
|
75355
|
+
const _hoisted_3$8 = { class: "group-header" };
|
|
75353
75356
|
const _hoisted_4$6 = { class: "group-title" };
|
|
75354
75357
|
const _hoisted_5$4 = {
|
|
75355
75358
|
key: 0,
|
|
@@ -75361,7 +75364,7 @@ const _hoisted_6$4 = {
|
|
|
75361
75364
|
};
|
|
75362
75365
|
const _hoisted_7$3 = { class: "group-actions" };
|
|
75363
75366
|
const _hoisted_8$3 = { class: "group-content" };
|
|
75364
|
-
const _hoisted_9$
|
|
75367
|
+
const _hoisted_9$2 = { class: "form-widget-list" };
|
|
75365
75368
|
const _hoisted_10$1 = {
|
|
75366
75369
|
key: 0,
|
|
75367
75370
|
class: "empty-hint"
|
|
@@ -75392,7 +75395,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75392
75395
|
class: "preview-group-row",
|
|
75393
75396
|
key: "preview-" + rowIdx
|
|
75394
75397
|
}, [
|
|
75395
|
-
createElementVNode("div", _hoisted_3$
|
|
75398
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
75396
75399
|
createElementVNode("div", _hoisted_4$6, [
|
|
75397
75400
|
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$4, toDisplayString($props.widget.options.label) + " " + toDisplayString(rowIdx + 1) + " \u7EC4", 1)) : (openBlock(), createElementBlock("span", _hoisted_6$4, "\u8868\u5355\u7EC4"))
|
|
75398
75401
|
]),
|
|
@@ -75445,7 +75448,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75445
75448
|
move: $options.checkContainerMove
|
|
75446
75449
|
}), {
|
|
75447
75450
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
75448
|
-
createElementVNode("div", _hoisted_9$
|
|
75451
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
75449
75452
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
75450
75453
|
widget: subWidget,
|
|
75451
75454
|
designer: $props.designer,
|
|
@@ -75841,7 +75844,7 @@ const _sfc_main$c = {
|
|
|
75841
75844
|
};
|
|
75842
75845
|
const _hoisted_1$a = { class: "sub-form-header" };
|
|
75843
75846
|
const _hoisted_2$7 = { class: "sub-form-label" };
|
|
75844
|
-
const _hoisted_3$
|
|
75847
|
+
const _hoisted_3$7 = { class: "group-header" };
|
|
75845
75848
|
const _hoisted_4$5 = { class: "group-title" };
|
|
75846
75849
|
const _hoisted_5$3 = {
|
|
75847
75850
|
key: 0,
|
|
@@ -75853,7 +75856,7 @@ const _hoisted_6$3 = {
|
|
|
75853
75856
|
};
|
|
75854
75857
|
const _hoisted_7$2 = { class: "group-actions" };
|
|
75855
75858
|
const _hoisted_8$2 = { class: "group-content" };
|
|
75856
|
-
const _hoisted_9 = {
|
|
75859
|
+
const _hoisted_9$1 = {
|
|
75857
75860
|
key: 1,
|
|
75858
75861
|
class: "field-loading",
|
|
75859
75862
|
style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
|
|
@@ -75890,7 +75893,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75890
75893
|
class: "form-group-row",
|
|
75891
75894
|
key: subFormRowId
|
|
75892
75895
|
}, [
|
|
75893
|
-
createElementVNode("div", _hoisted_3$
|
|
75896
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
75894
75897
|
createElementVNode("div", _hoisted_4$5, [
|
|
75895
75898
|
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$3, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$3, "\u8868\u5355\u7EC4"))
|
|
75896
75899
|
]),
|
|
@@ -75937,7 +75940,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75937
75940
|
"sub-form-row-index": sfrIdx,
|
|
75938
75941
|
"sub-form-col-index": swIdx,
|
|
75939
75942
|
"sub-form-disabled": $props.widget.options.disabled
|
|
75940
|
-
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
75943
|
+
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9$1, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
75941
75944
|
], 64)) : createCommentVNode("", true)
|
|
75942
75945
|
], 64);
|
|
75943
75946
|
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
@@ -76161,7 +76164,7 @@ const _sfc_main$b = {
|
|
|
76161
76164
|
};
|
|
76162
76165
|
const _hoisted_1$9 = ["colspan", "rowspan"];
|
|
76163
76166
|
const _hoisted_2$6 = { class: "form-widget-list" };
|
|
76164
|
-
const _hoisted_3$
|
|
76167
|
+
const _hoisted_3$6 = {
|
|
76165
76168
|
key: 0,
|
|
76166
76169
|
class: "custom-table-cell-action"
|
|
76167
76170
|
};
|
|
@@ -76228,7 +76231,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76228
76231
|
]),
|
|
76229
76232
|
_: 1
|
|
76230
76233
|
}, 16, ["list", "onUpdate", "move"]),
|
|
76231
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
76234
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
76232
76235
|
createElementVNode("i", {
|
|
76233
76236
|
title: "\u9009\u62E9\u7236\u7EC4\u4EF6",
|
|
76234
76237
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
|
|
@@ -76645,7 +76648,7 @@ const _hoisted_1$6 = {
|
|
|
76645
76648
|
class: "table-actions"
|
|
76646
76649
|
};
|
|
76647
76650
|
const _hoisted_2$5 = { class: "custom-table-layout" };
|
|
76648
|
-
const _hoisted_3$
|
|
76651
|
+
const _hoisted_3$5 = {
|
|
76649
76652
|
key: 0,
|
|
76650
76653
|
class: "row-actions-cell"
|
|
76651
76654
|
};
|
|
@@ -76680,7 +76683,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76680
76683
|
return openBlock(), createElementBlock("tr", {
|
|
76681
76684
|
key: $data.rowIdData[rowIdx] || row.id
|
|
76682
76685
|
}, [
|
|
76683
|
-
$props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$
|
|
76686
|
+
$props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$5, [
|
|
76684
76687
|
createVNode(_component_el_button, {
|
|
76685
76688
|
type: "primary",
|
|
76686
76689
|
size: "small",
|
|
@@ -76854,7 +76857,7 @@ const _sfc_main$7 = {
|
|
|
76854
76857
|
};
|
|
76855
76858
|
const _hoisted_1$5 = { class: "sub-table-header" };
|
|
76856
76859
|
const _hoisted_2$4 = { class: "sub-table-label" };
|
|
76857
|
-
const _hoisted_3$
|
|
76860
|
+
const _hoisted_3$4 = { class: "table-preview" };
|
|
76858
76861
|
const _hoisted_4$3 = { class: "preview-cell" };
|
|
76859
76862
|
const _hoisted_5$1 = { class: "empty-hint" };
|
|
76860
76863
|
const _hoisted_6$1 = { key: 0 };
|
|
@@ -76900,7 +76903,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76900
76903
|
_: 1
|
|
76901
76904
|
}, 8, ["disabled", "onClick"])
|
|
76902
76905
|
]),
|
|
76903
|
-
createElementVNode("div", _hoisted_3$
|
|
76906
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
76904
76907
|
createVNode(_component_el_table, {
|
|
76905
76908
|
data: $data.previewData,
|
|
76906
76909
|
border: $props.widget.options.border,
|
|
@@ -77368,7 +77371,7 @@ const _hoisted_2$3 = {
|
|
|
77368
77371
|
key: 0,
|
|
77369
77372
|
class: "required-mark"
|
|
77370
77373
|
};
|
|
77371
|
-
const _hoisted_3$
|
|
77374
|
+
const _hoisted_3$3 = { class: "table-toolbar" };
|
|
77372
77375
|
const _hoisted_4$2 = { class: "dialog-footer" };
|
|
77373
77376
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
77374
77377
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
@@ -77397,7 +77400,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
77397
77400
|
}, toDisplayString($props.widget.options.label), 3),
|
|
77398
77401
|
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$3, "*")) : createCommentVNode("", true)
|
|
77399
77402
|
])) : createCommentVNode("", true),
|
|
77400
|
-
createElementVNode("div", _hoisted_3$
|
|
77403
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
77401
77404
|
!$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
77402
77405
|
key: 0,
|
|
77403
77406
|
type: "primary",
|
|
@@ -77808,7 +77811,7 @@ const _sfc_main$5 = {
|
|
|
77808
77811
|
};
|
|
77809
77812
|
const _hoisted_1$3 = { class: "column-header" };
|
|
77810
77813
|
const _hoisted_2$2 = { class: "column-title" };
|
|
77811
|
-
const _hoisted_3$
|
|
77814
|
+
const _hoisted_3$2 = { class: "column-form" };
|
|
77812
77815
|
const _hoisted_4$1 = { class: "dialog-footer" };
|
|
77813
77816
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
77814
77817
|
const _component_el_divider = resolveComponent("el-divider");
|
|
@@ -77854,7 +77857,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
77854
77857
|
class: "column-delete-button"
|
|
77855
77858
|
}, null, 8, ["onClick"])
|
|
77856
77859
|
]),
|
|
77857
|
-
createElementVNode("div", _hoisted_3$
|
|
77860
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
77858
77861
|
createVNode(_component_el_form_item, { label: "\u5217\u540D" }, {
|
|
77859
77862
|
default: withCtx(() => [
|
|
77860
77863
|
createVNode(_component_el_input, {
|
|
@@ -78386,6 +78389,10 @@ const _sfc_main$3 = {
|
|
|
78386
78389
|
fieldValue: {
|
|
78387
78390
|
type: Array,
|
|
78388
78391
|
default: () => []
|
|
78392
|
+
},
|
|
78393
|
+
assetTypeValue: {
|
|
78394
|
+
type: String,
|
|
78395
|
+
default: ""
|
|
78389
78396
|
}
|
|
78390
78397
|
},
|
|
78391
78398
|
watch: {
|
|
@@ -78403,14 +78410,33 @@ const _sfc_main$3 = {
|
|
|
78403
78410
|
},
|
|
78404
78411
|
deep: true,
|
|
78405
78412
|
immediate: true
|
|
78413
|
+
},
|
|
78414
|
+
assetTypeValue: {
|
|
78415
|
+
handler(newVal) {
|
|
78416
|
+
if (newVal) {
|
|
78417
|
+
this.form.assetType = newVal;
|
|
78418
|
+
this.disabled = true;
|
|
78419
|
+
} else {
|
|
78420
|
+
this.disabled = false;
|
|
78421
|
+
}
|
|
78422
|
+
},
|
|
78423
|
+
immediate: true
|
|
78406
78424
|
}
|
|
78407
78425
|
},
|
|
78408
78426
|
data() {
|
|
78409
78427
|
return {
|
|
78428
|
+
tableData: [],
|
|
78410
78429
|
selectedRows: [],
|
|
78411
78430
|
visible: false,
|
|
78412
78431
|
pageSize: 10,
|
|
78413
|
-
currentPage: 1
|
|
78432
|
+
currentPage: 1,
|
|
78433
|
+
assetTypeOptions: [],
|
|
78434
|
+
form: {
|
|
78435
|
+
assetCode: "",
|
|
78436
|
+
assetType: "",
|
|
78437
|
+
ownerUnit: ""
|
|
78438
|
+
},
|
|
78439
|
+
disabled: false
|
|
78414
78440
|
};
|
|
78415
78441
|
},
|
|
78416
78442
|
methods: {
|
|
@@ -78421,98 +78447,13 @@ const _sfc_main$3 = {
|
|
|
78421
78447
|
this.$emit("confirm", this.selectedRows);
|
|
78422
78448
|
},
|
|
78423
78449
|
getTableData() {
|
|
78424
|
-
|
|
78425
|
-
|
|
78426
|
-
|
|
78427
|
-
|
|
78428
|
-
|
|
78429
|
-
|
|
78430
|
-
|
|
78431
|
-
updateTime: "2021-01-01",
|
|
78432
|
-
assetType: "0"
|
|
78433
|
-
},
|
|
78434
|
-
{
|
|
78435
|
-
id: 2,
|
|
78436
|
-
assetCode: "2",
|
|
78437
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78438
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78439
|
-
createTime: "2021-01-01",
|
|
78440
|
-
updateTime: "2021-01-01",
|
|
78441
|
-
assetType: "1"
|
|
78442
|
-
},
|
|
78443
|
-
{
|
|
78444
|
-
id: 3,
|
|
78445
|
-
assetCode: "3",
|
|
78446
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78447
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78448
|
-
createTime: "2021-01-01",
|
|
78449
|
-
updateTime: "2021-01-01",
|
|
78450
|
-
assetType: "2"
|
|
78451
|
-
},
|
|
78452
|
-
{
|
|
78453
|
-
id: 4,
|
|
78454
|
-
assetCode: "4",
|
|
78455
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78456
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78457
|
-
createTime: "2021-01-01",
|
|
78458
|
-
updateTime: "2021-01-01",
|
|
78459
|
-
assetType: "3"
|
|
78460
|
-
},
|
|
78461
|
-
{
|
|
78462
|
-
id: 5,
|
|
78463
|
-
assetCode: "5",
|
|
78464
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78465
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78466
|
-
createTime: "2021-01-01",
|
|
78467
|
-
updateTime: "2021-01-01",
|
|
78468
|
-
assetType: "4"
|
|
78469
|
-
},
|
|
78470
|
-
{
|
|
78471
|
-
id: 6,
|
|
78472
|
-
assetCode: "6",
|
|
78473
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78474
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78475
|
-
createTime: "2021-01-01",
|
|
78476
|
-
updateTime: "2021-01-01",
|
|
78477
|
-
assetType: "5"
|
|
78478
|
-
},
|
|
78479
|
-
{
|
|
78480
|
-
id: 7,
|
|
78481
|
-
assetCode: "7",
|
|
78482
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78483
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78484
|
-
createTime: "2021-01-01",
|
|
78485
|
-
updateTime: "2021-01-01",
|
|
78486
|
-
assetType: "6"
|
|
78487
|
-
},
|
|
78488
|
-
{
|
|
78489
|
-
id: 8,
|
|
78490
|
-
assetCode: "8",
|
|
78491
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78492
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78493
|
-
createTime: "2021-01-01",
|
|
78494
|
-
updateTime: "2021-01-01",
|
|
78495
|
-
assetType: "7"
|
|
78496
|
-
},
|
|
78497
|
-
{
|
|
78498
|
-
id: 9,
|
|
78499
|
-
assetCode: "9",
|
|
78500
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78501
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78502
|
-
createTime: "2021-01-01",
|
|
78503
|
-
updateTime: "2021-01-01",
|
|
78504
|
-
assetType: "8"
|
|
78505
|
-
},
|
|
78506
|
-
{
|
|
78507
|
-
id: 10,
|
|
78508
|
-
assetCode: "10",
|
|
78509
|
-
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
78510
|
-
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
78511
|
-
createTime: "2021-01-01",
|
|
78512
|
-
updateTime: "2021-01-01",
|
|
78513
|
-
assetType: "0"
|
|
78514
|
-
}
|
|
78515
|
-
];
|
|
78450
|
+
service$1({
|
|
78451
|
+
method: "post",
|
|
78452
|
+
url: "/asset-business/overview/pageList",
|
|
78453
|
+
data: __spreadValues({ size: this.pageSize, current: this.currentPage }, this.form)
|
|
78454
|
+
}).then(({ data: data2 }) => {
|
|
78455
|
+
this.tableData = data2.records;
|
|
78456
|
+
});
|
|
78516
78457
|
},
|
|
78517
78458
|
handleSizeChange(size) {
|
|
78518
78459
|
this.pageSize = size;
|
|
@@ -78535,31 +78476,60 @@ const _sfc_main$3 = {
|
|
|
78535
78476
|
if (index2 !== -1) {
|
|
78536
78477
|
this.selectedRows.splice(index2, 1);
|
|
78537
78478
|
}
|
|
78479
|
+
},
|
|
78480
|
+
handleGetAssetTypeOptions() {
|
|
78481
|
+
service$1({
|
|
78482
|
+
method: "post",
|
|
78483
|
+
url: "/unified-dict/sysItemDict/page",
|
|
78484
|
+
data: {
|
|
78485
|
+
current: 1,
|
|
78486
|
+
size: 1e4,
|
|
78487
|
+
dictType: "asset_type"
|
|
78488
|
+
}
|
|
78489
|
+
}).then(({ data: { records } }) => {
|
|
78490
|
+
this.assetTypeOptions = records.map((item) => ({
|
|
78491
|
+
label: item.label,
|
|
78492
|
+
value: item.itemValue
|
|
78493
|
+
}));
|
|
78494
|
+
});
|
|
78495
|
+
},
|
|
78496
|
+
handleSearch() {
|
|
78497
|
+
this.currentPage = 1;
|
|
78498
|
+
this.getTableData();
|
|
78538
78499
|
}
|
|
78539
78500
|
},
|
|
78540
78501
|
created() {
|
|
78541
78502
|
this.getTableData();
|
|
78503
|
+
this.handleGetAssetTypeOptions();
|
|
78542
78504
|
}
|
|
78543
78505
|
};
|
|
78544
78506
|
const _hoisted_1$2 = { class: "asset-body-wrap" };
|
|
78545
78507
|
const _hoisted_2$1 = { class: "bottom-wrap" };
|
|
78546
|
-
const _hoisted_3 = { class: "left-wrap" };
|
|
78547
|
-
const _hoisted_4 = { class: "
|
|
78548
|
-
const _hoisted_5 = { class: "
|
|
78549
|
-
const _hoisted_6 = { class: "asset-
|
|
78550
|
-
const _hoisted_7 = { class: "asset-item-
|
|
78551
|
-
const _hoisted_8 = { class: "
|
|
78508
|
+
const _hoisted_3$1 = { class: "left-wrap" };
|
|
78509
|
+
const _hoisted_4 = { class: "filter-wrap" };
|
|
78510
|
+
const _hoisted_5 = { class: "right-wrap" };
|
|
78511
|
+
const _hoisted_6 = { class: "asset-wrap" };
|
|
78512
|
+
const _hoisted_7 = { class: "asset-item-left" };
|
|
78513
|
+
const _hoisted_8 = { class: "asset-item-right" };
|
|
78514
|
+
const _hoisted_9 = { class: "dialog-footer" };
|
|
78552
78515
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78516
|
+
const _component_el_input = resolveComponent("el-input");
|
|
78517
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
78518
|
+
const _component_el_col = resolveComponent("el-col");
|
|
78519
|
+
const _component_el_option = resolveComponent("el-option");
|
|
78520
|
+
const _component_el_select = resolveComponent("el-select");
|
|
78521
|
+
const _component_el_button = resolveComponent("el-button");
|
|
78522
|
+
const _component_el_row = resolveComponent("el-row");
|
|
78523
|
+
const _component_el_form = resolveComponent("el-form");
|
|
78553
78524
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
78554
78525
|
const _component_el_table = resolveComponent("el-table");
|
|
78555
78526
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
78556
78527
|
const _component_Close = resolveComponent("Close");
|
|
78557
78528
|
const _component_el_icon = resolveComponent("el-icon");
|
|
78558
|
-
const _component_el_button = resolveComponent("el-button");
|
|
78559
78529
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
78560
78530
|
return openBlock(), createBlock(_component_el_dialog, {
|
|
78561
78531
|
modelValue: $data.visible,
|
|
78562
|
-
"onUpdate:modelValue": _cache[
|
|
78532
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.visible = $event),
|
|
78563
78533
|
title: "\u8D44\u4EA7\u9009\u62E9",
|
|
78564
78534
|
width: "1200px",
|
|
78565
78535
|
onClose: $options.handleClose,
|
|
@@ -78567,12 +78537,12 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78567
78537
|
"header-class": "person-tree-dialog-header"
|
|
78568
78538
|
}, {
|
|
78569
78539
|
footer: withCtx(() => [
|
|
78570
|
-
createElementVNode("div",
|
|
78540
|
+
createElementVNode("div", _hoisted_9, [
|
|
78571
78541
|
createVNode(_component_el_button, {
|
|
78572
78542
|
onClick: $options.handleClose,
|
|
78573
78543
|
size: "default"
|
|
78574
78544
|
}, {
|
|
78575
|
-
default: withCtx(() => [..._cache[
|
|
78545
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
78576
78546
|
createTextVNode(" \u53D6\u6D88 ", -1)
|
|
78577
78547
|
])]),
|
|
78578
78548
|
_: 1
|
|
@@ -78582,7 +78552,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78582
78552
|
onClick: $options.handleConfirm,
|
|
78583
78553
|
size: "default"
|
|
78584
78554
|
}, {
|
|
78585
|
-
default: withCtx(() => [..._cache[
|
|
78555
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
78586
78556
|
createTextVNode(" \u786E\u5B9A ", -1)
|
|
78587
78557
|
])]),
|
|
78588
78558
|
_: 1
|
|
@@ -78592,10 +78562,102 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78592
78562
|
default: withCtx(() => [
|
|
78593
78563
|
createElementVNode("div", _hoisted_1$2, [
|
|
78594
78564
|
createElementVNode("div", _hoisted_2$1, [
|
|
78595
|
-
createElementVNode("div", _hoisted_3, [
|
|
78596
|
-
|
|
78565
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
78566
|
+
createElementVNode("div", _hoisted_4, [
|
|
78567
|
+
createVNode(_component_el_form, {
|
|
78568
|
+
model: $data.form,
|
|
78569
|
+
size: "small"
|
|
78570
|
+
}, {
|
|
78571
|
+
default: withCtx(() => [
|
|
78572
|
+
createVNode(_component_el_row, { gutter: 20 }, {
|
|
78573
|
+
default: withCtx(() => [
|
|
78574
|
+
createVNode(_component_el_col, { span: 6 }, {
|
|
78575
|
+
default: withCtx(() => [
|
|
78576
|
+
createVNode(_component_el_form_item, { label: "\u8D44\u4EA7\u7F16\u7801/\u8D44\u4EA7\u540D\u79F0" }, {
|
|
78577
|
+
default: withCtx(() => [
|
|
78578
|
+
createVNode(_component_el_input, {
|
|
78579
|
+
size: "small",
|
|
78580
|
+
modelValue: $data.form.assetCode,
|
|
78581
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.form.assetCode = $event)
|
|
78582
|
+
}, null, 8, ["modelValue"])
|
|
78583
|
+
]),
|
|
78584
|
+
_: 1
|
|
78585
|
+
})
|
|
78586
|
+
]),
|
|
78587
|
+
_: 1
|
|
78588
|
+
}),
|
|
78589
|
+
createVNode(_component_el_col, { span: 6 }, {
|
|
78590
|
+
default: withCtx(() => [
|
|
78591
|
+
createVNode(_component_el_form_item, { label: "\u8D44\u4EA7\u7C7B\u578B" }, {
|
|
78592
|
+
default: withCtx(() => [
|
|
78593
|
+
createVNode(_component_el_select, {
|
|
78594
|
+
size: "small",
|
|
78595
|
+
disabled: $data.disabled,
|
|
78596
|
+
modelValue: $data.form.assetType,
|
|
78597
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.form.assetType = $event),
|
|
78598
|
+
placeholder: "\u8BF7\u9009\u62E9\u8D44\u4EA7\u7C7B\u578B"
|
|
78599
|
+
}, {
|
|
78600
|
+
default: withCtx(() => [
|
|
78601
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.assetTypeOptions, (item) => {
|
|
78602
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
78603
|
+
key: item.value,
|
|
78604
|
+
label: item.label,
|
|
78605
|
+
value: item.value
|
|
78606
|
+
}, null, 8, ["label", "value"]);
|
|
78607
|
+
}), 128))
|
|
78608
|
+
]),
|
|
78609
|
+
_: 1
|
|
78610
|
+
}, 8, ["disabled", "modelValue"])
|
|
78611
|
+
]),
|
|
78612
|
+
_: 1
|
|
78613
|
+
})
|
|
78614
|
+
]),
|
|
78615
|
+
_: 1
|
|
78616
|
+
}),
|
|
78617
|
+
createVNode(_component_el_col, { span: 6 }, {
|
|
78618
|
+
default: withCtx(() => [
|
|
78619
|
+
createVNode(_component_el_form_item, { label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D" }, {
|
|
78620
|
+
default: withCtx(() => [
|
|
78621
|
+
createVNode(_component_el_input, {
|
|
78622
|
+
size: "small",
|
|
78623
|
+
modelValue: $data.form.ownerUnit,
|
|
78624
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.form.ownerUnit = $event)
|
|
78625
|
+
}, null, 8, ["modelValue"])
|
|
78626
|
+
]),
|
|
78627
|
+
_: 1
|
|
78628
|
+
})
|
|
78629
|
+
]),
|
|
78630
|
+
_: 1
|
|
78631
|
+
}),
|
|
78632
|
+
createVNode(_component_el_col, { span: 6 }, {
|
|
78633
|
+
default: withCtx(() => [
|
|
78634
|
+
createVNode(_component_el_form_item, null, {
|
|
78635
|
+
default: withCtx(() => [
|
|
78636
|
+
createVNode(_component_el_button, {
|
|
78637
|
+
type: "primary",
|
|
78638
|
+
size: "small",
|
|
78639
|
+
onClick: $options.handleSearch
|
|
78640
|
+
}, {
|
|
78641
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
78642
|
+
createTextVNode("\u641C\u7D22", -1)
|
|
78643
|
+
])]),
|
|
78644
|
+
_: 1
|
|
78645
|
+
}, 8, ["onClick"])
|
|
78646
|
+
]),
|
|
78647
|
+
_: 1
|
|
78648
|
+
})
|
|
78649
|
+
]),
|
|
78650
|
+
_: 1
|
|
78651
|
+
})
|
|
78652
|
+
]),
|
|
78653
|
+
_: 1
|
|
78654
|
+
})
|
|
78655
|
+
]),
|
|
78656
|
+
_: 1
|
|
78657
|
+
}, 8, ["model"])
|
|
78658
|
+
]),
|
|
78597
78659
|
createVNode(_component_el_table, {
|
|
78598
|
-
data:
|
|
78660
|
+
data: $data.tableData,
|
|
78599
78661
|
"max-height": "500px",
|
|
78600
78662
|
style: { "width": "100%" },
|
|
78601
78663
|
"check-strictly": "",
|
|
@@ -78616,20 +78678,30 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78616
78678
|
label: "\u8D44\u4EA7\u540D\u79F0"
|
|
78617
78679
|
}),
|
|
78618
78680
|
createVNode(_component_el_table_column, {
|
|
78619
|
-
prop: "
|
|
78681
|
+
prop: "assetTypeName",
|
|
78620
78682
|
label: "\u8D44\u4EA7\u7C7B\u578B"
|
|
78621
78683
|
}),
|
|
78622
78684
|
createVNode(_component_el_table_column, {
|
|
78623
|
-
prop: "
|
|
78685
|
+
prop: "assetOwnerUnit",
|
|
78624
78686
|
label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"
|
|
78625
78687
|
}),
|
|
78626
78688
|
createVNode(_component_el_table_column, {
|
|
78627
|
-
prop: "
|
|
78689
|
+
prop: "originalValue",
|
|
78628
78690
|
label: "\u539F\u503C"
|
|
78691
|
+
}, {
|
|
78692
|
+
default: withCtx(({ row }) => [
|
|
78693
|
+
createTextVNode(toDisplayString(row.originalValue | _ctx.formatMoney), 1)
|
|
78694
|
+
]),
|
|
78695
|
+
_: 1
|
|
78629
78696
|
}),
|
|
78630
78697
|
createVNode(_component_el_table_column, {
|
|
78631
|
-
prop: "
|
|
78698
|
+
prop: "netValue",
|
|
78632
78699
|
label: "\u51C0\u503C"
|
|
78700
|
+
}, {
|
|
78701
|
+
default: withCtx(({ row }) => [
|
|
78702
|
+
createTextVNode(toDisplayString(row.netValue | _ctx.formatMoney), 1)
|
|
78703
|
+
]),
|
|
78704
|
+
_: 1
|
|
78633
78705
|
})
|
|
78634
78706
|
]),
|
|
78635
78707
|
_: 1
|
|
@@ -78638,24 +78710,24 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78638
78710
|
onSizeChange: $options.handleSizeChange,
|
|
78639
78711
|
onCurrentChange: $options.handleCurrentChange,
|
|
78640
78712
|
"current-page": $data.currentPage,
|
|
78641
|
-
layout: "total, sizes, prev, pager, next
|
|
78713
|
+
layout: "total, sizes, prev, pager, next",
|
|
78642
78714
|
size: "small",
|
|
78643
|
-
total:
|
|
78715
|
+
total: $data.tableData.length
|
|
78644
78716
|
}, null, 8, ["onSizeChange", "onCurrentChange", "current-page", "total"])
|
|
78645
78717
|
]),
|
|
78646
78718
|
createElementVNode("div", {
|
|
78647
78719
|
class: "center-wrap",
|
|
78648
|
-
onClick: _cache[
|
|
78720
|
+
onClick: _cache[3] || (_cache[3] = (...args) => $options.handleAdd && $options.handleAdd(...args))
|
|
78649
78721
|
}, "\u6DFB\u52A0"),
|
|
78650
|
-
createElementVNode("div",
|
|
78651
|
-
createElementVNode("ul",
|
|
78722
|
+
createElementVNode("div", _hoisted_5, [
|
|
78723
|
+
createElementVNode("ul", _hoisted_6, [
|
|
78652
78724
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedRows, (item) => {
|
|
78653
78725
|
return openBlock(), createElementBlock("li", {
|
|
78654
78726
|
class: "asset-item",
|
|
78655
78727
|
key: item.id
|
|
78656
78728
|
}, [
|
|
78657
|
-
createElementVNode("div",
|
|
78658
|
-
createElementVNode("div",
|
|
78729
|
+
createElementVNode("div", _hoisted_7, toDisplayString(item.labelName) + "(" + toDisplayString(item.assetCode) + ") ", 1),
|
|
78730
|
+
createElementVNode("div", _hoisted_8, [
|
|
78659
78731
|
createVNode(_component_el_icon, {
|
|
78660
78732
|
onClick: ($event) => $options.handleRemove(item.id)
|
|
78661
78733
|
}, {
|
|
@@ -78675,7 +78747,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78675
78747
|
_: 1
|
|
78676
78748
|
}, 8, ["modelValue", "onClose"]);
|
|
78677
78749
|
}
|
|
78678
|
-
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
78750
|
+
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-18da89e8"]]);
|
|
78679
78751
|
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
78680
78752
|
var index_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
78681
78753
|
const _sfc_main$2 = {
|
|
@@ -78781,53 +78853,10 @@ const _sfc_main$2 = {
|
|
|
78781
78853
|
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
78782
78854
|
});
|
|
78783
78855
|
},
|
|
78784
|
-
getTreeData() {
|
|
78785
|
-
const data2 = this.field.options.treeParams ? JSON.parse(this.field.options.treeParams) : {};
|
|
78786
|
-
service$1({
|
|
78787
|
-
method: "post",
|
|
78788
|
-
url: "/unified-system/sysCompany/fullTree",
|
|
78789
|
-
data: __spreadValues({ companyId: sessionStorage.getItem("companyId") }, data2)
|
|
78790
|
-
}).then(({ data: data3 }) => {
|
|
78791
|
-
this.treeData = renderData(data3);
|
|
78792
|
-
function renderData(data4) {
|
|
78793
|
-
var _a2;
|
|
78794
|
-
for (const element of data4) {
|
|
78795
|
-
element.nodeKey = element.joinUserId || element.id;
|
|
78796
|
-
if (element.children && ((_a2 = element.children) == null ? void 0 : _a2.length)) {
|
|
78797
|
-
renderData(element.children);
|
|
78798
|
-
}
|
|
78799
|
-
}
|
|
78800
|
-
return data4;
|
|
78801
|
-
}
|
|
78802
|
-
this.$nextTick(() => {
|
|
78803
|
-
this.applyTreeFilter();
|
|
78804
|
-
});
|
|
78805
|
-
});
|
|
78806
|
-
},
|
|
78807
|
-
filterNode(value2, data2) {
|
|
78808
|
-
if (value2 == null || String(value2).trim() === "")
|
|
78809
|
-
return true;
|
|
78810
|
-
const keyword = String(value2).trim().toLowerCase();
|
|
78811
|
-
const name = (data2.name || "").toLowerCase();
|
|
78812
|
-
(data2.postName || "").toLowerCase();
|
|
78813
|
-
return name.includes(keyword);
|
|
78814
|
-
},
|
|
78815
|
-
applyTreeFilter() {
|
|
78816
|
-
if (this.$refs.treeRef && typeof this.$refs.treeRef.filter === "function") {
|
|
78817
|
-
this.$refs.treeRef.filter(this.search);
|
|
78818
|
-
}
|
|
78819
|
-
},
|
|
78820
78856
|
handleClick() {
|
|
78821
78857
|
this.dialogVisible = true;
|
|
78822
78858
|
this.triggerEvent("onOpen");
|
|
78823
78859
|
},
|
|
78824
|
-
handleNodeClick(data2, node) {
|
|
78825
|
-
if (this.field.options.multiple)
|
|
78826
|
-
return;
|
|
78827
|
-
this.currentNodeKey = data2.nodeKey;
|
|
78828
|
-
},
|
|
78829
|
-
handleCheck() {
|
|
78830
|
-
},
|
|
78831
78860
|
handleConfirm(selectedRows) {
|
|
78832
78861
|
this.dialogVisible = false;
|
|
78833
78862
|
this.oldFieldValue = this.fieldModel ? deepClone(this.fieldModel) : null;
|
|
@@ -78926,14 +78955,15 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78926
78955
|
onClose: $options.handleClose,
|
|
78927
78956
|
onConfirm: $options.handleConfirm,
|
|
78928
78957
|
onCancel: $options.handleCancel,
|
|
78929
|
-
fieldValue: $data.fieldModel
|
|
78930
|
-
|
|
78958
|
+
fieldValue: $data.fieldModel,
|
|
78959
|
+
assetTypeValue: $props.field.options.assetTypeValue
|
|
78960
|
+
}, null, 8, ["dialog-visible", "onClose", "onConfirm", "onCancel", "fieldValue", "assetTypeValue"])
|
|
78931
78961
|
], 4)
|
|
78932
78962
|
]),
|
|
78933
78963
|
_: 1
|
|
78934
78964
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
78935
78965
|
}
|
|
78936
|
-
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
78966
|
+
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-0ef1c39e"]]);
|
|
78937
78967
|
var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
78938
78968
|
const _sfc_main$1 = {
|
|
78939
78969
|
name: "detail-dialog",
|
|
@@ -78980,7 +79010,8 @@ const _sfc_main$1 = {
|
|
|
78980
79010
|
"onFormValidateSuccess": ""
|
|
78981
79011
|
}
|
|
78982
79012
|
},
|
|
78983
|
-
showForm: false
|
|
79013
|
+
showForm: false,
|
|
79014
|
+
pendingColHiddenOps: []
|
|
78984
79015
|
};
|
|
78985
79016
|
},
|
|
78986
79017
|
computed: {
|
|
@@ -79007,6 +79038,8 @@ const _sfc_main$1 = {
|
|
|
79007
79038
|
handler(newVal) {
|
|
79008
79039
|
if (newVal) {
|
|
79009
79040
|
this.initFormData();
|
|
79041
|
+
} else {
|
|
79042
|
+
this.formData = {};
|
|
79010
79043
|
}
|
|
79011
79044
|
}
|
|
79012
79045
|
}
|
|
@@ -79035,11 +79068,35 @@ const _sfc_main$1 = {
|
|
|
79035
79068
|
const ref2 = this.$refs.detailFormRender;
|
|
79036
79069
|
if (ref2 && typeof ref2.setFormJson === "function") {
|
|
79037
79070
|
ref2.setFormJson(lodash.exports.cloneDeep(this.formJson));
|
|
79071
|
+
this.flushPendingColHiddenOps();
|
|
79038
79072
|
}
|
|
79039
79073
|
});
|
|
79040
79074
|
},
|
|
79075
|
+
setColHidden(colNames, hidden) {
|
|
79076
|
+
const names = Array.isArray(colNames) ? colNames : [colNames];
|
|
79077
|
+
const ref2 = this.$refs.detailFormRender;
|
|
79078
|
+
if (!ref2 || typeof ref2.setColHidden !== "function") {
|
|
79079
|
+
this.pendingColHiddenOps.push({ names, hidden });
|
|
79080
|
+
return;
|
|
79081
|
+
}
|
|
79082
|
+
names.forEach((name) => ref2.setColHidden(name, hidden));
|
|
79083
|
+
},
|
|
79084
|
+
flushPendingColHiddenOps() {
|
|
79085
|
+
if (!this.pendingColHiddenOps.length) {
|
|
79086
|
+
return;
|
|
79087
|
+
}
|
|
79088
|
+
const ref2 = this.$refs.detailFormRender;
|
|
79089
|
+
if (!ref2 || typeof ref2.setColHidden !== "function") {
|
|
79090
|
+
return;
|
|
79091
|
+
}
|
|
79092
|
+
this.pendingColHiddenOps.forEach(({ names, hidden }) => {
|
|
79093
|
+
names.forEach((name) => ref2.setColHidden(name, hidden));
|
|
79094
|
+
});
|
|
79095
|
+
this.pendingColHiddenOps = [];
|
|
79096
|
+
},
|
|
79041
79097
|
initFormData() {
|
|
79042
79098
|
var _a2;
|
|
79099
|
+
this.showForm = false;
|
|
79043
79100
|
this.formData = lodash.exports.cloneDeep(this.currentRowData) || {};
|
|
79044
79101
|
const map = this.resolveTypeJsonMap();
|
|
79045
79102
|
const assetType = String((_a2 = this.currentRowData.assetType) != null ? _a2 : "0");
|
|
@@ -79060,6 +79117,7 @@ const _sfc_main$1 = {
|
|
|
79060
79117
|
let parsed;
|
|
79061
79118
|
try {
|
|
79062
79119
|
parsed = typeof data2.formJson === "string" ? JSON.parse(data2.formJson) : data2.formJson;
|
|
79120
|
+
this.showForm = true;
|
|
79063
79121
|
} catch (e) {
|
|
79064
79122
|
console.error(e);
|
|
79065
79123
|
parsed = null;
|
|
@@ -79088,6 +79146,7 @@ const _sfc_main$1 = {
|
|
|
79088
79146
|
},
|
|
79089
79147
|
handleClose() {
|
|
79090
79148
|
this.formData = {};
|
|
79149
|
+
this.pendingColHiddenOps = [];
|
|
79091
79150
|
this.formJson = {
|
|
79092
79151
|
"widgetList": [],
|
|
79093
79152
|
"formConfig": {
|
|
@@ -79115,7 +79174,8 @@ const _sfc_main$1 = {
|
|
|
79115
79174
|
}
|
|
79116
79175
|
};
|
|
79117
79176
|
const _hoisted_1 = { class: "asset-body-wrap" };
|
|
79118
|
-
const _hoisted_2 = {
|
|
79177
|
+
const _hoisted_2 = { key: 0 };
|
|
79178
|
+
const _hoisted_3 = { class: "dialog-footer" };
|
|
79119
79179
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79120
79180
|
const _component_v_form_render = resolveComponent("v-form-render");
|
|
79121
79181
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -79130,7 +79190,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79130
79190
|
"header-class": "person-tree-dialog-header"
|
|
79131
79191
|
}, {
|
|
79132
79192
|
footer: withCtx(() => [
|
|
79133
|
-
createElementVNode("div",
|
|
79193
|
+
createElementVNode("div", _hoisted_3, [
|
|
79134
79194
|
createVNode(_component_el_button, { onClick: $options.handleClose }, {
|
|
79135
79195
|
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
79136
79196
|
createTextVNode("\u53D6\u6D88", -1)
|
|
@@ -79150,17 +79210,19 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79150
79210
|
]),
|
|
79151
79211
|
default: withCtx(() => [
|
|
79152
79212
|
createElementVNode("div", _hoisted_1, [
|
|
79153
|
-
|
|
79154
|
-
|
|
79155
|
-
|
|
79156
|
-
|
|
79157
|
-
|
|
79213
|
+
$data.showForm ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
79214
|
+
createVNode(_component_v_form_render, {
|
|
79215
|
+
ref: "detailFormRender",
|
|
79216
|
+
"form-json": $options.renderFormJson,
|
|
79217
|
+
"form-data": $data.formData
|
|
79218
|
+
}, null, 8, ["form-json", "form-data"])
|
|
79219
|
+
])) : createCommentVNode("", true)
|
|
79158
79220
|
])
|
|
79159
79221
|
]),
|
|
79160
79222
|
_: 1
|
|
79161
79223
|
}, 8, ["modelValue", "onClose"]);
|
|
79162
79224
|
}
|
|
79163
|
-
var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
79225
|
+
var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-772c9f48"]]);
|
|
79164
79226
|
var index_vue_vue_type_style_index_0_lang = "";
|
|
79165
79227
|
const _sfc_main = {
|
|
79166
79228
|
name: "asset-table-widget",
|
|
@@ -79248,21 +79310,23 @@ const _sfc_main = {
|
|
|
79248
79310
|
this.triggerEvent("onClose");
|
|
79249
79311
|
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
79250
79312
|
},
|
|
79313
|
+
updateRowData(row) {
|
|
79314
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
|
|
79315
|
+
if (index2 === -1)
|
|
79316
|
+
return;
|
|
79317
|
+
this.fieldModel[index2] = __spreadValues(__spreadValues({}, this.fieldModel[index2]), row);
|
|
79318
|
+
console.log(this.fieldModel, "this.fieldModel");
|
|
79319
|
+
},
|
|
79251
79320
|
triggerEvent(eventName, ...args) {
|
|
79252
79321
|
var _a2, _b2;
|
|
79253
79322
|
const handler = (_b2 = (_a2 = this.field) == null ? void 0 : _a2.options) == null ? void 0 : _b2[eventName];
|
|
79254
79323
|
if (handler) {
|
|
79255
79324
|
try {
|
|
79256
|
-
if (eventName === "
|
|
79257
|
-
const
|
|
79258
|
-
const fn = new Function("
|
|
79259
|
-
fn.call(this,
|
|
79260
|
-
|
|
79261
|
-
const removedItem = args[0];
|
|
79262
|
-
const remainingNodes = args[1];
|
|
79263
|
-
const removedIndex = args[2];
|
|
79264
|
-
const fn = new Function("removedItem", "remainingNodes", "remainingValue", "selectedValue", "removedIndex", handler);
|
|
79265
|
-
fn.call(this, removedItem, remainingNodes, remainingNodes, remainingNodes, removedIndex);
|
|
79325
|
+
if (eventName === "onOpen" && args.length > 0) {
|
|
79326
|
+
const rowData = args[0];
|
|
79327
|
+
const fn = new Function("rowData", handler);
|
|
79328
|
+
fn.call(this, rowData);
|
|
79329
|
+
``;
|
|
79266
79330
|
} else if (args.length > 0) {
|
|
79267
79331
|
const paramNames = args.map((_, index2) => `arg${index2}`).join(", ");
|
|
79268
79332
|
const fn = new Function(paramNames, handler);
|
|
@@ -79279,8 +79343,20 @@ const _sfc_main = {
|
|
|
79279
79343
|
}
|
|
79280
79344
|
},
|
|
79281
79345
|
handleRow(row) {
|
|
79346
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
|
|
79347
|
+
if (index2 === -1)
|
|
79348
|
+
return;
|
|
79349
|
+
this.triggerEvent("onOpen", this.fieldModel[index2]);
|
|
79282
79350
|
this.detailDialogVisible = true;
|
|
79283
|
-
this.detailDialogData =
|
|
79351
|
+
this.detailDialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
|
|
79352
|
+
},
|
|
79353
|
+
setDetailColHidden(colNames, hidden) {
|
|
79354
|
+
this.$nextTick(() => {
|
|
79355
|
+
const dialogRef = this.$refs.detailDialogRef;
|
|
79356
|
+
if (dialogRef && typeof dialogRef.setColHidden === "function") {
|
|
79357
|
+
dialogRef.setColHidden(colNames, hidden);
|
|
79358
|
+
}
|
|
79359
|
+
});
|
|
79284
79360
|
},
|
|
79285
79361
|
handleCloseDetailDialog() {
|
|
79286
79362
|
this.detailDialogVisible = false;
|
|
@@ -79349,20 +79425,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79349
79425
|
_: 1
|
|
79350
79426
|
}),
|
|
79351
79427
|
createVNode(_component_el_table_column, {
|
|
79352
|
-
prop: "
|
|
79428
|
+
prop: "assetTypeName",
|
|
79353
79429
|
label: "\u8D44\u4EA7\u7C7B\u578B"
|
|
79354
79430
|
}),
|
|
79355
79431
|
createVNode(_component_el_table_column, {
|
|
79356
|
-
prop: "
|
|
79432
|
+
prop: "assetOwnerUnit",
|
|
79357
79433
|
label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"
|
|
79358
79434
|
}),
|
|
79359
79435
|
createVNode(_component_el_table_column, {
|
|
79360
|
-
prop: "
|
|
79436
|
+
prop: "originalValue",
|
|
79361
79437
|
label: "\u539F\u503C"
|
|
79438
|
+
}, {
|
|
79439
|
+
default: withCtx(({ row }) => [
|
|
79440
|
+
createTextVNode(toDisplayString(row.originalValue | _ctx.formatMoney), 1)
|
|
79441
|
+
]),
|
|
79442
|
+
_: 1
|
|
79362
79443
|
}),
|
|
79363
79444
|
createVNode(_component_el_table_column, {
|
|
79364
|
-
prop: "
|
|
79445
|
+
prop: "netValue",
|
|
79365
79446
|
label: "\u51C0\u503C"
|
|
79447
|
+
}, {
|
|
79448
|
+
default: withCtx(({ row }) => [
|
|
79449
|
+
createTextVNode(toDisplayString(row.netValue | _ctx.formatMoney), 1)
|
|
79450
|
+
]),
|
|
79451
|
+
_: 1
|
|
79366
79452
|
}),
|
|
79367
79453
|
createVNode(_component_el_table_column, {
|
|
79368
79454
|
prop: "isUpdate",
|
|
@@ -79378,6 +79464,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79378
79464
|
}, 8, ["data"])
|
|
79379
79465
|
], 4),
|
|
79380
79466
|
createVNode(_component_detail_dialog, {
|
|
79467
|
+
ref: "detailDialogRef",
|
|
79381
79468
|
visible: $data.detailDialogVisible,
|
|
79382
79469
|
typeJson: $props.field.options.typeJson,
|
|
79383
79470
|
data: $data.detailDialogData,
|
|
@@ -79483,9 +79570,11 @@ const loadExtension = function(app) {
|
|
|
79483
79570
|
app.component(AssetSelectWidget.name, AssetSelectWidget);
|
|
79484
79571
|
registerCPEditor(app, "asset-select-buttonText", "asset-select-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.assetSelectButtonText"));
|
|
79485
79572
|
registerCPEditor(app, "asset-select-typeJson", "asset-select-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetSelectTypeJson", { rows: 4 }));
|
|
79573
|
+
registerCPEditor(app, "asset-select-assetTypeValue", "asset-select-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetSelectAssetTypeValue"));
|
|
79486
79574
|
addCustomWidgetSchema(assetTableSchema);
|
|
79487
79575
|
app.component(AssetTableWidget.name, AssetTableWidget);
|
|
79488
79576
|
registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetTableTypeJson", { rows: 4 }));
|
|
79577
|
+
registerEPEditor(app, "asset-table-onOpen", "asset-table-onOpen-editor", createEventHandlerEditor("onOpen", ["rowData"]));
|
|
79489
79578
|
};
|
|
79490
79579
|
const { cookies } = useCookies();
|
|
79491
79580
|
function getElMessage(app) {
|