form-custom-test 3.0.188 → 3.0.190

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.
@@ -69038,13 +69038,13 @@ function registerIcon(app) {
69038
69038
  if (typeof window !== "undefined") {
69039
69039
  let loadSvg = function() {
69040
69040
  var body = document.body;
69041
- var svgDom = document.getElementById("__svg__icons__dom__1780475709986__");
69041
+ var svgDom = document.getElementById("__svg__icons__dom__1780553816874__");
69042
69042
  if (!svgDom) {
69043
69043
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
69044
69044
  svgDom.style.position = "absolute";
69045
69045
  svgDom.style.width = "0";
69046
69046
  svgDom.style.height = "0";
69047
- svgDom.id = "__svg__icons__dom__1780475709986__";
69047
+ svgDom.id = "__svg__icons__dom__1780553816874__";
69048
69048
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
69049
69049
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
69050
69050
  }
@@ -80226,7 +80226,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
80226
80226
  return openBlock(), createBlock(_component_el_dialog, {
80227
80227
  modelValue: $options.dialogVisible,
80228
80228
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.dialogVisible = $event),
80229
- title: "\u5904\u7F6E\u8BE6\u60C5",
80229
+ title: "\u67E5\u770B\u8BE6\u60C5",
80230
80230
  width: "1200px",
80231
80231
  onClose: $options.handleClose,
80232
80232
  "close-on-click-modal": false,
@@ -80266,7 +80266,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
80266
80266
  _: 1
80267
80267
  }, 8, ["modelValue", "onClose"]);
80268
80268
  }
80269
- var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-f2597fd0"]]);
80269
+ var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-8cc99418"]]);
80270
80270
  var index_vue_vue_type_style_index_0_lang = "";
80271
80271
  const _sfc_main$6 = {
80272
80272
  name: "asset-table-widget",
@@ -80929,7 +80929,8 @@ const _sfc_main$4 = {
80929
80929
  oldFieldValue: null,
80930
80930
  rules: [],
80931
80931
  detailDialogVisible: false,
80932
- detailDialogData: null
80932
+ detailDialogData: null,
80933
+ dictOptions: []
80933
80934
  };
80934
80935
  },
80935
80936
  computed: {},
@@ -80961,6 +80962,7 @@ const _sfc_main$4 = {
80961
80962
  },
80962
80963
  mounted() {
80963
80964
  this.handleOnMounted();
80965
+ this.getDictItem("project_stage");
80964
80966
  },
80965
80967
  beforeUnmount() {
80966
80968
  this.unregisterFromRefList();
@@ -80987,7 +80989,9 @@ const _sfc_main$4 = {
80987
80989
  getlabel(row) {
80988
80990
  return (dictManager == null ? void 0 : dictManager.getDictLabel("project_stage", row.projectStage)) || "-";
80989
80991
  },
80990
- getDictItem(dictCode, value2) {
80992
+ getDictItem(dictCode) {
80993
+ if (!dictCode)
80994
+ return "-";
80991
80995
  service({
80992
80996
  method: "post",
80993
80997
  url: "/unified-dict/sysItemDict/page",
@@ -80997,8 +81001,11 @@ const _sfc_main$4 = {
80997
81001
  dictType: dictCode
80998
81002
  }
80999
81003
  }).then(({ data: { records } }) => {
81000
- var _a2;
81001
- return ((_a2 = records.find((item) => item.dictValue === value2)) == null ? void 0 : _a2.dictLabel) || "-";
81004
+ const options = records.map((item) => ({
81005
+ label: item.label,
81006
+ value: item.itemValue
81007
+ }));
81008
+ this.dictOptions = [...this.dictOptions, ...options];
81002
81009
  });
81003
81010
  },
81004
81011
  getSameCompanyRows(currentIndex) {
@@ -81185,9 +81192,12 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
81185
81192
  label: "\u9879\u76EE\u9636\u6BB5",
81186
81193
  width: "90"
81187
81194
  }, {
81188
- default: withCtx(({ row }) => [
81189
- createTextVNode(toDisplayString($options.getDictItem("project_stage", row.projectStage)), 1)
81190
- ]),
81195
+ default: withCtx(({ row }) => {
81196
+ var _a2;
81197
+ return [
81198
+ createTextVNode(toDisplayString(((_a2 = $data.dictOptions.find((item) => item.value === row.projectStage)) == null ? void 0 : _a2.label) || "-"), 1)
81199
+ ];
81200
+ }),
81191
81201
  _: 1
81192
81202
  }),
81193
81203
  createVNode(_component_el_table_column, {
@@ -81258,7 +81268,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
81258
81268
  _: 1
81259
81269
  }, 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"]);
81260
81270
  }
81261
- var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-348a7c32"]]);
81271
+ var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-34e9ca5d"]]);
81262
81272
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
81263
81273
  const _sfc_main$3 = {
81264
81274
  name: "equity-table-widget",