form-custom-test 3.0.99 → 3.0.100

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/dist/render.es.js CHANGED
@@ -1968,7 +1968,8 @@ var enLocale_extension = {
1968
1968
  selectTreeCheckStrictly: "Check Strictly",
1969
1969
  assetSelectButtonText: "Button Text",
1970
1970
  assetSelectTypeJson: "Asset Type Json",
1971
- assetTableTypeJson: "Asset Table Type Json"
1971
+ assetTableTypeJson: "Asset Table Type Json",
1972
+ assetSelectAssetTypeValue: "Asset Type Value"
1972
1973
  }
1973
1974
  }
1974
1975
  };
@@ -2014,7 +2015,8 @@ var zhLocale_extension = {
2014
2015
  selectTreeCheckStrictly: "\u662F\u5426\u4E25\u683C\u9009\u4E2D",
2015
2016
  assetSelectButtonText: "\u6309\u94AE\u6587\u5B57",
2016
2017
  assetSelectTypeJson: "\u8D44\u4EA7\u7C7B\u578BJson",
2017
- assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson"
2018
+ assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",
2019
+ assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C"
2018
2020
  }
2019
2021
  }
2020
2022
  };
@@ -2205,7 +2207,7 @@ const _hoisted_1$H = {
2205
2207
  class: "field-action"
2206
2208
  };
2207
2209
  const _hoisted_2$w = ["title"];
2208
- const _hoisted_3$s = ["title"];
2210
+ const _hoisted_3$t = ["title"];
2209
2211
  const _hoisted_4$h = ["title"];
2210
2212
  const _hoisted_5$e = ["title"];
2211
2213
  const _hoisted_6$d = {
@@ -2242,7 +2244,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
2242
2244
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.moveUpWidget($props.field), ["stop"]))
2243
2245
  }, [
2244
2246
  createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
2245
- ], 8, _hoisted_3$s)) : createCommentVNode("", true),
2247
+ ], 8, _hoisted_3$t)) : createCommentVNode("", true),
2246
2248
  !!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
2247
2249
  key: 1,
2248
2250
  title: _ctx.i18nt("designer.hint.moveDownWidget"),
@@ -9338,7 +9340,7 @@ const _hoisted_2$v = {
9338
9340
  key: 0,
9339
9341
  class: "field-action"
9340
9342
  };
9341
- const _hoisted_3$r = ["title"];
9343
+ const _hoisted_3$s = ["title"];
9342
9344
  const _hoisted_4$g = ["title"];
9343
9345
  const _hoisted_5$d = ["title"];
9344
9346
  const _hoisted_6$c = ["title"];
@@ -9347,7 +9349,7 @@ const _hoisted_7$a = {
9347
9349
  class: "drag-handler background-opacity"
9348
9350
  };
9349
9351
  const _hoisted_8$7 = ["title"];
9350
- const _hoisted_9$5 = { key: 0 };
9352
+ const _hoisted_9$6 = { key: 0 };
9351
9353
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
9352
9354
  const _component_svg_icon = resolveComponent("svg-icon");
9353
9355
  const _component_el_tooltip = resolveComponent("el-tooltip");
@@ -9427,7 +9429,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
9427
9429
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
9428
9430
  }, [
9429
9431
  createVNode(_component_svg_icon, { "icon-class": "el-back" })
9430
- ], 8, _hoisted_3$r),
9432
+ ], 8, _hoisted_3$s),
9431
9433
  !!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
9432
9434
  key: 0,
9433
9435
  title: _ctx.i18nt("designer.hint.moveUpWidget"),
@@ -9456,7 +9458,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
9456
9458
  createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
9457
9459
  ], 8, _hoisted_8$7),
9458
9460
  createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
9459
- $props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$5, [
9461
+ $props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$6, [
9460
9462
  createVNode(_component_svg_icon, { "icon-class": "el-hide" })
9461
9463
  ])) : createCommentVNode("", true)
9462
9464
  ])) : createCommentVNode("", true)
@@ -10112,11 +10114,11 @@ const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
10112
10114
  fill: "currentColor",
10113
10115
  d: "M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"
10114
10116
  }, null, -1);
10115
- const _hoisted_3$q = [
10117
+ const _hoisted_3$r = [
10116
10118
  _hoisted_2$u
10117
10119
  ];
10118
10120
  function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
10119
- return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$q);
10121
+ return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$r);
10120
10122
  }
10121
10123
  var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
10122
10124
  const _sfc_main$_ = defineComponent({
@@ -10133,11 +10135,11 @@ const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
10133
10135
  fill: "currentColor",
10134
10136
  d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
10135
10137
  }, null, -1);
10136
- const _hoisted_3$p = [
10138
+ const _hoisted_3$q = [
10137
10139
  _hoisted_2$t
10138
10140
  ];
10139
10141
  function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
10140
- return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$p);
10142
+ return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$q);
10141
10143
  }
10142
10144
  var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
10143
10145
  const _sfc_main$Z = defineComponent({
@@ -10154,11 +10156,11 @@ const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
10154
10156
  fill: "currentColor",
10155
10157
  d: "M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"
10156
10158
  }, null, -1);
10157
- const _hoisted_3$o = [
10159
+ const _hoisted_3$p = [
10158
10160
  _hoisted_2$s
10159
10161
  ];
10160
10162
  function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
10161
- return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$o);
10163
+ return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$p);
10162
10164
  }
10163
10165
  var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
10164
10166
  const _sfc_main$Y = defineComponent({
@@ -10175,7 +10177,7 @@ const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
10175
10177
  fill: "currentColor",
10176
10178
  d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
10177
10179
  }, null, -1);
10178
- const _hoisted_3$n = /* @__PURE__ */ createElementVNode("path", {
10180
+ const _hoisted_3$o = /* @__PURE__ */ createElementVNode("path", {
10179
10181
  fill: "currentColor",
10180
10182
  d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
10181
10183
  }, null, -1);
@@ -10185,7 +10187,7 @@ const _hoisted_4$f = /* @__PURE__ */ createElementVNode("path", {
10185
10187
  }, null, -1);
10186
10188
  const _hoisted_5$c = [
10187
10189
  _hoisted_2$r,
10188
- _hoisted_3$n,
10190
+ _hoisted_3$o,
10189
10191
  _hoisted_4$f
10190
10192
  ];
10191
10193
  function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
@@ -10206,11 +10208,11 @@ const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
10206
10208
  fill: "currentColor",
10207
10209
  d: "M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"
10208
10210
  }, null, -1);
10209
- const _hoisted_3$m = [
10211
+ const _hoisted_3$n = [
10210
10212
  _hoisted_2$q
10211
10213
  ];
10212
10214
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
10213
- return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$m);
10215
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$n);
10214
10216
  }
10215
10217
  var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X]]);
10216
10218
  const _sfc_main$W = defineComponent({
@@ -10227,13 +10229,13 @@ const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
10227
10229
  fill: "currentColor",
10228
10230
  d: "M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"
10229
10231
  }, null, -1);
10230
- const _hoisted_3$l = /* @__PURE__ */ createElementVNode("path", {
10232
+ const _hoisted_3$m = /* @__PURE__ */ createElementVNode("path", {
10231
10233
  fill: "currentColor",
10232
10234
  d: "M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"
10233
10235
  }, null, -1);
10234
10236
  const _hoisted_4$e = [
10235
10237
  _hoisted_2$p,
10236
- _hoisted_3$l
10238
+ _hoisted_3$m
10237
10239
  ];
10238
10240
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
10239
10241
  return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_4$e);
@@ -10253,11 +10255,11 @@ const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
10253
10255
  fill: "currentColor",
10254
10256
  d: "M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
10255
10257
  }, null, -1);
10256
- const _hoisted_3$k = [
10258
+ const _hoisted_3$l = [
10257
10259
  _hoisted_2$o
10258
10260
  ];
10259
10261
  function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
10260
- return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$k);
10262
+ return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$l);
10261
10263
  }
10262
10264
  var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V]]);
10263
10265
  const _sfc_main$U = defineComponent({
@@ -10274,11 +10276,11 @@ const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
10274
10276
  fill: "currentColor",
10275
10277
  d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
10276
10278
  }, null, -1);
10277
- const _hoisted_3$j = [
10279
+ const _hoisted_3$k = [
10278
10280
  _hoisted_2$n
10279
10281
  ];
10280
10282
  function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
10281
- return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$j);
10283
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$k);
10282
10284
  }
10283
10285
  var loading = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U]]);
10284
10286
  const _sfc_main$T = defineComponent({
@@ -10295,11 +10297,11 @@ const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
10295
10297
  fill: "currentColor",
10296
10298
  d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
10297
10299
  }, null, -1);
10298
- const _hoisted_3$i = [
10300
+ const _hoisted_3$j = [
10299
10301
  _hoisted_2$m
10300
10302
  ];
10301
10303
  function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
10302
- return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$i);
10304
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$j);
10303
10305
  }
10304
10306
  var minus = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T]]);
10305
10307
  const _sfc_main$S = defineComponent({
@@ -10316,11 +10318,11 @@ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
10316
10318
  fill: "currentColor",
10317
10319
  d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
10318
10320
  }, null, -1);
10319
- const _hoisted_3$h = [
10321
+ const _hoisted_3$i = [
10320
10322
  _hoisted_2$l
10321
10323
  ];
10322
10324
  function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
10323
- return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$h);
10325
+ return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$i);
10324
10326
  }
10325
10327
  var plus = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S]]);
10326
10328
  const _sfc_main$R = defineComponent({
@@ -10337,11 +10339,11 @@ const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
10337
10339
  fill: "currentColor",
10338
10340
  d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"
10339
10341
  }, null, -1);
10340
- const _hoisted_3$g = [
10342
+ const _hoisted_3$h = [
10341
10343
  _hoisted_2$k
10342
10344
  ];
10343
10345
  function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
10344
- return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$g);
10346
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$h);
10345
10347
  }
10346
10348
  var search = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R]]);
10347
10349
  var defaultConfig = {
@@ -10793,13 +10795,13 @@ const _hoisted_2$j = {
10793
10795
  key: 0,
10794
10796
  class: "el-upload__tip"
10795
10797
  };
10796
- const _hoisted_3$f = { class: "sub-tip" };
10798
+ const _hoisted_3$g = { class: "sub-tip" };
10797
10799
  const _hoisted_4$d = { class: "upload-file-list" };
10798
10800
  const _hoisted_5$b = { class: "left-wrap" };
10799
10801
  const _hoisted_6$b = ["src"];
10800
10802
  const _hoisted_7$9 = ["title"];
10801
10803
  const _hoisted_8$6 = { class: "right-wrap" };
10802
- const _hoisted_9$4 = ["title", "onClick"];
10804
+ const _hoisted_9$5 = ["title", "onClick"];
10803
10805
  const _hoisted_10$3 = ["onClick"];
10804
10806
  const _hoisted_11$2 = ["onClick"];
10805
10807
  function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
@@ -10868,7 +10870,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
10868
10870
  src: _imports_1,
10869
10871
  alt: ""
10870
10872
  }, null, -1)
10871
- ])], 8, _hoisted_9$4)) : createCommentVNode("", true),
10873
+ ])], 8, _hoisted_9$5)) : createCommentVNode("", true),
10872
10874
  _ctx.getDisabled() && !$options.isZip(file.name) ? (openBlock(), createElementBlock("div", {
10873
10875
  key: 1,
10874
10876
  onClick: withModifiers(($event) => $options.handlePreview(file), ["stop"]),
@@ -10893,7 +10895,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
10893
10895
  alt: ""
10894
10896
  }, null, -1)),
10895
10897
  _cache[1] || (_cache[1] = createElementVNode("div", { class: "main-tip" }, " \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ", -1)),
10896
- createElementVNode("div", _hoisted_3$f, " \u652F\u6301\u4E0A\u4F20" + toDisplayString($props.field.options.fileTypes.slice(0, 8).join("\uFF0C")) + "\u7B49\u683C\u5F0F\u6587\u4EF6 ", 1)
10898
+ createElementVNode("div", _hoisted_3$g, " \u652F\u6301\u4E0A\u4F20" + toDisplayString($props.field.options.fileTypes.slice(0, 8).join("\uFF0C")) + "\u7B49\u683C\u5F0F\u6587\u4EF6 ", 1)
10897
10899
  ], 64)) : (openBlock(), createBlock(_component_el_button, {
10898
10900
  key: 1,
10899
10901
  type: "primary"
@@ -11431,7 +11433,7 @@ const _hoisted_2$i = {
11431
11433
  class: "el-icon--upload-success",
11432
11434
  style: { "color": "#FFF" }
11433
11435
  };
11434
- const _hoisted_3$e = { class: "el-upload-list__item-actions" };
11436
+ const _hoisted_3$f = { class: "el-upload-list__item-actions" };
11435
11437
  const _hoisted_4$c = ["onClick"];
11436
11438
  const _hoisted_5$a = ["onClick"];
11437
11439
  const _hoisted_6$a = {
@@ -11495,7 +11497,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
11495
11497
  })
11496
11498
  ])
11497
11499
  ]),
11498
- createElementVNode("span", _hoisted_3$e, [
11500
+ createElementVNode("span", _hoisted_3$f, [
11499
11501
  createElementVNode("span", {
11500
11502
  class: "el-upload-list__item-preview",
11501
11503
  onClick: ($event) => $options.handlePictureCardPreview(file)
@@ -24932,7 +24934,7 @@ const _sfc_main$w = {
24932
24934
  };
24933
24935
  const _hoisted_1$n = { class: "action-header-column" };
24934
24936
  const _hoisted_2$g = { class: "action-label" };
24935
- const _hoisted_3$d = {
24937
+ const _hoisted_3$e = {
24936
24938
  key: 0,
24937
24939
  class: "custom-label"
24938
24940
  };
@@ -24981,7 +24983,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
24981
24983
  class: normalizeClass(["field-header-column", [$options.getLabelAlign($props.widget, subWidget), !!subWidget.options.required ? "is-required" : ""]]),
24982
24984
  style: normalizeStyle({ width: subWidget.options.columnWidth })
24983
24985
  }, [
24984
- !!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$d, [
24986
+ !!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$e, [
24985
24987
  subWidget.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
24986
24988
  !!subWidget.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
24987
24989
  createVNode(_component_el_tooltip, {
@@ -26100,13 +26102,13 @@ function registerIcon(app) {
26100
26102
  if (typeof window !== "undefined") {
26101
26103
  let loadSvg = function() {
26102
26104
  var body = document.body;
26103
- var svgDom = document.getElementById("__svg__icons__dom__1777083355306__");
26105
+ var svgDom = document.getElementById("__svg__icons__dom__1777256201672__");
26104
26106
  if (!svgDom) {
26105
26107
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26106
26108
  svgDom.style.position = "absolute";
26107
26109
  svgDom.style.width = "0";
26108
26110
  svgDom.style.height = "0";
26109
- svgDom.id = "__svg__icons__dom__1777083355306__";
26111
+ svgDom.id = "__svg__icons__dom__1777256201672__";
26110
26112
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26111
26113
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26112
26114
  }
@@ -26375,13 +26377,13 @@ const _hoisted_1$l = {
26375
26377
  class: "container-action"
26376
26378
  };
26377
26379
  const _hoisted_2$f = ["title"];
26378
- const _hoisted_3$c = ["title"];
26380
+ const _hoisted_3$d = ["title"];
26379
26381
  const _hoisted_4$a = ["title"];
26380
26382
  const _hoisted_5$8 = ["title"];
26381
26383
  const _hoisted_6$8 = ["title"];
26382
26384
  const _hoisted_7$6 = ["title"];
26383
26385
  const _hoisted_8$5 = ["title"];
26384
- const _hoisted_9$3 = {
26386
+ const _hoisted_9$4 = {
26385
26387
  key: 1,
26386
26388
  class: "drag-handler"
26387
26389
  };
@@ -26406,7 +26408,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26406
26408
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.moveUpWidget(), ["stop"]))
26407
26409
  }, [
26408
26410
  createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
26409
- ], 8, _hoisted_3$c)) : createCommentVNode("", true),
26411
+ ], 8, _hoisted_3$d)) : createCommentVNode("", true),
26410
26412
  !!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
26411
26413
  key: 1,
26412
26414
  title: _ctx.i18nt("designer.hint.moveDownWidget"),
@@ -26442,7 +26444,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26442
26444
  createVNode(_component_svg_icon, { "icon-class": "el-delete" })
26443
26445
  ], 8, _hoisted_8$5)
26444
26446
  ])) : createCommentVNode("", true),
26445
- $props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
26447
+ $props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
26446
26448
  createElementVNode("i", {
26447
26449
  title: _ctx.i18nt("designer.hint.dragHandler")
26448
26450
  }, [
@@ -32390,7 +32392,7 @@ const _sfc_main$n = {
32390
32392
  };
32391
32393
  const _hoisted_1$i = { class: "person-tree-widget__trigger" };
32392
32394
  const _hoisted_2$d = { class: "flex items-center" };
32393
- const _hoisted_3$b = { class: "dialog-footer" };
32395
+ const _hoisted_3$c = { class: "dialog-footer" };
32394
32396
  function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32395
32397
  const _component_el_input_tag = resolveComponent("el-input-tag");
32396
32398
  const _component_el_input = resolveComponent("el-input");
@@ -32481,7 +32483,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32481
32483
  !$props.field.options.hideFooter ? {
32482
32484
  name: "footer",
32483
32485
  fn: withCtx(() => [
32484
- createElementVNode("div", _hoisted_3$b, [
32486
+ createElementVNode("div", _hoisted_3$c, [
32485
32487
  createVNode(_component_el_button, {
32486
32488
  onClick: $options.handleCancel,
32487
32489
  size: "default"
@@ -33025,7 +33027,7 @@ const _hoisted_2$c = {
33025
33027
  key: 1,
33026
33028
  class: "room-wrap"
33027
33029
  };
33028
- const _hoisted_3$a = ["onClick"];
33030
+ const _hoisted_3$b = ["onClick"];
33029
33031
  const _hoisted_4$9 = { class: "select-icon" };
33030
33032
  const _hoisted_5$7 = { class: "room-item-name" };
33031
33033
  const _hoisted_6$7 = {
@@ -33112,7 +33114,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
33112
33114
  item.equipment ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
33113
33115
  createElementVNode("span", null, "\u8BBE\u5907\uFF1A" + toDisplayString(item.equipment), 1)
33114
33116
  ])) : createCommentVNode("", true)
33115
- ], 10, _hoisted_3$a);
33117
+ ], 10, _hoisted_3$b);
33116
33118
  }), 128))
33117
33119
  ]))
33118
33120
  ])
@@ -33332,7 +33334,7 @@ const _hoisted_2$b = {
33332
33334
  key: 0,
33333
33335
  class: "grid-col-action"
33334
33336
  };
33335
- const _hoisted_3$9 = ["title"];
33337
+ const _hoisted_3$a = ["title"];
33336
33338
  const _hoisted_4$8 = ["title"];
33337
33339
  const _hoisted_5$6 = ["title"];
33338
33340
  const _hoisted_6$6 = ["title"];
@@ -33341,7 +33343,7 @@ const _hoisted_8$4 = {
33341
33343
  key: 1,
33342
33344
  class: "grid-col-handler"
33343
33345
  };
33344
- const _hoisted_9$2 = {
33346
+ const _hoisted_9$3 = {
33345
33347
  key: 0,
33346
33348
  class: "col-hidden-tag"
33347
33349
  };
@@ -33403,7 +33405,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
33403
33405
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget($props.widget), ["stop"]))
33404
33406
  }, [
33405
33407
  createVNode(_component_svg_icon, { "icon-class": "el-back" })
33406
- ], 8, _hoisted_3$9),
33408
+ ], 8, _hoisted_3$a),
33407
33409
  !!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
33408
33410
  key: 0,
33409
33411
  title: _ctx.i18nt("designer.hint.moveUpWidget"),
@@ -33433,7 +33435,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
33433
33435
  ])) : createCommentVNode("", true),
33434
33436
  $props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
33435
33437
  createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1),
33436
- $props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$2, [
33438
+ $props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$3, [
33437
33439
  createVNode(_component_svg_icon, { "icon-class": "el-hide" })
33438
33440
  ])) : createCommentVNode("", true)
33439
33441
  ])) : createCommentVNode("", true)
@@ -33817,7 +33819,7 @@ const _sfc_main$g = {
33817
33819
  };
33818
33820
  const _hoisted_1$e = ["colspan", "rowspan"];
33819
33821
  const _hoisted_2$a = { class: "form-widget-list" };
33820
- const _hoisted_3$8 = {
33822
+ const _hoisted_3$9 = {
33821
33823
  key: 0,
33822
33824
  class: "table-cell-action"
33823
33825
  };
@@ -33874,7 +33876,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
33874
33876
  ]),
33875
33877
  _: 1
33876
33878
  }, 16, ["list", "onUpdate", "move"]),
33877
- $props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
33879
+ $props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
33878
33880
  createElementVNode("i", {
33879
33881
  title: _ctx.i18nt("designer.hint.selectParentWidget"),
33880
33882
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
@@ -34180,7 +34182,7 @@ const _sfc_main$e = {
34180
34182
  };
34181
34183
  const _hoisted_1$c = { class: "sub-form-header" };
34182
34184
  const _hoisted_2$9 = { class: "sub-form-label" };
34183
- const _hoisted_3$7 = { class: "group-header" };
34185
+ const _hoisted_3$8 = { class: "group-header" };
34184
34186
  const _hoisted_4$6 = { class: "group-title" };
34185
34187
  const _hoisted_5$4 = {
34186
34188
  key: 0,
@@ -34192,7 +34194,7 @@ const _hoisted_6$4 = {
34192
34194
  };
34193
34195
  const _hoisted_7$3 = { class: "group-actions" };
34194
34196
  const _hoisted_8$3 = { class: "group-content" };
34195
- const _hoisted_9$1 = { class: "form-widget-list" };
34197
+ const _hoisted_9$2 = { class: "form-widget-list" };
34196
34198
  const _hoisted_10$1 = {
34197
34199
  key: 0,
34198
34200
  class: "empty-hint"
@@ -34223,7 +34225,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
34223
34225
  class: "preview-group-row",
34224
34226
  key: "preview-" + rowIdx
34225
34227
  }, [
34226
- createElementVNode("div", _hoisted_3$7, [
34228
+ createElementVNode("div", _hoisted_3$8, [
34227
34229
  createElementVNode("div", _hoisted_4$6, [
34228
34230
  $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$4, toDisplayString($props.widget.options.label) + " " + toDisplayString(rowIdx + 1) + " \u7EC4", 1)) : (openBlock(), createElementBlock("span", _hoisted_6$4, "\u8868\u5355\u7EC4"))
34229
34231
  ]),
@@ -34276,7 +34278,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
34276
34278
  move: $options.checkContainerMove
34277
34279
  }), {
34278
34280
  item: withCtx(({ element: subWidget, index: swIdx }) => [
34279
- createElementVNode("div", _hoisted_9$1, [
34281
+ createElementVNode("div", _hoisted_9$2, [
34280
34282
  subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
34281
34283
  widget: subWidget,
34282
34284
  designer: $props.designer,
@@ -34672,7 +34674,7 @@ const _sfc_main$d = {
34672
34674
  };
34673
34675
  const _hoisted_1$b = { class: "sub-form-header" };
34674
34676
  const _hoisted_2$8 = { class: "sub-form-label" };
34675
- const _hoisted_3$6 = { class: "group-header" };
34677
+ const _hoisted_3$7 = { class: "group-header" };
34676
34678
  const _hoisted_4$5 = { class: "group-title" };
34677
34679
  const _hoisted_5$3 = {
34678
34680
  key: 0,
@@ -34684,7 +34686,7 @@ const _hoisted_6$3 = {
34684
34686
  };
34685
34687
  const _hoisted_7$2 = { class: "group-actions" };
34686
34688
  const _hoisted_8$2 = { class: "group-content" };
34687
- const _hoisted_9 = {
34689
+ const _hoisted_9$1 = {
34688
34690
  key: 1,
34689
34691
  class: "field-loading",
34690
34692
  style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
@@ -34721,7 +34723,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
34721
34723
  class: "form-group-row",
34722
34724
  key: subFormRowId
34723
34725
  }, [
34724
- createElementVNode("div", _hoisted_3$6, [
34726
+ createElementVNode("div", _hoisted_3$7, [
34725
34727
  createElementVNode("div", _hoisted_4$5, [
34726
34728
  $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$3, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$3, "\u8868\u5355\u7EC4"))
34727
34729
  ]),
@@ -34768,7 +34770,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
34768
34770
  "sub-form-row-index": sfrIdx,
34769
34771
  "sub-form-col-index": swIdx,
34770
34772
  "sub-form-disabled": $props.widget.options.disabled
34771
- }, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
34773
+ }, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9$1, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
34772
34774
  ], 64)) : createCommentVNode("", true)
34773
34775
  ], 64);
34774
34776
  }), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
@@ -34959,7 +34961,7 @@ const _sfc_main$c = {
34959
34961
  };
34960
34962
  const _hoisted_1$a = ["colspan", "rowspan"];
34961
34963
  const _hoisted_2$7 = { class: "form-widget-list" };
34962
- const _hoisted_3$5 = {
34964
+ const _hoisted_3$6 = {
34963
34965
  key: 0,
34964
34966
  class: "custom-table-cell-action"
34965
34967
  };
@@ -35026,7 +35028,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
35026
35028
  ]),
35027
35029
  _: 1
35028
35030
  }, 16, ["list", "onUpdate", "move"]),
35029
- $props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
35031
+ $props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
35030
35032
  createElementVNode("i", {
35031
35033
  title: "\u9009\u62E9\u7236\u7EC4\u4EF6",
35032
35034
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
@@ -35443,7 +35445,7 @@ const _hoisted_1$7 = {
35443
35445
  class: "table-actions"
35444
35446
  };
35445
35447
  const _hoisted_2$6 = { class: "custom-table-layout" };
35446
- const _hoisted_3$4 = {
35448
+ const _hoisted_3$5 = {
35447
35449
  key: 0,
35448
35450
  class: "row-actions-cell"
35449
35451
  };
@@ -35478,7 +35480,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35478
35480
  return openBlock(), createElementBlock("tr", {
35479
35481
  key: $data.rowIdData[rowIdx] || row.id
35480
35482
  }, [
35481
- $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$4, [
35483
+ $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$5, [
35482
35484
  createVNode(_component_el_button, {
35483
35485
  type: "primary",
35484
35486
  size: "small",
@@ -35617,7 +35619,7 @@ const _sfc_main$8 = {
35617
35619
  };
35618
35620
  const _hoisted_1$6 = { class: "sub-table-header" };
35619
35621
  const _hoisted_2$5 = { class: "sub-table-label" };
35620
- const _hoisted_3$3 = { class: "table-preview" };
35622
+ const _hoisted_3$4 = { class: "table-preview" };
35621
35623
  const _hoisted_4$3 = { class: "preview-cell" };
35622
35624
  const _hoisted_5$1 = { class: "empty-hint" };
35623
35625
  const _hoisted_6$1 = { key: 0 };
@@ -35663,7 +35665,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
35663
35665
  _: 1
35664
35666
  }, 8, ["disabled", "onClick"])
35665
35667
  ]),
35666
- createElementVNode("div", _hoisted_3$3, [
35668
+ createElementVNode("div", _hoisted_3$4, [
35667
35669
  createVNode(_component_el_table, {
35668
35670
  data: $data.previewData,
35669
35671
  border: $props.widget.options.border,
@@ -36131,7 +36133,7 @@ const _hoisted_2$4 = {
36131
36133
  key: 0,
36132
36134
  class: "required-mark"
36133
36135
  };
36134
- const _hoisted_3$2 = { class: "table-toolbar" };
36136
+ const _hoisted_3$3 = { class: "table-toolbar" };
36135
36137
  const _hoisted_4$2 = { class: "dialog-footer" };
36136
36138
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
36137
36139
  const _component_svg_icon = resolveComponent("svg-icon");
@@ -36160,7 +36162,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
36160
36162
  }, toDisplayString($props.widget.options.label), 3),
36161
36163
  $props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$4, "*")) : createCommentVNode("", true)
36162
36164
  ])) : createCommentVNode("", true),
36163
- createElementVNode("div", _hoisted_3$2, [
36165
+ createElementVNode("div", _hoisted_3$3, [
36164
36166
  !$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
36165
36167
  key: 0,
36166
36168
  type: "primary",
@@ -61118,7 +61120,7 @@ const _sfc_main$5 = {
61118
61120
  };
61119
61121
  const _hoisted_1$3 = { class: "column-header" };
61120
61122
  const _hoisted_2$2 = { class: "column-title" };
61121
- const _hoisted_3$1 = { class: "column-form" };
61123
+ const _hoisted_3$2 = { class: "column-form" };
61122
61124
  const _hoisted_4$1 = { class: "dialog-footer" };
61123
61125
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
61124
61126
  const _component_el_divider = resolveComponent("el-divider");
@@ -61164,7 +61166,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
61164
61166
  class: "column-delete-button"
61165
61167
  }, null, 8, ["onClick"])
61166
61168
  ]),
61167
- createElementVNode("div", _hoisted_3$1, [
61169
+ createElementVNode("div", _hoisted_3$2, [
61168
61170
  createVNode(_component_el_form_item, { label: "\u5217\u540D" }, {
61169
61171
  default: withCtx(() => [
61170
61172
  createVNode(_component_el_input, {
@@ -61696,6 +61698,10 @@ const _sfc_main$3 = {
61696
61698
  fieldValue: {
61697
61699
  type: Array,
61698
61700
  default: () => []
61701
+ },
61702
+ assetTypeValue: {
61703
+ type: String,
61704
+ default: ""
61699
61705
  }
61700
61706
  },
61701
61707
  watch: {
@@ -61713,14 +61719,33 @@ const _sfc_main$3 = {
61713
61719
  },
61714
61720
  deep: true,
61715
61721
  immediate: true
61722
+ },
61723
+ assetTypeValue: {
61724
+ handler(newVal) {
61725
+ if (newVal) {
61726
+ this.form.assetType = newVal;
61727
+ this.disabled = true;
61728
+ } else {
61729
+ this.disabled = false;
61730
+ }
61731
+ },
61732
+ immediate: true
61716
61733
  }
61717
61734
  },
61718
61735
  data() {
61719
61736
  return {
61737
+ tableData: [],
61720
61738
  selectedRows: [],
61721
61739
  visible: false,
61722
61740
  pageSize: 10,
61723
- currentPage: 1
61741
+ currentPage: 1,
61742
+ assetTypeOptions: [],
61743
+ form: {
61744
+ assetCode: "",
61745
+ assetType: "",
61746
+ ownerUnit: ""
61747
+ },
61748
+ disabled: false
61724
61749
  };
61725
61750
  },
61726
61751
  methods: {
@@ -61731,98 +61756,14 @@ const _sfc_main$3 = {
61731
61756
  this.$emit("confirm", this.selectedRows);
61732
61757
  },
61733
61758
  getTableData() {
61734
- this.tableData = [
61735
- {
61736
- id: 1,
61737
- assetCode: "1",
61738
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61739
- status: "\u8D44\u4EA7\u7C7B\u578B",
61740
- createTime: "2021-01-01",
61741
- updateTime: "2021-01-01",
61742
- assetType: "0"
61743
- },
61744
- {
61745
- id: 2,
61746
- assetCode: "2",
61747
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61748
- status: "\u8D44\u4EA7\u7C7B\u578B",
61749
- createTime: "2021-01-01",
61750
- updateTime: "2021-01-01",
61751
- assetType: "1"
61752
- },
61753
- {
61754
- id: 3,
61755
- assetCode: "3",
61756
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61757
- status: "\u8D44\u4EA7\u7C7B\u578B",
61758
- createTime: "2021-01-01",
61759
- updateTime: "2021-01-01",
61760
- assetType: "2"
61761
- },
61762
- {
61763
- id: 4,
61764
- assetCode: "4",
61765
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61766
- status: "\u8D44\u4EA7\u7C7B\u578B",
61767
- createTime: "2021-01-01",
61768
- updateTime: "2021-01-01",
61769
- assetType: "3"
61770
- },
61771
- {
61772
- id: 5,
61773
- assetCode: "5",
61774
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61775
- status: "\u8D44\u4EA7\u7C7B\u578B",
61776
- createTime: "2021-01-01",
61777
- updateTime: "2021-01-01",
61778
- assetType: "4"
61779
- },
61780
- {
61781
- id: 6,
61782
- assetCode: "6",
61783
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61784
- status: "\u8D44\u4EA7\u7C7B\u578B",
61785
- createTime: "2021-01-01",
61786
- updateTime: "2021-01-01",
61787
- assetType: "5"
61788
- },
61789
- {
61790
- id: 7,
61791
- assetCode: "7",
61792
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61793
- status: "\u8D44\u4EA7\u7C7B\u578B",
61794
- createTime: "2021-01-01",
61795
- updateTime: "2021-01-01",
61796
- assetType: "6"
61797
- },
61798
- {
61799
- id: 8,
61800
- assetCode: "8",
61801
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61802
- status: "\u8D44\u4EA7\u7C7B\u578B",
61803
- createTime: "2021-01-01",
61804
- updateTime: "2021-01-01",
61805
- assetType: "7"
61806
- },
61807
- {
61808
- id: 9,
61809
- assetCode: "9",
61810
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61811
- status: "\u8D44\u4EA7\u7C7B\u578B",
61812
- createTime: "2021-01-01",
61813
- updateTime: "2021-01-01",
61814
- assetType: "8"
61815
- },
61816
- {
61817
- id: 10,
61818
- assetCode: "10",
61819
- labelName: "\u8D44\u4EA7\u540D\u79F0",
61820
- status: "\u8D44\u4EA7\u7C7B\u578B",
61821
- createTime: "2021-01-01",
61822
- updateTime: "2021-01-01",
61823
- assetType: "0"
61824
- }
61825
- ];
61759
+ service$1({
61760
+ method: "post",
61761
+ url: "/asset-business/overview/pageList",
61762
+ data: __spreadValues({ size: this.pageSize, current: this.currentPage }, this.form)
61763
+ }).then(({ data: data2 }) => {
61764
+ this.tableData = data2.records;
61765
+ console.log(this.tableData, "this.tableData");
61766
+ });
61826
61767
  },
61827
61768
  handleSizeChange(size) {
61828
61769
  this.pageSize = size;
@@ -61845,31 +61786,61 @@ const _sfc_main$3 = {
61845
61786
  if (index2 !== -1) {
61846
61787
  this.selectedRows.splice(index2, 1);
61847
61788
  }
61789
+ },
61790
+ handleGetAssetTypeOptions() {
61791
+ service$1({
61792
+ method: "post",
61793
+ url: "/unified-dict/sysItemDict/page",
61794
+ data: {
61795
+ current: 1,
61796
+ size: 1e4,
61797
+ dictType: "asset_type"
61798
+ }
61799
+ }).then(({ data: { records } }) => {
61800
+ this.assetTypeOptions = records.map((item) => ({
61801
+ label: item.label,
61802
+ value: item.itemValue
61803
+ }));
61804
+ });
61805
+ },
61806
+ handleSearch() {
61807
+ this.currentPage = 1;
61808
+ this.selectedRows = [];
61809
+ this.getTableData();
61848
61810
  }
61849
61811
  },
61850
61812
  created() {
61851
61813
  this.getTableData();
61814
+ this.handleGetAssetTypeOptions();
61852
61815
  }
61853
61816
  };
61854
61817
  const _hoisted_1$2 = { class: "asset-body-wrap" };
61855
61818
  const _hoisted_2$1 = { class: "bottom-wrap" };
61856
- const _hoisted_3 = { class: "left-wrap" };
61857
- const _hoisted_4 = { class: "right-wrap" };
61858
- const _hoisted_5 = { class: "asset-wrap" };
61859
- const _hoisted_6 = { class: "asset-item-left" };
61860
- const _hoisted_7 = { class: "asset-item-right" };
61861
- const _hoisted_8 = { class: "dialog-footer" };
61819
+ const _hoisted_3$1 = { class: "left-wrap" };
61820
+ const _hoisted_4 = { class: "filter-wrap" };
61821
+ const _hoisted_5 = { class: "right-wrap" };
61822
+ const _hoisted_6 = { class: "asset-wrap" };
61823
+ const _hoisted_7 = { class: "asset-item-left" };
61824
+ const _hoisted_8 = { class: "asset-item-right" };
61825
+ const _hoisted_9 = { class: "dialog-footer" };
61862
61826
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61827
+ const _component_el_input = resolveComponent("el-input");
61828
+ const _component_el_form_item = resolveComponent("el-form-item");
61829
+ const _component_el_col = resolveComponent("el-col");
61830
+ const _component_el_option = resolveComponent("el-option");
61831
+ const _component_el_select = resolveComponent("el-select");
61832
+ const _component_el_button = resolveComponent("el-button");
61833
+ const _component_el_row = resolveComponent("el-row");
61834
+ const _component_el_form = resolveComponent("el-form");
61863
61835
  const _component_el_table_column = resolveComponent("el-table-column");
61864
61836
  const _component_el_table = resolveComponent("el-table");
61865
61837
  const _component_el_pagination = resolveComponent("el-pagination");
61866
61838
  const _component_Close = resolveComponent("Close");
61867
61839
  const _component_el_icon = resolveComponent("el-icon");
61868
- const _component_el_button = resolveComponent("el-button");
61869
61840
  const _component_el_dialog = resolveComponent("el-dialog");
61870
61841
  return openBlock(), createBlock(_component_el_dialog, {
61871
61842
  modelValue: $data.visible,
61872
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.visible = $event),
61843
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.visible = $event),
61873
61844
  title: "\u8D44\u4EA7\u9009\u62E9",
61874
61845
  width: "1200px",
61875
61846
  onClose: $options.handleClose,
@@ -61877,12 +61848,12 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61877
61848
  "header-class": "person-tree-dialog-header"
61878
61849
  }, {
61879
61850
  footer: withCtx(() => [
61880
- createElementVNode("div", _hoisted_8, [
61851
+ createElementVNode("div", _hoisted_9, [
61881
61852
  createVNode(_component_el_button, {
61882
61853
  onClick: $options.handleClose,
61883
61854
  size: "default"
61884
61855
  }, {
61885
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
61856
+ default: withCtx(() => [..._cache[6] || (_cache[6] = [
61886
61857
  createTextVNode(" \u53D6\u6D88 ", -1)
61887
61858
  ])]),
61888
61859
  _: 1
@@ -61892,7 +61863,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61892
61863
  onClick: $options.handleConfirm,
61893
61864
  size: "default"
61894
61865
  }, {
61895
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
61866
+ default: withCtx(() => [..._cache[7] || (_cache[7] = [
61896
61867
  createTextVNode(" \u786E\u5B9A ", -1)
61897
61868
  ])]),
61898
61869
  _: 1
@@ -61902,10 +61873,102 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61902
61873
  default: withCtx(() => [
61903
61874
  createElementVNode("div", _hoisted_1$2, [
61904
61875
  createElementVNode("div", _hoisted_2$1, [
61905
- createElementVNode("div", _hoisted_3, [
61906
- _cache[2] || (_cache[2] = createElementVNode("div", { class: "filter-wrap" }, null, -1)),
61876
+ createElementVNode("div", _hoisted_3$1, [
61877
+ createElementVNode("div", _hoisted_4, [
61878
+ createVNode(_component_el_form, {
61879
+ model: $data.form,
61880
+ size: "small"
61881
+ }, {
61882
+ default: withCtx(() => [
61883
+ createVNode(_component_el_row, { gutter: 20 }, {
61884
+ default: withCtx(() => [
61885
+ createVNode(_component_el_col, { span: 6 }, {
61886
+ default: withCtx(() => [
61887
+ createVNode(_component_el_form_item, { label: "\u8D44\u4EA7\u7F16\u7801/\u8D44\u4EA7\u540D\u79F0" }, {
61888
+ default: withCtx(() => [
61889
+ createVNode(_component_el_input, {
61890
+ size: "small",
61891
+ modelValue: $data.form.assetCode,
61892
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.form.assetCode = $event)
61893
+ }, null, 8, ["modelValue"])
61894
+ ]),
61895
+ _: 1
61896
+ })
61897
+ ]),
61898
+ _: 1
61899
+ }),
61900
+ createVNode(_component_el_col, { span: 6 }, {
61901
+ default: withCtx(() => [
61902
+ createVNode(_component_el_form_item, { label: "\u8D44\u4EA7\u7C7B\u578B" }, {
61903
+ default: withCtx(() => [
61904
+ createVNode(_component_el_select, {
61905
+ size: "small",
61906
+ disabled: $data.disabled,
61907
+ modelValue: $data.form.assetType,
61908
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.form.assetType = $event),
61909
+ placeholder: "\u8BF7\u9009\u62E9\u8D44\u4EA7\u7C7B\u578B"
61910
+ }, {
61911
+ default: withCtx(() => [
61912
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.assetTypeOptions, (item) => {
61913
+ return openBlock(), createBlock(_component_el_option, {
61914
+ key: item.value,
61915
+ label: item.label,
61916
+ value: item.value
61917
+ }, null, 8, ["label", "value"]);
61918
+ }), 128))
61919
+ ]),
61920
+ _: 1
61921
+ }, 8, ["disabled", "modelValue"])
61922
+ ]),
61923
+ _: 1
61924
+ })
61925
+ ]),
61926
+ _: 1
61927
+ }),
61928
+ createVNode(_component_el_col, { span: 6 }, {
61929
+ default: withCtx(() => [
61930
+ createVNode(_component_el_form_item, { label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D" }, {
61931
+ default: withCtx(() => [
61932
+ createVNode(_component_el_input, {
61933
+ size: "small",
61934
+ modelValue: $data.form.ownerUnit,
61935
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.form.ownerUnit = $event)
61936
+ }, null, 8, ["modelValue"])
61937
+ ]),
61938
+ _: 1
61939
+ })
61940
+ ]),
61941
+ _: 1
61942
+ }),
61943
+ createVNode(_component_el_col, { span: 6 }, {
61944
+ default: withCtx(() => [
61945
+ createVNode(_component_el_form_item, null, {
61946
+ default: withCtx(() => [
61947
+ createVNode(_component_el_button, {
61948
+ type: "primary",
61949
+ size: "small",
61950
+ onClick: $options.handleSearch
61951
+ }, {
61952
+ default: withCtx(() => [..._cache[5] || (_cache[5] = [
61953
+ createTextVNode("\u641C\u7D22", -1)
61954
+ ])]),
61955
+ _: 1
61956
+ }, 8, ["onClick"])
61957
+ ]),
61958
+ _: 1
61959
+ })
61960
+ ]),
61961
+ _: 1
61962
+ })
61963
+ ]),
61964
+ _: 1
61965
+ })
61966
+ ]),
61967
+ _: 1
61968
+ }, 8, ["model"])
61969
+ ]),
61907
61970
  createVNode(_component_el_table, {
61908
- data: _ctx.tableData,
61971
+ data: $data.tableData,
61909
61972
  "max-height": "500px",
61910
61973
  style: { "width": "100%" },
61911
61974
  "check-strictly": "",
@@ -61926,20 +61989,30 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61926
61989
  label: "\u8D44\u4EA7\u540D\u79F0"
61927
61990
  }),
61928
61991
  createVNode(_component_el_table_column, {
61929
- prop: "status",
61992
+ prop: "assetTypeName",
61930
61993
  label: "\u8D44\u4EA7\u7C7B\u578B"
61931
61994
  }),
61932
61995
  createVNode(_component_el_table_column, {
61933
- prop: "createTime",
61996
+ prop: "assetOwnerUnit",
61934
61997
  label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"
61935
61998
  }),
61936
61999
  createVNode(_component_el_table_column, {
61937
- prop: "updateTime",
62000
+ prop: "originalValue",
61938
62001
  label: "\u539F\u503C"
62002
+ }, {
62003
+ default: withCtx(({ row }) => [
62004
+ createTextVNode(toDisplayString(row.originalValue | _ctx.formatMoney), 1)
62005
+ ]),
62006
+ _: 1
61939
62007
  }),
61940
62008
  createVNode(_component_el_table_column, {
61941
- prop: "updateTime",
62009
+ prop: "netValue",
61942
62010
  label: "\u51C0\u503C"
62011
+ }, {
62012
+ default: withCtx(({ row }) => [
62013
+ createTextVNode(toDisplayString(row.netValue | _ctx.formatMoney), 1)
62014
+ ]),
62015
+ _: 1
61943
62016
  })
61944
62017
  ]),
61945
62018
  _: 1
@@ -61948,24 +62021,24 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61948
62021
  onSizeChange: $options.handleSizeChange,
61949
62022
  onCurrentChange: $options.handleCurrentChange,
61950
62023
  "current-page": $data.currentPage,
61951
- layout: "total, sizes, prev, pager, next, jumper",
62024
+ layout: "total, sizes, prev, pager, next",
61952
62025
  size: "small",
61953
- total: _ctx.tableData.length
62026
+ total: $data.tableData.length
61954
62027
  }, null, 8, ["onSizeChange", "onCurrentChange", "current-page", "total"])
61955
62028
  ]),
61956
62029
  createElementVNode("div", {
61957
62030
  class: "center-wrap",
61958
- onClick: _cache[0] || (_cache[0] = (...args) => $options.handleAdd && $options.handleAdd(...args))
62031
+ onClick: _cache[3] || (_cache[3] = (...args) => $options.handleAdd && $options.handleAdd(...args))
61959
62032
  }, "\u6DFB\u52A0"),
61960
- createElementVNode("div", _hoisted_4, [
61961
- createElementVNode("ul", _hoisted_5, [
62033
+ createElementVNode("div", _hoisted_5, [
62034
+ createElementVNode("ul", _hoisted_6, [
61962
62035
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedRows, (item) => {
61963
62036
  return openBlock(), createElementBlock("li", {
61964
62037
  class: "asset-item",
61965
62038
  key: item.id
61966
62039
  }, [
61967
- createElementVNode("div", _hoisted_6, toDisplayString(item.labelName) + "(" + toDisplayString(item.assetCode) + ") ", 1),
61968
- createElementVNode("div", _hoisted_7, [
62040
+ createElementVNode("div", _hoisted_7, toDisplayString(item.labelName) + "(" + toDisplayString(item.assetCode) + ") ", 1),
62041
+ createElementVNode("div", _hoisted_8, [
61969
62042
  createVNode(_component_el_icon, {
61970
62043
  onClick: ($event) => $options.handleRemove(item.id)
61971
62044
  }, {
@@ -61985,7 +62058,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
61985
62058
  _: 1
61986
62059
  }, 8, ["modelValue", "onClose"]);
61987
62060
  }
61988
- var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-bf9d04d4"]]);
62061
+ var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-0e7df856"]]);
61989
62062
  var index_vue_vue_type_style_index_0_lang$1 = "";
61990
62063
  var index_vue_vue_type_style_index_1_scoped_true_lang = "";
61991
62064
  const _sfc_main$2 = {
@@ -62091,53 +62164,10 @@ const _sfc_main$2 = {
62091
62164
  this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
62092
62165
  });
62093
62166
  },
62094
- getTreeData() {
62095
- const data2 = this.field.options.treeParams ? JSON.parse(this.field.options.treeParams) : {};
62096
- service$1({
62097
- method: "post",
62098
- url: "/unified-system/sysCompany/fullTree",
62099
- data: __spreadValues({ companyId: sessionStorage.getItem("companyId") }, data2)
62100
- }).then(({ data: data3 }) => {
62101
- this.treeData = renderData(data3);
62102
- function renderData(data4) {
62103
- var _a;
62104
- for (const element of data4) {
62105
- element.nodeKey = element.joinUserId || element.id;
62106
- if (element.children && ((_a = element.children) == null ? void 0 : _a.length)) {
62107
- renderData(element.children);
62108
- }
62109
- }
62110
- return data4;
62111
- }
62112
- this.$nextTick(() => {
62113
- this.applyTreeFilter();
62114
- });
62115
- });
62116
- },
62117
- filterNode(value2, data2) {
62118
- if (value2 == null || String(value2).trim() === "")
62119
- return true;
62120
- const keyword = String(value2).trim().toLowerCase();
62121
- const name = (data2.name || "").toLowerCase();
62122
- (data2.postName || "").toLowerCase();
62123
- return name.includes(keyword);
62124
- },
62125
- applyTreeFilter() {
62126
- if (this.$refs.treeRef && typeof this.$refs.treeRef.filter === "function") {
62127
- this.$refs.treeRef.filter(this.search);
62128
- }
62129
- },
62130
62167
  handleClick() {
62131
62168
  this.dialogVisible = true;
62132
62169
  this.triggerEvent("onOpen");
62133
62170
  },
62134
- handleNodeClick(data2, node) {
62135
- if (this.field.options.multiple)
62136
- return;
62137
- this.currentNodeKey = data2.nodeKey;
62138
- },
62139
- handleCheck() {
62140
- },
62141
62171
  handleConfirm(selectedRows) {
62142
62172
  this.dialogVisible = false;
62143
62173
  this.oldFieldValue = this.fieldModel ? deepClone(this.fieldModel) : null;
@@ -62236,14 +62266,15 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
62236
62266
  onClose: $options.handleClose,
62237
62267
  onConfirm: $options.handleConfirm,
62238
62268
  onCancel: $options.handleCancel,
62239
- fieldValue: $data.fieldModel
62240
- }, null, 8, ["dialog-visible", "onClose", "onConfirm", "onCancel", "fieldValue"])
62269
+ fieldValue: $data.fieldModel,
62270
+ assetTypeValue: $props.field.options.assetTypeValue
62271
+ }, null, 8, ["dialog-visible", "onClose", "onConfirm", "onCancel", "fieldValue", "assetTypeValue"])
62241
62272
  ], 4)
62242
62273
  ]),
62243
62274
  _: 1
62244
62275
  }, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
62245
62276
  }
62246
- var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-623caa96"]]);
62277
+ var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-0ef1c39e"]]);
62247
62278
  var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
62248
62279
  const _sfc_main$1 = {
62249
62280
  name: "detail-dialog",
@@ -62290,7 +62321,8 @@ const _sfc_main$1 = {
62290
62321
  "onFormValidateSuccess": ""
62291
62322
  }
62292
62323
  },
62293
- showForm: false
62324
+ showForm: false,
62325
+ pendingColHiddenOps: []
62294
62326
  };
62295
62327
  },
62296
62328
  computed: {
@@ -62317,6 +62349,8 @@ const _sfc_main$1 = {
62317
62349
  handler(newVal) {
62318
62350
  if (newVal) {
62319
62351
  this.initFormData();
62352
+ } else {
62353
+ this.formData = {};
62320
62354
  }
62321
62355
  }
62322
62356
  }
@@ -62345,11 +62379,35 @@ const _sfc_main$1 = {
62345
62379
  const ref2 = this.$refs.detailFormRender;
62346
62380
  if (ref2 && typeof ref2.setFormJson === "function") {
62347
62381
  ref2.setFormJson(lodash.exports.cloneDeep(this.formJson));
62382
+ this.flushPendingColHiddenOps();
62348
62383
  }
62349
62384
  });
62350
62385
  },
62386
+ setColHidden(colNames, hidden) {
62387
+ const names = Array.isArray(colNames) ? colNames : [colNames];
62388
+ const ref2 = this.$refs.detailFormRender;
62389
+ if (!ref2 || typeof ref2.setColHidden !== "function") {
62390
+ this.pendingColHiddenOps.push({ names, hidden });
62391
+ return;
62392
+ }
62393
+ names.forEach((name) => ref2.setColHidden(name, hidden));
62394
+ },
62395
+ flushPendingColHiddenOps() {
62396
+ if (!this.pendingColHiddenOps.length) {
62397
+ return;
62398
+ }
62399
+ const ref2 = this.$refs.detailFormRender;
62400
+ if (!ref2 || typeof ref2.setColHidden !== "function") {
62401
+ return;
62402
+ }
62403
+ this.pendingColHiddenOps.forEach(({ names, hidden }) => {
62404
+ names.forEach((name) => ref2.setColHidden(name, hidden));
62405
+ });
62406
+ this.pendingColHiddenOps = [];
62407
+ },
62351
62408
  initFormData() {
62352
62409
  var _a;
62410
+ this.showForm = false;
62353
62411
  this.formData = lodash.exports.cloneDeep(this.currentRowData) || {};
62354
62412
  const map = this.resolveTypeJsonMap();
62355
62413
  const assetType = String((_a = this.currentRowData.assetType) != null ? _a : "0");
@@ -62370,6 +62428,7 @@ const _sfc_main$1 = {
62370
62428
  let parsed;
62371
62429
  try {
62372
62430
  parsed = typeof data2.formJson === "string" ? JSON.parse(data2.formJson) : data2.formJson;
62431
+ this.showForm = true;
62373
62432
  } catch (e) {
62374
62433
  console.error(e);
62375
62434
  parsed = null;
@@ -62398,6 +62457,7 @@ const _sfc_main$1 = {
62398
62457
  },
62399
62458
  handleClose() {
62400
62459
  this.formData = {};
62460
+ this.pendingColHiddenOps = [];
62401
62461
  this.formJson = {
62402
62462
  "widgetList": [],
62403
62463
  "formConfig": {
@@ -62425,7 +62485,8 @@ const _sfc_main$1 = {
62425
62485
  }
62426
62486
  };
62427
62487
  const _hoisted_1 = { class: "asset-body-wrap" };
62428
- const _hoisted_2 = { class: "dialog-footer" };
62488
+ const _hoisted_2 = { key: 0 };
62489
+ const _hoisted_3 = { class: "dialog-footer" };
62429
62490
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
62430
62491
  const _component_v_form_render = resolveComponent("v-form-render");
62431
62492
  const _component_el_button = resolveComponent("el-button");
@@ -62440,7 +62501,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
62440
62501
  "header-class": "person-tree-dialog-header"
62441
62502
  }, {
62442
62503
  footer: withCtx(() => [
62443
- createElementVNode("div", _hoisted_2, [
62504
+ createElementVNode("div", _hoisted_3, [
62444
62505
  createVNode(_component_el_button, { onClick: $options.handleClose }, {
62445
62506
  default: withCtx(() => [..._cache[1] || (_cache[1] = [
62446
62507
  createTextVNode("\u53D6\u6D88", -1)
@@ -62460,17 +62521,19 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
62460
62521
  ]),
62461
62522
  default: withCtx(() => [
62462
62523
  createElementVNode("div", _hoisted_1, [
62463
- createVNode(_component_v_form_render, {
62464
- ref: "detailFormRender",
62465
- "form-json": $options.renderFormJson,
62466
- "form-data": $data.formData
62467
- }, null, 8, ["form-json", "form-data"])
62524
+ $data.showForm ? (openBlock(), createElementBlock("div", _hoisted_2, [
62525
+ createVNode(_component_v_form_render, {
62526
+ ref: "detailFormRender",
62527
+ "form-json": $options.renderFormJson,
62528
+ "form-data": $data.formData
62529
+ }, null, 8, ["form-json", "form-data"])
62530
+ ])) : createCommentVNode("", true)
62468
62531
  ])
62469
62532
  ]),
62470
62533
  _: 1
62471
62534
  }, 8, ["modelValue", "onClose"]);
62472
62535
  }
62473
- var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-0f086184"]]);
62536
+ var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-772c9f48"]]);
62474
62537
  var index_vue_vue_type_style_index_0_lang = "";
62475
62538
  const _sfc_main = {
62476
62539
  name: "asset-table-widget",
@@ -62563,23 +62626,10 @@ const _sfc_main = {
62563
62626
  const handler = (_b = (_a = this.field) == null ? void 0 : _a.options) == null ? void 0 : _b[eventName];
62564
62627
  if (handler) {
62565
62628
  try {
62566
- if (eventName === "onConfirm" && args.length > 0) {
62567
- const nodes = args[0];
62568
- const fn = new Function("checkedNodes", "selectedNodes", "selectedValue", handler);
62569
- fn.call(this, nodes, nodes, nodes);
62570
- } else if (eventName === "onRemoveTag" && args.length >= 2) {
62571
- const removedItem = args[0];
62572
- const remainingNodes = args[1];
62573
- const removedIndex = args[2];
62574
- const fn = new Function("removedItem", "remainingNodes", "remainingValue", "selectedValue", "removedIndex", handler);
62575
- fn.call(this, removedItem, remainingNodes, remainingNodes, remainingNodes, removedIndex);
62576
- } else if (args.length > 0) {
62577
- const paramNames = args.map((_, index2) => `arg${index2}`).join(", ");
62578
- const fn = new Function(paramNames, handler);
62579
- fn.apply(this, args);
62580
- } else {
62581
- const fn = new Function(handler);
62582
- fn.call(this);
62629
+ if (eventName === "onOpen" && args.length > 0) {
62630
+ const rowData = args[0];
62631
+ const fn = new Function("rowData", handler);
62632
+ fn.call(this, rowData);
62583
62633
  }
62584
62634
  } catch (error) {
62585
62635
  console.error(`Error executing ${eventName} handler:`, error);
@@ -62590,7 +62640,16 @@ const _sfc_main = {
62590
62640
  },
62591
62641
  handleRow(row) {
62592
62642
  this.detailDialogVisible = true;
62593
- this.detailDialogData = row;
62643
+ this.detailDialogData = lodash.exports.cloneDeep(row);
62644
+ this.triggerEvent("onOpen", row);
62645
+ },
62646
+ setDetailColHidden(colNames, hidden) {
62647
+ this.$nextTick(() => {
62648
+ const dialogRef = this.$refs.detailDialogRef;
62649
+ if (dialogRef && typeof dialogRef.setColHidden === "function") {
62650
+ dialogRef.setColHidden(colNames, hidden);
62651
+ }
62652
+ });
62594
62653
  },
62595
62654
  handleCloseDetailDialog() {
62596
62655
  this.detailDialogVisible = false;
@@ -62659,20 +62718,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
62659
62718
  _: 1
62660
62719
  }),
62661
62720
  createVNode(_component_el_table_column, {
62662
- prop: "status",
62721
+ prop: "assetTypeName",
62663
62722
  label: "\u8D44\u4EA7\u7C7B\u578B"
62664
62723
  }),
62665
62724
  createVNode(_component_el_table_column, {
62666
- prop: "createTime",
62725
+ prop: "assetOwnerUnit",
62667
62726
  label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"
62668
62727
  }),
62669
62728
  createVNode(_component_el_table_column, {
62670
- prop: "updateTime",
62729
+ prop: "originalValue",
62671
62730
  label: "\u539F\u503C"
62731
+ }, {
62732
+ default: withCtx(({ row }) => [
62733
+ createTextVNode(toDisplayString(row.originalValue | _ctx.formatMoney), 1)
62734
+ ]),
62735
+ _: 1
62672
62736
  }),
62673
62737
  createVNode(_component_el_table_column, {
62674
- prop: "updateTime",
62738
+ prop: "netValue",
62675
62739
  label: "\u51C0\u503C"
62740
+ }, {
62741
+ default: withCtx(({ row }) => [
62742
+ createTextVNode(toDisplayString(row.netValue | _ctx.formatMoney), 1)
62743
+ ]),
62744
+ _: 1
62676
62745
  }),
62677
62746
  createVNode(_component_el_table_column, {
62678
62747
  prop: "isUpdate",
@@ -62688,6 +62757,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
62688
62757
  }, 8, ["data"])
62689
62758
  ], 4),
62690
62759
  createVNode(_component_detail_dialog, {
62760
+ ref: "detailDialogRef",
62691
62761
  visible: $data.detailDialogVisible,
62692
62762
  typeJson: $props.field.options.typeJson,
62693
62763
  data: $data.detailDialogData,
@@ -62779,8 +62849,10 @@ const loadExtension = function(app) {
62779
62849
  app.component(AssetSelectWidget.name, AssetSelectWidget);
62780
62850
  registerCPEditor(app, "asset-select-buttonText", "asset-select-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.assetSelectButtonText"));
62781
62851
  registerCPEditor(app, "asset-select-typeJson", "asset-select-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetSelectTypeJson", { rows: 4 }));
62852
+ registerCPEditor(app, "asset-select-assetTypeValue", "asset-select-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetSelectAssetTypeValue"));
62782
62853
  app.component(AssetTableWidget.name, AssetTableWidget);
62783
62854
  registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetTableTypeJson", { rows: 4 }));
62855
+ registerEPEditor(app, "asset-table-onOpen", "asset-table-onOpen-editor", createEventHandlerEditor("onOpen", ["rowData"]));
62784
62856
  };
62785
62857
  function getElMessage(app) {
62786
62858
  var _a, _b, _c;