mooho-base-admin-plus 2.0.6 → 2.0.8
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/package/mooho-base-admin-plus.min.esm.js +73 -77
- package/package/mooho-base-admin-plus.min.js +53 -53
- package/package/style.css +1 -1
- package/package.json +1 -1
- package/src/components/view/column-edit.vue +4 -4
- package/src/components/view/filter-edit.vue +4 -4
- package/src/components/view/modal-form-filter.vue +1 -1
- package/src/components/view/modal-form-sort.vue +1 -1
- package/src/components/view/table-filter.vue +11 -9
- package/src/components/view/view-form-draggable.vue +10 -10
- package/src/components/view/view-form.vue +11 -13
- package/src/components/view/view-table.vue +21 -11
- package/src/components/workflow/flow-chart.vue +1 -1
- package/src/mixins/page.js +1 -1
- package/src/pages/system/role.vue +2 -2
- package/src/pages/system/rolePropertyEdit.vue +2 -2
- package/src/pages/system/user.vue +1 -1
- package/src/styles/css/default.css +25 -0
|
@@ -21903,7 +21903,7 @@ var mixinPage = {
|
|
|
21903
21903
|
}
|
|
21904
21904
|
if (dataType.indexOf("Enum:") === 0) {
|
|
21905
21905
|
return this.getEnum(dataType.replace("Enum:", ""), this.parseData(model2, expression2));
|
|
21906
|
-
} else if (dataType === "BigInteger") {
|
|
21906
|
+
} else if (dataType === "BigInteger" && format2 == "User") {
|
|
21907
21907
|
return this.getUserName(this.parseData(model2, expression2));
|
|
21908
21908
|
}
|
|
21909
21909
|
let value = this.parseData(model2, expression2);
|
|
@@ -27440,7 +27440,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27440
27440
|
"onUpdate:modelValue": ($event) => data2[code2] = $event,
|
|
27441
27441
|
clearable: "",
|
|
27442
27442
|
placeholder: "\u9000\u56DE\u53D1\u8D77\u4EBA",
|
|
27443
|
-
transfer:
|
|
27443
|
+
transfer: false
|
|
27444
27444
|
}, {
|
|
27445
27445
|
default: withCtx(() => [
|
|
27446
27446
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.activities.filter((item) => {
|
|
@@ -28195,7 +28195,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28195
28195
|
createVNode$1(_component_Select, {
|
|
28196
28196
|
modelValue: $data.data.dataType,
|
|
28197
28197
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.data.dataType = $event),
|
|
28198
|
-
transfer:
|
|
28198
|
+
transfer: false
|
|
28199
28199
|
}, {
|
|
28200
28200
|
default: withCtx(() => [
|
|
28201
28201
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("DataType"), (item) => {
|
|
@@ -28228,7 +28228,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28228
28228
|
createVNode$1(_component_Select, {
|
|
28229
28229
|
modelValue: $data.data.controlType,
|
|
28230
28230
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.data.controlType = $event),
|
|
28231
|
-
transfer:
|
|
28231
|
+
transfer: false
|
|
28232
28232
|
}, {
|
|
28233
28233
|
default: withCtx(() => [
|
|
28234
28234
|
createVNode$1(_component_Option, {
|
|
@@ -29013,7 +29013,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29013
29013
|
modelValue: row.propertyValue,
|
|
29014
29014
|
"onUpdate:modelValue": ($event) => row.propertyValue = $event,
|
|
29015
29015
|
clearable: "",
|
|
29016
|
-
transfer:
|
|
29016
|
+
transfer: false
|
|
29017
29017
|
}, {
|
|
29018
29018
|
default: withCtx(() => [
|
|
29019
29019
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row._dataSource, (item) => {
|
|
@@ -29038,7 +29038,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29038
29038
|
},
|
|
29039
29039
|
multiple: true,
|
|
29040
29040
|
clearable: "",
|
|
29041
|
-
transfer:
|
|
29041
|
+
transfer: false
|
|
29042
29042
|
}, {
|
|
29043
29043
|
default: withCtx(() => [
|
|
29044
29044
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row._dataSource, (item) => {
|
|
@@ -30157,7 +30157,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30157
30157
|
createVNode$1(_component_Select, {
|
|
30158
30158
|
modelValue: $data.data.dataType,
|
|
30159
30159
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.data.dataType = $event),
|
|
30160
|
-
transfer:
|
|
30160
|
+
transfer: false
|
|
30161
30161
|
}, {
|
|
30162
30162
|
default: withCtx(() => [
|
|
30163
30163
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("DataType"), (item) => {
|
|
@@ -30206,7 +30206,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30206
30206
|
createVNode$1(_component_Select, {
|
|
30207
30207
|
modelValue: $data.data.operator,
|
|
30208
30208
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.data.operator = $event),
|
|
30209
|
-
transfer:
|
|
30209
|
+
transfer: false
|
|
30210
30210
|
}, {
|
|
30211
30211
|
default: withCtx(() => [
|
|
30212
30212
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("Operator"), (item) => {
|
|
@@ -30240,7 +30240,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30240
30240
|
createVNode$1(_component_Select, {
|
|
30241
30241
|
modelValue: $data.data.controlType,
|
|
30242
30242
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.data.controlType = $event),
|
|
30243
|
-
transfer:
|
|
30243
|
+
transfer: false,
|
|
30244
30244
|
onOnChange: $options.controlTypeChange
|
|
30245
30245
|
}, {
|
|
30246
30246
|
default: withCtx(() => [
|
|
@@ -30528,7 +30528,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30528
30528
|
createVNode$1(_component_Select, {
|
|
30529
30529
|
modelValue: $data.data.columnWidth,
|
|
30530
30530
|
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $data.data.columnWidth = $event),
|
|
30531
|
-
transfer:
|
|
30531
|
+
transfer: false
|
|
30532
30532
|
}, {
|
|
30533
30533
|
default: withCtx(() => [
|
|
30534
30534
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("ColumnWidth"), (item) => {
|
|
@@ -32518,7 +32518,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32518
32518
|
modelValue: row.propertyValue,
|
|
32519
32519
|
"onUpdate:modelValue": ($event) => row.propertyValue = $event,
|
|
32520
32520
|
clearable: "",
|
|
32521
|
-
transfer:
|
|
32521
|
+
transfer: false
|
|
32522
32522
|
}, {
|
|
32523
32523
|
default: withCtx(() => [
|
|
32524
32524
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row._dataSource, (item) => {
|
|
@@ -36126,7 +36126,6 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36126
36126
|
const _component_upload_image = resolveComponent("upload-image");
|
|
36127
36127
|
const _component_Slider = resolveComponent("Slider");
|
|
36128
36128
|
const _component_Button = resolveComponent("Button");
|
|
36129
|
-
const _component_Tooltip = resolveComponent("Tooltip");
|
|
36130
36129
|
const _component_FormItem = resolveComponent("FormItem");
|
|
36131
36130
|
const _component_Col = resolveComponent("Col");
|
|
36132
36131
|
const _component_Row = resolveComponent("Row");
|
|
@@ -36307,7 +36306,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36307
36306
|
"min-width": column.controlWidth == null ? null : column.controlWidth + "px"
|
|
36308
36307
|
}),
|
|
36309
36308
|
placeholder: column.description,
|
|
36310
|
-
transfer:
|
|
36309
|
+
transfer: false,
|
|
36311
36310
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36312
36311
|
}, {
|
|
36313
36312
|
default: withCtx(() => [
|
|
@@ -36333,7 +36332,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36333
36332
|
clearable: true,
|
|
36334
36333
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36335
36334
|
placeholder: column.description,
|
|
36336
|
-
transfer:
|
|
36335
|
+
transfer: false,
|
|
36337
36336
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36338
36337
|
}, {
|
|
36339
36338
|
default: withCtx(() => [
|
|
@@ -36359,7 +36358,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36359
36358
|
clearable: true,
|
|
36360
36359
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36361
36360
|
placeholder: column.description,
|
|
36362
|
-
transfer:
|
|
36361
|
+
transfer: false,
|
|
36363
36362
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36364
36363
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
36365
36364
|
key: 8,
|
|
@@ -36372,7 +36371,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36372
36371
|
clearable: true,
|
|
36373
36372
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36374
36373
|
placeholder: column.description,
|
|
36375
|
-
transfer:
|
|
36374
|
+
transfer: false,
|
|
36376
36375
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36377
36376
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "ComboSelect" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
|
|
36378
36377
|
createCommentVNode(` <template v-else-if="column.controlType === 'AutoComplete'">\r
|
|
@@ -36384,7 +36383,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36384
36383
|
@on-clear="() => loadOption(data, column)"\r
|
|
36385
36384
|
:style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"\r
|
|
36386
36385
|
:placeholder="column.description"\r
|
|
36387
|
-
:transfer="
|
|
36386
|
+
:transfer="false"\r
|
|
36388
36387
|
@on-change="(selected) => onDataChange(column, selected)">\r
|
|
36389
36388
|
<Option v-for="item in getDataSource(data, column)"\r
|
|
36390
36389
|
:key="item.id"\r
|
|
@@ -36399,7 +36398,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36399
36398
|
filterable: "",
|
|
36400
36399
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36401
36400
|
placeholder: column.description,
|
|
36402
|
-
transfer:
|
|
36401
|
+
transfer: false,
|
|
36403
36402
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36404
36403
|
}, {
|
|
36405
36404
|
default: withCtx(() => [
|
|
@@ -36448,7 +36447,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36448
36447
|
clearable: true,
|
|
36449
36448
|
style: normalizeStyle$1({ width: column.controlWidth == null ? "40%" : column.controlWidth + "px" }),
|
|
36450
36449
|
placeholder: column.description,
|
|
36451
|
-
transfer:
|
|
36450
|
+
transfer: false,
|
|
36452
36451
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36453
36452
|
}, {
|
|
36454
36453
|
default: withCtx(() => [
|
|
@@ -36494,7 +36493,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36494
36493
|
"model-value": _ctx.parseDateTimeData($data.data, column.code),
|
|
36495
36494
|
readonly: $props.readonly || column.isReadonly,
|
|
36496
36495
|
placeholder: column.description,
|
|
36497
|
-
transfer:
|
|
36496
|
+
transfer: false,
|
|
36498
36497
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36499
36498
|
onOnChange: (time2) => {
|
|
36500
36499
|
_ctx.setData($data.data, column.code, time2);
|
|
@@ -36507,7 +36506,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36507
36506
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
36508
36507
|
readonly: $props.readonly || column.isReadonly,
|
|
36509
36508
|
placeholder: column.description,
|
|
36510
|
-
transfer:
|
|
36509
|
+
transfer: false,
|
|
36511
36510
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36512
36511
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
36513
36512
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
@@ -36516,7 +36515,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36516
36515
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
36517
36516
|
readonly: $props.readonly || column.isReadonly,
|
|
36518
36517
|
placeholder: column.description,
|
|
36519
|
-
transfer:
|
|
36518
|
+
transfer: false,
|
|
36520
36519
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36521
36520
|
onOnChange: (time2) => {
|
|
36522
36521
|
_ctx.setData($data.data, column.code, time2);
|
|
@@ -36634,23 +36633,15 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36634
36633
|
placeholder: column.description
|
|
36635
36634
|
}, null, 8, ["model-value", "style", "placeholder"])) : createCommentVNode("v-if", true)
|
|
36636
36635
|
], 64)) : createCommentVNode("v-if", true),
|
|
36637
|
-
!!(column.tooltip || "").trim() ? (openBlock(), createBlock(
|
|
36636
|
+
!!(column.tooltip || "").trim() ? (openBlock(), createBlock(_component_Button, {
|
|
36638
36637
|
key: 25,
|
|
36639
|
-
|
|
36640
|
-
"
|
|
36641
|
-
|
|
36642
|
-
|
|
36643
|
-
|
|
36644
|
-
|
|
36645
|
-
|
|
36646
|
-
style: { "margin-left": "4px" },
|
|
36647
|
-
size: "small",
|
|
36648
|
-
shape: "circle",
|
|
36649
|
-
icon: "md-help"
|
|
36650
|
-
})
|
|
36651
|
-
]),
|
|
36652
|
-
_: 2
|
|
36653
|
-
}, 1032, ["content"])) : createCommentVNode("v-if", true)
|
|
36638
|
+
type: "primary",
|
|
36639
|
+
style: { "margin-left": "4px" },
|
|
36640
|
+
size: "small",
|
|
36641
|
+
title: column.tooltip,
|
|
36642
|
+
shape: "circle",
|
|
36643
|
+
icon: "md-help"
|
|
36644
|
+
}, null, 8, ["title"])) : createCommentVNode("v-if", true)
|
|
36654
36645
|
]),
|
|
36655
36646
|
_: 2
|
|
36656
36647
|
}, 1032, ["label", "prop", "rules"])) : createCommentVNode("v-if", true)
|
|
@@ -37166,7 +37157,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37166
37157
|
createVNode$1(_component_Select, {
|
|
37167
37158
|
modelValue: $data.data.dataType,
|
|
37168
37159
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.data.dataType = $event),
|
|
37169
|
-
transfer:
|
|
37160
|
+
transfer: false
|
|
37170
37161
|
}, {
|
|
37171
37162
|
default: withCtx(() => [
|
|
37172
37163
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("DataType"), (item) => {
|
|
@@ -37215,7 +37206,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37215
37206
|
createVNode$1(_component_Select, {
|
|
37216
37207
|
modelValue: $data.data.controlType,
|
|
37217
37208
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.data.controlType = $event),
|
|
37218
|
-
transfer:
|
|
37209
|
+
transfer: false,
|
|
37219
37210
|
onOnChange: $options.controlTypeChange
|
|
37220
37211
|
}, {
|
|
37221
37212
|
default: withCtx(() => [
|
|
@@ -37626,7 +37617,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37626
37617
|
modelValue: $data.data.columnWidth,
|
|
37627
37618
|
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => $data.data.columnWidth = $event),
|
|
37628
37619
|
clearable: "",
|
|
37629
|
-
transfer:
|
|
37620
|
+
transfer: false
|
|
37630
37621
|
}, {
|
|
37631
37622
|
default: withCtx(() => [
|
|
37632
37623
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("ColumnWidth"), (item) => {
|
|
@@ -37703,7 +37694,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37703
37694
|
modelValue: $data.data.displayFormat,
|
|
37704
37695
|
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => $data.data.displayFormat = $event),
|
|
37705
37696
|
clearable: "",
|
|
37706
|
-
transfer:
|
|
37697
|
+
transfer: false
|
|
37707
37698
|
}, {
|
|
37708
37699
|
default: withCtx(() => [
|
|
37709
37700
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.getDisplayFormats(), (item) => {
|
|
@@ -38733,7 +38724,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38733
38724
|
createVNode$1(_component_Select, {
|
|
38734
38725
|
modelValue: $data.data.rule,
|
|
38735
38726
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.data.rule = $event),
|
|
38736
|
-
transfer:
|
|
38727
|
+
transfer: false
|
|
38737
38728
|
}, {
|
|
38738
38729
|
default: withCtx(() => [
|
|
38739
38730
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.sortingList, (item) => {
|
|
@@ -39172,7 +39163,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39172
39163
|
createVNode$1(_component_Select, {
|
|
39173
39164
|
modelValue: $data.data.operator,
|
|
39174
39165
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.data.operator = $event),
|
|
39175
|
-
transfer:
|
|
39166
|
+
transfer: false
|
|
39176
39167
|
}, {
|
|
39177
39168
|
default: withCtx(() => [
|
|
39178
39169
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("Operator"), (item) => {
|
|
@@ -40271,7 +40262,10 @@ const _sfc_main$r = {
|
|
|
40271
40262
|
}
|
|
40272
40263
|
};
|
|
40273
40264
|
const _hoisted_1$h = { style: { "display": "contents" } };
|
|
40274
|
-
const _hoisted_2$f =
|
|
40265
|
+
const _hoisted_2$f = {
|
|
40266
|
+
key: 1,
|
|
40267
|
+
class: "label"
|
|
40268
|
+
};
|
|
40275
40269
|
const _hoisted_3$d = {
|
|
40276
40270
|
key: 14,
|
|
40277
40271
|
style: { "line-height": "24px" }
|
|
@@ -40311,10 +40305,9 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40311
40305
|
column,
|
|
40312
40306
|
code: column.code
|
|
40313
40307
|
})
|
|
40314
|
-
], 64)) : column.controlType === "Label" ? (openBlock(), createElementBlock("div",
|
|
40315
|
-
|
|
40316
|
-
|
|
40317
|
-
}, null, 8, _hoisted_2$f)) : column.controlType === "TextInput" ? (openBlock(), createBlock(_component_Input, {
|
|
40308
|
+
], 64)) : column.controlType === "Label" ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
40309
|
+
createElementVNode("div", null, toDisplayString$1(_ctx.showData($props.data, column)), 1)
|
|
40310
|
+
])) : column.controlType === "TextInput" ? (openBlock(), createBlock(_component_Input, {
|
|
40318
40311
|
key: 2,
|
|
40319
40312
|
size: "small",
|
|
40320
40313
|
type: "text",
|
|
@@ -40341,7 +40334,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40341
40334
|
clearable: "",
|
|
40342
40335
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40343
40336
|
placeholder: column.description,
|
|
40344
|
-
transfer:
|
|
40337
|
+
transfer: false,
|
|
40345
40338
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40346
40339
|
}, {
|
|
40347
40340
|
default: withCtx(() => [
|
|
@@ -40367,7 +40360,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40367
40360
|
"onUpdate:modelValue": ($event) => $options.setArrayFilterData($props.data, column, $event),
|
|
40368
40361
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40369
40362
|
placeholder: column.description,
|
|
40370
|
-
transfer:
|
|
40363
|
+
transfer: false,
|
|
40371
40364
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40372
40365
|
}, {
|
|
40373
40366
|
default: withCtx(() => [
|
|
@@ -40393,7 +40386,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40393
40386
|
clearable: true,
|
|
40394
40387
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40395
40388
|
placeholder: column.description,
|
|
40396
|
-
transfer:
|
|
40389
|
+
transfer: false,
|
|
40397
40390
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40398
40391
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
40399
40392
|
key: 7,
|
|
@@ -40406,7 +40399,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40406
40399
|
clearable: true,
|
|
40407
40400
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40408
40401
|
placeholder: column.description,
|
|
40409
|
-
transfer:
|
|
40402
|
+
transfer: false,
|
|
40410
40403
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40411
40404
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "style", "placeholder", "onOnChange"])) : column.controlType === "SelectWithOther" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
40412
40405
|
createVNode$1(_component_Select, {
|
|
@@ -40416,7 +40409,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40416
40409
|
clearable: "",
|
|
40417
40410
|
style: normalizeStyle$1({ width: column.controlWidth == null ? "40%" : column.controlWidth + "px" }),
|
|
40418
40411
|
placeholder: column.description,
|
|
40419
|
-
transfer:
|
|
40412
|
+
transfer: false,
|
|
40420
40413
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40421
40414
|
}, {
|
|
40422
40415
|
default: withCtx(() => [
|
|
@@ -40464,7 +40457,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40464
40457
|
filterable: "",
|
|
40465
40458
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40466
40459
|
placeholder: column.description,
|
|
40467
|
-
transfer:
|
|
40460
|
+
transfer: false,
|
|
40468
40461
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40469
40462
|
}, {
|
|
40470
40463
|
default: withCtx(() => [
|
|
@@ -40498,7 +40491,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40498
40491
|
type: column.controlType.toLowerCase(),
|
|
40499
40492
|
"model-value": $options.parseFilterData($props.data, column),
|
|
40500
40493
|
placeholder: column.description,
|
|
40501
|
-
transfer:
|
|
40494
|
+
transfer: false,
|
|
40502
40495
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40503
40496
|
onOnChange: (time2) => {
|
|
40504
40497
|
$options.setFilterData($props.data, column, time2);
|
|
@@ -40511,7 +40504,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40511
40504
|
"model-value": $options.parseFilterData($props.data, column),
|
|
40512
40505
|
"onUpdate:modelValue": ($event) => $options.setFilterData($props.data, column, $event),
|
|
40513
40506
|
placeholder: column.description,
|
|
40514
|
-
transfer:
|
|
40507
|
+
transfer: false,
|
|
40515
40508
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40516
40509
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
40517
40510
|
}, null, 8, ["model-value", "onUpdate:modelValue", "placeholder", "style", "onOnChange"])) : column.controlType === "Check" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
@@ -40778,10 +40771,14 @@ const _sfc_main$q = {
|
|
|
40778
40771
|
computed: {
|
|
40779
40772
|
maxHeight() {
|
|
40780
40773
|
if (this.height == null) {
|
|
40774
|
+
let zoom = 1;
|
|
40775
|
+
if (Setting.layout.autoFixRatio == true && window.screen.width < 1920 && window.screen.width * window.devicePixelRatio <= 1920 && !navigator.userAgent.match(/AppleWebKit.*Mobile.*/) && !navigator.userAgent.match(/.*Android.*/)) {
|
|
40776
|
+
zoom = 1 / window.devicePixelRatio;
|
|
40777
|
+
}
|
|
40781
40778
|
if (this.isFullScreen) {
|
|
40782
|
-
return document.body.offsetHeight - 100 - this.$refs.filterCommand.offsetHeight;
|
|
40779
|
+
return document.body.offsetHeight / zoom - 100 - this.$refs.filterCommand.offsetHeight / zoom;
|
|
40783
40780
|
} else {
|
|
40784
|
-
return document.body.offsetHeight - 350;
|
|
40781
|
+
return document.body.offsetHeight / zoom - 350;
|
|
40785
40782
|
}
|
|
40786
40783
|
} else {
|
|
40787
40784
|
return this.height;
|
|
@@ -41560,7 +41557,6 @@ const _sfc_main$q = {
|
|
|
41560
41557
|
let data2 = this.staticData;
|
|
41561
41558
|
if (!this.filterDisable) {
|
|
41562
41559
|
let filter2 = this.filter;
|
|
41563
|
-
console.log("filter", filter2);
|
|
41564
41560
|
for (let key in filter2) {
|
|
41565
41561
|
let column = key;
|
|
41566
41562
|
let value = filter2[key];
|
|
@@ -42235,7 +42231,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42235
42231
|
clearable: "",
|
|
42236
42232
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42237
42233
|
placeholder: column.description,
|
|
42238
|
-
transfer:
|
|
42234
|
+
transfer: false,
|
|
42239
42235
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42240
42236
|
}, {
|
|
42241
42237
|
default: withCtx(() => [
|
|
@@ -42262,7 +42258,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42262
42258
|
clearable: "",
|
|
42263
42259
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42264
42260
|
placeholder: column.description,
|
|
42265
|
-
transfer:
|
|
42261
|
+
transfer: false,
|
|
42266
42262
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42267
42263
|
}, {
|
|
42268
42264
|
default: withCtx(() => [
|
|
@@ -42289,7 +42285,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42289
42285
|
filterable: "",
|
|
42290
42286
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42291
42287
|
placeholder: column.description,
|
|
42292
|
-
transfer:
|
|
42288
|
+
transfer: false,
|
|
42293
42289
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42294
42290
|
}, {
|
|
42295
42291
|
default: withCtx(() => [
|
|
@@ -42342,7 +42338,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42342
42338
|
width: $options.parseDataWithOther($options.rowData(row, index2), column) == "__Other" ? column.controlWidth == null ? null : column.controlWidth * 0.4 - 4 + "px" : column.controlWidth == null ? null : column.controlWidth - 8 + "px"
|
|
42343
42339
|
}),
|
|
42344
42340
|
placeholder: column.description,
|
|
42345
|
-
transfer:
|
|
42341
|
+
transfer: false,
|
|
42346
42342
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42347
42343
|
}, {
|
|
42348
42344
|
default: withCtx(() => [
|
|
@@ -42393,7 +42389,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42393
42389
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
42394
42390
|
placeholder: column.description,
|
|
42395
42391
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42396
|
-
transfer:
|
|
42392
|
+
transfer: false,
|
|
42397
42393
|
onOnChange: (time2) => {
|
|
42398
42394
|
_ctx.setData($options.rowData(row, index2), column.code, time2);
|
|
42399
42395
|
$options.onDataChange($options.rowData(row, index2), column);
|
|
@@ -42407,7 +42403,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42407
42403
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
42408
42404
|
placeholder: column.description,
|
|
42409
42405
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42410
|
-
transfer:
|
|
42406
|
+
transfer: false,
|
|
42411
42407
|
onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
|
|
42412
42408
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
42413
42409
|
key: 14,
|
|
@@ -42417,7 +42413,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42417
42413
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
42418
42414
|
placeholder: column.description,
|
|
42419
42415
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42420
|
-
transfer:
|
|
42416
|
+
transfer: false,
|
|
42421
42417
|
onOnChange: (time2) => {
|
|
42422
42418
|
_ctx.setData($options.rowData(row, index2), column.code, time2);
|
|
42423
42419
|
$options.onDataChange($options.rowData(row, index2), column);
|
|
@@ -50035,7 +50031,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50035
50031
|
clearable: "",
|
|
50036
50032
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50037
50033
|
placeholder: column.description,
|
|
50038
|
-
transfer:
|
|
50034
|
+
transfer: false,
|
|
50039
50035
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50040
50036
|
}, {
|
|
50041
50037
|
default: withCtx(() => [
|
|
@@ -50061,7 +50057,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50061
50057
|
clearable: "",
|
|
50062
50058
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50063
50059
|
placeholder: column.description,
|
|
50064
|
-
transfer:
|
|
50060
|
+
transfer: false,
|
|
50065
50061
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50066
50062
|
}, {
|
|
50067
50063
|
default: withCtx(() => [
|
|
@@ -50087,7 +50083,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50087
50083
|
clearable: true,
|
|
50088
50084
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50089
50085
|
placeholder: column.description,
|
|
50090
|
-
transfer:
|
|
50086
|
+
transfer: false
|
|
50091
50087
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
50092
50088
|
key: 8,
|
|
50093
50089
|
"model-value": _ctx.parseArrayData($data.data, column.code),
|
|
@@ -50099,7 +50095,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50099
50095
|
clearable: true,
|
|
50100
50096
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50101
50097
|
placeholder: column.description,
|
|
50102
|
-
transfer:
|
|
50098
|
+
transfer: false
|
|
50103
50099
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder"])) : column.controlType === "SelectWithOther" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
|
|
50104
50100
|
createVNode$1(_component_Select, {
|
|
50105
50101
|
"model-value": $options.parseDataWithOther($data.data, column),
|
|
@@ -50108,7 +50104,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50108
50104
|
clearable: "",
|
|
50109
50105
|
style: normalizeStyle$1({ width: column.controlWidth == null ? "40%" : column.controlWidth + "px" }),
|
|
50110
50106
|
placeholder: column.description,
|
|
50111
|
-
transfer:
|
|
50107
|
+
transfer: false,
|
|
50112
50108
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50113
50109
|
}, {
|
|
50114
50110
|
default: withCtx(() => [
|
|
@@ -50157,7 +50153,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50157
50153
|
@on-clear="() => loadOption(data, column)"\r
|
|
50158
50154
|
:style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"\r
|
|
50159
50155
|
:placeholder="column.description"\r
|
|
50160
|
-
:transfer="
|
|
50156
|
+
:transfer="false"\r
|
|
50161
50157
|
@on-change="selected => onDataChange(column, selected)">\r
|
|
50162
50158
|
<Option v-for="item in getDataSource(data, column)"\r
|
|
50163
50159
|
:key="item.id"\r
|
|
@@ -50172,7 +50168,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50172
50168
|
filterable: "",
|
|
50173
50169
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50174
50170
|
placeholder: column.description,
|
|
50175
|
-
transfer:
|
|
50171
|
+
transfer: false,
|
|
50176
50172
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50177
50173
|
}, {
|
|
50178
50174
|
default: withCtx(() => [
|
|
@@ -50219,7 +50215,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50219
50215
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
50220
50216
|
readonly: column.isReadonly,
|
|
50221
50217
|
placeholder: column.description,
|
|
50222
|
-
transfer:
|
|
50218
|
+
transfer: false,
|
|
50223
50219
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50224
50220
|
onOnChange: (time2) => {
|
|
50225
50221
|
_ctx.setData($data.data, column.code, time2);
|
|
@@ -50232,7 +50228,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50232
50228
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
50233
50229
|
readonly: column.isReadonly,
|
|
50234
50230
|
placeholder: column.description,
|
|
50235
|
-
transfer:
|
|
50231
|
+
transfer: false,
|
|
50236
50232
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50237
50233
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50238
50234
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
@@ -50242,7 +50238,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50242
50238
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
50243
50239
|
readonly: column.isReadonly,
|
|
50244
50240
|
placeholder: column.description,
|
|
50245
|
-
transfer:
|
|
50241
|
+
transfer: false,
|
|
50246
50242
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50247
50243
|
onOnChange: (time2) => {
|
|
50248
50244
|
_ctx.setData($data.data, column.code, time2);
|