mooho-base-admin-plus 2.2.14 → 2.2.15

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 CHANGED
@@ -16,3 +16,7 @@
16
16
  2.2.12 - 修复 2.2.10 bug
17
17
  2.2.13 - 修复 2.2.10 bug
18
18
  2.2.14 - 筛选栏数据处理机制变化,修复默认值 bug
19
+ 2.2.15 - 修改表格 open 时参数无法带入的 bug
20
+ 2.3.0 - 表格只读文本字段增加强制单行、固定在最前选项
21
+ 2.3.1 - 前端增加默认每页默认数量配置 layout.pageSize
22
+ 2.3.2 - 修改表格 open 时参数无法带入的 bug
@@ -6807,7 +6807,8 @@ const Setting = {
6807
6807
  maskClosable: true,
6808
6808
  draggable: true,
6809
6809
  alertStyle: "SweetAlert",
6810
- filterWidth: 125
6810
+ filterWidth: 125,
6811
+ pageSize: 10
6811
6812
  },
6812
6813
  page: {
6813
6814
  opened: [],
@@ -38425,7 +38426,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
38425
38426
  return openBlock(), createElementBlock("div", null, [
38426
38427
  createVNode$1(_component_Modal, {
38427
38428
  modelValue: $data.opened,
38428
- "onUpdate:modelValue": _cache[59] || (_cache[59] = ($event) => $data.opened = $event),
38429
+ "onUpdate:modelValue": _cache[61] || (_cache[61] = ($event) => $data.opened = $event),
38429
38430
  scrollable: "",
38430
38431
  "mask-closable": _ctx.layout.maskClosable,
38431
38432
  draggable: _ctx.layout.draggable,
@@ -38472,7 +38473,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
38472
38473
  "label-colon": "\uFF1A",
38473
38474
  class: "ivu-mt",
38474
38475
  rules: $data.rules,
38475
- onSubmit: _cache[58] || (_cache[58] = withModifiers(() => {
38476
+ onSubmit: _cache[60] || (_cache[60] = withModifiers(() => {
38476
38477
  }, ["prevent"]))
38477
38478
  }, {
38478
38479
  default: withCtx(() => [
@@ -39139,6 +39140,46 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39139
39140
  ]),
39140
39141
  _: 1
39141
39142
  }, 16),
39143
+ $props.viewType == "TableView" && $data.data.controlType == "Label" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 20 }, _ctx.grid8)), {
39144
+ default: withCtx(() => [
39145
+ createVNode$1(_component_FormItem, {
39146
+ label: "\u5F3A\u5236\u5355\u884C",
39147
+ key: "is_fixed",
39148
+ prop: "isSingleLine"
39149
+ }, {
39150
+ default: withCtx(() => [
39151
+ createVNode$1(_component_Switch, {
39152
+ "model-value": !!$data.data.isSingleLine,
39153
+ "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => {
39154
+ $data.data.isSingleLine = $event;
39155
+ })
39156
+ }, null, 8, ["model-value"])
39157
+ ]),
39158
+ _: 1
39159
+ })
39160
+ ]),
39161
+ _: 1
39162
+ }, 16)) : createCommentVNode("v-if", true),
39163
+ $props.viewType == "TableView" && $data.data.controlType == "Label" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 21 }, _ctx.grid8)), {
39164
+ default: withCtx(() => [
39165
+ createVNode$1(_component_FormItem, {
39166
+ label: "\u56FA\u5B9A\u5728\u6700\u524D",
39167
+ key: "isFixed",
39168
+ prop: "isFixed"
39169
+ }, {
39170
+ default: withCtx(() => [
39171
+ createVNode$1(_component_Switch, {
39172
+ "model-value": !!$data.data.isFixed,
39173
+ "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => {
39174
+ $data.data.isFixed = $event;
39175
+ })
39176
+ }, null, 8, ["model-value"])
39177
+ ]),
39178
+ _: 1
39179
+ })
39180
+ ]),
39181
+ _: 1
39182
+ }, 16)) : createCommentVNode("v-if", true),
39142
39183
  createVNode$1(_component_Col, normalizeProps(guardReactiveProps(_ctx.grid8)), {
39143
39184
  default: withCtx(() => [
39144
39185
  createVNode$1(_component_FormItem, {
@@ -39150,14 +39191,14 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39150
39191
  $options.showCheck($data.data.requiredJson) ? (openBlock(), createBlock(_component_Switch, {
39151
39192
  key: 0,
39152
39193
  "model-value": !!$data.data.isRequired,
39153
- "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => {
39194
+ "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => {
39154
39195
  $data.data.isRequired = $event;
39155
39196
  }),
39156
- onOnChange: _cache[36] || (_cache[36] = ($event) => $options.checkChange("requiredJson", "isRequired"))
39197
+ onOnChange: _cache[38] || (_cache[38] = ($event) => $options.checkChange("requiredJson", "isRequired"))
39157
39198
  }, null, 8, ["model-value"])) : createCommentVNode("v-if", true),
39158
39199
  createVNode$1(_component_Button, {
39159
39200
  style: { "margin-left": "8px" },
39160
- onClick: _cache[37] || (_cache[37] = ($event) => _ctx.$refs.conditionEdit.open($data.data, "requiredJson", "isRequired", $data.data.dataView.model)),
39201
+ onClick: _cache[39] || (_cache[39] = ($event) => _ctx.$refs.conditionEdit.open($data.data, "requiredJson", "isRequired", $data.data.dataView.model)),
39161
39202
  type: "primary",
39162
39203
  size: "small",
39163
39204
  icon: "ios-settings"
@@ -39173,7 +39214,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39173
39214
  ]),
39174
39215
  _: 1
39175
39216
  }, 16),
39176
- $props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 20 }, _ctx.grid8)), {
39217
+ $props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 22 }, _ctx.grid8)), {
39177
39218
  default: withCtx(() => [
39178
39219
  createVNode$1(_component_FormItem, {
39179
39220
  label: "\u7981\u7528\u6392\u5E8F",
@@ -39183,7 +39224,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39183
39224
  default: withCtx(() => [
39184
39225
  createVNode$1(_component_Switch, {
39185
39226
  "model-value": !!$data.data.sortDisable,
39186
- "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => {
39227
+ "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => {
39187
39228
  $data.data.sortDisable = $event;
39188
39229
  })
39189
39230
  }, null, 8, ["model-value"])
@@ -39204,7 +39245,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39204
39245
  createVNode$1(_component_Input, {
39205
39246
  type: "text",
39206
39247
  modelValue: $data.data.defaultValue,
39207
- "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => $data.data.defaultValue = $event),
39248
+ "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => $data.data.defaultValue = $event),
39208
39249
  maxlength: "200",
39209
39250
  style: { "width": "150px" }
39210
39251
  }, null, 8, ["modelValue"]),
@@ -39262,7 +39303,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39262
39303
  ]),
39263
39304
  _: 1
39264
39305
  }, 16),
39265
- $data.data.controlType != "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 21 }, _ctx.grid8)), {
39306
+ $data.data.controlType != "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 23 }, _ctx.grid8)), {
39266
39307
  default: withCtx(() => [
39267
39308
  createVNode$1(_component_FormItem, {
39268
39309
  label: "\u63CF\u8FF0",
@@ -39273,7 +39314,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39273
39314
  createVNode$1(_component_Input, {
39274
39315
  type: "text",
39275
39316
  modelValue: $data.data.description,
39276
- "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => $data.data.description = $event),
39317
+ "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => $data.data.description = $event),
39277
39318
  maxlength: "200"
39278
39319
  }, null, 8, ["modelValue"])
39279
39320
  ]),
@@ -39282,7 +39323,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39282
39323
  ]),
39283
39324
  _: 1
39284
39325
  }, 16)) : createCommentVNode("v-if", true),
39285
- $data.data.controlType == "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 22 }, _ctx.grid24)), {
39326
+ $data.data.controlType == "Description" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 24 }, _ctx.grid24)), {
39286
39327
  default: withCtx(() => [
39287
39328
  createVNode$1(_component_FormItem, {
39288
39329
  label: "\u63CF\u8FF0",
@@ -39294,7 +39335,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39294
39335
  type: "textarea",
39295
39336
  rows: 5,
39296
39337
  modelValue: $data.data.description,
39297
- "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => $data.data.description = $event)
39338
+ "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => $data.data.description = $event)
39298
39339
  }, null, 8, ["modelValue"])
39299
39340
  ]),
39300
39341
  _: 1
@@ -39302,7 +39343,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39302
39343
  ]),
39303
39344
  _: 1
39304
39345
  }, 16)) : createCommentVNode("v-if", true),
39305
- $data.data.controlType == "TextInput" || $data.data.controlType == "TextArea" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 23 }, _ctx.grid8)), {
39346
+ $data.data.controlType == "TextInput" || $data.data.controlType == "TextArea" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 25 }, _ctx.grid8)), {
39306
39347
  default: withCtx(() => [
39307
39348
  createVNode$1(_component_FormItem, {
39308
39349
  label: "\u6700\u5927\u5B57\u7B26\u6570\u91CF",
@@ -39315,7 +39356,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39315
39356
  style: { "width": "100px" },
39316
39357
  number: "",
39317
39358
  modelValue: $data.data.maxLength,
39318
- "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => $data.data.maxLength = $event)
39359
+ "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.data.maxLength = $event)
39319
39360
  }, null, 8, ["modelValue"])
39320
39361
  ]),
39321
39362
  _: 1
@@ -39323,7 +39364,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39323
39364
  ]),
39324
39365
  _: 1
39325
39366
  }, 16)) : createCommentVNode("v-if", true),
39326
- $data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 24 }, _ctx.grid8)), {
39367
+ $data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 26 }, _ctx.grid8)), {
39327
39368
  default: withCtx(() => [
39328
39369
  createVNode$1(_component_FormItem, {
39329
39370
  label: "\u6700\u5927\u6587\u4EF6\u6570\u91CF",
@@ -39336,7 +39377,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39336
39377
  style: { "width": "100px" },
39337
39378
  number: "",
39338
39379
  modelValue: $data.data.maxLength,
39339
- "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => $data.data.maxLength = $event)
39380
+ "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => $data.data.maxLength = $event)
39340
39381
  }, null, 8, ["modelValue"])
39341
39382
  ]),
39342
39383
  _: 1
@@ -39344,7 +39385,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39344
39385
  ]),
39345
39386
  _: 1
39346
39387
  }, 16)) : createCommentVNode("v-if", true),
39347
- $data.data.controlType == "NumberInput" || $data.data.controlType == "Slider" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 25 }, _ctx.grid8)), {
39388
+ $data.data.controlType == "NumberInput" || $data.data.controlType == "Slider" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 27 }, _ctx.grid8)), {
39348
39389
  default: withCtx(() => [
39349
39390
  createVNode$1(_component_FormItem, { label: "\u8F93\u5165\u8303\u56F4" }, {
39350
39391
  default: withCtx(() => [
@@ -39353,7 +39394,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39353
39394
  style: { "width": "60px" },
39354
39395
  number: "",
39355
39396
  modelValue: $data.data.minValue,
39356
- "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.data.minValue = $event)
39397
+ "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => $data.data.minValue = $event)
39357
39398
  }, null, 8, ["modelValue"]),
39358
39399
  createTextVNode(" - "),
39359
39400
  createVNode$1(_component_Input, {
@@ -39361,7 +39402,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39361
39402
  style: { "width": "60px" },
39362
39403
  number: "",
39363
39404
  modelValue: $data.data.maxValue,
39364
- "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => $data.data.maxValue = $event)
39405
+ "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => $data.data.maxValue = $event)
39365
39406
  }, null, 8, ["modelValue"])
39366
39407
  ]),
39367
39408
  _: 1
@@ -39382,7 +39423,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39382
39423
  style: { "width": "100px" },
39383
39424
  number: "",
39384
39425
  modelValue: $data.data.digit,
39385
- "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => $data.data.digit = $event)
39426
+ "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => $data.data.digit = $event)
39386
39427
  }, null, 8, ["modelValue"])
39387
39428
  ]),
39388
39429
  _: 1
@@ -39400,7 +39441,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39400
39441
  default: withCtx(() => [
39401
39442
  createVNode$1(_component_Switch, {
39402
39443
  "model-value": !!$data.data.fixedDigit,
39403
- "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => {
39444
+ "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => {
39404
39445
  $data.data.fixedDigit = $event;
39405
39446
  })
39406
39447
  }, null, 8, ["model-value"])
@@ -39410,7 +39451,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39410
39451
  ]),
39411
39452
  _: 1
39412
39453
  }, 16),
39413
- $props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 26 }, _ctx.grid8)), {
39454
+ $props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 28 }, _ctx.grid8)), {
39414
39455
  default: withCtx(() => [
39415
39456
  createVNode$1(_component_FormItem, {
39416
39457
  label: "\u5F3A\u5236\u6362\u884C",
@@ -39420,7 +39461,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39420
39461
  default: withCtx(() => [
39421
39462
  createVNode$1(_component_Switch, {
39422
39463
  "model-value": !!$data.data.newLine,
39423
- "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => {
39464
+ "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => {
39424
39465
  $data.data.newLine = $event;
39425
39466
  })
39426
39467
  }, null, 8, ["model-value"])
@@ -39430,7 +39471,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39430
39471
  ]),
39431
39472
  _: 1
39432
39473
  }, 16)) : createCommentVNode("v-if", true),
39433
- $props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 27 }, _ctx.grid8)), {
39474
+ $props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 29 }, _ctx.grid8)), {
39434
39475
  default: withCtx(() => [
39435
39476
  createVNode$1(_component_FormItem, {
39436
39477
  label: "\u7236\u5355\u5143\u683C\u4EE3\u7801",
@@ -39441,7 +39482,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39441
39482
  createVNode$1(_component_Input, {
39442
39483
  type: "text",
39443
39484
  modelValue: $data.data.parentCode,
39444
- "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => $data.data.parentCode = $event),
39485
+ "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => $data.data.parentCode = $event),
39445
39486
  maxlength: "200"
39446
39487
  }, null, 8, ["modelValue"])
39447
39488
  ]),
@@ -39450,7 +39491,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39450
39491
  ]),
39451
39492
  _: 1
39452
39493
  }, 16)) : createCommentVNode("v-if", true),
39453
- $props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 28 }, _ctx.grid8)), {
39494
+ $props.viewType == "TableView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 30 }, _ctx.grid8)), {
39454
39495
  default: withCtx(() => [
39455
39496
  createVNode$1(_component_FormItem, {
39456
39497
  label: "\u5408\u5E76\u5355\u5143\u683C",
@@ -39460,7 +39501,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39460
39501
  default: withCtx(() => [
39461
39502
  createVNode$1(_component_Switch, {
39462
39503
  "model-value": !!$data.data.mergeSame,
39463
- "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => {
39504
+ "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => {
39464
39505
  $data.data.mergeSame = $event;
39465
39506
  })
39466
39507
  }, null, 8, ["model-value"])
@@ -39470,7 +39511,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39470
39511
  ]),
39471
39512
  _: 1
39472
39513
  }, 16)) : createCommentVNode("v-if", true),
39473
- $props.viewType == "FormView" && $data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 29 }, _ctx.grid8)), {
39514
+ $props.viewType == "FormView" && $data.data.controlType == "Attachment" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 31 }, _ctx.grid8)), {
39474
39515
  default: withCtx(() => [
39475
39516
  createVNode$1(_component_FormItem, {
39476
39517
  label: "\u62D6\u62FD\u4E0A\u4F20",
@@ -39480,7 +39521,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39480
39521
  default: withCtx(() => [
39481
39522
  createVNode$1(_component_Switch, {
39482
39523
  "model-value": !!$data.data.mergeSame,
39483
- "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => {
39524
+ "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => {
39484
39525
  $data.data.mergeSame = $event;
39485
39526
  })
39486
39527
  }, null, 8, ["model-value"])
@@ -39490,7 +39531,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39490
39531
  ]),
39491
39532
  _: 1
39492
39533
  }, 16)) : createCommentVNode("v-if", true),
39493
- $data.data.controlType == "TextInput" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 30 }, _ctx.grid8)), {
39534
+ $data.data.controlType == "TextInput" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 32 }, _ctx.grid8)), {
39494
39535
  default: withCtx(() => [
39495
39536
  createVNode$1(_component_FormItem, {
39496
39537
  label: "\u9A8C\u8BC1\u8868\u8FBE\u5F0F",
@@ -39501,7 +39542,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39501
39542
  createVNode$1(_component_Input, {
39502
39543
  type: "text",
39503
39544
  modelValue: $data.data.pattern,
39504
- "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => $data.data.pattern = $event),
39545
+ "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => $data.data.pattern = $event),
39505
39546
  maxlength: "100"
39506
39547
  }, null, 8, ["modelValue"])
39507
39548
  ]),
@@ -39510,7 +39551,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39510
39551
  ]),
39511
39552
  _: 1
39512
39553
  }, 16)) : createCommentVNode("v-if", true),
39513
- $data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 31 }, _ctx.grid8)), {
39554
+ $data.data.controlType == "SelectWithOther" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 33 }, _ctx.grid8)), {
39514
39555
  default: withCtx(() => [
39515
39556
  createVNode$1(_component_FormItem, {
39516
39557
  label: "\u5176\u4ED6\u6587\u672C",
@@ -39521,7 +39562,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39521
39562
  createVNode$1(_component_Input, {
39522
39563
  type: "text",
39523
39564
  modelValue: $data.data.pattern,
39524
- "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => $data.data.pattern = $event),
39565
+ "onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => $data.data.pattern = $event),
39525
39566
  maxlength: "100"
39526
39567
  }, null, 8, ["modelValue"])
39527
39568
  ]),
@@ -39530,7 +39571,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39530
39571
  ]),
39531
39572
  _: 1
39532
39573
  }, 16)) : createCommentVNode("v-if", true),
39533
- $data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 32 }, _ctx.grid8)), {
39574
+ $data.data.controlType == "Attachment" || $data.data.controlType == "Image" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 34 }, _ctx.grid8)), {
39534
39575
  default: withCtx(() => [
39535
39576
  createVNode$1(_component_FormItem, {
39536
39577
  label: "\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B",
@@ -39541,7 +39582,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39541
39582
  createVNode$1(_component_Input, {
39542
39583
  type: "text",
39543
39584
  modelValue: $data.data.pattern,
39544
- "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => $data.data.pattern = $event),
39585
+ "onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => $data.data.pattern = $event),
39545
39586
  maxlength: "100"
39546
39587
  }, null, 8, ["modelValue"])
39547
39588
  ]),
@@ -39550,7 +39591,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39550
39591
  ]),
39551
39592
  _: 1
39552
39593
  }, 16)) : createCommentVNode("v-if", true),
39553
- $props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 33 }, _ctx.grid8)), {
39594
+ $props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 35 }, _ctx.grid8)), {
39554
39595
  default: withCtx(() => [
39555
39596
  createVNode$1(_component_FormItem, {
39556
39597
  label: "\u9009\u9879\u5361\u5E8F\u53F7",
@@ -39563,7 +39604,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39563
39604
  style: { "width": "100px" },
39564
39605
  number: "",
39565
39606
  modelValue: $data.data.tabIndex,
39566
- "onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => $data.data.tabIndex = $event)
39607
+ "onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => $data.data.tabIndex = $event)
39567
39608
  }, null, 8, ["modelValue"])
39568
39609
  ]),
39569
39610
  _: 1
@@ -39582,7 +39623,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39582
39623
  createVNode$1(_component_Input, {
39583
39624
  type: "text",
39584
39625
  modelValue: $data.data.calculate,
39585
- "onUpdate:modelValue": _cache[56] || (_cache[56] = ($event) => $data.data.calculate = $event),
39626
+ "onUpdate:modelValue": _cache[58] || (_cache[58] = ($event) => $data.data.calculate = $event),
39586
39627
  maxlength: "500"
39587
39628
  }, null, 8, ["modelValue"])
39588
39629
  ]),
@@ -39591,7 +39632,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39591
39632
  ]),
39592
39633
  _: 1
39593
39634
  }, 16),
39594
- $props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 34 }, _ctx.grid24)), {
39635
+ $props.viewType == "FormView" ? (openBlock(), createBlock(_component_Col, normalizeProps(mergeProps({ key: 36 }, _ctx.grid24)), {
39595
39636
  default: withCtx(() => [
39596
39637
  createVNode$1(_component_FormItem, {
39597
39638
  label: "\u6587\u5B57\u63D0\u793A",
@@ -39603,7 +39644,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39603
39644
  type: "textarea",
39604
39645
  autosize: true,
39605
39646
  modelValue: $data.data.tooltip,
39606
- "onUpdate:modelValue": _cache[57] || (_cache[57] = ($event) => $data.data.tooltip = $event),
39647
+ "onUpdate:modelValue": _cache[59] || (_cache[59] = ($event) => $data.data.tooltip = $event),
39607
39648
  maxlength: "500"
39608
39649
  }, null, 8, ["modelValue"])
39609
39650
  ]),
@@ -39624,7 +39665,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39624
39665
  }, 8, ["modelValue", "mask-closable", "draggable"]),
39625
39666
  createVNode$1(_component_Modal, {
39626
39667
  modelValue: $data.paramOpened,
39627
- "onUpdate:modelValue": _cache[61] || (_cache[61] = ($event) => $data.paramOpened = $event),
39668
+ "onUpdate:modelValue": _cache[63] || (_cache[63] = ($event) => $data.paramOpened = $event),
39628
39669
  scrollable: "",
39629
39670
  "mask-closable": _ctx.layout.maskClosable,
39630
39671
  draggable: _ctx.layout.draggable,
@@ -39646,7 +39687,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39646
39687
  type: "primary",
39647
39688
  ghost: "",
39648
39689
  "custom-icon": "fa fa-plus",
39649
- onClick: _cache[60] || (_cache[60] = ($event) => $options.paramEdit())
39690
+ onClick: _cache[62] || (_cache[62] = ($event) => $options.paramEdit())
39650
39691
  }, {
39651
39692
  default: withCtx(() => [
39652
39693
  createTextVNode(toDisplayString$1(_ctx.$t("Front_Btn_Add")), 1)
@@ -39715,7 +39756,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39715
39756
  }, 8, ["modelValue", "mask-closable", "draggable"]),
39716
39757
  createVNode$1(_component_Modal, {
39717
39758
  modelValue: $data.paramItemOpened,
39718
- "onUpdate:modelValue": _cache[68] || (_cache[68] = ($event) => $data.paramItemOpened = $event),
39759
+ "onUpdate:modelValue": _cache[70] || (_cache[70] = ($event) => $data.paramItemOpened = $event),
39719
39760
  scrollable: "",
39720
39761
  "mask-closable": _ctx.layout.maskClosable,
39721
39762
  draggable: _ctx.layout.draggable,
@@ -39759,7 +39800,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39759
39800
  "label-position": "top",
39760
39801
  "label-colon": "\uFF1A",
39761
39802
  class: "ivu-mt",
39762
- onSubmit: _cache[67] || (_cache[67] = withModifiers(() => {
39803
+ onSubmit: _cache[69] || (_cache[69] = withModifiers(() => {
39763
39804
  }, ["prevent"]))
39764
39805
  }, {
39765
39806
  default: withCtx(() => [
@@ -39779,12 +39820,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39779
39820
  createVNode$1(_component_Input, {
39780
39821
  type: "text",
39781
39822
  modelValue: $data.paramData.code,
39782
- "onUpdate:modelValue": _cache[63] || (_cache[63] = ($event) => $data.paramData.code = $event)
39823
+ "onUpdate:modelValue": _cache[65] || (_cache[65] = ($event) => $data.paramData.code = $event)
39783
39824
  }, {
39784
39825
  prepend: withCtx(() => [
39785
39826
  createVNode$1(_component_Button, {
39786
39827
  "custom-icon": "fa fa-search",
39787
- onClick: _cache[62] || (_cache[62] = ($event) => $options.openColumnSelect($data.paramData, "code"))
39828
+ onClick: _cache[64] || (_cache[64] = ($event) => $options.openColumnSelect($data.paramData, "code"))
39788
39829
  })
39789
39830
  ]),
39790
39831
  _: 1
@@ -39805,7 +39846,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39805
39846
  default: withCtx(() => [
39806
39847
  createVNode$1(_component_RadioGroup, {
39807
39848
  modelValue: $data.paramData.keyType,
39808
- "onUpdate:modelValue": _cache[64] || (_cache[64] = ($event) => $data.paramData.keyType = $event),
39849
+ "onUpdate:modelValue": _cache[66] || (_cache[66] = ($event) => $data.paramData.keyType = $event),
39809
39850
  onOnChange: $options.keyTypeChange
39810
39851
  }, {
39811
39852
  default: withCtx(() => [
@@ -39831,7 +39872,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39831
39872
  createVNode$1(_component_Input, {
39832
39873
  type: "text",
39833
39874
  modelValue: $data.paramData.val,
39834
- "onUpdate:modelValue": _cache[65] || (_cache[65] = ($event) => $data.paramData.val = $event)
39875
+ "onUpdate:modelValue": _cache[67] || (_cache[67] = ($event) => $data.paramData.val = $event)
39835
39876
  }, null, 8, ["modelValue"])
39836
39877
  ]),
39837
39878
  _: 1
@@ -39850,7 +39891,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
39850
39891
  createVNode$1(_component_Input, {
39851
39892
  type: "text",
39852
39893
  modelValue: $data.paramData.val,
39853
- "onUpdate:modelValue": _cache[66] || (_cache[66] = ($event) => $data.paramData.val = $event)
39894
+ "onUpdate:modelValue": _cache[68] || (_cache[68] = ($event) => $data.paramData.val = $event)
39854
39895
  }, {
39855
39896
  prepend: withCtx(() => [
39856
39897
  createVNode$1(_component_Button, {
@@ -41458,7 +41499,6 @@ const _sfc_main$r = {
41458
41499
  } else if (item.dataType === "Boolean" && item.defaultValue.toUpperCase == "FALSE") {
41459
41500
  this.setFilterData(data2, item, false);
41460
41501
  } else {
41461
- console.log("this.setFilterData", data2, item, item.defaultValue);
41462
41502
  this.setFilterData(data2, item, item.defaultValue);
41463
41503
  }
41464
41504
  }
@@ -41596,7 +41636,6 @@ const _sfc_main$r = {
41596
41636
  }
41597
41637
  },
41598
41638
  onSelectDataChange(sender, selected) {
41599
- console.log("onSelectDataChange", sender, selected);
41600
41639
  let code2;
41601
41640
  if (sender.code.endsWith("ID")) {
41602
41641
  code2 = sender.code.substr(0, sender.code.length - 2);
@@ -42317,7 +42356,7 @@ const _sfc_main$q = {
42317
42356
  }
42318
42357
  },
42319
42358
  filterData() {
42320
- return this.$refs.tableFilter.data;
42359
+ return this.$refs.tableFilter ? this.$refs.tableFilter.data : null;
42321
42360
  }
42322
42361
  },
42323
42362
  watch: {},
@@ -42355,6 +42394,7 @@ const _sfc_main$q = {
42355
42394
  });
42356
42395
  this.columns.forEach((column) => {
42357
42396
  column.name = this.getNameI18n(column);
42397
+ column.fixed = column.isFixed ? "left" : null;
42358
42398
  });
42359
42399
  if (this.tableView.snEnable) {
42360
42400
  this.columns.unshift({
@@ -42433,7 +42473,7 @@ const _sfc_main$q = {
42433
42473
  if (this.tableView.size) {
42434
42474
  this.size = this.tableView.size;
42435
42475
  } else if (this.tableView.pageEnable && this.pageEnable) {
42436
- this.size = 10;
42476
+ this.size = Setting.layout.pageSize;
42437
42477
  } else {
42438
42478
  this.size = 1e3;
42439
42479
  }
@@ -43115,10 +43155,10 @@ const _sfc_main$q = {
43115
43155
  this.search();
43116
43156
  },
43117
43157
  getAllFilter() {
43118
- console.log("getAllFilter");
43158
+ var _a2;
43119
43159
  let filter2 = {
43120
43160
  ...this.viewFilter,
43121
- ...this.filterData
43161
+ ...(_a2 = this.filterData) != null ? _a2 : {}
43122
43162
  };
43123
43163
  for (let key in filter2) {
43124
43164
  if (typeof filter2[key] == "object" && !(filter2[key] instanceof Date)) {
@@ -43502,7 +43542,7 @@ const _sfc_main$q = {
43502
43542
  };
43503
43543
  const _hoisted_1$g = { class: "title" };
43504
43544
  const _hoisted_2$e = { ref: "filterCommand" };
43505
- const _hoisted_3$c = ["innerHTML"];
43545
+ const _hoisted_3$c = ["title", "innerHTML"];
43506
43546
  const _hoisted_4$5 = ["href", "target"];
43507
43547
  const _hoisted_5$4 = ["innerHTML"];
43508
43548
  const _hoisted_6$3 = {
@@ -43768,8 +43808,10 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
43768
43808
  }, void 0, true)
43769
43809
  ], 64)) : column.controlType === "Label" ? (openBlock(), createElementBlock("div", {
43770
43810
  key: 1,
43811
+ title: column.isSingleLine ? _ctx.showData($options.rowData(row, index2), column) : null,
43812
+ class: normalizeClass({ "single-line": column.isSingleLine }),
43771
43813
  innerHTML: _ctx.showData($options.rowData(row, index2), column)
43772
- }, null, 8, _hoisted_3$c)) : column.controlType === "Hyperlink" ? (openBlock(), createElementBlock("a", {
43814
+ }, null, 10, _hoisted_3$c)) : column.controlType === "Hyperlink" ? (openBlock(), createElementBlock("a", {
43773
43815
  key: 2,
43774
43816
  href: _ctx.getHyperlink($options.rowData(row, index2), column.hyperlink),
43775
43817
  target: column.isNewWindow ? "_blank" : ""
@@ -52789,8 +52831,7 @@ const _sfc_main$l = {
52789
52831
  return {
52790
52832
  opened: false,
52791
52833
  tableView: {},
52792
- param: {},
52793
- tableFilter: {}
52834
+ param: {}
52794
52835
  };
52795
52836
  },
52796
52837
  created() {
@@ -52908,7 +52949,7 @@ const _sfc_main$l = {
52908
52949
  return this.$refs.table;
52909
52950
  },
52910
52951
  filterData() {
52911
- return this.$refs.tableFilter.data;
52952
+ return this.$refs.table.filterData;
52912
52953
  },
52913
52954
  screenWidth() {
52914
52955
  return document.body.clientWidth * 0.8;
@@ -52919,12 +52960,16 @@ const _sfc_main$l = {
52919
52960
  await this.$refs.table.init(viewCode, callback, onFail);
52920
52961
  },
52921
52962
  open(param) {
52922
- for (let key in this.param) {
52923
- delete this.tableFilter[key];
52963
+ if (this.param) {
52964
+ for (let key in this.param) {
52965
+ delete this.filterData[key];
52966
+ }
52924
52967
  }
52925
52968
  this.param = param;
52926
- for (let key in this.param) {
52927
- this.tableFilter[key] = this.param[key];
52969
+ if (this.param) {
52970
+ for (let key in this.param) {
52971
+ this.filterData[key] = this.param[key];
52972
+ }
52928
52973
  }
52929
52974
  setTimeout(() => {
52930
52975
  this.$refs.table.loadData();
@@ -53062,7 +53107,6 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
53062
53107
  ref: "table",
53063
53108
  "view-code": $props.viewCode,
53064
53109
  static: this.static,
53065
- filter: $data.tableFilter,
53066
53110
  "setting-enable": $props.settingEnable,
53067
53111
  "auto-load": false,
53068
53112
  "select-enable": $props.selectEnable,
@@ -53143,7 +53187,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
53143
53187
  })
53144
53188
  ]),
53145
53189
  _: 3
53146
- }, 8, ["view-code", "static", "filter", "setting-enable", "select-enable", "check-cross-page", "tree-enable", "tree-load", "has-children", "create-enable", "edit-enable", "remove-enable", "draggable", "filter-enable", "page-enable", "embedded", "before-load-data", "on-search", "summary-method", "page-size-opts", "span-method", "load-data-enable", "row-class-name", "onCreate", "onEdit", "onOnReady", "onOnLoadData", "onAfterInit", "onOnDragDrop"])
53190
+ }, 8, ["view-code", "static", "setting-enable", "select-enable", "check-cross-page", "tree-enable", "tree-load", "has-children", "create-enable", "edit-enable", "remove-enable", "draggable", "filter-enable", "page-enable", "embedded", "before-load-data", "on-search", "summary-method", "page-size-opts", "span-method", "load-data-enable", "row-class-name", "onCreate", "onEdit", "onOnReady", "onOnLoadData", "onAfterInit", "onOnDragDrop"])
53147
53191
  ])
53148
53192
  ]),
53149
53193
  _: 3