mooho-base-admin-plus 2.0.7 → 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 +57 -53
- package/package/mooho-base-admin-plus.min.js +10 -10
- 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 +8 -8
- package/src/components/view/view-form-draggable.vue +10 -10
- package/src/components/view/view-form.vue +10 -10
- package/src/components/view/view-table.vue +21 -9
- package/src/components/workflow/flow-chart.vue +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 +20 -0
|
@@ -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) => {
|
|
@@ -36306,7 +36306,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36306
36306
|
"min-width": column.controlWidth == null ? null : column.controlWidth + "px"
|
|
36307
36307
|
}),
|
|
36308
36308
|
placeholder: column.description,
|
|
36309
|
-
transfer:
|
|
36309
|
+
transfer: false,
|
|
36310
36310
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36311
36311
|
}, {
|
|
36312
36312
|
default: withCtx(() => [
|
|
@@ -36332,7 +36332,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36332
36332
|
clearable: true,
|
|
36333
36333
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36334
36334
|
placeholder: column.description,
|
|
36335
|
-
transfer:
|
|
36335
|
+
transfer: false,
|
|
36336
36336
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36337
36337
|
}, {
|
|
36338
36338
|
default: withCtx(() => [
|
|
@@ -36358,7 +36358,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36358
36358
|
clearable: true,
|
|
36359
36359
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36360
36360
|
placeholder: column.description,
|
|
36361
|
-
transfer:
|
|
36361
|
+
transfer: false,
|
|
36362
36362
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36363
36363
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
36364
36364
|
key: 8,
|
|
@@ -36371,7 +36371,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36371
36371
|
clearable: true,
|
|
36372
36372
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36373
36373
|
placeholder: column.description,
|
|
36374
|
-
transfer:
|
|
36374
|
+
transfer: false,
|
|
36375
36375
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36376
36376
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder", "onOnChange"])) : column.controlType === "ComboSelect" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
|
|
36377
36377
|
createCommentVNode(` <template v-else-if="column.controlType === 'AutoComplete'">\r
|
|
@@ -36383,7 +36383,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36383
36383
|
@on-clear="() => loadOption(data, column)"\r
|
|
36384
36384
|
:style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"\r
|
|
36385
36385
|
:placeholder="column.description"\r
|
|
36386
|
-
:transfer="
|
|
36386
|
+
:transfer="false"\r
|
|
36387
36387
|
@on-change="(selected) => onDataChange(column, selected)">\r
|
|
36388
36388
|
<Option v-for="item in getDataSource(data, column)"\r
|
|
36389
36389
|
:key="item.id"\r
|
|
@@ -36398,7 +36398,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36398
36398
|
filterable: "",
|
|
36399
36399
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36400
36400
|
placeholder: column.description,
|
|
36401
|
-
transfer:
|
|
36401
|
+
transfer: false,
|
|
36402
36402
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36403
36403
|
}, {
|
|
36404
36404
|
default: withCtx(() => [
|
|
@@ -36447,7 +36447,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36447
36447
|
clearable: true,
|
|
36448
36448
|
style: normalizeStyle$1({ width: column.controlWidth == null ? "40%" : column.controlWidth + "px" }),
|
|
36449
36449
|
placeholder: column.description,
|
|
36450
|
-
transfer:
|
|
36450
|
+
transfer: false,
|
|
36451
36451
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
36452
36452
|
}, {
|
|
36453
36453
|
default: withCtx(() => [
|
|
@@ -36493,7 +36493,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36493
36493
|
"model-value": _ctx.parseDateTimeData($data.data, column.code),
|
|
36494
36494
|
readonly: $props.readonly || column.isReadonly,
|
|
36495
36495
|
placeholder: column.description,
|
|
36496
|
-
transfer:
|
|
36496
|
+
transfer: false,
|
|
36497
36497
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36498
36498
|
onOnChange: (time2) => {
|
|
36499
36499
|
_ctx.setData($data.data, column.code, time2);
|
|
@@ -36506,7 +36506,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36506
36506
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
36507
36507
|
readonly: $props.readonly || column.isReadonly,
|
|
36508
36508
|
placeholder: column.description,
|
|
36509
|
-
transfer:
|
|
36509
|
+
transfer: false,
|
|
36510
36510
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36511
36511
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
36512
36512
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
@@ -36515,7 +36515,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36515
36515
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
36516
36516
|
readonly: $props.readonly || column.isReadonly,
|
|
36517
36517
|
placeholder: column.description,
|
|
36518
|
-
transfer:
|
|
36518
|
+
transfer: false,
|
|
36519
36519
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
36520
36520
|
onOnChange: (time2) => {
|
|
36521
36521
|
_ctx.setData($data.data, column.code, time2);
|
|
@@ -37157,7 +37157,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37157
37157
|
createVNode$1(_component_Select, {
|
|
37158
37158
|
modelValue: $data.data.dataType,
|
|
37159
37159
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.data.dataType = $event),
|
|
37160
|
-
transfer:
|
|
37160
|
+
transfer: false
|
|
37161
37161
|
}, {
|
|
37162
37162
|
default: withCtx(() => [
|
|
37163
37163
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("DataType"), (item) => {
|
|
@@ -37206,7 +37206,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37206
37206
|
createVNode$1(_component_Select, {
|
|
37207
37207
|
modelValue: $data.data.controlType,
|
|
37208
37208
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.data.controlType = $event),
|
|
37209
|
-
transfer:
|
|
37209
|
+
transfer: false,
|
|
37210
37210
|
onOnChange: $options.controlTypeChange
|
|
37211
37211
|
}, {
|
|
37212
37212
|
default: withCtx(() => [
|
|
@@ -37617,7 +37617,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37617
37617
|
modelValue: $data.data.columnWidth,
|
|
37618
37618
|
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => $data.data.columnWidth = $event),
|
|
37619
37619
|
clearable: "",
|
|
37620
|
-
transfer:
|
|
37620
|
+
transfer: false
|
|
37621
37621
|
}, {
|
|
37622
37622
|
default: withCtx(() => [
|
|
37623
37623
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("ColumnWidth"), (item) => {
|
|
@@ -37694,7 +37694,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37694
37694
|
modelValue: $data.data.displayFormat,
|
|
37695
37695
|
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => $data.data.displayFormat = $event),
|
|
37696
37696
|
clearable: "",
|
|
37697
|
-
transfer:
|
|
37697
|
+
transfer: false
|
|
37698
37698
|
}, {
|
|
37699
37699
|
default: withCtx(() => [
|
|
37700
37700
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.getDisplayFormats(), (item) => {
|
|
@@ -38724,7 +38724,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38724
38724
|
createVNode$1(_component_Select, {
|
|
38725
38725
|
modelValue: $data.data.rule,
|
|
38726
38726
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.data.rule = $event),
|
|
38727
|
-
transfer:
|
|
38727
|
+
transfer: false
|
|
38728
38728
|
}, {
|
|
38729
38729
|
default: withCtx(() => [
|
|
38730
38730
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.sortingList, (item) => {
|
|
@@ -39163,7 +39163,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39163
39163
|
createVNode$1(_component_Select, {
|
|
39164
39164
|
modelValue: $data.data.operator,
|
|
39165
39165
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.data.operator = $event),
|
|
39166
|
-
transfer:
|
|
39166
|
+
transfer: false
|
|
39167
39167
|
}, {
|
|
39168
39168
|
default: withCtx(() => [
|
|
39169
39169
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getEnumList("Operator"), (item) => {
|
|
@@ -40334,7 +40334,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40334
40334
|
clearable: "",
|
|
40335
40335
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40336
40336
|
placeholder: column.description,
|
|
40337
|
-
transfer:
|
|
40337
|
+
transfer: false,
|
|
40338
40338
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40339
40339
|
}, {
|
|
40340
40340
|
default: withCtx(() => [
|
|
@@ -40360,7 +40360,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40360
40360
|
"onUpdate:modelValue": ($event) => $options.setArrayFilterData($props.data, column, $event),
|
|
40361
40361
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40362
40362
|
placeholder: column.description,
|
|
40363
|
-
transfer:
|
|
40363
|
+
transfer: false,
|
|
40364
40364
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40365
40365
|
}, {
|
|
40366
40366
|
default: withCtx(() => [
|
|
@@ -40386,7 +40386,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40386
40386
|
clearable: true,
|
|
40387
40387
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40388
40388
|
placeholder: column.description,
|
|
40389
|
-
transfer:
|
|
40389
|
+
transfer: false,
|
|
40390
40390
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40391
40391
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "style", "placeholder", "onOnChange"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
40392
40392
|
key: 7,
|
|
@@ -40399,7 +40399,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40399
40399
|
clearable: true,
|
|
40400
40400
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40401
40401
|
placeholder: column.description,
|
|
40402
|
-
transfer:
|
|
40402
|
+
transfer: false,
|
|
40403
40403
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40404
40404
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "style", "placeholder", "onOnChange"])) : column.controlType === "SelectWithOther" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
40405
40405
|
createVNode$1(_component_Select, {
|
|
@@ -40409,7 +40409,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40409
40409
|
clearable: "",
|
|
40410
40410
|
style: normalizeStyle$1({ width: column.controlWidth == null ? "40%" : column.controlWidth + "px" }),
|
|
40411
40411
|
placeholder: column.description,
|
|
40412
|
-
transfer:
|
|
40412
|
+
transfer: false,
|
|
40413
40413
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40414
40414
|
}, {
|
|
40415
40415
|
default: withCtx(() => [
|
|
@@ -40457,7 +40457,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40457
40457
|
filterable: "",
|
|
40458
40458
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40459
40459
|
placeholder: column.description,
|
|
40460
|
-
transfer:
|
|
40460
|
+
transfer: false,
|
|
40461
40461
|
onOnChange: (selected) => $options.onSelectDataChange(column, selected)
|
|
40462
40462
|
}, {
|
|
40463
40463
|
default: withCtx(() => [
|
|
@@ -40491,7 +40491,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40491
40491
|
type: column.controlType.toLowerCase(),
|
|
40492
40492
|
"model-value": $options.parseFilterData($props.data, column),
|
|
40493
40493
|
placeholder: column.description,
|
|
40494
|
-
transfer:
|
|
40494
|
+
transfer: false,
|
|
40495
40495
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40496
40496
|
onOnChange: (time2) => {
|
|
40497
40497
|
$options.setFilterData($props.data, column, time2);
|
|
@@ -40504,7 +40504,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
40504
40504
|
"model-value": $options.parseFilterData($props.data, column),
|
|
40505
40505
|
"onUpdate:modelValue": ($event) => $options.setFilterData($props.data, column, $event),
|
|
40506
40506
|
placeholder: column.description,
|
|
40507
|
-
transfer:
|
|
40507
|
+
transfer: false,
|
|
40508
40508
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
40509
40509
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
40510
40510
|
}, null, 8, ["model-value", "onUpdate:modelValue", "placeholder", "style", "onOnChange"])) : column.controlType === "Check" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
@@ -40771,10 +40771,14 @@ const _sfc_main$q = {
|
|
|
40771
40771
|
computed: {
|
|
40772
40772
|
maxHeight() {
|
|
40773
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
|
+
}
|
|
40774
40778
|
if (this.isFullScreen) {
|
|
40775
|
-
return document.body.offsetHeight - 100 - this.$refs.filterCommand.offsetHeight;
|
|
40779
|
+
return document.body.offsetHeight / zoom - 100 - this.$refs.filterCommand.offsetHeight / zoom;
|
|
40776
40780
|
} else {
|
|
40777
|
-
return document.body.offsetHeight - 350;
|
|
40781
|
+
return document.body.offsetHeight / zoom - 350;
|
|
40778
40782
|
}
|
|
40779
40783
|
} else {
|
|
40780
40784
|
return this.height;
|
|
@@ -42227,7 +42231,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42227
42231
|
clearable: "",
|
|
42228
42232
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42229
42233
|
placeholder: column.description,
|
|
42230
|
-
transfer:
|
|
42234
|
+
transfer: false,
|
|
42231
42235
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42232
42236
|
}, {
|
|
42233
42237
|
default: withCtx(() => [
|
|
@@ -42254,7 +42258,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42254
42258
|
clearable: "",
|
|
42255
42259
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42256
42260
|
placeholder: column.description,
|
|
42257
|
-
transfer:
|
|
42261
|
+
transfer: false,
|
|
42258
42262
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42259
42263
|
}, {
|
|
42260
42264
|
default: withCtx(() => [
|
|
@@ -42281,7 +42285,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42281
42285
|
filterable: "",
|
|
42282
42286
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42283
42287
|
placeholder: column.description,
|
|
42284
|
-
transfer:
|
|
42288
|
+
transfer: false,
|
|
42285
42289
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42286
42290
|
}, {
|
|
42287
42291
|
default: withCtx(() => [
|
|
@@ -42334,7 +42338,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42334
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"
|
|
42335
42339
|
}),
|
|
42336
42340
|
placeholder: column.description,
|
|
42337
|
-
transfer:
|
|
42341
|
+
transfer: false,
|
|
42338
42342
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
42339
42343
|
}, {
|
|
42340
42344
|
default: withCtx(() => [
|
|
@@ -42385,7 +42389,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42385
42389
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
42386
42390
|
placeholder: column.description,
|
|
42387
42391
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42388
|
-
transfer:
|
|
42392
|
+
transfer: false,
|
|
42389
42393
|
onOnChange: (time2) => {
|
|
42390
42394
|
_ctx.setData($options.rowData(row, index2), column.code, time2);
|
|
42391
42395
|
$options.onDataChange($options.rowData(row, index2), column);
|
|
@@ -42399,7 +42403,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42399
42403
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
42400
42404
|
placeholder: column.description,
|
|
42401
42405
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42402
|
-
transfer:
|
|
42406
|
+
transfer: false,
|
|
42403
42407
|
onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
|
|
42404
42408
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
42405
42409
|
key: 14,
|
|
@@ -42409,7 +42413,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42409
42413
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
42410
42414
|
placeholder: column.description,
|
|
42411
42415
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 8 + "px" }),
|
|
42412
|
-
transfer:
|
|
42416
|
+
transfer: false,
|
|
42413
42417
|
onOnChange: (time2) => {
|
|
42414
42418
|
_ctx.setData($options.rowData(row, index2), column.code, time2);
|
|
42415
42419
|
$options.onDataChange($options.rowData(row, index2), column);
|
|
@@ -50027,7 +50031,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50027
50031
|
clearable: "",
|
|
50028
50032
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50029
50033
|
placeholder: column.description,
|
|
50030
|
-
transfer:
|
|
50034
|
+
transfer: false,
|
|
50031
50035
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50032
50036
|
}, {
|
|
50033
50037
|
default: withCtx(() => [
|
|
@@ -50053,7 +50057,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50053
50057
|
clearable: "",
|
|
50054
50058
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50055
50059
|
placeholder: column.description,
|
|
50056
|
-
transfer:
|
|
50060
|
+
transfer: false,
|
|
50057
50061
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50058
50062
|
}, {
|
|
50059
50063
|
default: withCtx(() => [
|
|
@@ -50079,7 +50083,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50079
50083
|
clearable: true,
|
|
50080
50084
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50081
50085
|
placeholder: column.description,
|
|
50082
|
-
transfer:
|
|
50086
|
+
transfer: false
|
|
50083
50087
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder"])) : column.controlType === "MultiTreeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
50084
50088
|
key: 8,
|
|
50085
50089
|
"model-value": _ctx.parseArrayData($data.data, column.code),
|
|
@@ -50091,7 +50095,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50091
50095
|
clearable: true,
|
|
50092
50096
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50093
50097
|
placeholder: column.description,
|
|
50094
|
-
transfer:
|
|
50098
|
+
transfer: false
|
|
50095
50099
|
}, null, 8, ["model-value", "onUpdate:modelValue", "data", "disabled", "style", "placeholder"])) : column.controlType === "SelectWithOther" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
|
|
50096
50100
|
createVNode$1(_component_Select, {
|
|
50097
50101
|
"model-value": $options.parseDataWithOther($data.data, column),
|
|
@@ -50100,7 +50104,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50100
50104
|
clearable: "",
|
|
50101
50105
|
style: normalizeStyle$1({ width: column.controlWidth == null ? "40%" : column.controlWidth + "px" }),
|
|
50102
50106
|
placeholder: column.description,
|
|
50103
|
-
transfer:
|
|
50107
|
+
transfer: false,
|
|
50104
50108
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50105
50109
|
}, {
|
|
50106
50110
|
default: withCtx(() => [
|
|
@@ -50149,7 +50153,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50149
50153
|
@on-clear="() => loadOption(data, column)"\r
|
|
50150
50154
|
:style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"\r
|
|
50151
50155
|
:placeholder="column.description"\r
|
|
50152
|
-
:transfer="
|
|
50156
|
+
:transfer="false"\r
|
|
50153
50157
|
@on-change="selected => onDataChange(column, selected)">\r
|
|
50154
50158
|
<Option v-for="item in getDataSource(data, column)"\r
|
|
50155
50159
|
:key="item.id"\r
|
|
@@ -50164,7 +50168,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50164
50168
|
filterable: "",
|
|
50165
50169
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50166
50170
|
placeholder: column.description,
|
|
50167
|
-
transfer:
|
|
50171
|
+
transfer: false,
|
|
50168
50172
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50169
50173
|
}, {
|
|
50170
50174
|
default: withCtx(() => [
|
|
@@ -50211,7 +50215,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50211
50215
|
"model-value": _ctx.parseData($data.data, column.code),
|
|
50212
50216
|
readonly: column.isReadonly,
|
|
50213
50217
|
placeholder: column.description,
|
|
50214
|
-
transfer:
|
|
50218
|
+
transfer: false,
|
|
50215
50219
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50216
50220
|
onOnChange: (time2) => {
|
|
50217
50221
|
_ctx.setData($data.data, column.code, time2);
|
|
@@ -50224,7 +50228,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50224
50228
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($data.data, column.code, $event),
|
|
50225
50229
|
readonly: column.isReadonly,
|
|
50226
50230
|
placeholder: column.description,
|
|
50227
|
-
transfer:
|
|
50231
|
+
transfer: false,
|
|
50228
50232
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50229
50233
|
onOnChange: ($event) => $options.onDataChange(column)
|
|
50230
50234
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
@@ -50234,7 +50238,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50234
50238
|
"onUpdate:modelValue": ($event) => _ctx.setData($data.data, column.code, $event),
|
|
50235
50239
|
readonly: column.isReadonly,
|
|
50236
50240
|
placeholder: column.description,
|
|
50237
|
-
transfer:
|
|
50241
|
+
transfer: false,
|
|
50238
50242
|
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth + "px" }),
|
|
50239
50243
|
onOnChange: (time2) => {
|
|
50240
50244
|
_ctx.setData($data.data, column.code, time2);
|