mooho-base-admin-plus 0.4.7 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mooho-base-admin-plus.min.esm.js +127 -58
- package/dist/mooho-base-admin-plus.min.js +39 -39
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/view/condition-edit.vue +1 -1
- package/src/components/view/modal-form.vue +17 -7
- package/src/components/view/modal-table.vue +14 -2
- package/src/components/view/table-filter.vue +7 -1
- package/src/components/view/view-form.vue +13 -7
- package/src/components/view/view-table.vue +7 -1
- package/src/layouts/basic-layout/header-user/index.vue +3 -3
- package/src/mixins/page.js +5 -1
- package/src/pages/common/task-form.vue +1 -1
- package/src/pages/system/rolePropertyEdit.vue +9 -9
- package/src/pages/template/processPage.vue +4 -2
- package/src/router/dynamic.js +34 -4
|
@@ -19121,8 +19121,8 @@ var dynamic = {
|
|
|
19121
19121
|
name: url.replace(/\//g, "-"),
|
|
19122
19122
|
meta: {
|
|
19123
19123
|
auth: false,
|
|
19124
|
-
title:
|
|
19125
|
-
description:
|
|
19124
|
+
title: getNameI18n(item),
|
|
19125
|
+
description: getDescI18n(item),
|
|
19126
19126
|
data: data2,
|
|
19127
19127
|
cache: true
|
|
19128
19128
|
},
|
|
@@ -19176,8 +19176,8 @@ function buildPermission(pages2, perArry, routes, layout2, parent) {
|
|
|
19176
19176
|
name: url.replace(/\//g, "-"),
|
|
19177
19177
|
meta: {
|
|
19178
19178
|
auth: false,
|
|
19179
|
-
title:
|
|
19180
|
-
description:
|
|
19179
|
+
title: getNameI18n(item),
|
|
19180
|
+
description: getDescI18n(item),
|
|
19181
19181
|
data: data2,
|
|
19182
19182
|
cache: true
|
|
19183
19183
|
},
|
|
@@ -19221,6 +19221,32 @@ function PermissionDeep(per, perArry) {
|
|
|
19221
19221
|
}
|
|
19222
19222
|
return per;
|
|
19223
19223
|
}
|
|
19224
|
+
function getNameI18n(item) {
|
|
19225
|
+
if (Setting.layout.showNotice) {
|
|
19226
|
+
let key = "Permission_" + item.url.split("?")[0];
|
|
19227
|
+
let text2 = window.$t(key);
|
|
19228
|
+
if (text2 == key) {
|
|
19229
|
+
return item.name;
|
|
19230
|
+
} else {
|
|
19231
|
+
return text2;
|
|
19232
|
+
}
|
|
19233
|
+
} else {
|
|
19234
|
+
return item.name;
|
|
19235
|
+
}
|
|
19236
|
+
}
|
|
19237
|
+
function getDescI18n(item) {
|
|
19238
|
+
if (Setting.layout.showNotice) {
|
|
19239
|
+
let key = "Permission_" + item.url.split("?")[0] + "_SubName";
|
|
19240
|
+
let text2 = window.$t(key);
|
|
19241
|
+
if (text2 == key) {
|
|
19242
|
+
return item.subName;
|
|
19243
|
+
} else {
|
|
19244
|
+
return text2;
|
|
19245
|
+
}
|
|
19246
|
+
} else {
|
|
19247
|
+
return item.subName;
|
|
19248
|
+
}
|
|
19249
|
+
}
|
|
19224
19250
|
var router;
|
|
19225
19251
|
const create$3 = (base2, pages2, layout2, routes) => {
|
|
19226
19252
|
router = createRouter({
|
|
@@ -19525,7 +19551,11 @@ var mixinPage = {
|
|
|
19525
19551
|
return value ? '<i class="fa fa-check info"></i>' : "";
|
|
19526
19552
|
}
|
|
19527
19553
|
} else if (dataType === "String") {
|
|
19528
|
-
|
|
19554
|
+
if (this.layout.showI18n) {
|
|
19555
|
+
return this.tParam(value);
|
|
19556
|
+
} else {
|
|
19557
|
+
return value;
|
|
19558
|
+
}
|
|
19529
19559
|
} else {
|
|
19530
19560
|
return value;
|
|
19531
19561
|
}
|
|
@@ -19913,7 +19943,7 @@ const _hoisted_4$q = { class: "logo cf" };
|
|
|
19913
19943
|
const _hoisted_5$k = ["src"];
|
|
19914
19944
|
const _hoisted_6$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("small", null, null, -1));
|
|
19915
19945
|
const _hoisted_7$d = ["placeholder"];
|
|
19916
|
-
const _hoisted_8$
|
|
19946
|
+
const _hoisted_8$b = ["placeholder"];
|
|
19917
19947
|
const _hoisted_9$a = { class: "cpt" };
|
|
19918
19948
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19919
19949
|
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
@@ -19949,7 +19979,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19949
19979
|
onKeyup: _cache[3] || (_cache[3] = (...args) => $options.submit && $options.submit(...args)),
|
|
19950
19980
|
class: "password",
|
|
19951
19981
|
placeholder: _ctx.$t("Front_Msg_Please_Input_Password")
|
|
19952
|
-
}, null, 40, _hoisted_8$
|
|
19982
|
+
}, null, 40, _hoisted_8$b), [
|
|
19953
19983
|
[vModelText, $data.password]
|
|
19954
19984
|
]),
|
|
19955
19985
|
createElementVNode("button", {
|
|
@@ -20342,7 +20372,7 @@ const _hoisted_6$d = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
20342
20372
|
const _hoisted_7$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
|
|
20343
20373
|
/* @__PURE__ */ createElementVNode("span", null, "\u539F\u59CB\u8BB0\u5F55")
|
|
20344
20374
|
], -1));
|
|
20345
|
-
const _hoisted_8$
|
|
20375
|
+
const _hoisted_8$a = { class: "stat" };
|
|
20346
20376
|
const _hoisted_9$9 = { class: "icon" };
|
|
20347
20377
|
const _hoisted_10$7 = { class: "content" };
|
|
20348
20378
|
const _hoisted_11$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
|
|
@@ -20445,7 +20475,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20445
20475
|
_hoisted_7$c
|
|
20446
20476
|
]),
|
|
20447
20477
|
default: withCtx(() => [
|
|
20448
|
-
createElementVNode("div", _hoisted_8$
|
|
20478
|
+
createElementVNode("div", _hoisted_8$a, [
|
|
20449
20479
|
createElementVNode("div", _hoisted_9$9, [
|
|
20450
20480
|
createVNode$1(_component_Icon, {
|
|
20451
20481
|
type: "md-list-box",
|
|
@@ -21279,7 +21309,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21279
21309
|
prop: "message",
|
|
21280
21310
|
rules: {
|
|
21281
21311
|
required: true,
|
|
21282
|
-
message: this
|
|
21312
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
21283
21313
|
trigger: "blur,change"
|
|
21284
21314
|
}
|
|
21285
21315
|
}, {
|
|
@@ -24226,7 +24256,7 @@ const _hoisted_7$b = /* @__PURE__ */ createElementVNode("marker", {
|
|
|
24226
24256
|
style: { "fill": "#000" }
|
|
24227
24257
|
})
|
|
24228
24258
|
], -1);
|
|
24229
|
-
const _hoisted_8$
|
|
24259
|
+
const _hoisted_8$9 = ["id", "d"];
|
|
24230
24260
|
const _hoisted_9$8 = ["width"];
|
|
24231
24261
|
const _hoisted_10$6 = ["x", "y", "width", "height"];
|
|
24232
24262
|
const _hoisted_11$5 = ["x", "y", "font-size"];
|
|
@@ -24342,7 +24372,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24342
24372
|
key: index2,
|
|
24343
24373
|
id: "outcome_" + item.pid,
|
|
24344
24374
|
d: $options.getOutcomPath(item)
|
|
24345
|
-
}, null, 8, _hoisted_8$
|
|
24375
|
+
}, null, 8, _hoisted_8$9);
|
|
24346
24376
|
}), 128))
|
|
24347
24377
|
]),
|
|
24348
24378
|
createElementVNode("rect", {
|
|
@@ -25094,43 +25124,43 @@ const _sfc_main$X = {
|
|
|
25094
25124
|
propertyName: {
|
|
25095
25125
|
type: "string",
|
|
25096
25126
|
required: true,
|
|
25097
|
-
message: this
|
|
25127
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25098
25128
|
trigger: "blur"
|
|
25099
25129
|
},
|
|
25100
25130
|
propertyCode: {
|
|
25101
25131
|
type: "string",
|
|
25102
25132
|
required: true,
|
|
25103
|
-
message: this
|
|
25133
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25104
25134
|
trigger: "blur"
|
|
25105
25135
|
},
|
|
25106
25136
|
dataType: {
|
|
25107
25137
|
type: "string",
|
|
25108
25138
|
required: true,
|
|
25109
|
-
message: this
|
|
25139
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25110
25140
|
trigger: "blur"
|
|
25111
25141
|
},
|
|
25112
25142
|
controlType: {
|
|
25113
25143
|
type: "string",
|
|
25114
25144
|
required: true,
|
|
25115
|
-
message: this
|
|
25145
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25116
25146
|
trigger: "blur"
|
|
25117
25147
|
},
|
|
25118
25148
|
source: {
|
|
25119
25149
|
type: "string",
|
|
25120
25150
|
required: true,
|
|
25121
|
-
message: this
|
|
25151
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25122
25152
|
trigger: "blur"
|
|
25123
25153
|
},
|
|
25124
25154
|
sourceDataCode: {
|
|
25125
25155
|
type: "string",
|
|
25126
25156
|
required: true,
|
|
25127
|
-
message: this
|
|
25157
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25128
25158
|
trigger: "blur"
|
|
25129
25159
|
},
|
|
25130
25160
|
sourceDisplayCode: {
|
|
25131
25161
|
type: "string",
|
|
25132
25162
|
required: true,
|
|
25133
|
-
message: this
|
|
25163
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25134
25164
|
trigger: "blur"
|
|
25135
25165
|
}
|
|
25136
25166
|
};
|
|
@@ -25147,13 +25177,13 @@ const _sfc_main$X = {
|
|
|
25147
25177
|
code: {
|
|
25148
25178
|
type: "string",
|
|
25149
25179
|
required: true,
|
|
25150
|
-
message: this
|
|
25180
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25151
25181
|
trigger: "blur,change"
|
|
25152
25182
|
},
|
|
25153
25183
|
val: {
|
|
25154
25184
|
type: "string",
|
|
25155
25185
|
required: true,
|
|
25156
|
-
message: this
|
|
25186
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25157
25187
|
trigger: "blur,change"
|
|
25158
25188
|
}
|
|
25159
25189
|
};
|
|
@@ -25316,7 +25346,7 @@ const _hoisted_4$j = /* @__PURE__ */ createTextVNode("\u5355\u884C\u6587\u672C\u
|
|
|
25316
25346
|
const _hoisted_5$f = /* @__PURE__ */ createTextVNode("\u6570\u5B57\u8F93\u5165\u6846");
|
|
25317
25347
|
const _hoisted_6$a = /* @__PURE__ */ createTextVNode("\u52FE\u9009");
|
|
25318
25348
|
const _hoisted_7$a = /* @__PURE__ */ createTextVNode("\u9009\u62E9\u6846");
|
|
25319
|
-
const _hoisted_8$
|
|
25349
|
+
const _hoisted_8$8 = /* @__PURE__ */ createTextVNode("\u591A\u9009\u9009\u62E9\u6846");
|
|
25320
25350
|
const _hoisted_9$7 = /* @__PURE__ */ createTextVNode("\u5F39\u51FA\u9009\u62E9\u6846");
|
|
25321
25351
|
const _hoisted_10$5 = /* @__PURE__ */ createTextVNode("\u591A\u9009\u5F39\u51FA\u9009\u62E9\u6846");
|
|
25322
25352
|
const _hoisted_11$4 = { class: "title" };
|
|
@@ -25521,7 +25551,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25521
25551
|
value: "MultiSelect"
|
|
25522
25552
|
}, {
|
|
25523
25553
|
default: withCtx(() => [
|
|
25524
|
-
_hoisted_8$
|
|
25554
|
+
_hoisted_8$8
|
|
25525
25555
|
]),
|
|
25526
25556
|
_: 1
|
|
25527
25557
|
}),
|
|
@@ -28481,7 +28511,7 @@ const _sfc_main$O = {
|
|
|
28481
28511
|
expression: {
|
|
28482
28512
|
type: "string",
|
|
28483
28513
|
required: true,
|
|
28484
|
-
message: this
|
|
28514
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
28485
28515
|
trigger: "blur,change"
|
|
28486
28516
|
}
|
|
28487
28517
|
}
|
|
@@ -28916,7 +28946,7 @@ const _hoisted_4$f = { key: 2 };
|
|
|
28916
28946
|
const _hoisted_5$d = { key: 3 };
|
|
28917
28947
|
const _hoisted_6$8 = { key: 4 };
|
|
28918
28948
|
const _hoisted_7$8 = { key: 5 };
|
|
28919
|
-
const _hoisted_8$
|
|
28949
|
+
const _hoisted_8$7 = { key: 6 };
|
|
28920
28950
|
const _hoisted_9$6 = { key: 7 };
|
|
28921
28951
|
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28922
28952
|
const _component_PageHeader = resolveComponent("PageHeader");
|
|
@@ -29129,7 +29159,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29129
29159
|
_: 2
|
|
29130
29160
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onClick"])
|
|
29131
29161
|
])) : createCommentVNode("", true),
|
|
29132
|
-
code == "editEnable" ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
29162
|
+
code == "editEnable" ? (openBlock(), createElementBlock("div", _hoisted_8$7, [
|
|
29133
29163
|
$options.showCheck(data2.editEnableJson) ? (openBlock(), createBlock(_component_Switch, {
|
|
29134
29164
|
key: 0,
|
|
29135
29165
|
"model-value": !!data2.editEnable,
|
|
@@ -29851,10 +29881,9 @@ const _hoisted_1$v = { class: "i-layout-page-header" };
|
|
|
29851
29881
|
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("span", null, null, -1);
|
|
29852
29882
|
const _hoisted_3$l = /* @__PURE__ */ createElementVNode("span", null, null, -1);
|
|
29853
29883
|
const _hoisted_4$e = /* @__PURE__ */ createTextVNode(" \u53D1\u8868\u610F\u89C1 ");
|
|
29854
|
-
const _hoisted_5$c =
|
|
29855
|
-
const _hoisted_6$7 = { class: "
|
|
29856
|
-
const _hoisted_7$7 = { class: "
|
|
29857
|
-
const _hoisted_8$7 = { class: "ivu-ml-8 ivu-mr-8" };
|
|
29884
|
+
const _hoisted_5$c = { class: "title" };
|
|
29885
|
+
const _hoisted_6$7 = { class: "description" };
|
|
29886
|
+
const _hoisted_7$7 = { class: "ivu-ml-8 ivu-mr-8" };
|
|
29858
29887
|
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29859
29888
|
const _component_PageHeader = resolveComponent("PageHeader");
|
|
29860
29889
|
const _component_Button = resolveComponent("Button");
|
|
@@ -29987,7 +30016,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29987
30016
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$refs.approvalHistoryTable.open({ processInstID: _ctx.$refs.showForm.data.application.processInstID }))
|
|
29988
30017
|
}, {
|
|
29989
30018
|
default: withCtx(() => [
|
|
29990
|
-
|
|
30019
|
+
createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_History")), 1)
|
|
29991
30020
|
]),
|
|
29992
30021
|
_: 1
|
|
29993
30022
|
})
|
|
@@ -30005,8 +30034,8 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30005
30034
|
}, {
|
|
30006
30035
|
header: withCtx(() => [
|
|
30007
30036
|
createElementVNode("div", null, [
|
|
30008
|
-
createElementVNode("span",
|
|
30009
|
-
createElementVNode("span",
|
|
30037
|
+
createElementVNode("span", _hoisted_5$c, toDisplayString$1(_ctx.$t("Front_Label_Leave_Message")), 1),
|
|
30038
|
+
createElementVNode("span", _hoisted_6$7, toDisplayString$1(_ctx.$t("Front_Label_Leave_Message_Desc")), 1)
|
|
30010
30039
|
])
|
|
30011
30040
|
]),
|
|
30012
30041
|
footer: withCtx(() => [
|
|
@@ -30032,7 +30061,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30032
30061
|
})
|
|
30033
30062
|
]),
|
|
30034
30063
|
default: withCtx(() => [
|
|
30035
|
-
createElementVNode("div",
|
|
30064
|
+
createElementVNode("div", _hoisted_7$7, [
|
|
30036
30065
|
createVNode$1(_component_Form, {
|
|
30037
30066
|
ref: "messageForm",
|
|
30038
30067
|
model: $data.messageData,
|
|
@@ -30056,7 +30085,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30056
30085
|
prop: "message",
|
|
30057
30086
|
rules: {
|
|
30058
30087
|
required: true,
|
|
30059
|
-
message: this
|
|
30088
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
30060
30089
|
trigger: "blur,change"
|
|
30061
30090
|
}
|
|
30062
30091
|
}, {
|
|
@@ -32616,14 +32645,14 @@ const _sfc_main$w = {
|
|
|
32616
32645
|
rules.push({
|
|
32617
32646
|
pattern: /.+/,
|
|
32618
32647
|
required: true,
|
|
32619
|
-
message: this
|
|
32648
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
32620
32649
|
trigger: this.getTrigger(column)
|
|
32621
32650
|
});
|
|
32622
32651
|
} else {
|
|
32623
32652
|
rules.push({
|
|
32624
32653
|
type: this.getDataType(column),
|
|
32625
32654
|
required: true,
|
|
32626
|
-
message: this
|
|
32655
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
32627
32656
|
trigger: this.getTrigger(column)
|
|
32628
32657
|
});
|
|
32629
32658
|
}
|
|
@@ -32632,7 +32661,7 @@ const _sfc_main$w = {
|
|
|
32632
32661
|
rules.push({
|
|
32633
32662
|
type: this.getDataType(column),
|
|
32634
32663
|
pattern: column.pattern,
|
|
32635
|
-
message: this.$t("Front_Msg_Validation_Pattern
|
|
32664
|
+
message: this.$t("Front_Msg_Validation_Pattern"),
|
|
32636
32665
|
trigger: this.getTrigger(column)
|
|
32637
32666
|
});
|
|
32638
32667
|
}
|
|
@@ -32640,7 +32669,7 @@ const _sfc_main$w = {
|
|
|
32640
32669
|
rules.push({
|
|
32641
32670
|
type: this.getDataType(column),
|
|
32642
32671
|
max: column.maxValue,
|
|
32643
|
-
message: this.$t("Front_Msg_Validation_Max_Value|" +
|
|
32672
|
+
message: this.$t("Front_Msg_Validation_Max_Value|" + column.maxValue),
|
|
32644
32673
|
trigger: this.getTrigger(column)
|
|
32645
32674
|
});
|
|
32646
32675
|
}
|
|
@@ -32648,7 +32677,7 @@ const _sfc_main$w = {
|
|
|
32648
32677
|
rules.push({
|
|
32649
32678
|
type: this.getDataType(column),
|
|
32650
32679
|
min: column.minValue,
|
|
32651
|
-
message: this.$t("Front_Msg_Validation_Min_Value|" +
|
|
32680
|
+
message: this.$t("Front_Msg_Validation_Min_Value|" + column.minValue),
|
|
32652
32681
|
trigger: this.getTrigger(column)
|
|
32653
32682
|
});
|
|
32654
32683
|
}
|
|
@@ -32656,7 +32685,7 @@ const _sfc_main$w = {
|
|
|
32656
32685
|
rules.push({
|
|
32657
32686
|
type: this.getDataType(column),
|
|
32658
32687
|
length: column.maxLength,
|
|
32659
|
-
message: this.$t("Front_Msg_Validation_Max_Length|" +
|
|
32688
|
+
message: this.$t("Front_Msg_Validation_Max_Length|" + column.maxLength),
|
|
32660
32689
|
trigger: this.getTrigger(column)
|
|
32661
32690
|
});
|
|
32662
32691
|
}
|
|
@@ -33020,7 +33049,13 @@ const _sfc_main$w = {
|
|
|
33020
33049
|
getNameI18n(column) {
|
|
33021
33050
|
if (this.layout.showI18n) {
|
|
33022
33051
|
if (column.code) {
|
|
33023
|
-
|
|
33052
|
+
let key = "DataView_" + this.formView.code + "_" + column.code;
|
|
33053
|
+
let text2 = this.$t(key);
|
|
33054
|
+
if (text2 == key) {
|
|
33055
|
+
return column.name;
|
|
33056
|
+
} else {
|
|
33057
|
+
return text2;
|
|
33058
|
+
}
|
|
33024
33059
|
}
|
|
33025
33060
|
} else {
|
|
33026
33061
|
return column.name;
|
|
@@ -36999,7 +37034,13 @@ const _sfc_main$r = {
|
|
|
36999
37034
|
getNameI18n(column) {
|
|
37000
37035
|
if (this.layout.showI18n) {
|
|
37001
37036
|
if (column.code) {
|
|
37002
|
-
|
|
37037
|
+
let key = "DataView_" + this.tableView.code + "_Filter_" + column.code + "_" + column.operator;
|
|
37038
|
+
let text2 = this.$t(key);
|
|
37039
|
+
if (text2 == key) {
|
|
37040
|
+
return column.name;
|
|
37041
|
+
} else {
|
|
37042
|
+
return text2;
|
|
37043
|
+
}
|
|
37003
37044
|
}
|
|
37004
37045
|
} else {
|
|
37005
37046
|
return column.name;
|
|
@@ -37317,7 +37358,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37317
37358
|
]);
|
|
37318
37359
|
}
|
|
37319
37360
|
var tableFilter = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
|
|
37320
|
-
var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-
|
|
37361
|
+
var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-1a234aab]{display:flex}.image-group .image[data-v-1a234aab]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-1a234aab]{width:75px;height:75px}\n")();
|
|
37321
37362
|
var getColumns = (view, item) => {
|
|
37322
37363
|
let children = view.viewColumns.filter((i2) => {
|
|
37323
37364
|
return i2.parentCode == item.code;
|
|
@@ -38545,7 +38586,13 @@ const _sfc_main$q = {
|
|
|
38545
38586
|
if (column) {
|
|
38546
38587
|
if (this.layout.showI18n) {
|
|
38547
38588
|
if (column.code) {
|
|
38548
|
-
|
|
38589
|
+
let key = "DataView_" + this.tableView.code + "_" + column.code;
|
|
38590
|
+
let text2 = this.$t(key);
|
|
38591
|
+
if (text2 == key) {
|
|
38592
|
+
return column.name;
|
|
38593
|
+
} else {
|
|
38594
|
+
return text2;
|
|
38595
|
+
}
|
|
38549
38596
|
}
|
|
38550
38597
|
} else {
|
|
38551
38598
|
return column.name;
|
|
@@ -39280,7 +39327,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39280
39327
|
], 2)
|
|
39281
39328
|
], 2);
|
|
39282
39329
|
}
|
|
39283
|
-
var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
39330
|
+
var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-1a234aab"]]);
|
|
39284
39331
|
const _sfc_main$p = {
|
|
39285
39332
|
mixins: [mixinPage],
|
|
39286
39333
|
components: { columnSelect, columnEdit },
|
|
@@ -47368,20 +47415,30 @@ const _sfc_main$m = {
|
|
|
47368
47415
|
}
|
|
47369
47416
|
},
|
|
47370
47417
|
getNameI18n(formView2) {
|
|
47371
|
-
if (
|
|
47372
|
-
if (
|
|
47373
|
-
|
|
47374
|
-
|
|
47418
|
+
if (this.layout.showI18n) {
|
|
47419
|
+
if (formView2.code) {
|
|
47420
|
+
let key = "DataView_" + formView2.code;
|
|
47421
|
+
let text2 = this.$t(key);
|
|
47422
|
+
if (text2 == key) {
|
|
47423
|
+
return formView2.name;
|
|
47424
|
+
} else {
|
|
47425
|
+
return text2;
|
|
47375
47426
|
}
|
|
47376
|
-
} else {
|
|
47377
|
-
return formView2.name;
|
|
47378
47427
|
}
|
|
47428
|
+
} else {
|
|
47429
|
+
return formView2.name;
|
|
47379
47430
|
}
|
|
47380
47431
|
},
|
|
47381
47432
|
getDescI18n(formView2) {
|
|
47382
47433
|
if (this.layout.showI18n) {
|
|
47383
47434
|
if (formView2.code) {
|
|
47384
|
-
|
|
47435
|
+
let key = "DataView_" + formView2.code + "_$Desc";
|
|
47436
|
+
let text2 = this.$t(key);
|
|
47437
|
+
if (text2 == key) {
|
|
47438
|
+
return formView2.name;
|
|
47439
|
+
} else {
|
|
47440
|
+
return text2;
|
|
47441
|
+
}
|
|
47385
47442
|
}
|
|
47386
47443
|
} else {
|
|
47387
47444
|
return formView2.description;
|
|
@@ -47703,7 +47760,13 @@ const _sfc_main$l = {
|
|
|
47703
47760
|
getNameI18n(tableView2) {
|
|
47704
47761
|
if (this.layout.showI18n) {
|
|
47705
47762
|
if (tableView2.code) {
|
|
47706
|
-
|
|
47763
|
+
let key = "DataView_" + tableView2.code;
|
|
47764
|
+
let text2 = this.$t(key);
|
|
47765
|
+
if (text2 == key) {
|
|
47766
|
+
return tableView2.name;
|
|
47767
|
+
} else {
|
|
47768
|
+
return text2;
|
|
47769
|
+
}
|
|
47707
47770
|
}
|
|
47708
47771
|
} else {
|
|
47709
47772
|
return tableView2.name;
|
|
@@ -47712,7 +47775,13 @@ const _sfc_main$l = {
|
|
|
47712
47775
|
getDescI18n(tableView2) {
|
|
47713
47776
|
if (this.layout.showI18n) {
|
|
47714
47777
|
if (tableView2.code) {
|
|
47715
|
-
|
|
47778
|
+
let key = "DataView_" + tableView2.code + "_$Desc";
|
|
47779
|
+
let text2 = this.$t(key);
|
|
47780
|
+
if (text2 == key) {
|
|
47781
|
+
return tableView2.name;
|
|
47782
|
+
} else {
|
|
47783
|
+
return text2;
|
|
47784
|
+
}
|
|
47716
47785
|
}
|
|
47717
47786
|
} else {
|
|
47718
47787
|
return tableView2.description;
|
|
@@ -49267,19 +49336,19 @@ const _sfc_main$5 = {
|
|
|
49267
49336
|
oldPwd: {
|
|
49268
49337
|
type: "string",
|
|
49269
49338
|
required: true,
|
|
49270
|
-
message: this
|
|
49339
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
49271
49340
|
trigger: "blur,change"
|
|
49272
49341
|
},
|
|
49273
49342
|
newPwd: {
|
|
49274
49343
|
type: "string",
|
|
49275
49344
|
required: true,
|
|
49276
|
-
message: this
|
|
49345
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
49277
49346
|
trigger: "blur,change"
|
|
49278
49347
|
},
|
|
49279
49348
|
checkPwd: {
|
|
49280
49349
|
type: "string",
|
|
49281
49350
|
required: true,
|
|
49282
|
-
message: this
|
|
49351
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
49283
49352
|
trigger: "blur,change"
|
|
49284
49353
|
}
|
|
49285
49354
|
}
|