form-custom-test 3.0.187 → 3.0.188

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__1780470077537__");
69041
+ var svgDom = document.getElementById("__svg__icons__dom__1780475709986__");
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__1780470077537__";
69047
+ svgDom.id = "__svg__icons__dom__1780475709986__";
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
  }
@@ -80987,6 +80987,20 @@ const _sfc_main$4 = {
80987
80987
  getlabel(row) {
80988
80988
  return (dictManager == null ? void 0 : dictManager.getDictLabel("project_stage", row.projectStage)) || "-";
80989
80989
  },
80990
+ getDictItem(dictCode, value2) {
80991
+ service({
80992
+ method: "post",
80993
+ url: "/unified-dict/sysItemDict/page",
80994
+ data: {
80995
+ current: 1,
80996
+ size: 1e4,
80997
+ dictType: dictCode
80998
+ }
80999
+ }).then(({ data: { records } }) => {
81000
+ var _a2;
81001
+ return ((_a2 = records.find((item) => item.dictValue === value2)) == null ? void 0 : _a2.dictLabel) || "-";
81002
+ });
81003
+ },
80990
81004
  getSameCompanyRows(currentIndex) {
80991
81005
  const currentCompany = this.fieldModel[currentIndex].enterpriseName;
80992
81006
  const sameRows = [currentIndex];
@@ -81172,7 +81186,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
81172
81186
  width: "90"
81173
81187
  }, {
81174
81188
  default: withCtx(({ row }) => [
81175
- createTextVNode(toDisplayString($options.getlabel(row)), 1)
81189
+ createTextVNode(toDisplayString($options.getDictItem("project_stage", row.projectStage)), 1)
81176
81190
  ]),
81177
81191
  _: 1
81178
81192
  }),
@@ -81244,7 +81258,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
81244
81258
  _: 1
81245
81259
  }, 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"]);
81246
81260
  }
81247
- var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-7e005307"]]);
81261
+ var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-348a7c32"]]);
81248
81262
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
81249
81263
  const _sfc_main$3 = {
81250
81264
  name: "equity-table-widget",