ocpview-plus 1.3.2 → 1.3.3

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.
@@ -4797,7 +4797,7 @@ const _sfc_main$1T = {
4797
4797
  };
4798
4798
  const _hoisted_1$17 = { key: 0 };
4799
4799
  const _hoisted_2$N = { key: 0 };
4800
- const _hoisted_3$t = { href: "javascript:void(0)" };
4800
+ const _hoisted_3$u = { href: "javascript:void(0)" };
4801
4801
  function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
4802
4802
  const _component_Ebutton = resolveComponent("Ebutton");
4803
4803
  const _component_Button = resolveComponent("Button");
@@ -4962,7 +4962,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
4962
4962
  })
4963
4963
  ]),
4964
4964
  default: withCtx(() => [
4965
- createElementVNode("a", _hoisted_3$t, [
4965
+ createElementVNode("a", _hoisted_3$u, [
4966
4966
  _cache[1] || (_cache[1] = createTextVNode(" \u64CD\u4F5C ")),
4967
4967
  createVNode(_component_CommonIcon, { type: "ios-arrow-down" })
4968
4968
  ])
@@ -6375,7 +6375,7 @@ const _hoisted_1$16 = {
6375
6375
  style: { "color": "#348eed" }
6376
6376
  };
6377
6377
  const _hoisted_2$M = { key: 1 };
6378
- const _hoisted_3$s = ["onClick"];
6378
+ const _hoisted_3$t = ["onClick"];
6379
6379
  function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
6380
6380
  const _component_ControlBox = resolveComponent("ControlBox");
6381
6381
  const _component_ShowText = resolveComponent("ShowText");
@@ -6435,7 +6435,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
6435
6435
  label: $options.formatValue(_ctx.form[item.name], _ctx.form, item),
6436
6436
  contentAlign: "left"
6437
6437
  }, null, 8, ["label"]))
6438
- ], 8, _hoisted_3$s)
6438
+ ], 8, _hoisted_3$t)
6439
6439
  ]),
6440
6440
  _: 2
6441
6441
  }, 1032, ["label", "prop"])
@@ -8706,7 +8706,7 @@ const _sfc_main$1M = {
8706
8706
  };
8707
8707
  const _hoisted_1$15 = { ref: "head" };
8708
8708
  const _hoisted_2$L = { key: 0 };
8709
- const _hoisted_3$r = { key: 0 };
8709
+ const _hoisted_3$s = { key: 0 };
8710
8710
  const _hoisted_4$p = {
8711
8711
  ref: "page",
8712
8712
  name: "page"
@@ -8894,7 +8894,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
8894
8894
  };
8895
8895
  })
8896
8896
  ]), 1032, ["row-class-name", "loading", "show-summary", "summary-method", "size", "stripe", "border", "height", "max-height", "show-header", "columns", "data", "onOnSortChange", "onOnCurrentChange", "highlight-row", "onOnRowDblclick", "onOnSelect", "onOnSelectCancel", "onOnSelectionChange", "onOnRowClick", "onOnColumnWidthResize"]),
8897
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
8897
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
8898
8898
  renderSlot(_ctx.$slots, "footer")
8899
8899
  ])) : createCommentVNode("", true),
8900
8900
  createElementVNode("div", _hoisted_4$p, [
@@ -10184,7 +10184,7 @@ const _sfc_main$1K = {
10184
10184
  };
10185
10185
  const _hoisted_1$14 = ["id"];
10186
10186
  const _hoisted_2$K = { key: 0 };
10187
- const _hoisted_3$q = ["onClick"];
10187
+ const _hoisted_3$r = ["onClick"];
10188
10188
  const _hoisted_4$o = {
10189
10189
  key: 0,
10190
10190
  ref: "page",
@@ -10295,7 +10295,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
10295
10295
  contentAlign: config2.contentAlign,
10296
10296
  class: normalizeClass(_ctx.IsCellError(index, config2))
10297
10297
  }, null, 8, ["label", "contentAlign", "class"]))
10298
- ], 8, _hoisted_3$q)
10298
+ ], 8, _hoisted_3$r)
10299
10299
  ])
10300
10300
  };
10301
10301
  })
@@ -10510,7 +10510,7 @@ const _sfc_main$1J = {
10510
10510
  };
10511
10511
  const _hoisted_1$13 = ["textContent"];
10512
10512
  const _hoisted_2$J = { key: 1 };
10513
- const _hoisted_3$p = {
10513
+ const _hoisted_3$q = {
10514
10514
  key: 4,
10515
10515
  style: { "margin-left": "10px" }
10516
10516
  };
@@ -10555,7 +10555,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
10555
10555
  href: "#",
10556
10556
  onClick: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.addRow && _ctx.addRow(...args), ["prevent"]))
10557
10557
  }, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true),
10558
- $data.showBtn && $data.myConfig.addBtnType === "3" && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true),
10558
+ $data.showBtn && $data.myConfig.addBtnType === "3" && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_3$q, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true),
10559
10559
  $data.showBtn && !$data.myConfig.readOnly && $data.myConfig.addBtnType === "1" ? (openBlock(), createElementBlock("a", {
10560
10560
  key: 5,
10561
10561
  href: "#",
@@ -27104,7 +27104,7 @@ const _hoisted_1$11 = {
27104
27104
  class: "ivu-select-selection"
27105
27105
  };
27106
27106
  const _hoisted_2$I = { class: "ivu-tag-text" };
27107
- const _hoisted_3$o = {
27107
+ const _hoisted_3$p = {
27108
27108
  key: 0,
27109
27109
  class: "ivu-tag ivu-tag-checked"
27110
27110
  };
@@ -27167,7 +27167,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
27167
27167
  })
27168
27168
  ]),
27169
27169
  default: withCtx(() => [
27170
- $data.myConfig.maxTagCount !== void 0 && $data.selectedMultiple.length > $data.myConfig.maxTagCount ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
27170
+ $data.myConfig.maxTagCount !== void 0 && $data.selectedMultiple.length > $data.myConfig.maxTagCount ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
27171
27171
  createElementVNode("span", _hoisted_4$m, " + " + toDisplayString($data.selectedMultiple.length - $data.myConfig.maxTagCount) + "... ", 1)
27172
27172
  ])) : createCommentVNode("", true)
27173
27173
  ]),
@@ -30047,7 +30047,7 @@ const _sfc_main$1m = {
30047
30047
  };
30048
30048
  const _hoisted_1$Z = { style: { "text-align": "center" } };
30049
30049
  const _hoisted_2$G = ["onClick"];
30050
- const _hoisted_3$n = ["onClick"];
30050
+ const _hoisted_3$o = ["onClick"];
30051
30051
  const _hoisted_4$l = ["src", "data-original"];
30052
30052
  const _hoisted_5$i = { key: 0 };
30053
30053
  function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
@@ -30100,7 +30100,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
30100
30100
  color: "#ed4014",
30101
30101
  size: "16"
30102
30102
  })
30103
- ], 8, _hoisted_3$n)) : createCommentVNode("", true)
30103
+ ], 8, _hoisted_3$o)) : createCommentVNode("", true)
30104
30104
  ]),
30105
30105
  _cache[1] || (_cache[1] = createTextVNode(" \xA0"))
30106
30106
  ]),
@@ -30496,7 +30496,7 @@ const _hoisted_1$Y = {
30496
30496
  class: "filebtn"
30497
30497
  };
30498
30498
  const _hoisted_2$F = { ref: "photo" };
30499
- const _hoisted_3$m = ["src", "data-original"];
30499
+ const _hoisted_3$n = ["src", "data-original"];
30500
30500
  const _hoisted_4$k = ["innerHTML"];
30501
30501
  const _hoisted_5$h = {
30502
30502
  ref: "pdf",
@@ -30597,7 +30597,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
30597
30597
  src: $data.imgUrl,
30598
30598
  "data-original": `${$data.imgUrl}`,
30599
30599
  style: { "width": "100%", "height": "100%" }
30600
- }, null, 8, _hoisted_3$m)
30600
+ }, null, 8, _hoisted_3$n)
30601
30601
  ])
30602
30602
  ], 512), [
30603
30603
  [vShow, false]
@@ -31231,7 +31231,7 @@ const _sfc_main$1j = {
31231
31231
  };
31232
31232
  const _hoisted_1$X = { style: { "text-align": "center" } };
31233
31233
  const _hoisted_2$E = ["onClick"];
31234
- const _hoisted_3$l = ["onClick"];
31234
+ const _hoisted_3$m = ["onClick"];
31235
31235
  const _hoisted_4$j = ["src"];
31236
31236
  const _hoisted_5$g = { key: 1 };
31237
31237
  function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
@@ -31284,7 +31284,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
31284
31284
  color: "#ed4014",
31285
31285
  size: "16"
31286
31286
  })
31287
- ], 8, _hoisted_3$l)) : createCommentVNode("", true)
31287
+ ], 8, _hoisted_3$m)) : createCommentVNode("", true)
31288
31288
  ])
31289
31289
  ]),
31290
31290
  default: withCtx(() => [
@@ -32333,7 +32333,7 @@ const _sfc_main$1d = {
32333
32333
  };
32334
32334
  const _hoisted_1$T = ["textContent"];
32335
32335
  const _hoisted_2$C = { key: 0 };
32336
- const _hoisted_3$k = { key: 1 };
32336
+ const _hoisted_3$l = { key: 1 };
32337
32337
  const _hoisted_4$i = { key: 1 };
32338
32338
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
32339
32339
  const _component_Icon = resolveComponent("Icon");
@@ -32370,7 +32370,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
32370
32370
  extra: withCtx(() => [
32371
32371
  _ctx.$slots.btn ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
32372
32372
  renderSlot(_ctx.$slots, "btn")
32373
- ])) : (openBlock(), createElementBlock("div", _hoisted_3$k, [
32373
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$l, [
32374
32374
  $data.showBtn && $data.editFlag && !$data.btnReadOnly ? (openBlock(), createElementBlock("a", {
32375
32375
  key: 0,
32376
32376
  href: "#",
@@ -33540,7 +33540,7 @@ const _sfc_main$1a = {
33540
33540
  };
33541
33541
  const _hoisted_1$Q = ["textContent"];
33542
33542
  const _hoisted_2$z = { style: { "padding": "16px" } };
33543
- const _hoisted_3$j = ["textContent"];
33543
+ const _hoisted_3$k = ["textContent"];
33544
33544
  const _hoisted_4$h = { key: 1 };
33545
33545
  const _hoisted_5$f = { style: { "padding": "16px" } };
33546
33546
  const _hoisted_6$c = ["textContent"];
@@ -33769,7 +33769,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
33769
33769
  createElementVNode("span", {
33770
33770
  class: normalizeClass($options.titleClass),
33771
33771
  textContent: toDisplayString($data.myConfig.title)
33772
- }, null, 10, _hoisted_3$j),
33772
+ }, null, 10, _hoisted_3$k),
33773
33773
  $data.myConfig.hide ? (openBlock(), createBlock(_component_Icon, {
33774
33774
  key: 0,
33775
33775
  class: "efuture-title-icon",
@@ -37580,7 +37580,7 @@ const _sfc_main$Q = {
37580
37580
  };
37581
37581
  const _hoisted_1$I = ["title"];
37582
37582
  const _hoisted_2$v = ["title"];
37583
- const _hoisted_3$i = ["value", "disabled"];
37583
+ const _hoisted_3$j = ["value", "disabled"];
37584
37584
  const _hoisted_4$g = ["title"];
37585
37585
  const _hoisted_5$e = ["title"];
37586
37586
  const _hoisted_6$b = {
@@ -37631,7 +37631,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
37631
37631
  onKeydown: _cache[1] || (_cache[1] = (...args) => _ctx.keyDown && _ctx.keyDown(...args)),
37632
37632
  onKeyup: _cache[2] || (_cache[2] = (...args) => _ctx.keyUp && _ctx.keyUp(...args)),
37633
37633
  onChange: _cache[3] || (_cache[3] = (...args) => _ctx.keyUp && _ctx.keyUp(...args))
37634
- }, null, 40, _hoisted_3$i),
37634
+ }, null, 40, _hoisted_3$j),
37635
37635
  _cache[18] || (_cache[18] = createElementVNode("span", null, "/", -1)),
37636
37636
  createTextVNode(" " + toDisplayString(_ctx.allPages), 1)
37637
37637
  ], 10, _hoisted_2$v),
@@ -37875,7 +37875,7 @@ const _hoisted_2$u = {
37875
37875
  ref: "page",
37876
37876
  name: "page"
37877
37877
  };
37878
- const _hoisted_3$h = {
37878
+ const _hoisted_3$i = {
37879
37879
  key: 0,
37880
37880
  style: { "padding-top": "10px" }
37881
37881
  };
@@ -37971,7 +37971,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
37971
37971
  _: 1
37972
37972
  }),
37973
37973
  createElementVNode("div", _hoisted_2$u, [
37974
- _ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
37974
+ _ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
37975
37975
  createVNode(_component_Card, {
37976
37976
  bordered: false,
37977
37977
  padding: 0,
@@ -40122,8 +40122,9 @@ const _sfc_main$K = {
40122
40122
  showAppendixCol: false,
40123
40123
  appedixLable: "\u9644\u4EF6"
40124
40124
  },
40125
- showAddBtn: true,
40126
- showDelBatchBtn: true,
40125
+ btnStyle: "padding-left:0px;padding-right:0px",
40126
+ showAddBtn: false,
40127
+ showDelBatchBtn: false,
40127
40128
  showGrid: true,
40128
40129
  showTitle: true,
40129
40130
  actionAppendixConfig: {
@@ -40135,6 +40136,9 @@ const _sfc_main$K = {
40135
40136
  }
40136
40137
  };
40137
40138
  },
40139
+ created() {
40140
+ this.myConfig = Object.assign({}, this.myConfig, this.config);
40141
+ },
40138
40142
  methods: {
40139
40143
  customInit2() {
40140
40144
  if (this.myConfig.showTitle !== void 0) {
@@ -40180,18 +40184,22 @@ const _sfc_main$K = {
40180
40184
  }
40181
40185
  }
40182
40186
  };
40183
- const _hoisted_1$F = ["onClick"];
40184
- const _hoisted_2$t = {
40187
+ const _hoisted_1$F = { key: 0 };
40188
+ const _hoisted_2$t = ["onClick"];
40189
+ const _hoisted_3$h = {
40185
40190
  key: 0,
40186
40191
  ref: "page",
40187
40192
  style: { "background": "#eee", "padding-top": "5px", "width": "100%" }
40188
40193
  };
40189
40194
  function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40195
+ const _component_Button = resolveComponent("Button");
40196
+ const _component_Col = resolveComponent("Col");
40197
+ const _component_Divider = resolveComponent("Divider");
40198
+ const _component_Row = resolveComponent("Row");
40190
40199
  const _component_ControlBox = resolveComponent("ControlBox");
40191
40200
  const _component_ShowText = resolveComponent("ShowText");
40192
40201
  const _component_Table = resolveComponent("Table");
40193
40202
  const _component_Page = resolveComponent("Page");
40194
- const _component_Row = resolveComponent("Row");
40195
40203
  const _component_Card = resolveComponent("Card");
40196
40204
  const _component_ExpandRow = resolveComponent("ExpandRow");
40197
40205
  const _component_Modal = resolveComponent("Modal");
@@ -40202,6 +40210,66 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40202
40210
  "dis-hover": ""
40203
40211
  }, {
40204
40212
  default: withCtx(() => [
40213
+ _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
40214
+ renderSlot(_ctx.$slots, "header")
40215
+ ])) : withDirectives((openBlock(), createBlock(_component_Row, {
40216
+ key: 1,
40217
+ "class-name": "row-box",
40218
+ type: "flex",
40219
+ justify: "start",
40220
+ align: "middle",
40221
+ gutter: 0,
40222
+ style: { "margin-bottom": "10px" }
40223
+ }, {
40224
+ default: withCtx(() => [
40225
+ $data.showAddBtn ? (openBlock(), createBlock(_component_Col, { key: 0 }, {
40226
+ default: withCtx(() => [
40227
+ createVNode(_component_Button, {
40228
+ style: normalizeStyle($data.btnStyle),
40229
+ customIcon: "iconfont icon-custom-rowadd3",
40230
+ type: "text",
40231
+ disabled: $data.myConfig.readOnly,
40232
+ onClick: _ctx.addRow
40233
+ }, {
40234
+ default: withCtx(() => _cache[1] || (_cache[1] = [
40235
+ createTextVNode("\u6DFB\u52A0")
40236
+ ])),
40237
+ _: 1
40238
+ }, 8, ["style", "disabled", "onClick"])
40239
+ ]),
40240
+ _: 1
40241
+ })) : createCommentVNode("", true),
40242
+ $data.showAddBtn && $data.showDelBatchBtn ? (openBlock(), createBlock(_component_Col, { key: 1 }, {
40243
+ default: withCtx(() => [
40244
+ createVNode(_component_Divider, {
40245
+ type: "vertical",
40246
+ style: { "margin": "0 6px 0 6px" }
40247
+ })
40248
+ ]),
40249
+ _: 1
40250
+ })) : createCommentVNode("", true),
40251
+ $data.showDelBatchBtn ? (openBlock(), createBlock(_component_Col, { key: 2 }, {
40252
+ default: withCtx(() => [
40253
+ createVNode(_component_Button, {
40254
+ style: normalizeStyle($data.btnStyle),
40255
+ customIcon: "iconfont icon-custom-rowdel3",
40256
+ type: "text",
40257
+ disabled: $data.myConfig.readOnly,
40258
+ onClick: _ctx.delBatchRow
40259
+ }, {
40260
+ default: withCtx(() => _cache[2] || (_cache[2] = [
40261
+ createTextVNode("\u5220\u9664")
40262
+ ])),
40263
+ _: 1
40264
+ }, 8, ["style", "disabled", "onClick"])
40265
+ ]),
40266
+ _: 1
40267
+ })) : createCommentVNode("", true)
40268
+ ]),
40269
+ _: 1
40270
+ }, 512)), [
40271
+ [vShow, $data.showGrid]
40272
+ ]),
40205
40273
  createVNode(_component_Row, { style: { "margin-top": "10px" } }, {
40206
40274
  default: withCtx(() => [
40207
40275
  createVNode(_component_Table, {
@@ -40245,12 +40313,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40245
40313
  config: config2,
40246
40314
  rowIndex: index
40247
40315
  }, null, 8, ["label", "contentAlign", "class", "config", "rowIndex"]))
40248
- ], 10, _hoisted_1$F)
40316
+ ], 10, _hoisted_2$t)
40249
40317
  ])
40250
40318
  };
40251
40319
  })
40252
40320
  ]), 1032, ["row-class-name", "loading", "size", "stripe", "border", "height", "maxHeight", "show-header", "onOnSelectionChange", "columns", "data", "onOnColumnWidthResize", "show-summary", "summary-method"]),
40253
- $data.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
40321
+ $data.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
40254
40322
  createVNode(_component_Card, {
40255
40323
  bordered: false,
40256
40324
  padding: 0,
@@ -40287,7 +40355,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40287
40355
  _: 1
40288
40356
  }),
40289
40357
  !_ctx.editRowFlag ? (openBlock(), createBlock(_component_Modal, {
40290
- key: 0,
40358
+ key: 2,
40291
40359
  modelValue: _ctx.showEditRowForm,
40292
40360
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.showEditRowForm = $event),
40293
40361
  width: "90%",
@@ -40306,7 +40374,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40306
40374
  _: 1
40307
40375
  }, 8, ["modelValue", "onOnOk"])) : createCommentVNode("", true)
40308
40376
  ]),
40309
- _: 1
40377
+ _: 3
40310
40378
  }, 512);
40311
40379
  }
40312
40380
  var EditGridCardS = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$H]]);
@@ -46474,6 +46542,8 @@ const _sfc_main$v = {
46474
46542
  myConfig: {
46475
46543
  headStyle: "",
46476
46544
  readOnly: false,
46545
+ showAddBtn: true,
46546
+ showDelBatchBtn: true,
46477
46547
  downfile: "",
46478
46548
  delfile: "",
46479
46549
  pdffile: "/mss-sysconf-boot/downloadPdf?filekey=",
@@ -46505,12 +46575,14 @@ const _sfc_main$v = {
46505
46575
  name: "filememo",
46506
46576
  type: "ComboBox",
46507
46577
  dictkey: "CUSTFILETYPE",
46508
- visible: false
46578
+ codeWithName: false,
46579
+ width: 300
46509
46580
  }, {
46510
46581
  label: "\u9644\u4EF6\u7C7B\u578B",
46511
46582
  name: "filemode",
46512
46583
  type: "TextBox",
46513
- width: 300
46584
+ width: 300,
46585
+ visible: false
46514
46586
  }, {
46515
46587
  label: "\u6587\u4EF6\u540D\u79F0",
46516
46588
  name: "filename",
@@ -46595,8 +46667,9 @@ const _sfc_main$v = {
46595
46667
  if (!this.myConfig.pdffile) {
46596
46668
  this.myConfig.pdffile = this.OmdUrl.pdffile;
46597
46669
  }
46598
- this.myConfig.showAddBtn = false;
46599
- this.myConfig.showDelBatchBtn = false;
46670
+ if (this.myConfig.showTitle !== void 0) {
46671
+ this.showTitle = this.myConfig.showTitle;
46672
+ }
46600
46673
  this.myConfig.generalOrientation = true;
46601
46674
  if (this.myConfig.fileSize !== void 0) {
46602
46675
  this.fileSize = Number(this.myConfig.fileSize) * 1024;
@@ -46859,7 +46932,7 @@ const _sfc_main$v = {
46859
46932
  let obj = {};
46860
46933
  obj.readOnly = value;
46861
46934
  this.setPro(obj);
46862
- this.$refs.grid.setReadOnly(true);
46935
+ this.$refs.grid.setReadOnly(value);
46863
46936
  this.setBtnReadOnly(value);
46864
46937
  },
46865
46938
  showTxt(params) {
@@ -51765,8 +51838,6 @@ const _sfc_main$o = {
51765
51838
  this.myConfig.gridConfig.overrideData = this.gridOverrideData;
51766
51839
  this.myConfig.gridConfig.showCondition = false;
51767
51840
  this.myConfig.gridConfig.resources = this.myConfig.resources;
51768
- this.myConfig.gridConfig.method = this.myConfig.classPrefix + ".search";
51769
- this.myConfig.gridConfig.response = this.myConfig.response;
51770
51841
  this.myConfig.gridConfig.tableSize = "small";
51771
51842
  this.myConfig.gridConfig.showBorder = false;
51772
51843
  this.myConfig.gridConfig.pageShowSizer = false;
@@ -51776,6 +51847,12 @@ const _sfc_main$o = {
51776
51847
  if (this.myConfig.gridConfig.title !== void 0) {
51777
51848
  this.myConfig.gridtitle = this.myConfig.gridConfig.title;
51778
51849
  }
51850
+ if (!this.myConfig.gridConfig.method) {
51851
+ this.myConfig.gridConfig.method = this.myConfig.classPrefix + ".search";
51852
+ }
51853
+ if (!this.myConfig.gridConfig.response) {
51854
+ this.myConfig.gridConfig.response = this.myConfig.response;
51855
+ }
51779
51856
  this.myConfig.gridConfig.multiSelect = false;
51780
51857
  if (this.myConfig.treeConfig.items) {
51781
51858
  this.myConfig.gridConfig.items = this.$Method.copy(this.myConfig.treeConfig.items);