ocpview-pro 0.1.29 → 0.1.30
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.29";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -8701,7 +8701,7 @@ const _sfc_main$1N = {
|
|
|
8701
8701
|
const _hoisted_1$19 = { ref: "head" };
|
|
8702
8702
|
const _hoisted_2$Q = { key: 0 };
|
|
8703
8703
|
const _hoisted_3$t = { key: 0 };
|
|
8704
|
-
const _hoisted_4$
|
|
8704
|
+
const _hoisted_4$q = {
|
|
8705
8705
|
ref: "page",
|
|
8706
8706
|
name: "page"
|
|
8707
8707
|
};
|
|
@@ -8891,7 +8891,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8891
8891
|
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
8892
8892
|
renderSlot(_ctx.$slots, "footer")
|
|
8893
8893
|
])) : createCommentVNode("", true),
|
|
8894
|
-
createElementVNode("div", _hoisted_4$
|
|
8894
|
+
createElementVNode("div", _hoisted_4$q, [
|
|
8895
8895
|
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_5$m, [
|
|
8896
8896
|
createVNode(_component_Card, {
|
|
8897
8897
|
bordered: false,
|
|
@@ -10188,7 +10188,7 @@ const _sfc_main$1L = {
|
|
|
10188
10188
|
const _hoisted_1$18 = ["id"];
|
|
10189
10189
|
const _hoisted_2$P = { key: 0 };
|
|
10190
10190
|
const _hoisted_3$s = ["onClick"];
|
|
10191
|
-
const _hoisted_4$
|
|
10191
|
+
const _hoisted_4$p = {
|
|
10192
10192
|
key: 0,
|
|
10193
10193
|
ref: "page",
|
|
10194
10194
|
style: { "background": "#eee", "padding-top": "5px", "width": "100%" }
|
|
@@ -10303,7 +10303,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10303
10303
|
};
|
|
10304
10304
|
})
|
|
10305
10305
|
]), 1032, ["row-class-name", "loading", "size", "stripe", "border", "height", "maxHeight", "show-header", "onOnSelectionChange", "columns", "data", "onOnColumnWidthResize", "show-summary", "summary-method"]),
|
|
10306
|
-
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
10306
|
+
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
10307
10307
|
createVNode(_component_Card, {
|
|
10308
10308
|
bordered: false,
|
|
10309
10309
|
padding: 0,
|
|
@@ -10517,7 +10517,7 @@ const _hoisted_3$r = {
|
|
|
10517
10517
|
key: 4,
|
|
10518
10518
|
style: { "margin-left": "10px" }
|
|
10519
10519
|
};
|
|
10520
|
-
const _hoisted_4$
|
|
10520
|
+
const _hoisted_4$o = ["onClick"];
|
|
10521
10521
|
const _hoisted_5$l = {
|
|
10522
10522
|
key: 0,
|
|
10523
10523
|
ref: "page",
|
|
@@ -10611,7 +10611,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10611
10611
|
contentAlign: config2.contentAlign,
|
|
10612
10612
|
class: normalizeClass(_ctx.IsCellError(index, config2))
|
|
10613
10613
|
}, null, 8, ["label", "contentAlign", "class"]))
|
|
10614
|
-
], 8, _hoisted_4$
|
|
10614
|
+
], 8, _hoisted_4$o)
|
|
10615
10615
|
])
|
|
10616
10616
|
};
|
|
10617
10617
|
})
|
|
@@ -27241,7 +27241,7 @@ const _hoisted_3$q = {
|
|
|
27241
27241
|
key: 0,
|
|
27242
27242
|
class: "ivu-tag ivu-tag-checked"
|
|
27243
27243
|
};
|
|
27244
|
-
const _hoisted_4$
|
|
27244
|
+
const _hoisted_4$n = { class: "ivu-tag-text ivu-select-max-tag" };
|
|
27245
27245
|
const _hoisted_5$k = { class: "ivu-tag-text" };
|
|
27246
27246
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27247
27247
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -27301,7 +27301,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27301
27301
|
]),
|
|
27302
27302
|
default: withCtx(() => [
|
|
27303
27303
|
$data.myConfig.maxTagCount !== void 0 && $data.selectedMultiple.length > $data.myConfig.maxTagCount ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
|
|
27304
|
-
createElementVNode("span", _hoisted_4$
|
|
27304
|
+
createElementVNode("span", _hoisted_4$n, " + " + toDisplayString$1($data.selectedMultiple.length - $data.myConfig.maxTagCount) + "... ", 1)
|
|
27305
27305
|
])) : createCommentVNode("", true)
|
|
27306
27306
|
]),
|
|
27307
27307
|
_: 1
|
|
@@ -30188,7 +30188,7 @@ const _sfc_main$1n = {
|
|
|
30188
30188
|
const _hoisted_1$11 = { style: { "text-align": "center" } };
|
|
30189
30189
|
const _hoisted_2$L = ["onClick"];
|
|
30190
30190
|
const _hoisted_3$p = ["onClick"];
|
|
30191
|
-
const _hoisted_4$
|
|
30191
|
+
const _hoisted_4$m = ["src", "data-original"];
|
|
30192
30192
|
const _hoisted_5$j = { key: 0 };
|
|
30193
30193
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30194
30194
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -30255,7 +30255,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30255
30255
|
src: item.url,
|
|
30256
30256
|
"data-original": `${item.url}`,
|
|
30257
30257
|
style: normalizeStyle($data.imgStyle)
|
|
30258
|
-
}, null, 12, _hoisted_4$
|
|
30258
|
+
}, null, 12, _hoisted_4$m)
|
|
30259
30259
|
])
|
|
30260
30260
|
]),
|
|
30261
30261
|
_: 2
|
|
@@ -30646,7 +30646,7 @@ const _hoisted_1$10 = {
|
|
|
30646
30646
|
};
|
|
30647
30647
|
const _hoisted_2$K = { ref: "photo" };
|
|
30648
30648
|
const _hoisted_3$o = ["src", "data-original"];
|
|
30649
|
-
const _hoisted_4$
|
|
30649
|
+
const _hoisted_4$l = ["innerHTML"];
|
|
30650
30650
|
const _hoisted_5$i = {
|
|
30651
30651
|
ref: "pdf",
|
|
30652
30652
|
style: { "height": "630px" }
|
|
@@ -30759,7 +30759,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30759
30759
|
"footer-hide": true
|
|
30760
30760
|
}, {
|
|
30761
30761
|
default: withCtx(() => [
|
|
30762
|
-
createElementVNode("div", { innerHTML: _ctx.textStr }, null, 8, _hoisted_4$
|
|
30762
|
+
createElementVNode("div", { innerHTML: _ctx.textStr }, null, 8, _hoisted_4$l)
|
|
30763
30763
|
]),
|
|
30764
30764
|
_: 1
|
|
30765
30765
|
}, 8, ["title", "modelValue"]),
|
|
@@ -31384,7 +31384,7 @@ const _sfc_main$1k = {
|
|
|
31384
31384
|
const _hoisted_1$$ = { style: { "text-align": "center" } };
|
|
31385
31385
|
const _hoisted_2$J = ["onClick"];
|
|
31386
31386
|
const _hoisted_3$n = ["onClick"];
|
|
31387
|
-
const _hoisted_4$
|
|
31387
|
+
const _hoisted_4$k = ["src"];
|
|
31388
31388
|
const _hoisted_5$h = { key: 1 };
|
|
31389
31389
|
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31390
31390
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -31444,7 +31444,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31444
31444
|
src: item.url,
|
|
31445
31445
|
style: normalizeStyle($data.imgStyle),
|
|
31446
31446
|
controls: "controls"
|
|
31447
|
-
}, toDisplayString$1(_ctx.$t("\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u89C6\u9891")), 13, _hoisted_4$
|
|
31447
|
+
}, toDisplayString$1(_ctx.$t("\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u89C6\u9891")), 13, _hoisted_4$k)
|
|
31448
31448
|
]),
|
|
31449
31449
|
_: 2
|
|
31450
31450
|
}, 1024)
|
|
@@ -32489,7 +32489,7 @@ const _sfc_main$1e = {
|
|
|
32489
32489
|
const _hoisted_1$X = ["textContent"];
|
|
32490
32490
|
const _hoisted_2$H = { key: 0 };
|
|
32491
32491
|
const _hoisted_3$m = { key: 1 };
|
|
32492
|
-
const _hoisted_4$
|
|
32492
|
+
const _hoisted_4$j = { key: 1 };
|
|
32493
32493
|
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32494
32494
|
const _component_Icon = resolveComponent("Icon");
|
|
32495
32495
|
const _component_ControlBox = resolveComponent("ControlBox");
|
|
@@ -32531,7 +32531,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32531
32531
|
href: "#",
|
|
32532
32532
|
onClick: _cache[1] || (_cache[1] = withModifiers((...args) => $options.editForm && $options.editForm(...args), ["prevent"]))
|
|
32533
32533
|
}, toDisplayString$1($data.myConfig.editBtnText), 1)) : createCommentVNode("", true),
|
|
32534
|
-
$data.showBtn && $data.editFlag && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
32534
|
+
$data.showBtn && $data.editFlag && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_4$j, toDisplayString$1($data.myConfig.editBtnText), 1)) : createCommentVNode("", true),
|
|
32535
32535
|
$data.showBtn && !$data.editFlag && $data.saveFlag ? (openBlock(), createElementBlock("a", {
|
|
32536
32536
|
key: 2,
|
|
32537
32537
|
style: { "margin-left": "10px" },
|
|
@@ -33700,7 +33700,7 @@ const _sfc_main$1b = {
|
|
|
33700
33700
|
const _hoisted_1$U = ["textContent"];
|
|
33701
33701
|
const _hoisted_2$E = { style: { "padding": "16px" } };
|
|
33702
33702
|
const _hoisted_3$l = ["textContent"];
|
|
33703
|
-
const _hoisted_4$
|
|
33703
|
+
const _hoisted_4$i = { key: 1 };
|
|
33704
33704
|
const _hoisted_5$g = { style: { "padding": "16px" } };
|
|
33705
33705
|
const _hoisted_6$c = ["textContent"];
|
|
33706
33706
|
const _hoisted_7$7 = ["textContent"];
|
|
@@ -33813,7 +33813,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33813
33813
|
href: "#",
|
|
33814
33814
|
onClick: _cache[3] || (_cache[3] = withModifiers((...args) => $options.editDetails && $options.editDetails(...args), ["prevent"]))
|
|
33815
33815
|
}, toDisplayString$1($data.myConfig.editBtnName), 1)) : createCommentVNode("", true),
|
|
33816
|
-
$data.showBtn && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
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
33819
|
withDirectives(createElementVNode("div", _hoisted_5$g, [
|
|
@@ -38093,7 +38093,7 @@ const _sfc_main$Q = {
|
|
|
38093
38093
|
const _hoisted_1$L = ["title"];
|
|
38094
38094
|
const _hoisted_2$A = ["title"];
|
|
38095
38095
|
const _hoisted_3$k = ["value", "disabled"];
|
|
38096
|
-
const _hoisted_4$
|
|
38096
|
+
const _hoisted_4$h = ["title"];
|
|
38097
38097
|
const _hoisted_5$f = ["title"];
|
|
38098
38098
|
const _hoisted_6$b = {
|
|
38099
38099
|
key: 1,
|
|
@@ -38155,7 +38155,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38155
38155
|
createElementVNode("a", null, [
|
|
38156
38156
|
createElementVNode("i", { class: "ivu-icon ivu-icon-ios-arrow-forward" })
|
|
38157
38157
|
], -1)
|
|
38158
|
-
])], 10, _hoisted_4$
|
|
38158
|
+
])], 10, _hoisted_4$h)
|
|
38159
38159
|
], 6)) : (openBlock(), createElementBlock("ul", {
|
|
38160
38160
|
key: 1,
|
|
38161
38161
|
class: normalizeClass(_ctx.wrapClasses),
|
|
@@ -38391,7 +38391,7 @@ const _hoisted_3$j = {
|
|
|
38391
38391
|
key: 0,
|
|
38392
38392
|
style: { "padding-top": "10px" }
|
|
38393
38393
|
};
|
|
38394
|
-
const _hoisted_4$
|
|
38394
|
+
const _hoisted_4$g = ["textContent"];
|
|
38395
38395
|
const _hoisted_5$e = ["textContent"];
|
|
38396
38396
|
const _hoisted_6$a = {
|
|
38397
38397
|
ref: "page",
|
|
@@ -38536,7 +38536,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38536
38536
|
title: withCtx(() => [
|
|
38537
38537
|
createElementVNode("span", {
|
|
38538
38538
|
textContent: toDisplayString$1(_ctx.myConfig.gridTitle)
|
|
38539
|
-
}, null, 8, _hoisted_4$
|
|
38539
|
+
}, null, 8, _hoisted_4$g)
|
|
38540
38540
|
]),
|
|
38541
38541
|
default: withCtx(() => [
|
|
38542
38542
|
createVNode(_component_Table, {
|
|
@@ -41426,7 +41426,7 @@ const _sfc_main$J = {
|
|
|
41426
41426
|
const _hoisted_1$G = ["textContent"];
|
|
41427
41427
|
const _hoisted_2$x = { style: { "padding-left": "24px" } };
|
|
41428
41428
|
const _hoisted_3$h = { ref: "photo" };
|
|
41429
|
-
const _hoisted_4$
|
|
41429
|
+
const _hoisted_4$f = ["src", "data-original"];
|
|
41430
41430
|
const _hoisted_5$d = ["innerHTML"];
|
|
41431
41431
|
const _hoisted_6$9 = {
|
|
41432
41432
|
ref: "pdf",
|
|
@@ -41555,7 +41555,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41555
41555
|
src: $data.imgUrl,
|
|
41556
41556
|
"data-original": `${$data.imgUrl}`,
|
|
41557
41557
|
style: { "width": "100%", "height": "100%" }
|
|
41558
|
-
}, null, 8, _hoisted_4$
|
|
41558
|
+
}, null, 8, _hoisted_4$f)
|
|
41559
41559
|
])
|
|
41560
41560
|
], 512), [
|
|
41561
41561
|
[vShow, false]
|
|
@@ -42065,7 +42065,7 @@ const _sfc_main$I = {
|
|
|
42065
42065
|
const _hoisted_1$F = { style: { "margin-bottom": "10px", "display": "flex", "justify-content": "space-between" } };
|
|
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
|
-
const _hoisted_4$
|
|
42068
|
+
const _hoisted_4$e = { style: { "font-size": "14px", "font-weight": "bold" } };
|
|
42069
42069
|
const _hoisted_5$c = { 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" };
|
|
@@ -42158,7 +42158,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42158
42158
|
createElementVNode("div", null, [
|
|
42159
42159
|
_cache[9] || (_cache[9] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
|
|
42160
42160
|
_cache[10] || (_cache[10] = createTextVNode()),
|
|
42161
|
-
createElementVNode("span", _hoisted_4$
|
|
42161
|
+
createElementVNode("span", _hoisted_4$e, toDisplayString$1(_ctx.$t("\u5BFC\u5165\u9519\u8BEF\u4FE1\u606F")), 1)
|
|
42162
42162
|
]),
|
|
42163
42163
|
createVNode(_component_Button, {
|
|
42164
42164
|
size: "small",
|
|
@@ -44716,7 +44716,7 @@ const _sfc_main$B = {
|
|
|
44716
44716
|
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
|
-
const _hoisted_4$
|
|
44719
|
+
const _hoisted_4$d = { style: { "color": "#AF292E", "font-size": "14px" } };
|
|
44720
44720
|
const _hoisted_5$b = { 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" } };
|
|
@@ -44790,7 +44790,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44790
44790
|
title: withCtx(() => [
|
|
44791
44791
|
createElementVNode("p", _hoisted_2$r, [
|
|
44792
44792
|
createElementVNode("span", _hoisted_3$f, toDisplayString$1(_ctx.$t("\u5DF2\u9009\u62E9\u5B57\u6BB5")) + ": ", 1),
|
|
44793
|
-
createElementVNode("span", _hoisted_4$
|
|
44793
|
+
createElementVNode("span", _hoisted_4$d, toDisplayString$1($data.num) + toDisplayString$1(_ctx.$t("\u4E2A")), 1)
|
|
44794
44794
|
])
|
|
44795
44795
|
]),
|
|
44796
44796
|
default: withCtx(() => [
|
|
@@ -45622,7 +45622,7 @@ const _hoisted_2$p = {
|
|
|
45622
45622
|
style: { "margin-bottom": "10px" }
|
|
45623
45623
|
};
|
|
45624
45624
|
const _hoisted_3$e = ["textContent"];
|
|
45625
|
-
const _hoisted_4$
|
|
45625
|
+
const _hoisted_4$c = { key: 0 };
|
|
45626
45626
|
const _hoisted_5$a = ["onClick", "cell-row", "cell-col"];
|
|
45627
45627
|
const _hoisted_6$6 = {
|
|
45628
45628
|
key: 0,
|
|
@@ -45701,7 +45701,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45701
45701
|
class: normalizeClass(["table-wrapper", { "is--maximize": $data.showZoom && $data.isFull }]),
|
|
45702
45702
|
style: normalizeStyle($data.divStyle)
|
|
45703
45703
|
}, [
|
|
45704
|
-
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
45704
|
+
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
45705
45705
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
45706
45706
|
])) : withDirectives((openBlock(), createBlock(_component_Row, {
|
|
45707
45707
|
key: 1,
|
|
@@ -45943,8 +45943,10 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45943
45943
|
}, 512);
|
|
45944
45944
|
}
|
|
45945
45945
|
var mEditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$w], ["__scopeId", "data-v-10e4b5d2"]]);
|
|
45946
|
+
const TitleExtra = (props) => props.render(h$1, props.params);
|
|
45946
45947
|
const _sfc_main$y = {
|
|
45947
45948
|
name: "mformcard",
|
|
45949
|
+
components: { TitleExtra },
|
|
45948
45950
|
extends: FormBox,
|
|
45949
45951
|
data() {
|
|
45950
45952
|
return {
|
|
@@ -45961,6 +45963,37 @@ const _sfc_main$y = {
|
|
|
45961
45963
|
};
|
|
45962
45964
|
},
|
|
45963
45965
|
methods: {
|
|
45966
|
+
getTitleExtraParams() {
|
|
45967
|
+
return {
|
|
45968
|
+
form: this.form,
|
|
45969
|
+
dictData: this.dictData,
|
|
45970
|
+
config: this.myConfig
|
|
45971
|
+
};
|
|
45972
|
+
},
|
|
45973
|
+
titleExtraStatusRender(h10, params) {
|
|
45974
|
+
let statusConfig = params.config.titleExtraStatus;
|
|
45975
|
+
if (!statusConfig.codeField) {
|
|
45976
|
+
return null;
|
|
45977
|
+
}
|
|
45978
|
+
let status = params.form[statusConfig.codeField];
|
|
45979
|
+
if (status === void 0 || status === null || status === "") {
|
|
45980
|
+
return null;
|
|
45981
|
+
}
|
|
45982
|
+
let dicts = statusConfig.dicts;
|
|
45983
|
+
if (!Array.isArray(dicts)) {
|
|
45984
|
+
dicts = statusConfig.dictKey ? params.dictData && params.dictData[statusConfig.dictKey] : null;
|
|
45985
|
+
}
|
|
45986
|
+
let codeKey = statusConfig.codeKey || "code";
|
|
45987
|
+
let nameKey = statusConfig.nameKey || "name";
|
|
45988
|
+
let tmp = Array.isArray(dicts) ? dicts.find((el2) => el2[codeKey] === status) : null;
|
|
45989
|
+
if (!tmp || !tmp[nameKey]) {
|
|
45990
|
+
return h10("span", String(status));
|
|
45991
|
+
}
|
|
45992
|
+
if (statusConfig.showCode) {
|
|
45993
|
+
return h10("span", "[" + tmp[codeKey] + "]" + this.$t(tmp[nameKey]));
|
|
45994
|
+
}
|
|
45995
|
+
return h10("span", this.$t(tmp[nameKey]));
|
|
45996
|
+
},
|
|
45964
45997
|
customInit() {
|
|
45965
45998
|
if (this.myConfig.showEffectValue !== void 0) {
|
|
45966
45999
|
this.showEffectValue = this.myConfig.showEffectValue;
|
|
@@ -46003,12 +46036,17 @@ const _sfc_main$y = {
|
|
|
46003
46036
|
};
|
|
46004
46037
|
const _hoisted_1$v = ["textContent"];
|
|
46005
46038
|
const _hoisted_2$o = {
|
|
46006
|
-
key:
|
|
46007
|
-
style: { "margin-
|
|
46039
|
+
key: 0,
|
|
46040
|
+
style: { "margin-left": "auto" }
|
|
46008
46041
|
};
|
|
46009
46042
|
const _hoisted_3$d = ["textContent"];
|
|
46043
|
+
const _hoisted_4$b = {
|
|
46044
|
+
key: 0,
|
|
46045
|
+
style: { "margin-left": "auto" }
|
|
46046
|
+
};
|
|
46010
46047
|
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46011
46048
|
const _component_Icon = resolveComponent("Icon");
|
|
46049
|
+
const _component_TitleExtra = resolveComponent("TitleExtra");
|
|
46012
46050
|
const _component_Row = resolveComponent("Row");
|
|
46013
46051
|
const _component_Divider = resolveComponent("Divider");
|
|
46014
46052
|
const _component_ShowText = resolveComponent("ShowText");
|
|
@@ -46053,21 +46091,48 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46053
46091
|
createElementVNode("span", {
|
|
46054
46092
|
style: { "margin-left": "10px", "font-size": "14px", "font-weight": "bold" },
|
|
46055
46093
|
textContent: toDisplayString$1($data.myConfig.title ? _ctx.$t($data.myConfig.title) : $data.myConfig.title)
|
|
46056
|
-
}, null, 8, _hoisted_1$v)
|
|
46094
|
+
}, null, 8, _hoisted_1$v),
|
|
46095
|
+
$data.myConfig.titleExtraStatus || $data.myConfig.titleExtraRender ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
|
|
46096
|
+
$data.myConfig.titleExtraStatus ? (openBlock(), createBlock(_component_TitleExtra, {
|
|
46097
|
+
key: 0,
|
|
46098
|
+
render: $options.titleExtraStatusRender,
|
|
46099
|
+
params: $options.getTitleExtraParams()
|
|
46100
|
+
}, null, 8, ["render", "params"])) : createCommentVNode("", true),
|
|
46101
|
+
$data.myConfig.titleExtraRender ? (openBlock(), createBlock(_component_TitleExtra, {
|
|
46102
|
+
key: 1,
|
|
46103
|
+
render: $data.myConfig.titleExtraRender,
|
|
46104
|
+
params: $options.getTitleExtraParams()
|
|
46105
|
+
}, null, 8, ["render", "params"])) : createCommentVNode("", true)
|
|
46106
|
+
])) : createCommentVNode("", true)
|
|
46057
46107
|
]),
|
|
46058
46108
|
_: 1
|
|
46059
46109
|
})
|
|
46060
46110
|
]),
|
|
46061
46111
|
createVNode(_component_Divider, { style: { "margin-left": "24px", "margin-top": "0px", "margin-bottom": "10px" } })
|
|
46062
46112
|
], 64)) : createCommentVNode("", true),
|
|
46063
|
-
$data.myConfig.modetype === "2" ? (openBlock(), createElementBlock("div",
|
|
46113
|
+
$data.myConfig.modetype === "2" ? (openBlock(), createElementBlock("div", {
|
|
46114
|
+
key: 1,
|
|
46115
|
+
style: normalizeStyle($data.myConfig.titleExtraStatus || $data.myConfig.titleExtraRender ? "margin-bottom:10px;display:flex;align-items:center;" : "margin-bottom:10px;")
|
|
46116
|
+
}, [
|
|
46064
46117
|
_cache[2] || (_cache[2] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
|
|
46065
46118
|
_cache[3] || (_cache[3] = createTextVNode()),
|
|
46066
46119
|
createElementVNode("span", {
|
|
46067
46120
|
style: { "font-size": "14px", "font-weight": "bold" },
|
|
46068
46121
|
textContent: toDisplayString$1($data.myConfig.title ? _ctx.$t($data.myConfig.title) : $data.myConfig.title)
|
|
46069
|
-
}, null, 8, _hoisted_3$d)
|
|
46070
|
-
|
|
46122
|
+
}, null, 8, _hoisted_3$d),
|
|
46123
|
+
$data.myConfig.titleExtraStatus || $data.myConfig.titleExtraRender ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
46124
|
+
$data.myConfig.titleExtraStatus ? (openBlock(), createBlock(_component_TitleExtra, {
|
|
46125
|
+
key: 0,
|
|
46126
|
+
render: $options.titleExtraStatusRender,
|
|
46127
|
+
params: $options.getTitleExtraParams()
|
|
46128
|
+
}, null, 8, ["render", "params"])) : createCommentVNode("", true),
|
|
46129
|
+
$data.myConfig.titleExtraRender ? (openBlock(), createBlock(_component_TitleExtra, {
|
|
46130
|
+
key: 1,
|
|
46131
|
+
render: $data.myConfig.titleExtraRender,
|
|
46132
|
+
params: $options.getTitleExtraParams()
|
|
46133
|
+
}, null, 8, ["render", "params"])) : createCommentVNode("", true)
|
|
46134
|
+
])) : createCommentVNode("", true)
|
|
46135
|
+
], 4)) : createCommentVNode("", true),
|
|
46071
46136
|
withDirectives(createVNode(_component_Form, {
|
|
46072
46137
|
ref: "form",
|
|
46073
46138
|
class: "efuture-tip-form",
|