yuanjia-form-pro-standard 1.1.6-beta6.0 → 1.1.6-beta6.1
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/designer.es.js +260 -100
- package/designer.style.css +2 -2
- package/designer.umd.js +7 -7
- package/package.json +1 -1
package/designer.es.js
CHANGED
|
@@ -1092,7 +1092,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
return target;
|
|
1094
1094
|
};
|
|
1095
|
-
const _sfc_main$
|
|
1095
|
+
const _sfc_main$5f = {
|
|
1096
1096
|
name: "SvgIcon",
|
|
1097
1097
|
props: {
|
|
1098
1098
|
iconClass: {
|
|
@@ -1120,18 +1120,18 @@ const _sfc_main$5e = {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
1122
|
};
|
|
1123
|
-
const _hoisted_1$
|
|
1123
|
+
const _hoisted_1$1l = ["xlink:href"];
|
|
1124
1124
|
const _hoisted_2$G = { key: 0 };
|
|
1125
1125
|
function _sfc_render$5e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1126
1126
|
return openBlock(), createElementBlock("svg", {
|
|
1127
1127
|
class: normalizeClass$1($options.svgClass),
|
|
1128
1128
|
"aria-hidden": "true"
|
|
1129
1129
|
}, [
|
|
1130
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
1130
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$1l),
|
|
1131
1131
|
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$G, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
1132
1132
|
], 2);
|
|
1133
1133
|
}
|
|
1134
|
-
var SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1134
|
+
var SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5f, [["render", _sfc_render$5e], ["__scopeId", "data-v-2a03d21b"]]);
|
|
1135
1135
|
const almLocalStorage = {
|
|
1136
1136
|
supportLoaclStorage: function() {
|
|
1137
1137
|
if (window.localStorage) {
|
|
@@ -11129,8 +11129,8 @@ var Utils$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
11129
11129
|
isExist
|
|
11130
11130
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11131
11131
|
var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
|
|
11132
|
-
var index_vue_vue_type_style_index_1_lang$
|
|
11133
|
-
const _sfc_main$
|
|
11132
|
+
var index_vue_vue_type_style_index_1_lang$3 = "";
|
|
11133
|
+
const _sfc_main$5e = {
|
|
11134
11134
|
name: "FieldPanel",
|
|
11135
11135
|
mixins: [i18n$1],
|
|
11136
11136
|
components: {
|
|
@@ -11409,7 +11409,7 @@ const _sfc_main$5d = {
|
|
|
11409
11409
|
}
|
|
11410
11410
|
}
|
|
11411
11411
|
};
|
|
11412
|
-
const _hoisted_1$
|
|
11412
|
+
const _hoisted_1$1k = { class: "panel-container" };
|
|
11413
11413
|
const _hoisted_2$F = ["title", "onDblclick"];
|
|
11414
11414
|
const _hoisted_3$t = { class: "svg-icon-label" };
|
|
11415
11415
|
const _hoisted_4$p = { class: "chart-widget-item__label" };
|
|
@@ -11417,16 +11417,16 @@ const _hoisted_5$m = ["title", "onDblclick"];
|
|
|
11417
11417
|
const _hoisted_6$k = { class: "svg-icon-label" };
|
|
11418
11418
|
const _hoisted_7$h = { class: "chart-widget-item__label" };
|
|
11419
11419
|
const _hoisted_8$f = ["title", "onDblclick"];
|
|
11420
|
-
const _hoisted_9$
|
|
11421
|
-
const _hoisted_10$
|
|
11422
|
-
const _hoisted_11$
|
|
11423
|
-
const _hoisted_12$
|
|
11424
|
-
const _hoisted_13$
|
|
11425
|
-
const _hoisted_14$
|
|
11426
|
-
const _hoisted_15$
|
|
11427
|
-
const _hoisted_16$
|
|
11428
|
-
const _hoisted_17$
|
|
11429
|
-
const _hoisted_18$
|
|
11420
|
+
const _hoisted_9$d = ["title", "onDblclick"];
|
|
11421
|
+
const _hoisted_10$a = ["title", "onDblclick"];
|
|
11422
|
+
const _hoisted_11$a = ["title", "onDblclick"];
|
|
11423
|
+
const _hoisted_12$8 = ["title", "onDblclick"];
|
|
11424
|
+
const _hoisted_13$7 = ["title", "onDblclick"];
|
|
11425
|
+
const _hoisted_14$6 = ["title", "onDblclick"];
|
|
11426
|
+
const _hoisted_15$4 = ["src"];
|
|
11427
|
+
const _hoisted_16$4 = ["src"];
|
|
11428
|
+
const _hoisted_17$3 = { class: "bottom clear-fix" };
|
|
11429
|
+
const _hoisted_18$3 = { class: "ft-title" };
|
|
11430
11430
|
const _hoisted_19$2 = { class: "bottom clear-fix" };
|
|
11431
11431
|
const _hoisted_20$1 = { class: "ft-title" };
|
|
11432
11432
|
function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -11442,7 +11442,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11442
11442
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
11443
11443
|
return openBlock(), createBlock(_component_el_scrollbar, { class: "side-scroll-bar" }, {
|
|
11444
11444
|
default: withCtx(() => [
|
|
11445
|
-
createElementVNode("div", _hoisted_1$
|
|
11445
|
+
createElementVNode("div", _hoisted_1$1k, [
|
|
11446
11446
|
createVNode(_component_el_tabs, {
|
|
11447
11447
|
modelValue: $data.firstTab,
|
|
11448
11448
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.firstTab = $event),
|
|
@@ -11627,7 +11627,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11627
11627
|
}, null, 8, ["icon-class"]),
|
|
11628
11628
|
createTextVNode(toDisplayString($options.getMetaFieldLabel(fld)), 1)
|
|
11629
11629
|
])
|
|
11630
|
-
], 42, _hoisted_9$
|
|
11630
|
+
], 42, _hoisted_9$d)
|
|
11631
11631
|
]),
|
|
11632
11632
|
_: 1
|
|
11633
11633
|
}, 8, ["list", "move", "clone"])
|
|
@@ -11663,7 +11663,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11663
11663
|
}, null, 8, ["icon-class"]),
|
|
11664
11664
|
createTextVNode(toDisplayString($options.getMetaFieldLabel(fld)), 1)
|
|
11665
11665
|
])
|
|
11666
|
-
], 42, _hoisted_10$
|
|
11666
|
+
], 42, _hoisted_10$a)
|
|
11667
11667
|
]),
|
|
11668
11668
|
_: 2
|
|
11669
11669
|
}, 1032, ["list", "move", "clone"])
|
|
@@ -11723,7 +11723,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11723
11723
|
}, null, 8, ["icon-class"]),
|
|
11724
11724
|
createTextVNode(toDisplayString($options.getWidgetLabel(ctn)), 1)
|
|
11725
11725
|
])
|
|
11726
|
-
], 40, _hoisted_11$
|
|
11726
|
+
], 40, _hoisted_11$a)
|
|
11727
11727
|
]),
|
|
11728
11728
|
_: 1
|
|
11729
11729
|
}, 8, ["list", "clone", "move", "onEnd"])
|
|
@@ -11758,7 +11758,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11758
11758
|
}, null, 8, ["icon-class"]),
|
|
11759
11759
|
createTextVNode(toDisplayString($options.getWidgetLabel(fld)), 1)
|
|
11760
11760
|
])
|
|
11761
|
-
], 40, _hoisted_12$
|
|
11761
|
+
], 40, _hoisted_12$8)
|
|
11762
11762
|
]),
|
|
11763
11763
|
_: 1
|
|
11764
11764
|
}, 8, ["list", "move", "clone"])
|
|
@@ -11793,7 +11793,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11793
11793
|
}, null, 8, ["icon-class"]),
|
|
11794
11794
|
createTextVNode(toDisplayString($options.getWidgetLabel(fld)), 1)
|
|
11795
11795
|
])
|
|
11796
|
-
], 40, _hoisted_13$
|
|
11796
|
+
], 40, _hoisted_13$7)
|
|
11797
11797
|
]),
|
|
11798
11798
|
_: 1
|
|
11799
11799
|
}, 8, ["list", "move", "clone"])
|
|
@@ -11828,7 +11828,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11828
11828
|
}, null, 8, ["icon-class"]),
|
|
11829
11829
|
createTextVNode(toDisplayString($options.getWidgetLabel(fld)), 1)
|
|
11830
11830
|
])
|
|
11831
|
-
], 40, _hoisted_14$
|
|
11831
|
+
], 40, _hoisted_14$6)
|
|
11832
11832
|
]),
|
|
11833
11833
|
_: 1
|
|
11834
11834
|
}, 8, ["list", "move", "clone"])
|
|
@@ -11869,18 +11869,18 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11869
11869
|
createElementVNode("img", {
|
|
11870
11870
|
src: ft2.imgUrl,
|
|
11871
11871
|
style: { "width": "200px" }
|
|
11872
|
-
}, null, 8, _hoisted_15$
|
|
11872
|
+
}, null, 8, _hoisted_15$4)
|
|
11873
11873
|
]),
|
|
11874
11874
|
default: withCtx(() => [
|
|
11875
11875
|
createElementVNode("img", {
|
|
11876
11876
|
src: ft2.imgUrl,
|
|
11877
11877
|
style: { "height": "600px", "width": "720px" }
|
|
11878
|
-
}, null, 8, _hoisted_16$
|
|
11878
|
+
}, null, 8, _hoisted_16$4)
|
|
11879
11879
|
]),
|
|
11880
11880
|
_: 2
|
|
11881
11881
|
}, 1024),
|
|
11882
|
-
createElementVNode("div", _hoisted_17$
|
|
11883
|
-
createElementVNode("span", _hoisted_18$
|
|
11882
|
+
createElementVNode("div", _hoisted_17$3, [
|
|
11883
|
+
createElementVNode("span", _hoisted_18$3, "#" + toDisplayString(idx + 1) + " " + toDisplayString($options.getFTTitle(ft2)), 1),
|
|
11884
11884
|
createVNode(_component_el_button, {
|
|
11885
11885
|
link: "",
|
|
11886
11886
|
type: "primary",
|
|
@@ -11948,7 +11948,7 @@ function _sfc_render$5d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11948
11948
|
_: 1
|
|
11949
11949
|
});
|
|
11950
11950
|
}
|
|
11951
|
-
var WidgetPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11951
|
+
var WidgetPanel = /* @__PURE__ */ _export_sfc(_sfc_main$5e, [["render", _sfc_render$5d], ["__scopeId", "data-v-9255e958"]]);
|
|
11952
11952
|
var emitter = {
|
|
11953
11953
|
data() {
|
|
11954
11954
|
return {
|
|
@@ -12041,7 +12041,7 @@ var emitter = {
|
|
|
12041
12041
|
}
|
|
12042
12042
|
}
|
|
12043
12043
|
};
|
|
12044
|
-
const _sfc_main$
|
|
12044
|
+
const _sfc_main$5d = {
|
|
12045
12045
|
name: "container-item-wrapper",
|
|
12046
12046
|
props: {
|
|
12047
12047
|
widget: Object
|
|
@@ -12059,7 +12059,7 @@ function _sfc_render$5c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12059
12059
|
renderSlot(_ctx.$slots, "default")
|
|
12060
12060
|
], 2);
|
|
12061
12061
|
}
|
|
12062
|
-
var ContainerItemWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12062
|
+
var ContainerItemWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$5d, [["render", _sfc_render$5c]]);
|
|
12063
12063
|
var __glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12064
12064
|
__proto__: null,
|
|
12065
12065
|
"default": ContainerItemWrapper
|
|
@@ -12434,7 +12434,7 @@ var containerItemMixin = {
|
|
|
12434
12434
|
}
|
|
12435
12435
|
}
|
|
12436
12436
|
};
|
|
12437
|
-
const _sfc_main$
|
|
12437
|
+
const _sfc_main$5c = {
|
|
12438
12438
|
name: "button-group-item",
|
|
12439
12439
|
componentName: "ContainerItem",
|
|
12440
12440
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -12549,12 +12549,29 @@ function _sfc_render$5b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12549
12549
|
_: 1
|
|
12550
12550
|
}, 8, ["widget"]);
|
|
12551
12551
|
}
|
|
12552
|
-
var buttonGroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12552
|
+
var buttonGroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$5c, [["render", _sfc_render$5b]]);
|
|
12553
12553
|
var __glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12554
12554
|
__proto__: null,
|
|
12555
12555
|
"default": buttonGroupItem
|
|
12556
12556
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12557
12557
|
var AvatarCom_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12558
|
+
const _hoisted_1$1j = { class: "avatar-com" };
|
|
12559
|
+
const _sfc_main$5b = {
|
|
12560
|
+
__name: "AvatarCom",
|
|
12561
|
+
props: {
|
|
12562
|
+
name: String
|
|
12563
|
+
},
|
|
12564
|
+
setup(__props) {
|
|
12565
|
+
const props = __props;
|
|
12566
|
+
const nameAvatar = computed(() => {
|
|
12567
|
+
return props.name ? props.name.charAt(0) : "";
|
|
12568
|
+
});
|
|
12569
|
+
return (_ctx, _cache) => {
|
|
12570
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1j, toDisplayString(nameAvatar.value), 1);
|
|
12571
|
+
};
|
|
12572
|
+
}
|
|
12573
|
+
};
|
|
12574
|
+
var AvatarCom = /* @__PURE__ */ _export_sfc(_sfc_main$5b, [["__scopeId", "data-v-2c609231"]]);
|
|
12558
12575
|
var formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12559
12576
|
var formItemWrapper_vue_vue_type_style_index_1_lang = "";
|
|
12560
12577
|
const _sfc_main$5a = {
|
|
@@ -12594,7 +12611,7 @@ const _sfc_main$5a = {
|
|
|
12594
12611
|
},
|
|
12595
12612
|
rules: Array
|
|
12596
12613
|
},
|
|
12597
|
-
inject: ["getFormConfig", "getSubFormFieldFlag", "getSubFormName", "getObjectFieldFlag", "getObjectName"],
|
|
12614
|
+
inject: ["getFormConfig", "getSubFormFieldFlag", "getSubFormName", "getObjectFieldFlag", "getObjectName", "enableHistoryView"],
|
|
12598
12615
|
data() {
|
|
12599
12616
|
return {
|
|
12600
12617
|
historyPopoverVisible: false,
|
|
@@ -12787,25 +12804,25 @@ const _hoisted_6$j = {
|
|
|
12787
12804
|
};
|
|
12788
12805
|
const _hoisted_7$g = { class: "history-item-header" };
|
|
12789
12806
|
const _hoisted_8$e = { class: "history-user-info" };
|
|
12790
|
-
const _hoisted_9$
|
|
12791
|
-
const _hoisted_10$
|
|
12792
|
-
const _hoisted_11$
|
|
12793
|
-
const _hoisted_12$
|
|
12794
|
-
const _hoisted_13$
|
|
12807
|
+
const _hoisted_9$c = ["src"];
|
|
12808
|
+
const _hoisted_10$9 = { class: "history-user-name" };
|
|
12809
|
+
const _hoisted_11$9 = { class: "history-time" };
|
|
12810
|
+
const _hoisted_12$7 = { class: "history-content" };
|
|
12811
|
+
const _hoisted_13$6 = {
|
|
12795
12812
|
key: 0,
|
|
12796
12813
|
class: "custom-label"
|
|
12797
12814
|
};
|
|
12798
|
-
const _hoisted_14$
|
|
12799
|
-
const _hoisted_15$
|
|
12800
|
-
const _hoisted_16$
|
|
12815
|
+
const _hoisted_14$5 = { key: 1 };
|
|
12816
|
+
const _hoisted_15$3 = ["title"];
|
|
12817
|
+
const _hoisted_16$3 = {
|
|
12801
12818
|
key: 0,
|
|
12802
12819
|
class: "field-describe"
|
|
12803
12820
|
};
|
|
12804
|
-
const _hoisted_17$
|
|
12821
|
+
const _hoisted_17$2 = {
|
|
12805
12822
|
key: 0,
|
|
12806
12823
|
class: "field-action"
|
|
12807
12824
|
};
|
|
12808
|
-
const _hoisted_18$
|
|
12825
|
+
const _hoisted_18$2 = ["title"];
|
|
12809
12826
|
const _hoisted_19$1 = ["title"];
|
|
12810
12827
|
const _hoisted_20 = ["title"];
|
|
12811
12828
|
const _hoisted_21 = ["title"];
|
|
@@ -12840,7 +12857,7 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12840
12857
|
label: withCtx(() => [
|
|
12841
12858
|
createElementVNode("div", _hoisted_1$1i, [
|
|
12842
12859
|
createElementVNode("div", _hoisted_2$E, [
|
|
12843
|
-
!$props.designState && $options.label ? (openBlock(), createBlock(_component_el_popover, {
|
|
12860
|
+
!$props.designState && $options.label && $options.enableHistoryView ? (openBlock(), createBlock(_component_el_popover, {
|
|
12844
12861
|
key: 0,
|
|
12845
12862
|
visible: $data.historyPopoverVisible,
|
|
12846
12863
|
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => $data.historyPopoverVisible = $event),
|
|
@@ -12937,16 +12954,16 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12937
12954
|
key: 0,
|
|
12938
12955
|
class: "history-user-avatar",
|
|
12939
12956
|
src: item.created_avatar
|
|
12940
|
-
}, null, 8, _hoisted_9$
|
|
12957
|
+
}, null, 8, _hoisted_9$c)) : (openBlock(), createBlock(_component_AvatarCom, {
|
|
12941
12958
|
key: 1,
|
|
12942
12959
|
class: "history-user-avatar",
|
|
12943
12960
|
name: item.created_username
|
|
12944
12961
|
}, null, 8, ["name"])),
|
|
12945
|
-
createElementVNode("span", _hoisted_10$
|
|
12962
|
+
createElementVNode("span", _hoisted_10$9, toDisplayString(item.created_username || "\u7CFB\u7EDF"), 1)
|
|
12946
12963
|
]),
|
|
12947
|
-
createElementVNode("span", _hoisted_11$
|
|
12964
|
+
createElementVNode("span", _hoisted_11$9, toDisplayString(item.created_time || ""), 1)
|
|
12948
12965
|
]),
|
|
12949
|
-
createElementVNode("div", _hoisted_12$
|
|
12966
|
+
createElementVNode("div", _hoisted_12$7, toDisplayString(item.content || ""), 1)
|
|
12950
12967
|
]);
|
|
12951
12968
|
}), 128))
|
|
12952
12969
|
]))
|
|
@@ -12954,7 +12971,7 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12954
12971
|
]),
|
|
12955
12972
|
_: 1
|
|
12956
12973
|
}, 8, ["visible"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
12957
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_13$
|
|
12974
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_13$6, [
|
|
12958
12975
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
12959
12976
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
12960
12977
|
createVNode(_component_el_tooltip, {
|
|
@@ -13008,7 +13025,7 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13008
13025
|
})
|
|
13009
13026
|
], 64))
|
|
13010
13027
|
], 64)) : createCommentVNode("", true)
|
|
13011
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_14$
|
|
13028
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_14$5, toDisplayString($options.label), 1))
|
|
13012
13029
|
], 64)),
|
|
13013
13030
|
$props.field.type === "checkbox" && $props.field.options.enableSelectAll ? (openBlock(), createElementBlock("span", {
|
|
13014
13031
|
key: 2,
|
|
@@ -13022,9 +13039,9 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13022
13039
|
]),
|
|
13023
13040
|
_: 1
|
|
13024
13041
|
})
|
|
13025
|
-
], 8, _hoisted_15$
|
|
13042
|
+
], 8, _hoisted_15$3)) : createCommentVNode("", true)
|
|
13026
13043
|
]),
|
|
13027
|
-
$props.field.options.describe ? (openBlock(), createElementBlock("div", _hoisted_16$
|
|
13044
|
+
$props.field.options.describe ? (openBlock(), createElementBlock("div", _hoisted_16$3, toDisplayString($props.field.options.describe), 1)) : createCommentVNode("", true)
|
|
13028
13045
|
])
|
|
13029
13046
|
]),
|
|
13030
13047
|
default: withCtx(() => [
|
|
@@ -13033,13 +13050,13 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13033
13050
|
_: 3
|
|
13034
13051
|
}, 8, ["label", "label-width", "size", "rules", "prop", "class"])) : createCommentVNode("", true),
|
|
13035
13052
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
13036
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_17$
|
|
13053
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
|
|
13037
13054
|
createElementVNode("i", {
|
|
13038
13055
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
13039
13056
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
13040
13057
|
}, [
|
|
13041
13058
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
13042
|
-
], 8, _hoisted_18$
|
|
13059
|
+
], 8, _hoisted_18$2),
|
|
13043
13060
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
13044
13061
|
key: 0,
|
|
13045
13062
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -13081,7 +13098,7 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13081
13098
|
], 64)) : createCommentVNode("", true)
|
|
13082
13099
|
], 2);
|
|
13083
13100
|
}
|
|
13084
|
-
var FormItemWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$5a, [["render", _sfc_render$5a], ["__scopeId", "data-v-
|
|
13101
|
+
var FormItemWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$5a, [["render", _sfc_render$5a], ["__scopeId", "data-v-45439cfe"]]);
|
|
13085
13102
|
var __glob_0_10$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13086
13103
|
__proto__: null,
|
|
13087
13104
|
"default": FormItemWrapper
|
|
@@ -122012,7 +122029,7 @@ const _hoisted_7$f = {
|
|
|
122012
122029
|
class: "drag-handler background-opacity"
|
|
122013
122030
|
};
|
|
122014
122031
|
const _hoisted_8$d = ["title"];
|
|
122015
|
-
const _hoisted_9$
|
|
122032
|
+
const _hoisted_9$b = { key: 0 };
|
|
122016
122033
|
function _sfc_render$58(_ctx, _cache, $props, $setup, $data, $options) {
|
|
122017
122034
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
122018
122035
|
return openBlock(), createElementBlock("div", {
|
|
@@ -122069,7 +122086,7 @@ function _sfc_render$58(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
122069
122086
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
122070
122087
|
], 8, _hoisted_8$d),
|
|
122071
122088
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
122072
|
-
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$
|
|
122089
|
+
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$b, [
|
|
122073
122090
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
122074
122091
|
])) : createCommentVNode("", true)
|
|
122075
122092
|
])) : createCommentVNode("", true)
|
|
@@ -151692,7 +151709,7 @@ const _hoisted_5$j = ["href"];
|
|
|
151692
151709
|
const _hoisted_6$h = ["title"];
|
|
151693
151710
|
const _hoisted_7$e = ["onClick"];
|
|
151694
151711
|
const _hoisted_8$c = ["title"];
|
|
151695
|
-
const _hoisted_9$
|
|
151712
|
+
const _hoisted_9$a = ["title", "onClick"];
|
|
151696
151713
|
function _sfc_render$4$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
151697
151714
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
151698
151715
|
const _component_el_upload = resolveComponent("el-upload");
|
|
@@ -151777,7 +151794,7 @@ function _sfc_render$4$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151777
151794
|
onClick: ($event) => $options.removeUploadFile(file.name, file.url, file.uid)
|
|
151778
151795
|
}, [
|
|
151779
151796
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
151780
|
-
], 8, _hoisted_9$
|
|
151797
|
+
], 8, _hoisted_9$a)) : createCommentVNode("", true)
|
|
151781
151798
|
])
|
|
151782
151799
|
]),
|
|
151783
151800
|
_: 1
|
|
@@ -167165,7 +167182,7 @@ const _hoisted_8$b = {
|
|
|
167165
167182
|
key: 0,
|
|
167166
167183
|
class: "tab-item-icon fr"
|
|
167167
167184
|
};
|
|
167168
|
-
const _hoisted_9$
|
|
167185
|
+
const _hoisted_9$9 = {
|
|
167169
167186
|
key: 0,
|
|
167170
167187
|
class: "readonly-mode-field"
|
|
167171
167188
|
};
|
|
@@ -167278,7 +167295,7 @@ function _sfc_render$4G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
167278
167295
|
]),
|
|
167279
167296
|
_: 1
|
|
167280
167297
|
}, 8, ["show"]),
|
|
167281
|
-
_ctx.isReadMode ? (openBlock(), createElementBlock("span", _hoisted_9$
|
|
167298
|
+
_ctx.isReadMode ? (openBlock(), createElementBlock("span", _hoisted_9$9, toDisplayString(_ctx.optionLabel), 1)) : createCommentVNode("", true)
|
|
167282
167299
|
]),
|
|
167283
167300
|
_: 1
|
|
167284
167301
|
}, 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"]);
|
|
@@ -169612,12 +169629,12 @@ const _hoisted_8$a = {
|
|
|
169612
169629
|
key: 0,
|
|
169613
169630
|
class: "row-number-span"
|
|
169614
169631
|
};
|
|
169615
|
-
const _hoisted_9$
|
|
169616
|
-
const _hoisted_10$
|
|
169632
|
+
const _hoisted_9$8 = { class: "grid-sub-form-data-row" };
|
|
169633
|
+
const _hoisted_10$8 = {
|
|
169617
169634
|
key: 2,
|
|
169618
169635
|
class: "sub-form-action-column hide-label"
|
|
169619
169636
|
};
|
|
169620
|
-
const _hoisted_11$
|
|
169637
|
+
const _hoisted_11$8 = { class: "action-button-column" };
|
|
169621
169638
|
function _sfc_render$4y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
169622
169639
|
const _component_el_button = resolveComponent("el-button");
|
|
169623
169640
|
const _component_Delete = resolveComponent("Delete");
|
|
@@ -169707,7 +169724,7 @@ function _sfc_render$4y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169707
169724
|
!$options.leftActionColumn && $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div", _hoisted_7$c, [
|
|
169708
169725
|
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_8$a, "#" + toDisplayString($options.getSubFormRowIndex(sfrIdx) + 1), 1)) : createCommentVNode("", true)
|
|
169709
169726
|
])) : createCommentVNode("", true),
|
|
169710
|
-
createElementVNode("div", _hoisted_9$
|
|
169727
|
+
createElementVNode("div", _hoisted_9$8, [
|
|
169711
169728
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
169712
169729
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.getComponentByContainer(subWidget)), {
|
|
169713
169730
|
key: $data.widgetSchemaData[$options.getSubFormRowIndex(sfrIdx)][swIdx].id,
|
|
@@ -169721,8 +169738,8 @@ function _sfc_render$4y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169721
169738
|
}, null, 8, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"]);
|
|
169722
169739
|
}), 128))
|
|
169723
169740
|
]),
|
|
169724
|
-
$options.rightActionColumn && !$options.isReadMode ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
169725
|
-
createElementVNode("div", _hoisted_11$
|
|
169741
|
+
$options.rightActionColumn && !$options.isReadMode ? (openBlock(), createElementBlock("div", _hoisted_10$8, [
|
|
169742
|
+
createElementVNode("div", _hoisted_11$8, [
|
|
169726
169743
|
withDirectives(createVNode(_component_el_button, {
|
|
169727
169744
|
disabled: $options.widgetDisabled || $data.actionDisabled || $data.insertDisabled,
|
|
169728
169745
|
circle: "",
|
|
@@ -170357,24 +170374,24 @@ const _hoisted_8$9 = {
|
|
|
170357
170374
|
key: 0,
|
|
170358
170375
|
class: "sub-form-action-column hide-label"
|
|
170359
170376
|
};
|
|
170360
|
-
const _hoisted_9$
|
|
170361
|
-
const _hoisted_10$
|
|
170377
|
+
const _hoisted_9$7 = { class: "action-button-column" };
|
|
170378
|
+
const _hoisted_10$7 = {
|
|
170362
170379
|
key: 0,
|
|
170363
170380
|
class: "row-number-span"
|
|
170364
170381
|
};
|
|
170365
|
-
const _hoisted_11$
|
|
170382
|
+
const _hoisted_11$7 = {
|
|
170366
170383
|
key: 1,
|
|
170367
170384
|
class: "row-no-column"
|
|
170368
170385
|
};
|
|
170369
|
-
const _hoisted_12$
|
|
170386
|
+
const _hoisted_12$6 = {
|
|
170370
170387
|
key: 0,
|
|
170371
170388
|
class: "row-number-span"
|
|
170372
170389
|
};
|
|
170373
|
-
const _hoisted_13$
|
|
170390
|
+
const _hoisted_13$5 = {
|
|
170374
170391
|
key: 2,
|
|
170375
170392
|
class: "sub-form-action-column hide-label"
|
|
170376
170393
|
};
|
|
170377
|
-
const _hoisted_14$
|
|
170394
|
+
const _hoisted_14$4 = { class: "action-button-column" };
|
|
170378
170395
|
function _sfc_render$4w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
170379
170396
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
170380
170397
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -170512,7 +170529,7 @@ function _sfc_render$4w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
170512
170529
|
}, {
|
|
170513
170530
|
default: withCtx(() => [
|
|
170514
170531
|
$options.leftActionColumn ? (openBlock(), createElementBlock("div", _hoisted_8$9, [
|
|
170515
|
-
createElementVNode("div", _hoisted_9$
|
|
170532
|
+
createElementVNode("div", _hoisted_9$7, [
|
|
170516
170533
|
withDirectives(createVNode(_component_el_button, {
|
|
170517
170534
|
disabled: $options.widgetDisabled || $data.actionDisabled || $data.insertDisabled,
|
|
170518
170535
|
circle: "",
|
|
@@ -170539,11 +170556,11 @@ function _sfc_render$4w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
170539
170556
|
}, 1032, ["disabled", "onClick", "title"]), [
|
|
170540
170557
|
[vShow, !$options.isReadMode]
|
|
170541
170558
|
]),
|
|
170542
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_10$
|
|
170559
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_10$7, "#" + toDisplayString($options.getSubFormRowIndex(sfrIdx) + 1), 1)) : createCommentVNode("", true)
|
|
170543
170560
|
])
|
|
170544
170561
|
])) : createCommentVNode("", true),
|
|
170545
|
-
!$options.leftActionColumn && $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div", _hoisted_11$
|
|
170546
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_12$
|
|
170562
|
+
!$options.leftActionColumn && $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div", _hoisted_11$7, [
|
|
170563
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_12$6, "#" + toDisplayString($options.getSubFormRowIndex(sfrIdx) + 1), 1)) : createCommentVNode("", true)
|
|
170547
170564
|
])) : createCommentVNode("", true),
|
|
170548
170565
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
170549
170566
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -170564,8 +170581,8 @@ function _sfc_render$4w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
170564
170581
|
[vShow, !subWidget.options.hidden]
|
|
170565
170582
|
]);
|
|
170566
170583
|
}), 128)),
|
|
170567
|
-
!$options.leftActionColumn && !$options.isReadMode ? (openBlock(), createElementBlock("div", _hoisted_13$
|
|
170568
|
-
createElementVNode("div", _hoisted_14$
|
|
170584
|
+
!$options.leftActionColumn && !$options.isReadMode ? (openBlock(), createElementBlock("div", _hoisted_13$5, [
|
|
170585
|
+
createElementVNode("div", _hoisted_14$4, [
|
|
170569
170586
|
withDirectives(createVNode(_component_el_button, {
|
|
170570
170587
|
disabled: $options.widgetDisabled || $data.actionDisabled || $data.insertDisabled,
|
|
170571
170588
|
circle: "",
|
|
@@ -175007,12 +175024,14 @@ const containerKeys = [
|
|
|
175007
175024
|
"alert"
|
|
175008
175025
|
];
|
|
175009
175026
|
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
175027
|
+
var index_vue_vue_type_style_index_1_lang$2 = "";
|
|
175010
175028
|
const _sfc_main$4l = {
|
|
175011
175029
|
name: "VFormRender",
|
|
175012
175030
|
componentName: "VFormRender",
|
|
175013
175031
|
mixins: [emitter, i18n$1],
|
|
175014
175032
|
components: __spreadValues({
|
|
175015
|
-
Document
|
|
175033
|
+
Document,
|
|
175034
|
+
AvatarCom
|
|
175016
175035
|
}, comps$1),
|
|
175017
175036
|
props: {
|
|
175018
175037
|
apiResponse: {
|
|
@@ -175090,6 +175109,10 @@ const _sfc_main$4l = {
|
|
|
175090
175109
|
previewOnlyWithValue: {
|
|
175091
175110
|
type: Boolean,
|
|
175092
175111
|
default: false
|
|
175112
|
+
},
|
|
175113
|
+
enableHistoryView: {
|
|
175114
|
+
type: Boolean,
|
|
175115
|
+
default: false
|
|
175093
175116
|
}
|
|
175094
175117
|
},
|
|
175095
175118
|
provide() {
|
|
@@ -175101,6 +175124,7 @@ const _sfc_main$4l = {
|
|
|
175101
175124
|
getGlobalDsv: () => this.globalDsv,
|
|
175102
175125
|
globalOptionData: this.optionData,
|
|
175103
175126
|
getOptionData: () => this.optionData,
|
|
175127
|
+
enableHistoryView: this.enableHistoryView,
|
|
175104
175128
|
globalModel: {
|
|
175105
175129
|
formModel: this.formDataModel
|
|
175106
175130
|
},
|
|
@@ -175130,6 +175154,9 @@ const _sfc_main$4l = {
|
|
|
175130
175154
|
data() {
|
|
175131
175155
|
return {
|
|
175132
175156
|
previewData: [],
|
|
175157
|
+
previewHistoryPopoverVisible: {},
|
|
175158
|
+
previewHistoryLoading: {},
|
|
175159
|
+
previewHistoryList: {},
|
|
175133
175160
|
formJsonObj: this.formJson,
|
|
175134
175161
|
formDataModel: {},
|
|
175135
175162
|
widgetRefList: {},
|
|
@@ -175657,7 +175684,7 @@ const _sfc_main$4l = {
|
|
|
175657
175684
|
headers["X-Authorization"] = "Bearer " + rToken;
|
|
175658
175685
|
}
|
|
175659
175686
|
const url = commonGETUrlTranslation("formset/data_source_manage", { is_all: 1 });
|
|
175660
|
-
return axios.get(url, { headers });
|
|
175687
|
+
return axios$1.get(url, { headers });
|
|
175661
175688
|
} catch (error2) {
|
|
175662
175689
|
console.error(error2);
|
|
175663
175690
|
}
|
|
@@ -176098,6 +176125,57 @@ const _sfc_main$4l = {
|
|
|
176098
176125
|
}
|
|
176099
176126
|
return mappedResult;
|
|
176100
176127
|
},
|
|
176128
|
+
async handlePreviewLabelClick(item) {
|
|
176129
|
+
if (!this.enableHistoryView || !item.biz_meta_id) {
|
|
176130
|
+
return;
|
|
176131
|
+
}
|
|
176132
|
+
const bizMetaId = item.biz_meta_id;
|
|
176133
|
+
if (this.previewHistoryPopoverVisible[bizMetaId]) {
|
|
176134
|
+
this.$set(this.previewHistoryPopoverVisible, bizMetaId, false);
|
|
176135
|
+
return;
|
|
176136
|
+
}
|
|
176137
|
+
this.$set(this.previewHistoryPopoverVisible, bizMetaId, true);
|
|
176138
|
+
await this.loadPreviewHistoryRecord(bizMetaId);
|
|
176139
|
+
},
|
|
176140
|
+
async loadPreviewHistoryRecord(bizMetaId) {
|
|
176141
|
+
var _a2, _b2, _c2, _d2, _e;
|
|
176142
|
+
if (this.previewHistoryLoading[bizMetaId]) {
|
|
176143
|
+
return;
|
|
176144
|
+
}
|
|
176145
|
+
try {
|
|
176146
|
+
this.$set(this.previewHistoryLoading, bizMetaId, true);
|
|
176147
|
+
this.$set(this.previewHistoryList, bizMetaId, []);
|
|
176148
|
+
if (!bizMetaId) {
|
|
176149
|
+
this.$set(this.previewHistoryList, bizMetaId, []);
|
|
176150
|
+
return;
|
|
176151
|
+
}
|
|
176152
|
+
const token = almLocalStorage.getItem("token");
|
|
176153
|
+
const rToken = almLocalStorage.getItem("rToken");
|
|
176154
|
+
const tokenTime = almLocalStorage.getItem("tokenTime");
|
|
176155
|
+
const headers = {};
|
|
176156
|
+
if (token !== null)
|
|
176157
|
+
headers["Authorization"] = "Bearer " + token;
|
|
176158
|
+
if (!tokenTime && rToken) {
|
|
176159
|
+
headers["X-Authorization"] = "Bearer " + rToken;
|
|
176160
|
+
}
|
|
176161
|
+
const params = {
|
|
176162
|
+
biz_meta_id: bizMetaId
|
|
176163
|
+
};
|
|
176164
|
+
params.clue_id = (_c2 = (_b2 = (_a2 = this.formJsonObj) == null ? void 0 : _a2.formConfig) == null ? void 0 : _b2.v_form_params) == null ? void 0 : _c2.CrmClueId;
|
|
176165
|
+
const url = commonGETUrlTranslation("case_module/biz_metadata_history_value", params);
|
|
176166
|
+
const response = await axios$1.get(url, { headers });
|
|
176167
|
+
if (((_d2 = response == null ? void 0 : response.data) == null ? void 0 : _d2.Succeeded) && Array.isArray((_e = response == null ? void 0 : response.data) == null ? void 0 : _e.Data)) {
|
|
176168
|
+
this.$set(this.previewHistoryList, bizMetaId, response.data.Data);
|
|
176169
|
+
} else {
|
|
176170
|
+
this.$set(this.previewHistoryList, bizMetaId, []);
|
|
176171
|
+
}
|
|
176172
|
+
} catch (error2) {
|
|
176173
|
+
console.error("\u83B7\u53D6\u5386\u53F2\u8BB0\u5F55\u5931\u8D25:", error2);
|
|
176174
|
+
this.$set(this.previewHistoryList, bizMetaId, []);
|
|
176175
|
+
} finally {
|
|
176176
|
+
this.$set(this.previewHistoryLoading, bizMetaId, false);
|
|
176177
|
+
}
|
|
176178
|
+
},
|
|
176101
176179
|
hasParentLogic(item) {
|
|
176102
176180
|
return item.options && item.options.parentid && (item.options.parentvalueList && item.options.parentvalueList.length || item.options.parentvalue);
|
|
176103
176181
|
},
|
|
@@ -176748,24 +176826,49 @@ const _hoisted_2$o = {
|
|
|
176748
176826
|
key: 0,
|
|
176749
176827
|
class: "empty-preview"
|
|
176750
176828
|
};
|
|
176751
|
-
const _hoisted_3$j =
|
|
176752
|
-
const _hoisted_4$g = { class: "
|
|
176829
|
+
const _hoisted_3$j = ["onClick"];
|
|
176830
|
+
const _hoisted_4$g = { class: "history-record-content" };
|
|
176753
176831
|
const _hoisted_5$d = {
|
|
176754
176832
|
key: 0,
|
|
176755
|
-
class: "
|
|
176833
|
+
class: "history-loading"
|
|
176756
176834
|
};
|
|
176757
|
-
const _hoisted_6$b =
|
|
176758
|
-
const _hoisted_7$9 = { class: "file-name" };
|
|
176759
|
-
const _hoisted_8$8 = {
|
|
176835
|
+
const _hoisted_6$b = {
|
|
176760
176836
|
key: 1,
|
|
176837
|
+
class: "history-empty"
|
|
176838
|
+
};
|
|
176839
|
+
const _hoisted_7$9 = {
|
|
176840
|
+
key: 2,
|
|
176841
|
+
class: "history-list"
|
|
176842
|
+
};
|
|
176843
|
+
const _hoisted_8$8 = { class: "history-item-header" };
|
|
176844
|
+
const _hoisted_9$6 = { class: "history-user-info" };
|
|
176845
|
+
const _hoisted_10$6 = ["src"];
|
|
176846
|
+
const _hoisted_11$6 = { class: "history-user-name" };
|
|
176847
|
+
const _hoisted_12$5 = { class: "history-time" };
|
|
176848
|
+
const _hoisted_13$4 = { class: "history-content" };
|
|
176849
|
+
const _hoisted_14$3 = {
|
|
176850
|
+
key: 1,
|
|
176851
|
+
class: "title"
|
|
176852
|
+
};
|
|
176853
|
+
const _hoisted_15$2 = {
|
|
176854
|
+
key: 2,
|
|
176855
|
+
class: "content image"
|
|
176856
|
+
};
|
|
176857
|
+
const _hoisted_16$2 = ["onClick", "title"];
|
|
176858
|
+
const _hoisted_17$1 = { class: "file-name" };
|
|
176859
|
+
const _hoisted_18$1 = {
|
|
176860
|
+
key: 3,
|
|
176761
176861
|
class: "content"
|
|
176762
176862
|
};
|
|
176763
176863
|
function _sfc_render$4l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
176764
176864
|
const _component_el_form = resolveComponent("el-form");
|
|
176765
176865
|
const _component_el_empty = resolveComponent("el-empty");
|
|
176866
|
+
const _component_Loading = resolveComponent("Loading");
|
|
176867
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
176868
|
+
const _component_AvatarCom = resolveComponent("AvatarCom");
|
|
176869
|
+
const _component_el_popover = resolveComponent("el-popover");
|
|
176766
176870
|
const _component_el_image = resolveComponent("el-image");
|
|
176767
176871
|
const _component_Document = resolveComponent("Document");
|
|
176768
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
176769
176872
|
const _directive_loading = resolveDirective("loading");
|
|
176770
176873
|
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
176771
176874
|
!$props.isPreview ? (openBlock(), createBlock(_component_el_form, {
|
|
@@ -176841,10 +176944,67 @@ function _sfc_render$4l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
176841
176944
|
description: "\u6682\u65E0\u6570\u636E",
|
|
176842
176945
|
"image-size": 100
|
|
176843
176946
|
})
|
|
176844
|
-
])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.previewData, (item) => {
|
|
176845
|
-
return openBlock(), createElementBlock("div",
|
|
176846
|
-
|
|
176847
|
-
|
|
176947
|
+
])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.previewData, (item, index2) => {
|
|
176948
|
+
return openBlock(), createElementBlock("div", {
|
|
176949
|
+
class: "wrapper",
|
|
176950
|
+
key: index2
|
|
176951
|
+
}, [
|
|
176952
|
+
$props.enableHistoryView && item.biz_meta_id ? (openBlock(), createBlock(_component_el_popover, {
|
|
176953
|
+
key: 0,
|
|
176954
|
+
visible: $data.previewHistoryPopoverVisible[item.biz_meta_id],
|
|
176955
|
+
"onUpdate:visible": ($event) => $data.previewHistoryPopoverVisible[item.biz_meta_id] = $event,
|
|
176956
|
+
placement: "top-start",
|
|
176957
|
+
width: 400,
|
|
176958
|
+
trigger: "manual",
|
|
176959
|
+
"popper-class": "field-history-popover"
|
|
176960
|
+
}, {
|
|
176961
|
+
reference: withCtx(() => [
|
|
176962
|
+
createElementVNode("div", {
|
|
176963
|
+
class: "title title-clickable",
|
|
176964
|
+
onClick: withModifiers(($event) => $options.handlePreviewLabelClick(item), ["stop"])
|
|
176965
|
+
}, toDisplayString(item == null ? void 0 : item.name), 9, _hoisted_3$j)
|
|
176966
|
+
]),
|
|
176967
|
+
default: withCtx(() => [
|
|
176968
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
176969
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "history-header" }, "\u5386\u53F2\u8BB0\u5F55", -1)),
|
|
176970
|
+
$data.previewHistoryLoading[item.biz_meta_id] ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
176971
|
+
createVNode(_component_el_icon, { class: "is-loading" }, {
|
|
176972
|
+
default: withCtx(() => [
|
|
176973
|
+
createVNode(_component_Loading)
|
|
176974
|
+
]),
|
|
176975
|
+
_: 1
|
|
176976
|
+
}),
|
|
176977
|
+
_cache[1] || (_cache[1] = createElementVNode("span", null, "\u52A0\u8F7D\u4E2D...", -1))
|
|
176978
|
+
])) : !$data.previewHistoryList[item.biz_meta_id] || $data.previewHistoryList[item.biz_meta_id].length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$b, "\u6682\u65E0\u5386\u53F2\u8BB0\u5F55")) : (openBlock(), createElementBlock("div", _hoisted_7$9, [
|
|
176979
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewHistoryList[item.biz_meta_id], (historyItem, historyIndex) => {
|
|
176980
|
+
return openBlock(), createElementBlock("div", {
|
|
176981
|
+
key: historyIndex,
|
|
176982
|
+
class: "history-item"
|
|
176983
|
+
}, [
|
|
176984
|
+
createElementVNode("div", _hoisted_8$8, [
|
|
176985
|
+
createElementVNode("div", _hoisted_9$6, [
|
|
176986
|
+
historyItem.created_avatar ? (openBlock(), createElementBlock("img", {
|
|
176987
|
+
key: 0,
|
|
176988
|
+
class: "history-user-avatar",
|
|
176989
|
+
src: historyItem.created_avatar
|
|
176990
|
+
}, null, 8, _hoisted_10$6)) : (openBlock(), createBlock(_component_AvatarCom, {
|
|
176991
|
+
key: 1,
|
|
176992
|
+
class: "history-user-avatar",
|
|
176993
|
+
name: historyItem.created_username
|
|
176994
|
+
}, null, 8, ["name"])),
|
|
176995
|
+
createElementVNode("span", _hoisted_11$6, toDisplayString(historyItem.created_username || "\u7CFB\u7EDF"), 1)
|
|
176996
|
+
]),
|
|
176997
|
+
createElementVNode("span", _hoisted_12$5, toDisplayString(historyItem.created_time || ""), 1)
|
|
176998
|
+
]),
|
|
176999
|
+
createElementVNode("div", _hoisted_13$4, toDisplayString(historyItem.content || ""), 1)
|
|
177000
|
+
]);
|
|
177001
|
+
}), 128))
|
|
177002
|
+
]))
|
|
177003
|
+
])
|
|
177004
|
+
]),
|
|
177005
|
+
_: 2
|
|
177006
|
+
}, 1032, ["visible", "onUpdate:visible"])) : (openBlock(), createElementBlock("div", _hoisted_14$3, toDisplayString(item == null ? void 0 : item.name), 1)),
|
|
177007
|
+
Array.isArray(item.value) ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
|
|
176848
177008
|
item.type === "file-upload" || item.type === "picture-upload" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.value, (file) => {
|
|
176849
177009
|
return openBlock(), createElementBlock(Fragment, {
|
|
176850
177010
|
key: file.uid || file.url
|
|
@@ -176867,8 +177027,8 @@ function _sfc_render$4l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
176867
177027
|
]),
|
|
176868
177028
|
_: 1
|
|
176869
177029
|
}),
|
|
176870
|
-
createElementVNode("span",
|
|
176871
|
-
], 8,
|
|
177030
|
+
createElementVNode("span", _hoisted_17$1, toDisplayString(file.name || "\u6587\u4EF6"), 1)
|
|
177031
|
+
], 8, _hoisted_16$2))
|
|
176872
177032
|
], 64);
|
|
176873
177033
|
}), 128)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
176874
177034
|
createTextVNode(toDisplayString(item.content ? (() => {
|
|
@@ -176880,15 +177040,15 @@ function _sfc_render$4l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
176880
177040
|
}
|
|
176881
177041
|
})() : "--"), 1)
|
|
176882
177042
|
], 64))
|
|
176883
|
-
])) : (openBlock(), createElementBlock("div",
|
|
177043
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_18$1, toDisplayString((item == null ? void 0 : item.content) || "--"), 1))
|
|
176884
177044
|
]);
|
|
176885
|
-
}),
|
|
177045
|
+
}), 128))
|
|
176886
177046
|
], 64))
|
|
176887
177047
|
])), [
|
|
176888
177048
|
[_directive_loading, $data.formLoading]
|
|
176889
177049
|
]);
|
|
176890
177050
|
}
|
|
176891
|
-
var VFormRender = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["render", _sfc_render$4l], ["__scopeId", "data-v-
|
|
177051
|
+
var VFormRender = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["render", _sfc_render$4l], ["__scopeId", "data-v-b2986030"]]);
|
|
176892
177052
|
var ace$2 = { exports: {} };
|
|
176893
177053
|
(function(module, exports) {
|
|
176894
177054
|
(function() {
|
|
@@ -236253,13 +236413,13 @@ var Draggable = /* @__PURE__ */ getDefaultExportFromCjs(vuedraggable_umd.exports
|
|
|
236253
236413
|
if (typeof window !== "undefined") {
|
|
236254
236414
|
let loadSvg = function() {
|
|
236255
236415
|
var body = document.body;
|
|
236256
|
-
var svgDom = document.getElementById("
|
|
236416
|
+
var svgDom = document.getElementById("__svg__icons__dom__1767769755264__");
|
|
236257
236417
|
if (!svgDom) {
|
|
236258
236418
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
236259
236419
|
svgDom.style.position = "absolute";
|
|
236260
236420
|
svgDom.style.width = "0";
|
|
236261
236421
|
svgDom.style.height = "0";
|
|
236262
|
-
svgDom.id = "
|
|
236422
|
+
svgDom.id = "__svg__icons__dom__1767769755264__";
|
|
236263
236423
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
236264
236424
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
236265
236425
|
}
|