mooho-base-admin-plus 2.2.14 → 2.3.0
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/history.md +1 -0
- package/package/mooho-base-admin-plus.min.esm.js +94 -51
- package/package/mooho-base-admin-plus.min.js +3 -3
- package/package/style.css +1 -1
- package/package.json +1 -1
- package/src/components/view/column-edit.vue +26 -0
- package/src/components/view/view-table.vue +6 -1
- package/src/styles/css/default.css +6 -0
package/history.md
CHANGED
|
@@ -38425,7 +38425,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38425
38425
|
return openBlock(), createElementBlock("div", null, [
|
|
38426
38426
|
createVNode$1(_component_Modal, {
|
|
38427
38427
|
modelValue: $data.opened,
|
|
38428
|
-
"onUpdate:modelValue": _cache[
|
|
38428
|
+
"onUpdate:modelValue": _cache[61] || (_cache[61] = ($event) => $data.opened = $event),
|
|
38429
38429
|
scrollable: "",
|
|
38430
38430
|
"mask-closable": _ctx.layout.maskClosable,
|
|
38431
38431
|
draggable: _ctx.layout.draggable,
|
|
@@ -38472,7 +38472,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38472
38472
|
"label-colon": "\uFF1A",
|
|
38473
38473
|
class: "ivu-mt",
|
|
38474
38474
|
rules: $data.rules,
|
|
38475
|
-
onSubmit: _cache[
|
|
38475
|
+
onSubmit: _cache[60] || (_cache[60] = withModifiers(() => {
|
|
38476
38476
|
}, ["prevent"]))
|
|
38477
38477
|
}, {
|
|
38478
38478
|
default: withCtx(() => [
|
|
@@ -39139,6 +39139,46 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39139
39139
|
]),
|
|
39140
39140
|
_: 1
|
|
39141
39141
|
}, 16),
|
|
39142
|
+
$props.viewType == "TableView" && $data.data.controlType == "Label" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 20 }, _ctx.grid8)), {
|
|
39143
|
+
default: withCtx(() => [
|
|
39144
|
+
createVNode$1(_component_FormItem, {
|
|
39145
|
+
label: "\u5F3A\u5236\u5355\u884C",
|
|
39146
|
+
key: "is_fixed",
|
|
39147
|
+
prop: "isSingleLine"
|
|
39148
|
+
}, {
|
|
39149
|
+
default: withCtx(() => [
|
|
39150
|
+
createVNode$1(_component_Switch, {
|
|
39151
|
+
"model-value": !!$data.data.isSingleLine,
|
|
39152
|
+
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => {
|
|
39153
|
+
$data.data.isSingleLine = $event;
|
|
39154
|
+
})
|
|
39155
|
+
}, null, 8, ["model-value"])
|
|
39156
|
+
]),
|
|
39157
|
+
_: 1
|
|
39158
|
+
})
|
|
39159
|
+
]),
|
|
39160
|
+
_: 1
|
|
39161
|
+
}, 16)) : createCommentVNode("v-if", true),
|
|
39162
|
+
$props.viewType == "TableView" && $data.data.controlType == "Label" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 21 }, _ctx.grid8)), {
|
|
39163
|
+
default: withCtx(() => [
|
|
39164
|
+
createVNode$1(_component_FormItem, {
|
|
39165
|
+
label: "\u56FA\u5B9A\u5728\u6700\u524D",
|
|
39166
|
+
key: "isFixed",
|
|
39167
|
+
prop: "isFixed"
|
|
39168
|
+
}, {
|
|
39169
|
+
default: withCtx(() => [
|
|
39170
|
+
createVNode$1(_component_Switch, {
|
|
39171
|
+
"model-value": !!$data.data.isFixed,
|
|
39172
|
+
"onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => {
|
|
39173
|
+
$data.data.isFixed = $event;
|
|
39174
|
+
})
|
|
39175
|
+
}, null, 8, ["model-value"])
|
|
39176
|
+
]),
|
|
39177
|
+
_: 1
|
|
39178
|
+
})
|
|
39179
|
+
]),
|
|
39180
|
+
_: 1
|
|
39181
|
+
}, 16)) : createCommentVNode("v-if", true),
|
|
39142
39182
|
createVNode$1(_component_Col, normalizeProps(guardReactiveProps(_ctx.grid8)), {
|
|
39143
39183
|
default: withCtx(() => [
|
|
39144
39184
|
createVNode$1(_component_FormItem, {
|
|
@@ -39150,14 +39190,14 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39150
39190
|
$options.showCheck($data.data.requiredJson) ? (openBlock(), createBlock(_component_Switch, {
|
|
39151
39191
|
key: 0,
|
|
39152
39192
|
"model-value": !!$data.data.isRequired,
|
|
39153
|
-
"onUpdate:modelValue": _cache[
|
|
39193
|
+
"onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => {
|
|
39154
39194
|
$data.data.isRequired = $event;
|
|
39155
39195
|
}),
|
|
39156
|
-
onOnChange: _cache[
|
|
39196
|
+
onOnChange: _cache[38] || (_cache[38] = ($event) => $options.checkChange("requiredJson", "isRequired"))
|
|
39157
39197
|
}, null, 8, ["model-value"])) : createCommentVNode("v-if", true),
|
|
39158
39198
|
createVNode$1(_component_Button, {
|
|
39159
39199
|
style: { "margin-left": "8px" },
|
|
39160
|
-
onClick: _cache[
|
|
39200
|
+
onClick: _cache[39] || (_cache[39] = ($event) => _ctx.$refs.conditionEdit.open($data.data, "requiredJson", "isRequired", $data.data.dataView.model)),
|
|
39161
39201
|
type: "primary",
|
|
39162
39202
|
size: "small",
|
|
39163
39203
|
icon: "ios-settings"
|
|
@@ -39173,7 +39213,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39173
39213
|
]),
|
|
39174
39214
|
_: 1
|
|
39175
39215
|
}, 16),
|
|
39176
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39216
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 22 }, _ctx.grid8)), {
|
|
39177
39217
|
default: withCtx(() => [
|
|
39178
39218
|
createVNode$1(_component_FormItem, {
|
|
39179
39219
|
label: "\u7981\u7528\u6392\u5E8F",
|
|
@@ -39183,7 +39223,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39183
39223
|
default: withCtx(() => [
|
|
39184
39224
|
createVNode$1(_component_Switch, {
|
|
39185
39225
|
"model-value": !!$data.data.sortDisable,
|
|
39186
|
-
"onUpdate:modelValue": _cache[
|
|
39226
|
+
"onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => {
|
|
39187
39227
|
$data.data.sortDisable = $event;
|
|
39188
39228
|
})
|
|
39189
39229
|
}, null, 8, ["model-value"])
|
|
@@ -39204,7 +39244,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39204
39244
|
createVNode$1(_component_Input, {
|
|
39205
39245
|
type: "text",
|
|
39206
39246
|
modelValue: $data.data.defaultValue,
|
|
39207
|
-
"onUpdate:modelValue": _cache[
|
|
39247
|
+
"onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => $data.data.defaultValue = $event),
|
|
39208
39248
|
maxlength: "200",
|
|
39209
39249
|
style: { "width": "150px" }
|
|
39210
39250
|
}, null, 8, ["modelValue"]),
|
|
@@ -39262,7 +39302,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39262
39302
|
]),
|
|
39263
39303
|
_: 1
|
|
39264
39304
|
}, 16),
|
|
39265
|
-
$data.data.controlType != "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39305
|
+
$data.data.controlType != "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 23 }, _ctx.grid8)), {
|
|
39266
39306
|
default: withCtx(() => [
|
|
39267
39307
|
createVNode$1(_component_FormItem, {
|
|
39268
39308
|
label: "\u63CF\u8FF0",
|
|
@@ -39273,7 +39313,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39273
39313
|
createVNode$1(_component_Input, {
|
|
39274
39314
|
type: "text",
|
|
39275
39315
|
modelValue: $data.data.description,
|
|
39276
|
-
"onUpdate:modelValue": _cache[
|
|
39316
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => $data.data.description = $event),
|
|
39277
39317
|
maxlength: "200"
|
|
39278
39318
|
}, null, 8, ["modelValue"])
|
|
39279
39319
|
]),
|
|
@@ -39282,7 +39322,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39282
39322
|
]),
|
|
39283
39323
|
_: 1
|
|
39284
39324
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39285
|
-
$data.data.controlType == "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39325
|
+
$data.data.controlType == "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 24 }, _ctx.grid24)), {
|
|
39286
39326
|
default: withCtx(() => [
|
|
39287
39327
|
createVNode$1(_component_FormItem, {
|
|
39288
39328
|
label: "\u63CF\u8FF0",
|
|
@@ -39294,7 +39334,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39294
39334
|
type: "textarea",
|
|
39295
39335
|
rows: 5,
|
|
39296
39336
|
modelValue: $data.data.description,
|
|
39297
|
-
"onUpdate:modelValue": _cache[
|
|
39337
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => $data.data.description = $event)
|
|
39298
39338
|
}, null, 8, ["modelValue"])
|
|
39299
39339
|
]),
|
|
39300
39340
|
_: 1
|
|
@@ -39302,7 +39342,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39302
39342
|
]),
|
|
39303
39343
|
_: 1
|
|
39304
39344
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39305
|
-
$data.data.controlType == "TextInput" || $data.data.controlType == "TextArea" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39345
|
+
$data.data.controlType == "TextInput" || $data.data.controlType == "TextArea" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 25 }, _ctx.grid8)), {
|
|
39306
39346
|
default: withCtx(() => [
|
|
39307
39347
|
createVNode$1(_component_FormItem, {
|
|
39308
39348
|
label: "\u6700\u5927\u5B57\u7B26\u6570\u91CF",
|
|
@@ -39315,7 +39355,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39315
39355
|
style: { "width": "100px" },
|
|
39316
39356
|
number: "",
|
|
39317
39357
|
modelValue: $data.data.maxLength,
|
|
39318
|
-
"onUpdate:modelValue": _cache[
|
|
39358
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.data.maxLength = $event)
|
|
39319
39359
|
}, null, 8, ["modelValue"])
|
|
39320
39360
|
]),
|
|
39321
39361
|
_: 1
|
|
@@ -39323,7 +39363,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39323
39363
|
]),
|
|
39324
39364
|
_: 1
|
|
39325
39365
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39326
|
-
$data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39366
|
+
$data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 26 }, _ctx.grid8)), {
|
|
39327
39367
|
default: withCtx(() => [
|
|
39328
39368
|
createVNode$1(_component_FormItem, {
|
|
39329
39369
|
label: "\u6700\u5927\u6587\u4EF6\u6570\u91CF",
|
|
@@ -39336,7 +39376,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39336
39376
|
style: { "width": "100px" },
|
|
39337
39377
|
number: "",
|
|
39338
39378
|
modelValue: $data.data.maxLength,
|
|
39339
|
-
"onUpdate:modelValue": _cache[
|
|
39379
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => $data.data.maxLength = $event)
|
|
39340
39380
|
}, null, 8, ["modelValue"])
|
|
39341
39381
|
]),
|
|
39342
39382
|
_: 1
|
|
@@ -39344,7 +39384,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39344
39384
|
]),
|
|
39345
39385
|
_: 1
|
|
39346
39386
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39347
|
-
$data.data.controlType == "NumberInput" || $data.data.controlType == "Slider" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39387
|
+
$data.data.controlType == "NumberInput" || $data.data.controlType == "Slider" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 27 }, _ctx.grid8)), {
|
|
39348
39388
|
default: withCtx(() => [
|
|
39349
39389
|
createVNode$1(_component_FormItem, { label: "\u8F93\u5165\u8303\u56F4" }, {
|
|
39350
39390
|
default: withCtx(() => [
|
|
@@ -39353,7 +39393,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39353
39393
|
style: { "width": "60px" },
|
|
39354
39394
|
number: "",
|
|
39355
39395
|
modelValue: $data.data.minValue,
|
|
39356
|
-
"onUpdate:modelValue": _cache[
|
|
39396
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => $data.data.minValue = $event)
|
|
39357
39397
|
}, null, 8, ["modelValue"]),
|
|
39358
39398
|
createTextVNode(" - "),
|
|
39359
39399
|
createVNode$1(_component_Input, {
|
|
@@ -39361,7 +39401,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39361
39401
|
style: { "width": "60px" },
|
|
39362
39402
|
number: "",
|
|
39363
39403
|
modelValue: $data.data.maxValue,
|
|
39364
|
-
"onUpdate:modelValue": _cache[
|
|
39404
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => $data.data.maxValue = $event)
|
|
39365
39405
|
}, null, 8, ["modelValue"])
|
|
39366
39406
|
]),
|
|
39367
39407
|
_: 1
|
|
@@ -39382,7 +39422,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39382
39422
|
style: { "width": "100px" },
|
|
39383
39423
|
number: "",
|
|
39384
39424
|
modelValue: $data.data.digit,
|
|
39385
|
-
"onUpdate:modelValue": _cache[
|
|
39425
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => $data.data.digit = $event)
|
|
39386
39426
|
}, null, 8, ["modelValue"])
|
|
39387
39427
|
]),
|
|
39388
39428
|
_: 1
|
|
@@ -39400,7 +39440,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39400
39440
|
default: withCtx(() => [
|
|
39401
39441
|
createVNode$1(_component_Switch, {
|
|
39402
39442
|
"model-value": !!$data.data.fixedDigit,
|
|
39403
|
-
"onUpdate:modelValue": _cache[
|
|
39443
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => {
|
|
39404
39444
|
$data.data.fixedDigit = $event;
|
|
39405
39445
|
})
|
|
39406
39446
|
}, null, 8, ["model-value"])
|
|
@@ -39410,7 +39450,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39410
39450
|
]),
|
|
39411
39451
|
_: 1
|
|
39412
39452
|
}, 16),
|
|
39413
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39453
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 28 }, _ctx.grid8)), {
|
|
39414
39454
|
default: withCtx(() => [
|
|
39415
39455
|
createVNode$1(_component_FormItem, {
|
|
39416
39456
|
label: "\u5F3A\u5236\u6362\u884C",
|
|
@@ -39420,7 +39460,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39420
39460
|
default: withCtx(() => [
|
|
39421
39461
|
createVNode$1(_component_Switch, {
|
|
39422
39462
|
"model-value": !!$data.data.newLine,
|
|
39423
|
-
"onUpdate:modelValue": _cache[
|
|
39463
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => {
|
|
39424
39464
|
$data.data.newLine = $event;
|
|
39425
39465
|
})
|
|
39426
39466
|
}, null, 8, ["model-value"])
|
|
@@ -39430,7 +39470,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39430
39470
|
]),
|
|
39431
39471
|
_: 1
|
|
39432
39472
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39433
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39473
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 29 }, _ctx.grid8)), {
|
|
39434
39474
|
default: withCtx(() => [
|
|
39435
39475
|
createVNode$1(_component_FormItem, {
|
|
39436
39476
|
label: "\u7236\u5355\u5143\u683C\u4EE3\u7801",
|
|
@@ -39441,7 +39481,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39441
39481
|
createVNode$1(_component_Input, {
|
|
39442
39482
|
type: "text",
|
|
39443
39483
|
modelValue: $data.data.parentCode,
|
|
39444
|
-
"onUpdate:modelValue": _cache[
|
|
39484
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => $data.data.parentCode = $event),
|
|
39445
39485
|
maxlength: "200"
|
|
39446
39486
|
}, null, 8, ["modelValue"])
|
|
39447
39487
|
]),
|
|
@@ -39450,7 +39490,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39450
39490
|
]),
|
|
39451
39491
|
_: 1
|
|
39452
39492
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39453
|
-
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39493
|
+
$props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 30 }, _ctx.grid8)), {
|
|
39454
39494
|
default: withCtx(() => [
|
|
39455
39495
|
createVNode$1(_component_FormItem, {
|
|
39456
39496
|
label: "\u5408\u5E76\u5355\u5143\u683C",
|
|
@@ -39460,7 +39500,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39460
39500
|
default: withCtx(() => [
|
|
39461
39501
|
createVNode$1(_component_Switch, {
|
|
39462
39502
|
"model-value": !!$data.data.mergeSame,
|
|
39463
|
-
"onUpdate:modelValue": _cache[
|
|
39503
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => {
|
|
39464
39504
|
$data.data.mergeSame = $event;
|
|
39465
39505
|
})
|
|
39466
39506
|
}, null, 8, ["model-value"])
|
|
@@ -39470,7 +39510,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39470
39510
|
]),
|
|
39471
39511
|
_: 1
|
|
39472
39512
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39473
|
-
$props.viewType == "FormView" && $data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39513
|
+
$props.viewType == "FormView" && $data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 31 }, _ctx.grid8)), {
|
|
39474
39514
|
default: withCtx(() => [
|
|
39475
39515
|
createVNode$1(_component_FormItem, {
|
|
39476
39516
|
label: "\u62D6\u62FD\u4E0A\u4F20",
|
|
@@ -39480,7 +39520,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39480
39520
|
default: withCtx(() => [
|
|
39481
39521
|
createVNode$1(_component_Switch, {
|
|
39482
39522
|
"model-value": !!$data.data.mergeSame,
|
|
39483
|
-
"onUpdate:modelValue": _cache[
|
|
39523
|
+
"onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => {
|
|
39484
39524
|
$data.data.mergeSame = $event;
|
|
39485
39525
|
})
|
|
39486
39526
|
}, null, 8, ["model-value"])
|
|
@@ -39490,7 +39530,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39490
39530
|
]),
|
|
39491
39531
|
_: 1
|
|
39492
39532
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39493
|
-
$data.data.controlType == "TextInput" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39533
|
+
$data.data.controlType == "TextInput" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 32 }, _ctx.grid8)), {
|
|
39494
39534
|
default: withCtx(() => [
|
|
39495
39535
|
createVNode$1(_component_FormItem, {
|
|
39496
39536
|
label: "\u9A8C\u8BC1\u8868\u8FBE\u5F0F",
|
|
@@ -39501,7 +39541,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39501
39541
|
createVNode$1(_component_Input, {
|
|
39502
39542
|
type: "text",
|
|
39503
39543
|
modelValue: $data.data.pattern,
|
|
39504
|
-
"onUpdate:modelValue": _cache[
|
|
39544
|
+
"onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => $data.data.pattern = $event),
|
|
39505
39545
|
maxlength: "100"
|
|
39506
39546
|
}, null, 8, ["modelValue"])
|
|
39507
39547
|
]),
|
|
@@ -39510,7 +39550,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39510
39550
|
]),
|
|
39511
39551
|
_: 1
|
|
39512
39552
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39513
|
-
$data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39553
|
+
$data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 33 }, _ctx.grid8)), {
|
|
39514
39554
|
default: withCtx(() => [
|
|
39515
39555
|
createVNode$1(_component_FormItem, {
|
|
39516
39556
|
label: "\u5176\u4ED6\u6587\u672C",
|
|
@@ -39521,7 +39561,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39521
39561
|
createVNode$1(_component_Input, {
|
|
39522
39562
|
type: "text",
|
|
39523
39563
|
modelValue: $data.data.pattern,
|
|
39524
|
-
"onUpdate:modelValue": _cache[
|
|
39564
|
+
"onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => $data.data.pattern = $event),
|
|
39525
39565
|
maxlength: "100"
|
|
39526
39566
|
}, null, 8, ["modelValue"])
|
|
39527
39567
|
]),
|
|
@@ -39530,7 +39570,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39530
39570
|
]),
|
|
39531
39571
|
_: 1
|
|
39532
39572
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39533
|
-
$data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39573
|
+
$data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 34 }, _ctx.grid8)), {
|
|
39534
39574
|
default: withCtx(() => [
|
|
39535
39575
|
createVNode$1(_component_FormItem, {
|
|
39536
39576
|
label: "\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B",
|
|
@@ -39541,7 +39581,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39541
39581
|
createVNode$1(_component_Input, {
|
|
39542
39582
|
type: "text",
|
|
39543
39583
|
modelValue: $data.data.pattern,
|
|
39544
|
-
"onUpdate:modelValue": _cache[
|
|
39584
|
+
"onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => $data.data.pattern = $event),
|
|
39545
39585
|
maxlength: "100"
|
|
39546
39586
|
}, null, 8, ["modelValue"])
|
|
39547
39587
|
]),
|
|
@@ -39550,7 +39590,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39550
39590
|
]),
|
|
39551
39591
|
_: 1
|
|
39552
39592
|
}, 16)) : createCommentVNode("v-if", true),
|
|
39553
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39593
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 35 }, _ctx.grid8)), {
|
|
39554
39594
|
default: withCtx(() => [
|
|
39555
39595
|
createVNode$1(_component_FormItem, {
|
|
39556
39596
|
label: "\u9009\u9879\u5361\u5E8F\u53F7",
|
|
@@ -39563,7 +39603,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39563
39603
|
style: { "width": "100px" },
|
|
39564
39604
|
number: "",
|
|
39565
39605
|
modelValue: $data.data.tabIndex,
|
|
39566
|
-
"onUpdate:modelValue": _cache[
|
|
39606
|
+
"onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => $data.data.tabIndex = $event)
|
|
39567
39607
|
}, null, 8, ["modelValue"])
|
|
39568
39608
|
]),
|
|
39569
39609
|
_: 1
|
|
@@ -39582,7 +39622,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39582
39622
|
createVNode$1(_component_Input, {
|
|
39583
39623
|
type: "text",
|
|
39584
39624
|
modelValue: $data.data.calculate,
|
|
39585
|
-
"onUpdate:modelValue": _cache[
|
|
39625
|
+
"onUpdate:modelValue": _cache[58] || (_cache[58] = ($event) => $data.data.calculate = $event),
|
|
39586
39626
|
maxlength: "500"
|
|
39587
39627
|
}, null, 8, ["modelValue"])
|
|
39588
39628
|
]),
|
|
@@ -39591,7 +39631,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39591
39631
|
]),
|
|
39592
39632
|
_: 1
|
|
39593
39633
|
}, 16),
|
|
39594
|
-
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key:
|
|
39634
|
+
$props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 36 }, _ctx.grid24)), {
|
|
39595
39635
|
default: withCtx(() => [
|
|
39596
39636
|
createVNode$1(_component_FormItem, {
|
|
39597
39637
|
label: "\u6587\u5B57\u63D0\u793A",
|
|
@@ -39603,7 +39643,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39603
39643
|
type: "textarea",
|
|
39604
39644
|
autosize: true,
|
|
39605
39645
|
modelValue: $data.data.tooltip,
|
|
39606
|
-
"onUpdate:modelValue": _cache[
|
|
39646
|
+
"onUpdate:modelValue": _cache[59] || (_cache[59] = ($event) => $data.data.tooltip = $event),
|
|
39607
39647
|
maxlength: "500"
|
|
39608
39648
|
}, null, 8, ["modelValue"])
|
|
39609
39649
|
]),
|
|
@@ -39624,7 +39664,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39624
39664
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
39625
39665
|
createVNode$1(_component_Modal, {
|
|
39626
39666
|
modelValue: $data.paramOpened,
|
|
39627
|
-
"onUpdate:modelValue": _cache[
|
|
39667
|
+
"onUpdate:modelValue": _cache[63] || (_cache[63] = ($event) => $data.paramOpened = $event),
|
|
39628
39668
|
scrollable: "",
|
|
39629
39669
|
"mask-closable": _ctx.layout.maskClosable,
|
|
39630
39670
|
draggable: _ctx.layout.draggable,
|
|
@@ -39646,7 +39686,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39646
39686
|
type: "primary",
|
|
39647
39687
|
ghost: "",
|
|
39648
39688
|
"custom-icon": "fa fa-plus",
|
|
39649
|
-
onClick: _cache[
|
|
39689
|
+
onClick: _cache[62] || (_cache[62] = ($event) => $options.paramEdit())
|
|
39650
39690
|
}, {
|
|
39651
39691
|
default: withCtx(() => [
|
|
39652
39692
|
createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_Add")), 1)
|
|
@@ -39715,7 +39755,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39715
39755
|
}, 8, ["modelValue", "mask-closable", "draggable"]),
|
|
39716
39756
|
createVNode$1(_component_Modal, {
|
|
39717
39757
|
modelValue: $data.paramItemOpened,
|
|
39718
|
-
"onUpdate:modelValue": _cache[
|
|
39758
|
+
"onUpdate:modelValue": _cache[70] || (_cache[70] = ($event) => $data.paramItemOpened = $event),
|
|
39719
39759
|
scrollable: "",
|
|
39720
39760
|
"mask-closable": _ctx.layout.maskClosable,
|
|
39721
39761
|
draggable: _ctx.layout.draggable,
|
|
@@ -39759,7 +39799,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39759
39799
|
"label-position": "top",
|
|
39760
39800
|
"label-colon": "\uFF1A",
|
|
39761
39801
|
class: "ivu-mt",
|
|
39762
|
-
onSubmit: _cache[
|
|
39802
|
+
onSubmit: _cache[69] || (_cache[69] = withModifiers(() => {
|
|
39763
39803
|
}, ["prevent"]))
|
|
39764
39804
|
}, {
|
|
39765
39805
|
default: withCtx(() => [
|
|
@@ -39779,12 +39819,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39779
39819
|
createVNode$1(_component_Input, {
|
|
39780
39820
|
type: "text",
|
|
39781
39821
|
modelValue: $data.paramData.code,
|
|
39782
|
-
"onUpdate:modelValue": _cache[
|
|
39822
|
+
"onUpdate:modelValue": _cache[65] || (_cache[65] = ($event) => $data.paramData.code = $event)
|
|
39783
39823
|
}, {
|
|
39784
39824
|
prepend: withCtx(() => [
|
|
39785
39825
|
createVNode$1(_component_Button, {
|
|
39786
39826
|
"custom-icon": "fa fa-search",
|
|
39787
|
-
onClick: _cache[
|
|
39827
|
+
onClick: _cache[64] || (_cache[64] = ($event) => $options.openColumnSelect($data.paramData, "code"))
|
|
39788
39828
|
})
|
|
39789
39829
|
]),
|
|
39790
39830
|
_: 1
|
|
@@ -39805,7 +39845,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39805
39845
|
default: withCtx(() => [
|
|
39806
39846
|
createVNode$1(_component_RadioGroup, {
|
|
39807
39847
|
modelValue: $data.paramData.keyType,
|
|
39808
|
-
"onUpdate:modelValue": _cache[
|
|
39848
|
+
"onUpdate:modelValue": _cache[66] || (_cache[66] = ($event) => $data.paramData.keyType = $event),
|
|
39809
39849
|
onOnChange: $options.keyTypeChange
|
|
39810
39850
|
}, {
|
|
39811
39851
|
default: withCtx(() => [
|
|
@@ -39831,7 +39871,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39831
39871
|
createVNode$1(_component_Input, {
|
|
39832
39872
|
type: "text",
|
|
39833
39873
|
modelValue: $data.paramData.val,
|
|
39834
|
-
"onUpdate:modelValue": _cache[
|
|
39874
|
+
"onUpdate:modelValue": _cache[67] || (_cache[67] = ($event) => $data.paramData.val = $event)
|
|
39835
39875
|
}, null, 8, ["modelValue"])
|
|
39836
39876
|
]),
|
|
39837
39877
|
_: 1
|
|
@@ -39850,7 +39890,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39850
39890
|
createVNode$1(_component_Input, {
|
|
39851
39891
|
type: "text",
|
|
39852
39892
|
modelValue: $data.paramData.val,
|
|
39853
|
-
"onUpdate:modelValue": _cache[
|
|
39893
|
+
"onUpdate:modelValue": _cache[68] || (_cache[68] = ($event) => $data.paramData.val = $event)
|
|
39854
39894
|
}, {
|
|
39855
39895
|
prepend: withCtx(() => [
|
|
39856
39896
|
createVNode$1(_component_Button, {
|
|
@@ -42355,6 +42395,7 @@ const _sfc_main$q = {
|
|
|
42355
42395
|
});
|
|
42356
42396
|
this.columns.forEach((column) => {
|
|
42357
42397
|
column.name = this.getNameI18n(column);
|
|
42398
|
+
column.fixed = column.isFixed ? "left" : null;
|
|
42358
42399
|
});
|
|
42359
42400
|
if (this.tableView.snEnable) {
|
|
42360
42401
|
this.columns.unshift({
|
|
@@ -43502,7 +43543,7 @@ const _sfc_main$q = {
|
|
|
43502
43543
|
};
|
|
43503
43544
|
const _hoisted_1$g = { class: "title" };
|
|
43504
43545
|
const _hoisted_2$e = { ref: "filterCommand" };
|
|
43505
|
-
const _hoisted_3$c = ["innerHTML"];
|
|
43546
|
+
const _hoisted_3$c = ["title", "innerHTML"];
|
|
43506
43547
|
const _hoisted_4$5 = ["href", "target"];
|
|
43507
43548
|
const _hoisted_5$4 = ["innerHTML"];
|
|
43508
43549
|
const _hoisted_6$3 = {
|
|
@@ -43768,8 +43809,10 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43768
43809
|
}, void 0, true)
|
|
43769
43810
|
], 64)) : column.controlType === "Label" ? (openBlock(), createElementBlock("div", {
|
|
43770
43811
|
key: 1,
|
|
43812
|
+
title: column.isSingleLine ? _ctx.showData($options.rowData(row, index2), column) : null,
|
|
43813
|
+
class: normalizeClass({ "single-line": column.isSingleLine }),
|
|
43771
43814
|
innerHTML: _ctx.showData($options.rowData(row, index2), column)
|
|
43772
|
-
}, null,
|
|
43815
|
+
}, null, 10, _hoisted_3$c)) : column.controlType === "Hyperlink" ? (openBlock(), createElementBlock("a", {
|
|
43773
43816
|
key: 2,
|
|
43774
43817
|
href: _ctx.getHyperlink($options.rowData(row, index2), column.hyperlink),
|
|
43775
43818
|
target: column.isNewWindow ? "_blank" : ""
|