mooho-base-admin-plus 0.4.8 → 0.4.11
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 +45 -43
- package/dist/mooho-base-admin-plus.min.js +39 -39
- package/package.json +1 -1
- package/src/components/view/condition-edit.vue +1 -1
- package/src/components/view/table-setting.vue +3 -2
- package/src/components/view/view-form-draggable.vue +1 -1
- package/src/components/view/view-form.vue +6 -6
- 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
|
@@ -19551,7 +19551,11 @@ var mixinPage = {
|
|
|
19551
19551
|
return value ? '<i class="fa fa-check info"></i>' : "";
|
|
19552
19552
|
}
|
|
19553
19553
|
} else if (dataType === "String") {
|
|
19554
|
-
|
|
19554
|
+
if (this.layout.showI18n) {
|
|
19555
|
+
return this.tParam(value);
|
|
19556
|
+
} else {
|
|
19557
|
+
return value;
|
|
19558
|
+
}
|
|
19555
19559
|
} else {
|
|
19556
19560
|
return value;
|
|
19557
19561
|
}
|
|
@@ -19939,7 +19943,7 @@ const _hoisted_4$q = { class: "logo cf" };
|
|
|
19939
19943
|
const _hoisted_5$k = ["src"];
|
|
19940
19944
|
const _hoisted_6$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("small", null, null, -1));
|
|
19941
19945
|
const _hoisted_7$d = ["placeholder"];
|
|
19942
|
-
const _hoisted_8$
|
|
19946
|
+
const _hoisted_8$b = ["placeholder"];
|
|
19943
19947
|
const _hoisted_9$a = { class: "cpt" };
|
|
19944
19948
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19945
19949
|
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
@@ -19975,7 +19979,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19975
19979
|
onKeyup: _cache[3] || (_cache[3] = (...args) => $options.submit && $options.submit(...args)),
|
|
19976
19980
|
class: "password",
|
|
19977
19981
|
placeholder: _ctx.$t("Front_Msg_Please_Input_Password")
|
|
19978
|
-
}, null, 40, _hoisted_8$
|
|
19982
|
+
}, null, 40, _hoisted_8$b), [
|
|
19979
19983
|
[vModelText, $data.password]
|
|
19980
19984
|
]),
|
|
19981
19985
|
createElementVNode("button", {
|
|
@@ -20368,7 +20372,7 @@ const _hoisted_6$d = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
20368
20372
|
const _hoisted_7$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
|
|
20369
20373
|
/* @__PURE__ */ createElementVNode("span", null, "\u539F\u59CB\u8BB0\u5F55")
|
|
20370
20374
|
], -1));
|
|
20371
|
-
const _hoisted_8$
|
|
20375
|
+
const _hoisted_8$a = { class: "stat" };
|
|
20372
20376
|
const _hoisted_9$9 = { class: "icon" };
|
|
20373
20377
|
const _hoisted_10$7 = { class: "content" };
|
|
20374
20378
|
const _hoisted_11$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
|
|
@@ -20471,7 +20475,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20471
20475
|
_hoisted_7$c
|
|
20472
20476
|
]),
|
|
20473
20477
|
default: withCtx(() => [
|
|
20474
|
-
createElementVNode("div", _hoisted_8$
|
|
20478
|
+
createElementVNode("div", _hoisted_8$a, [
|
|
20475
20479
|
createElementVNode("div", _hoisted_9$9, [
|
|
20476
20480
|
createVNode$1(_component_Icon, {
|
|
20477
20481
|
type: "md-list-box",
|
|
@@ -21305,7 +21309,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21305
21309
|
prop: "message",
|
|
21306
21310
|
rules: {
|
|
21307
21311
|
required: true,
|
|
21308
|
-
message: this
|
|
21312
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
21309
21313
|
trigger: "blur,change"
|
|
21310
21314
|
}
|
|
21311
21315
|
}, {
|
|
@@ -24252,7 +24256,7 @@ const _hoisted_7$b = /* @__PURE__ */ createElementVNode("marker", {
|
|
|
24252
24256
|
style: { "fill": "#000" }
|
|
24253
24257
|
})
|
|
24254
24258
|
], -1);
|
|
24255
|
-
const _hoisted_8$
|
|
24259
|
+
const _hoisted_8$9 = ["id", "d"];
|
|
24256
24260
|
const _hoisted_9$8 = ["width"];
|
|
24257
24261
|
const _hoisted_10$6 = ["x", "y", "width", "height"];
|
|
24258
24262
|
const _hoisted_11$5 = ["x", "y", "font-size"];
|
|
@@ -24368,7 +24372,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24368
24372
|
key: index2,
|
|
24369
24373
|
id: "outcome_" + item.pid,
|
|
24370
24374
|
d: $options.getOutcomPath(item)
|
|
24371
|
-
}, null, 8, _hoisted_8$
|
|
24375
|
+
}, null, 8, _hoisted_8$9);
|
|
24372
24376
|
}), 128))
|
|
24373
24377
|
]),
|
|
24374
24378
|
createElementVNode("rect", {
|
|
@@ -25120,43 +25124,43 @@ const _sfc_main$X = {
|
|
|
25120
25124
|
propertyName: {
|
|
25121
25125
|
type: "string",
|
|
25122
25126
|
required: true,
|
|
25123
|
-
message: this
|
|
25127
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25124
25128
|
trigger: "blur"
|
|
25125
25129
|
},
|
|
25126
25130
|
propertyCode: {
|
|
25127
25131
|
type: "string",
|
|
25128
25132
|
required: true,
|
|
25129
|
-
message: this
|
|
25133
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25130
25134
|
trigger: "blur"
|
|
25131
25135
|
},
|
|
25132
25136
|
dataType: {
|
|
25133
25137
|
type: "string",
|
|
25134
25138
|
required: true,
|
|
25135
|
-
message: this
|
|
25139
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25136
25140
|
trigger: "blur"
|
|
25137
25141
|
},
|
|
25138
25142
|
controlType: {
|
|
25139
25143
|
type: "string",
|
|
25140
25144
|
required: true,
|
|
25141
|
-
message: this
|
|
25145
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25142
25146
|
trigger: "blur"
|
|
25143
25147
|
},
|
|
25144
25148
|
source: {
|
|
25145
25149
|
type: "string",
|
|
25146
25150
|
required: true,
|
|
25147
|
-
message: this
|
|
25151
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25148
25152
|
trigger: "blur"
|
|
25149
25153
|
},
|
|
25150
25154
|
sourceDataCode: {
|
|
25151
25155
|
type: "string",
|
|
25152
25156
|
required: true,
|
|
25153
|
-
message: this
|
|
25157
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25154
25158
|
trigger: "blur"
|
|
25155
25159
|
},
|
|
25156
25160
|
sourceDisplayCode: {
|
|
25157
25161
|
type: "string",
|
|
25158
25162
|
required: true,
|
|
25159
|
-
message: this
|
|
25163
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25160
25164
|
trigger: "blur"
|
|
25161
25165
|
}
|
|
25162
25166
|
};
|
|
@@ -25173,13 +25177,13 @@ const _sfc_main$X = {
|
|
|
25173
25177
|
code: {
|
|
25174
25178
|
type: "string",
|
|
25175
25179
|
required: true,
|
|
25176
|
-
message: this
|
|
25180
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25177
25181
|
trigger: "blur,change"
|
|
25178
25182
|
},
|
|
25179
25183
|
val: {
|
|
25180
25184
|
type: "string",
|
|
25181
25185
|
required: true,
|
|
25182
|
-
message: this
|
|
25186
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
25183
25187
|
trigger: "blur,change"
|
|
25184
25188
|
}
|
|
25185
25189
|
};
|
|
@@ -25342,7 +25346,7 @@ const _hoisted_4$j = /* @__PURE__ */ createTextVNode("\u5355\u884C\u6587\u672C\u
|
|
|
25342
25346
|
const _hoisted_5$f = /* @__PURE__ */ createTextVNode("\u6570\u5B57\u8F93\u5165\u6846");
|
|
25343
25347
|
const _hoisted_6$a = /* @__PURE__ */ createTextVNode("\u52FE\u9009");
|
|
25344
25348
|
const _hoisted_7$a = /* @__PURE__ */ createTextVNode("\u9009\u62E9\u6846");
|
|
25345
|
-
const _hoisted_8$
|
|
25349
|
+
const _hoisted_8$8 = /* @__PURE__ */ createTextVNode("\u591A\u9009\u9009\u62E9\u6846");
|
|
25346
25350
|
const _hoisted_9$7 = /* @__PURE__ */ createTextVNode("\u5F39\u51FA\u9009\u62E9\u6846");
|
|
25347
25351
|
const _hoisted_10$5 = /* @__PURE__ */ createTextVNode("\u591A\u9009\u5F39\u51FA\u9009\u62E9\u6846");
|
|
25348
25352
|
const _hoisted_11$4 = { class: "title" };
|
|
@@ -25547,7 +25551,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25547
25551
|
value: "MultiSelect"
|
|
25548
25552
|
}, {
|
|
25549
25553
|
default: withCtx(() => [
|
|
25550
|
-
_hoisted_8$
|
|
25554
|
+
_hoisted_8$8
|
|
25551
25555
|
]),
|
|
25552
25556
|
_: 1
|
|
25553
25557
|
}),
|
|
@@ -28507,7 +28511,7 @@ const _sfc_main$O = {
|
|
|
28507
28511
|
expression: {
|
|
28508
28512
|
type: "string",
|
|
28509
28513
|
required: true,
|
|
28510
|
-
message: this
|
|
28514
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
28511
28515
|
trigger: "blur,change"
|
|
28512
28516
|
}
|
|
28513
28517
|
}
|
|
@@ -28942,7 +28946,7 @@ const _hoisted_4$f = { key: 2 };
|
|
|
28942
28946
|
const _hoisted_5$d = { key: 3 };
|
|
28943
28947
|
const _hoisted_6$8 = { key: 4 };
|
|
28944
28948
|
const _hoisted_7$8 = { key: 5 };
|
|
28945
|
-
const _hoisted_8$
|
|
28949
|
+
const _hoisted_8$7 = { key: 6 };
|
|
28946
28950
|
const _hoisted_9$6 = { key: 7 };
|
|
28947
28951
|
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28948
28952
|
const _component_PageHeader = resolveComponent("PageHeader");
|
|
@@ -29155,7 +29159,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29155
29159
|
_: 2
|
|
29156
29160
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onClick"])
|
|
29157
29161
|
])) : createCommentVNode("", true),
|
|
29158
|
-
code == "editEnable" ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
29162
|
+
code == "editEnable" ? (openBlock(), createElementBlock("div", _hoisted_8$7, [
|
|
29159
29163
|
$options.showCheck(data2.editEnableJson) ? (openBlock(), createBlock(_component_Switch, {
|
|
29160
29164
|
key: 0,
|
|
29161
29165
|
"model-value": !!data2.editEnable,
|
|
@@ -29877,10 +29881,9 @@ const _hoisted_1$v = { class: "i-layout-page-header" };
|
|
|
29877
29881
|
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("span", null, null, -1);
|
|
29878
29882
|
const _hoisted_3$l = /* @__PURE__ */ createElementVNode("span", null, null, -1);
|
|
29879
29883
|
const _hoisted_4$e = /* @__PURE__ */ createTextVNode(" \u53D1\u8868\u610F\u89C1 ");
|
|
29880
|
-
const _hoisted_5$c =
|
|
29881
|
-
const _hoisted_6$7 = { class: "
|
|
29882
|
-
const _hoisted_7$7 = { class: "
|
|
29883
|
-
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" };
|
|
29884
29887
|
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29885
29888
|
const _component_PageHeader = resolveComponent("PageHeader");
|
|
29886
29889
|
const _component_Button = resolveComponent("Button");
|
|
@@ -30013,7 +30016,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30013
30016
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$refs.approvalHistoryTable.open({ processInstID: _ctx.$refs.showForm.data.application.processInstID }))
|
|
30014
30017
|
}, {
|
|
30015
30018
|
default: withCtx(() => [
|
|
30016
|
-
|
|
30019
|
+
createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_History")), 1)
|
|
30017
30020
|
]),
|
|
30018
30021
|
_: 1
|
|
30019
30022
|
})
|
|
@@ -30031,8 +30034,8 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30031
30034
|
}, {
|
|
30032
30035
|
header: withCtx(() => [
|
|
30033
30036
|
createElementVNode("div", null, [
|
|
30034
|
-
createElementVNode("span",
|
|
30035
|
-
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)
|
|
30036
30039
|
])
|
|
30037
30040
|
]),
|
|
30038
30041
|
footer: withCtx(() => [
|
|
@@ -30058,7 +30061,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30058
30061
|
})
|
|
30059
30062
|
]),
|
|
30060
30063
|
default: withCtx(() => [
|
|
30061
|
-
createElementVNode("div",
|
|
30064
|
+
createElementVNode("div", _hoisted_7$7, [
|
|
30062
30065
|
createVNode$1(_component_Form, {
|
|
30063
30066
|
ref: "messageForm",
|
|
30064
30067
|
model: $data.messageData,
|
|
@@ -30082,7 +30085,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30082
30085
|
prop: "message",
|
|
30083
30086
|
rules: {
|
|
30084
30087
|
required: true,
|
|
30085
|
-
message: this
|
|
30088
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
30086
30089
|
trigger: "blur,change"
|
|
30087
30090
|
}
|
|
30088
30091
|
}, {
|
|
@@ -32642,14 +32645,14 @@ const _sfc_main$w = {
|
|
|
32642
32645
|
rules.push({
|
|
32643
32646
|
pattern: /.+/,
|
|
32644
32647
|
required: true,
|
|
32645
|
-
message: this
|
|
32648
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
32646
32649
|
trigger: this.getTrigger(column)
|
|
32647
32650
|
});
|
|
32648
32651
|
} else {
|
|
32649
32652
|
rules.push({
|
|
32650
32653
|
type: this.getDataType(column),
|
|
32651
32654
|
required: true,
|
|
32652
|
-
message: this
|
|
32655
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
32653
32656
|
trigger: this.getTrigger(column)
|
|
32654
32657
|
});
|
|
32655
32658
|
}
|
|
@@ -32658,7 +32661,7 @@ const _sfc_main$w = {
|
|
|
32658
32661
|
rules.push({
|
|
32659
32662
|
type: this.getDataType(column),
|
|
32660
32663
|
pattern: column.pattern,
|
|
32661
|
-
message: this.$t("Front_Msg_Validation_Pattern
|
|
32664
|
+
message: this.$t("Front_Msg_Validation_Pattern"),
|
|
32662
32665
|
trigger: this.getTrigger(column)
|
|
32663
32666
|
});
|
|
32664
32667
|
}
|
|
@@ -32666,7 +32669,7 @@ const _sfc_main$w = {
|
|
|
32666
32669
|
rules.push({
|
|
32667
32670
|
type: this.getDataType(column),
|
|
32668
32671
|
max: column.maxValue,
|
|
32669
|
-
message: this.$t("Front_Msg_Validation_Max_Value|" +
|
|
32672
|
+
message: this.$t("Front_Msg_Validation_Max_Value|" + column.maxValue),
|
|
32670
32673
|
trigger: this.getTrigger(column)
|
|
32671
32674
|
});
|
|
32672
32675
|
}
|
|
@@ -32674,7 +32677,7 @@ const _sfc_main$w = {
|
|
|
32674
32677
|
rules.push({
|
|
32675
32678
|
type: this.getDataType(column),
|
|
32676
32679
|
min: column.minValue,
|
|
32677
|
-
message: this.$t("Front_Msg_Validation_Min_Value|" +
|
|
32680
|
+
message: this.$t("Front_Msg_Validation_Min_Value|" + column.minValue),
|
|
32678
32681
|
trigger: this.getTrigger(column)
|
|
32679
32682
|
});
|
|
32680
32683
|
}
|
|
@@ -32682,7 +32685,7 @@ const _sfc_main$w = {
|
|
|
32682
32685
|
rules.push({
|
|
32683
32686
|
type: this.getDataType(column),
|
|
32684
32687
|
length: column.maxLength,
|
|
32685
|
-
message: this.$t("Front_Msg_Validation_Max_Length|" +
|
|
32688
|
+
message: this.$t("Front_Msg_Validation_Max_Length|" + column.maxLength),
|
|
32686
32689
|
trigger: this.getTrigger(column)
|
|
32687
32690
|
});
|
|
32688
32691
|
}
|
|
@@ -36431,8 +36434,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36431
36434
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.sort = $event),
|
|
36432
36435
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$refs.modal_sort.open())
|
|
36433
36436
|
}, {
|
|
36434
|
-
prepend: withCtx(() => [
|
|
36435
|
-
default: withCtx(() => [
|
|
36437
|
+
prepend: withCtx(() => [
|
|
36436
36438
|
createVNode$1(_component_Button, {
|
|
36437
36439
|
"custom-icon": "fa fa-edit",
|
|
36438
36440
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$refs.modal_sort.open())
|
|
@@ -46129,7 +46131,7 @@ const _sfc_main$o = {
|
|
|
46129
46131
|
return result2;
|
|
46130
46132
|
},
|
|
46131
46133
|
getDataSource(data2, column) {
|
|
46132
|
-
if (column.
|
|
46134
|
+
if (!column.isStaticItem && column.dataType.indexOf("Enum:") === 0) {
|
|
46133
46135
|
return this.getEnumList(column.dataType.split(":")[1]);
|
|
46134
46136
|
} else {
|
|
46135
46137
|
return column.dataSource == null ? [] : column.dataSource;
|
|
@@ -49333,19 +49335,19 @@ const _sfc_main$5 = {
|
|
|
49333
49335
|
oldPwd: {
|
|
49334
49336
|
type: "string",
|
|
49335
49337
|
required: true,
|
|
49336
|
-
message: this
|
|
49338
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
49337
49339
|
trigger: "blur,change"
|
|
49338
49340
|
},
|
|
49339
49341
|
newPwd: {
|
|
49340
49342
|
type: "string",
|
|
49341
49343
|
required: true,
|
|
49342
|
-
message: this
|
|
49344
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
49343
49345
|
trigger: "blur,change"
|
|
49344
49346
|
},
|
|
49345
49347
|
checkPwd: {
|
|
49346
49348
|
type: "string",
|
|
49347
49349
|
required: true,
|
|
49348
|
-
message: this
|
|
49350
|
+
message: this.$t("Front_Msg_Please_Input"),
|
|
49349
49351
|
trigger: "blur,change"
|
|
49350
49352
|
}
|
|
49351
49353
|
}
|