ocpview-pro 0.1.30 → 0.1.31
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.
|
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
|
|
|
453
453
|
common.initAnchor(ViewUI2.Anchor);
|
|
454
454
|
};
|
|
455
455
|
const name = "ocpview-pro";
|
|
456
|
-
const version$2 = "0.1.
|
|
456
|
+
const version$2 = "0.1.30";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -8705,7 +8705,7 @@ const _hoisted_4$q = {
|
|
|
8705
8705
|
ref: "page",
|
|
8706
8706
|
name: "page"
|
|
8707
8707
|
};
|
|
8708
|
-
const _hoisted_5$
|
|
8708
|
+
const _hoisted_5$l = {
|
|
8709
8709
|
key: 0,
|
|
8710
8710
|
style: { "background": "#eee", "padding-top": "5px" }
|
|
8711
8711
|
};
|
|
@@ -8892,7 +8892,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8892
8892
|
renderSlot(_ctx.$slots, "footer")
|
|
8893
8893
|
])) : createCommentVNode("", true),
|
|
8894
8894
|
createElementVNode("div", _hoisted_4$q, [
|
|
8895
|
-
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
8895
|
+
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
|
|
8896
8896
|
createVNode(_component_Card, {
|
|
8897
8897
|
bordered: false,
|
|
8898
8898
|
padding: 0,
|
|
@@ -10518,7 +10518,7 @@ const _hoisted_3$r = {
|
|
|
10518
10518
|
style: { "margin-left": "10px" }
|
|
10519
10519
|
};
|
|
10520
10520
|
const _hoisted_4$o = ["onClick"];
|
|
10521
|
-
const _hoisted_5$
|
|
10521
|
+
const _hoisted_5$k = {
|
|
10522
10522
|
key: 0,
|
|
10523
10523
|
ref: "page",
|
|
10524
10524
|
style: { "background": "#eee", "padding-top": "5px", "width": "100%" }
|
|
@@ -10616,7 +10616,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10616
10616
|
};
|
|
10617
10617
|
})
|
|
10618
10618
|
]), 1032, ["loading", "size", "row-class-name", "stripe", "border", "height", "maxHeight", "show-header", "columns", "onOnSelectionChange", "data", "onOnColumnWidthResize", "show-summary", "summary-method"]),
|
|
10619
|
-
$data.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
10619
|
+
$data.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
|
|
10620
10620
|
createVNode(_component_Card, {
|
|
10621
10621
|
bordered: false,
|
|
10622
10622
|
padding: 0,
|
|
@@ -27242,7 +27242,7 @@ const _hoisted_3$q = {
|
|
|
27242
27242
|
class: "ivu-tag ivu-tag-checked"
|
|
27243
27243
|
};
|
|
27244
27244
|
const _hoisted_4$n = { class: "ivu-tag-text ivu-select-max-tag" };
|
|
27245
|
-
const _hoisted_5$
|
|
27245
|
+
const _hoisted_5$j = { class: "ivu-tag-text" };
|
|
27246
27246
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27247
27247
|
const _component_Icon = resolveComponent("Icon");
|
|
27248
27248
|
const _component_Col = resolveComponent("Col");
|
|
@@ -27284,7 +27284,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27284
27284
|
key: "tag_" + index
|
|
27285
27285
|
}, {
|
|
27286
27286
|
default: withCtx(() => [
|
|
27287
|
-
createElementVNode("span", _hoisted_5$
|
|
27287
|
+
createElementVNode("span", _hoisted_5$j, toDisplayString$1(item.label), 1),
|
|
27288
27288
|
!$data.myConfig.readOnly ? (openBlock(), createBlock(_component_Icon, {
|
|
27289
27289
|
key: 0,
|
|
27290
27290
|
type: "ios-close",
|
|
@@ -30189,7 +30189,7 @@ const _hoisted_1$11 = { style: { "text-align": "center" } };
|
|
|
30189
30189
|
const _hoisted_2$L = ["onClick"];
|
|
30190
30190
|
const _hoisted_3$p = ["onClick"];
|
|
30191
30191
|
const _hoisted_4$m = ["src", "data-original"];
|
|
30192
|
-
const _hoisted_5$
|
|
30192
|
+
const _hoisted_5$i = { key: 0 };
|
|
30193
30193
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30194
30194
|
const _component_Icon = resolveComponent("Icon");
|
|
30195
30195
|
const _component_Badge = resolveComponent("Badge");
|
|
@@ -30287,7 +30287,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30287
30287
|
size: $data.myConfig.iconSize,
|
|
30288
30288
|
color: $options.iconColor
|
|
30289
30289
|
}, null, 8, ["custom", "size", "color"]),
|
|
30290
|
-
$data.myConfig.text ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
30290
|
+
$data.myConfig.text ? (openBlock(), createElementBlock("span", _hoisted_5$i, toDisplayString$1(_ctx.$t($data.myConfig.text)), 1)) : createCommentVNode("", true)
|
|
30291
30291
|
]),
|
|
30292
30292
|
_: 1
|
|
30293
30293
|
}, 8, ["style"])
|
|
@@ -30647,7 +30647,7 @@ const _hoisted_1$10 = {
|
|
|
30647
30647
|
const _hoisted_2$K = { ref: "photo" };
|
|
30648
30648
|
const _hoisted_3$o = ["src", "data-original"];
|
|
30649
30649
|
const _hoisted_4$l = ["innerHTML"];
|
|
30650
|
-
const _hoisted_5$
|
|
30650
|
+
const _hoisted_5$h = {
|
|
30651
30651
|
ref: "pdf",
|
|
30652
30652
|
style: { "height": "630px" }
|
|
30653
30653
|
};
|
|
@@ -30771,7 +30771,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30771
30771
|
"footer-hide": true
|
|
30772
30772
|
}, {
|
|
30773
30773
|
default: withCtx(() => [
|
|
30774
|
-
createElementVNode("div", _hoisted_5$
|
|
30774
|
+
createElementVNode("div", _hoisted_5$h, null, 512)
|
|
30775
30775
|
]),
|
|
30776
30776
|
_: 1
|
|
30777
30777
|
}, 8, ["title", "modelValue"]),
|
|
@@ -31385,7 +31385,7 @@ const _hoisted_1$$ = { style: { "text-align": "center" } };
|
|
|
31385
31385
|
const _hoisted_2$J = ["onClick"];
|
|
31386
31386
|
const _hoisted_3$n = ["onClick"];
|
|
31387
31387
|
const _hoisted_4$k = ["src"];
|
|
31388
|
-
const _hoisted_5$
|
|
31388
|
+
const _hoisted_5$g = { key: 1 };
|
|
31389
31389
|
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31390
31390
|
const _component_Icon = resolveComponent("Icon");
|
|
31391
31391
|
const _component_Badge = resolveComponent("Badge");
|
|
@@ -31477,7 +31477,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31477
31477
|
size: $data.myConfig.iconSize,
|
|
31478
31478
|
color: $options.iconColor
|
|
31479
31479
|
}, null, 8, ["type", "size", "color"])) : createCommentVNode("", true),
|
|
31480
|
-
$data.myConfig.text ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
31480
|
+
$data.myConfig.text ? (openBlock(), createElementBlock("span", _hoisted_5$g, toDisplayString$1($data.myConfig.text), 1)) : createCommentVNode("", true)
|
|
31481
31481
|
]),
|
|
31482
31482
|
_: 1
|
|
31483
31483
|
}, 8, ["style"])
|
|
@@ -33701,7 +33701,7 @@ const _hoisted_1$U = ["textContent"];
|
|
|
33701
33701
|
const _hoisted_2$E = { style: { "padding": "16px" } };
|
|
33702
33702
|
const _hoisted_3$l = ["textContent"];
|
|
33703
33703
|
const _hoisted_4$i = { key: 1 };
|
|
33704
|
-
const _hoisted_5$
|
|
33704
|
+
const _hoisted_5$f = { style: { "padding": "16px" } };
|
|
33705
33705
|
const _hoisted_6$c = ["textContent"];
|
|
33706
33706
|
const _hoisted_7$7 = ["textContent"];
|
|
33707
33707
|
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -33816,7 +33816,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33816
33816
|
$data.showBtn && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_4$i, toDisplayString$1($data.myConfig.editBtnName), 1)) : createCommentVNode("", true)
|
|
33817
33817
|
]),
|
|
33818
33818
|
default: withCtx(() => [
|
|
33819
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
33819
|
+
withDirectives(createElementVNode("div", _hoisted_5$f, [
|
|
33820
33820
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.data, (temp) => {
|
|
33821
33821
|
return openBlock(), createBlock(_component_FormDetail, {
|
|
33822
33822
|
ref_for: true,
|
|
@@ -38094,7 +38094,7 @@ const _hoisted_1$L = ["title"];
|
|
|
38094
38094
|
const _hoisted_2$A = ["title"];
|
|
38095
38095
|
const _hoisted_3$k = ["value", "disabled"];
|
|
38096
38096
|
const _hoisted_4$h = ["title"];
|
|
38097
|
-
const _hoisted_5$
|
|
38097
|
+
const _hoisted_5$e = ["title"];
|
|
38098
38098
|
const _hoisted_6$b = {
|
|
38099
38099
|
key: 1,
|
|
38100
38100
|
class: "ivu-icon ivu-icon-ios-arrow-back"
|
|
@@ -38199,7 +38199,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38199
38199
|
createTextVNode(toDisplayString$1(_ctx.prevText), 1)
|
|
38200
38200
|
], 64)) : (openBlock(), createElementBlock("i", _hoisted_6$b))
|
|
38201
38201
|
])
|
|
38202
|
-
], 10, _hoisted_5$
|
|
38202
|
+
], 10, _hoisted_5$e),
|
|
38203
38203
|
createElementVNode("li", {
|
|
38204
38204
|
title: "1",
|
|
38205
38205
|
class: normalizeClass(_ctx.firstPageClasses),
|
|
@@ -38392,7 +38392,7 @@ const _hoisted_3$j = {
|
|
|
38392
38392
|
style: { "padding-top": "10px" }
|
|
38393
38393
|
};
|
|
38394
38394
|
const _hoisted_4$g = ["textContent"];
|
|
38395
|
-
const _hoisted_5$
|
|
38395
|
+
const _hoisted_5$d = ["textContent"];
|
|
38396
38396
|
const _hoisted_6$a = {
|
|
38397
38397
|
ref: "page",
|
|
38398
38398
|
name: "page"
|
|
@@ -38649,7 +38649,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38649
38649
|
title: withCtx(() => [
|
|
38650
38650
|
createElementVNode("span", {
|
|
38651
38651
|
textContent: toDisplayString$1(_ctx.myConfig.multiGridTitle)
|
|
38652
|
-
}, null, 8, _hoisted_5$
|
|
38652
|
+
}, null, 8, _hoisted_5$d)
|
|
38653
38653
|
]),
|
|
38654
38654
|
default: withCtx(() => [
|
|
38655
38655
|
createVNode(_component_Table, {
|
|
@@ -41427,7 +41427,7 @@ const _hoisted_1$G = ["textContent"];
|
|
|
41427
41427
|
const _hoisted_2$x = { style: { "padding-left": "24px" } };
|
|
41428
41428
|
const _hoisted_3$h = { ref: "photo" };
|
|
41429
41429
|
const _hoisted_4$f = ["src", "data-original"];
|
|
41430
|
-
const _hoisted_5$
|
|
41430
|
+
const _hoisted_5$c = ["innerHTML"];
|
|
41431
41431
|
const _hoisted_6$9 = {
|
|
41432
41432
|
ref: "pdf",
|
|
41433
41433
|
style: { "height": "630px" }
|
|
@@ -41568,7 +41568,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41568
41568
|
"footer-hide": true
|
|
41569
41569
|
}, {
|
|
41570
41570
|
default: withCtx(() => [
|
|
41571
|
-
createElementVNode("div", { innerHTML: $data.textStr }, null, 8, _hoisted_5$
|
|
41571
|
+
createElementVNode("div", { innerHTML: $data.textStr }, null, 8, _hoisted_5$c)
|
|
41572
41572
|
]),
|
|
41573
41573
|
_: 1
|
|
41574
41574
|
}, 8, ["title", "modelValue"]),
|
|
@@ -42066,7 +42066,7 @@ const _hoisted_1$F = { style: { "margin-bottom": "10px", "display": "flex", "jus
|
|
|
42066
42066
|
const _hoisted_2$w = { style: { "font-size": "14px", "font-weight": "bold" } };
|
|
42067
42067
|
const _hoisted_3$g = { style: { "margin-bottom": "10px", "display": "flex", "justify-content": "space-between" } };
|
|
42068
42068
|
const _hoisted_4$e = { style: { "font-size": "14px", "font-weight": "bold" } };
|
|
42069
|
-
const _hoisted_5$
|
|
42069
|
+
const _hoisted_5$b = { style: { "margin-bottom": "10px" } };
|
|
42070
42070
|
const _hoisted_6$8 = { style: { "font-size": "14px", "font-weight": "bold" } };
|
|
42071
42071
|
const _hoisted_7$4 = { class: "demo-spin-col-bill" };
|
|
42072
42072
|
const _hoisted_8$2 = {
|
|
@@ -42184,7 +42184,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42184
42184
|
}),
|
|
42185
42185
|
createVNode(_component_Col, { span: "8" }, {
|
|
42186
42186
|
default: withCtx(() => [
|
|
42187
|
-
createElementVNode("p", _hoisted_5$
|
|
42187
|
+
createElementVNode("p", _hoisted_5$b, [
|
|
42188
42188
|
_cache[11] || (_cache[11] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
|
|
42189
42189
|
_cache[12] || (_cache[12] = createTextVNode()),
|
|
42190
42190
|
createElementVNode("span", _hoisted_6$8, toDisplayString$1(_ctx.$t("\u5BFC\u5165\u6587\u4EF6")), 1)
|
|
@@ -44717,7 +44717,7 @@ const _hoisted_1$y = { style: { "font-size": "14px" } };
|
|
|
44717
44717
|
const _hoisted_2$r = { style: { "margin-top": "3px", "margin-bottom": "3px", "margin-left": "8px", "margin-right": "10px" } };
|
|
44718
44718
|
const _hoisted_3$f = { style: { "font-size": "14px" } };
|
|
44719
44719
|
const _hoisted_4$d = { style: { "color": "#AF292E", "font-size": "14px" } };
|
|
44720
|
-
const _hoisted_5$
|
|
44720
|
+
const _hoisted_5$a = { style: { "max-height": "400px", "overflow-y": "auto", "overflow-x": "hidden", "margin": "14px 16px" } };
|
|
44721
44721
|
const _hoisted_6$7 = { style: { "padding-left": "14px" } };
|
|
44722
44722
|
const _hoisted_7$3 = { style: { "font-size": "12px" } };
|
|
44723
44723
|
const _hoisted_8$1 = ["onClick"];
|
|
@@ -44794,7 +44794,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44794
44794
|
])
|
|
44795
44795
|
]),
|
|
44796
44796
|
default: withCtx(() => [
|
|
44797
|
-
createElementVNode("div", _hoisted_5$
|
|
44797
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
44798
44798
|
createVNode(_component_VueDraggable, {
|
|
44799
44799
|
modelValue: $data.data,
|
|
44800
44800
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.data = $event),
|
|
@@ -45623,7 +45623,7 @@ const _hoisted_2$p = {
|
|
|
45623
45623
|
};
|
|
45624
45624
|
const _hoisted_3$e = ["textContent"];
|
|
45625
45625
|
const _hoisted_4$c = { key: 0 };
|
|
45626
|
-
const _hoisted_5$
|
|
45626
|
+
const _hoisted_5$9 = ["onClick", "cell-row", "cell-col"];
|
|
45627
45627
|
const _hoisted_6$6 = {
|
|
45628
45628
|
key: 0,
|
|
45629
45629
|
ref: "page",
|
|
@@ -45823,7 +45823,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45823
45823
|
config: config2,
|
|
45824
45824
|
rowIndex: index
|
|
45825
45825
|
}, null, 8, ["label", "contentAlign", "class", "config", "rowIndex"]))
|
|
45826
|
-
], 10, _hoisted_5$
|
|
45826
|
+
], 10, _hoisted_5$9)
|
|
45827
45827
|
])
|
|
45828
45828
|
};
|
|
45829
45829
|
})
|
|
@@ -47968,7 +47968,7 @@ const _hoisted_1$s = ["textContent"];
|
|
|
47968
47968
|
const _hoisted_2$l = { style: { "padding-left": "24px" } };
|
|
47969
47969
|
const _hoisted_3$c = { ref: "photo" };
|
|
47970
47970
|
const _hoisted_4$a = ["src", "data-original"];
|
|
47971
|
-
const _hoisted_5$
|
|
47971
|
+
const _hoisted_5$8 = ["innerHTML"];
|
|
47972
47972
|
const _hoisted_6$5 = {
|
|
47973
47973
|
ref: "pdf",
|
|
47974
47974
|
style: { "height": "630px" }
|
|
@@ -48077,7 +48077,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
48077
48077
|
"footer-hide": true
|
|
48078
48078
|
}, {
|
|
48079
48079
|
default: withCtx(() => [
|
|
48080
|
-
createElementVNode("div", { innerHTML: $data.textStr }, null, 8, _hoisted_5$
|
|
48080
|
+
createElementVNode("div", { innerHTML: $data.textStr }, null, 8, _hoisted_5$8)
|
|
48081
48081
|
]),
|
|
48082
48082
|
_: 1
|
|
48083
48083
|
}, 8, ["title", "modelValue"]),
|
|
@@ -48183,7 +48183,7 @@ const _sfc_main$u = {
|
|
|
48183
48183
|
el2.modetype = modetype;
|
|
48184
48184
|
el2.divId = "headForm_" + this.getRandom() + "_" + index;
|
|
48185
48185
|
this.headVisible.push({ refname: el2.name, visible: true });
|
|
48186
|
-
this.anchorData.push({ id: "#" + el2.divId, name: el2.title ? this.$t(el2.title) : el2.title, visible: true, refname: el2.name, isHead: true });
|
|
48186
|
+
this.anchorData.push({ id: "#" + el2.divId, name: el2.title ? this.$t(el2.title) : el2.title, visible: true, refname: el2.name, isHead: true, sort: el2.sort === void 0 ? 0 : el2.sort });
|
|
48187
48187
|
});
|
|
48188
48188
|
}
|
|
48189
48189
|
if (this.myConfig.billDetailConfig !== void 0) {
|
|
@@ -48223,7 +48223,7 @@ const _sfc_main$u = {
|
|
|
48223
48223
|
}
|
|
48224
48224
|
el2.divId = "detail_" + this.getRandom() + "_" + index;
|
|
48225
48225
|
this.detailVisible.push({ refname: el2.name, visible: true });
|
|
48226
|
-
this.anchorData.push({ id: "#" + el2.divId, name: el2.title ? this.$t(el2.title) : el2.title, refname: el2.name, visible: true, isHead: false });
|
|
48226
|
+
this.anchorData.push({ id: "#" + el2.divId, name: el2.title ? this.$t(el2.title) : el2.title, refname: el2.name, visible: true, isHead: false, sort: el2.sort === void 0 ? Number.MAX_SAFE_INTEGER : el2.sort });
|
|
48227
48227
|
});
|
|
48228
48228
|
}
|
|
48229
48229
|
}
|
|
@@ -48242,7 +48242,7 @@ const _sfc_main$u = {
|
|
|
48242
48242
|
tmp.divId = "detail_" + this.getRandom() + "_" + this.detailConfig.items.length;
|
|
48243
48243
|
this.detailConfig.items.push(tmp);
|
|
48244
48244
|
this.detailVisible.push({ refname: tmp.name, visible: true });
|
|
48245
|
-
this.anchorData.push({ id: "#" + tmp.divId, name: tmp.title ? this.$t(tmp.title) : tmp.title, refname: tmp.name, visible: true });
|
|
48245
|
+
this.anchorData.push({ id: "#" + tmp.divId, name: tmp.title ? this.$t(tmp.title) : tmp.title, refname: tmp.name, visible: true, sort: Number.MAX_SAFE_INTEGER });
|
|
48246
48246
|
} else if (this.billAppendixConfig.showAppendix2) {
|
|
48247
48247
|
let tmp = Object.assign({}, {}, this.billAppendixConfig);
|
|
48248
48248
|
tmp.type = "AppendixBox2";
|
|
@@ -48252,13 +48252,29 @@ const _sfc_main$u = {
|
|
|
48252
48252
|
tmp.divId = "detail_" + this.getRandom() + "_" + this.detailConfig.items.length;
|
|
48253
48253
|
this.detailConfig.items.push(tmp);
|
|
48254
48254
|
this.detailVisible.push({ refname: tmp.name, visible: true });
|
|
48255
|
-
this.anchorData.push({ id: "#" + tmp.divId, name: tmp.title ? this.$t(tmp.title) : tmp.title, refname: tmp.name, visible: true });
|
|
48255
|
+
this.anchorData.push({ id: "#" + tmp.divId, name: tmp.title ? this.$t(tmp.title) : tmp.title, refname: tmp.name, visible: true, sort: Number.MAX_SAFE_INTEGER });
|
|
48256
48256
|
}
|
|
48257
48257
|
if (this.myConfig.showAnchorLink !== void 0) {
|
|
48258
48258
|
this.showAnchorLink = this.myConfig.showAnchorLink;
|
|
48259
48259
|
}
|
|
48260
|
+
this.anchorData.sort((a2, b10) => a2.sort - b10.sort);
|
|
48260
48261
|
},
|
|
48261
48262
|
computed: {
|
|
48263
|
+
renderItems() {
|
|
48264
|
+
let heads = [];
|
|
48265
|
+
let details = [];
|
|
48266
|
+
if (this.myConfig.formsConfig && this.myConfig.formsConfig.items) {
|
|
48267
|
+
heads = this.myConfig.formsConfig.items.map((el2, index) => {
|
|
48268
|
+
return { el: el2, index, isHead: true, sort: el2.sort === void 0 ? 0 : el2.sort };
|
|
48269
|
+
});
|
|
48270
|
+
}
|
|
48271
|
+
if (this.detailConfig.items) {
|
|
48272
|
+
details = this.detailConfig.items.map((el2, index) => {
|
|
48273
|
+
return { el: el2, index, isHead: false, sort: el2.sort === void 0 ? Number.MAX_SAFE_INTEGER : el2.sort };
|
|
48274
|
+
});
|
|
48275
|
+
}
|
|
48276
|
+
return heads.concat(details).sort((a2, b10) => a2.sort - b10.sort);
|
|
48277
|
+
},
|
|
48262
48278
|
style2() {
|
|
48263
48279
|
let height = this.$Store.state.app.clientHeight;
|
|
48264
48280
|
if (this.extraHeight) {
|
|
@@ -49069,7 +49085,6 @@ const _hoisted_1$r = { style: { "background": "#fff" } };
|
|
|
49069
49085
|
const _hoisted_2$k = { ref: "headarea" };
|
|
49070
49086
|
const _hoisted_3$b = ["id"];
|
|
49071
49087
|
const _hoisted_4$9 = ["id"];
|
|
49072
|
-
const _hoisted_5$8 = ["id"];
|
|
49073
49088
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
49074
49089
|
const _component_AnchorLink = resolveComponent("AnchorLink");
|
|
49075
49090
|
const _component_Anchor = resolveComponent("Anchor");
|
|
@@ -49130,77 +49145,69 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49130
49145
|
style: normalizeStyle($options.style2),
|
|
49131
49146
|
onScroll: _cache[0] || (_cache[0] = (...args) => $options.handleScroll && $options.handleScroll(...args))
|
|
49132
49147
|
}, [
|
|
49133
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($
|
|
49148
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.renderItems, (temp) => {
|
|
49134
49149
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
49135
|
-
|
|
49136
|
-
|
|
49150
|
+
key: temp.el.divId,
|
|
49151
|
+
id: temp.el.divId
|
|
49137
49152
|
}, [
|
|
49138
|
-
|
|
49139
|
-
ref_for: true,
|
|
49140
|
-
ref: item.name,
|
|
49141
|
-
config: item,
|
|
49142
|
-
dictData: $props.dictData,
|
|
49143
|
-
onDoAction: $options.doAction
|
|
49144
|
-
}, null, 8, ["config", "dictData", "onDoAction"])
|
|
49145
|
-
], 8, _hoisted_4$9)), [
|
|
49146
|
-
[vShow, $data.headVisible[index].visible]
|
|
49147
|
-
]);
|
|
49148
|
-
}), 128)),
|
|
49149
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($data.detailConfig.items, (temp2, index) => {
|
|
49150
|
-
return withDirectives((openBlock(), createElementBlock("div", {
|
|
49151
|
-
key: temp2.divId,
|
|
49152
|
-
id: temp2.divId
|
|
49153
|
-
}, [
|
|
49154
|
-
temp2.type === "EditGridCard" ? (openBlock(), createBlock(_component_EditGridCardS, {
|
|
49153
|
+
temp.isHead ? (openBlock(), createBlock(_component_Formcard, {
|
|
49155
49154
|
key: 0,
|
|
49156
49155
|
ref_for: true,
|
|
49157
|
-
ref:
|
|
49158
|
-
config:
|
|
49156
|
+
ref: temp.el.name,
|
|
49157
|
+
config: temp.el,
|
|
49159
49158
|
dictData: $props.dictData,
|
|
49160
49159
|
onDoAction: $options.doAction
|
|
49161
49160
|
}, null, 8, ["config", "dictData", "onDoAction"])) : createCommentVNode("", true),
|
|
49162
|
-
|
|
49161
|
+
!temp.isHead && temp.el.type === "EditGridCard" ? (openBlock(), createBlock(_component_EditGridCardS, {
|
|
49163
49162
|
key: 1,
|
|
49164
49163
|
ref_for: true,
|
|
49165
|
-
ref:
|
|
49166
|
-
config:
|
|
49164
|
+
ref: temp.el.name,
|
|
49165
|
+
config: temp.el,
|
|
49167
49166
|
dictData: $props.dictData,
|
|
49168
49167
|
onDoAction: $options.doAction
|
|
49169
49168
|
}, null, 8, ["config", "dictData", "onDoAction"])) : createCommentVNode("", true),
|
|
49170
|
-
|
|
49169
|
+
!temp.isHead && temp.el.type === "DetailsBox" ? (openBlock(), createBlock(_component_DetailsBoxs, {
|
|
49171
49170
|
key: 2,
|
|
49172
49171
|
ref_for: true,
|
|
49173
|
-
ref:
|
|
49174
|
-
config:
|
|
49172
|
+
ref: temp.el.name,
|
|
49173
|
+
config: temp.el,
|
|
49174
|
+
dictData: $props.dictData,
|
|
49175
|
+
onDoAction: $options.doAction
|
|
49176
|
+
}, null, 8, ["config", "dictData", "onDoAction"])) : createCommentVNode("", true),
|
|
49177
|
+
!temp.isHead && temp.el.type === "FormCardBox" ? (openBlock(), createBlock(_component_FormCardBox, {
|
|
49178
|
+
key: 3,
|
|
49179
|
+
ref_for: true,
|
|
49180
|
+
ref: temp.el.name,
|
|
49181
|
+
config: temp.el,
|
|
49175
49182
|
dictData: $props.dictData
|
|
49176
49183
|
}, null, 8, ["config", "dictData"])) : createCommentVNode("", true),
|
|
49177
|
-
|
|
49178
|
-
key:
|
|
49184
|
+
!temp.isHead && temp.el.type === "AppendixBox" ? (openBlock(), createBlock(_component_AppendixBoxs, {
|
|
49185
|
+
key: 4,
|
|
49179
49186
|
ref_for: true,
|
|
49180
|
-
ref:
|
|
49181
|
-
config:
|
|
49187
|
+
ref: temp.el.name,
|
|
49188
|
+
config: temp.el,
|
|
49182
49189
|
modulecode: $data.modulecode,
|
|
49183
49190
|
onDoAction: $options.doAction
|
|
49184
49191
|
}, null, 8, ["config", "modulecode", "onDoAction"])) : createCommentVNode("", true),
|
|
49185
|
-
|
|
49186
|
-
key:
|
|
49192
|
+
!temp.isHead && temp.el.type === "FormCardBox2" ? (openBlock(), createBlock(_component_FormCardBox2, {
|
|
49193
|
+
key: 5,
|
|
49187
49194
|
ref_for: true,
|
|
49188
|
-
ref:
|
|
49189
|
-
config:
|
|
49195
|
+
ref: temp.el.name,
|
|
49196
|
+
config: temp.el,
|
|
49190
49197
|
dictData: $props.dictData
|
|
49191
49198
|
}, null, 8, ["config", "dictData"])) : createCommentVNode("", true),
|
|
49192
|
-
|
|
49193
|
-
key:
|
|
49199
|
+
!temp.isHead && temp.el.type === "AppendixBox2" ? (openBlock(), createBlock(_component_AppendixBoxs2, {
|
|
49200
|
+
key: 6,
|
|
49194
49201
|
ref_for: true,
|
|
49195
|
-
ref:
|
|
49196
|
-
config:
|
|
49202
|
+
ref: temp.el.name,
|
|
49203
|
+
config: temp.el,
|
|
49197
49204
|
dictData: $props.dictData,
|
|
49198
49205
|
modulecode: $data.modulecode,
|
|
49199
49206
|
onHandleSuccessAfter: $options.handleSuccessAfter,
|
|
49200
49207
|
onDoAction: $options.doAction
|
|
49201
49208
|
}, null, 8, ["config", "dictData", "modulecode", "onHandleSuccessAfter", "onDoAction"])) : createCommentVNode("", true)
|
|
49202
|
-
], 8,
|
|
49203
|
-
[vShow, $data.detailVisible[index].visible]
|
|
49209
|
+
], 8, _hoisted_4$9)), [
|
|
49210
|
+
[vShow, temp.isHead ? $data.headVisible[temp.index].visible : $data.detailVisible[temp.index].visible]
|
|
49204
49211
|
]);
|
|
49205
49212
|
}), 128))
|
|
49206
49213
|
], 44, _hoisted_3$b)
|