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.
package/dist/render.es.js CHANGED
@@ -26510,13 +26510,13 @@ function registerIcon(app) {
26510
26510
  if (typeof window !== "undefined") {
26511
26511
  let loadSvg = function() {
26512
26512
  var body = document.body;
26513
- var svgDom = document.getElementById("__svg__icons__dom__1780470086494__");
26513
+ var svgDom = document.getElementById("__svg__icons__dom__1780475719694__");
26514
26514
  if (!svgDom) {
26515
26515
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26516
26516
  svgDom.style.position = "absolute";
26517
26517
  svgDom.style.width = "0";
26518
26518
  svgDom.style.height = "0";
26519
- svgDom.id = "__svg__icons__dom__1780470086494__";
26519
+ svgDom.id = "__svg__icons__dom__1780475719694__";
26520
26520
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26521
26521
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26522
26522
  }
@@ -64006,6 +64006,20 @@ const _sfc_main$4 = {
64006
64006
  getlabel(row) {
64007
64007
  return (dictManager == null ? void 0 : dictManager.getDictLabel("project_stage", row.projectStage)) || "-";
64008
64008
  },
64009
+ getDictItem(dictCode, value2) {
64010
+ service({
64011
+ method: "post",
64012
+ url: "/unified-dict/sysItemDict/page",
64013
+ data: {
64014
+ current: 1,
64015
+ size: 1e4,
64016
+ dictType: dictCode
64017
+ }
64018
+ }).then(({ data: { records } }) => {
64019
+ var _a;
64020
+ return ((_a = records.find((item) => item.dictValue === value2)) == null ? void 0 : _a.dictLabel) || "-";
64021
+ });
64022
+ },
64009
64023
  getSameCompanyRows(currentIndex) {
64010
64024
  const currentCompany = this.fieldModel[currentIndex].enterpriseName;
64011
64025
  const sameRows = [currentIndex];
@@ -64191,7 +64205,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
64191
64205
  width: "90"
64192
64206
  }, {
64193
64207
  default: withCtx(({ row }) => [
64194
- createTextVNode(toDisplayString($options.getlabel(row)), 1)
64208
+ createTextVNode(toDisplayString($options.getDictItem("project_stage", row.projectStage)), 1)
64195
64209
  ]),
64196
64210
  _: 1
64197
64211
  }),
@@ -64263,7 +64277,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
64263
64277
  _: 1
64264
64278
  }, 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"]);
64265
64279
  }
64266
- var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-7e005307"]]);
64280
+ var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-348a7c32"]]);
64267
64281
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
64268
64282
  const _sfc_main$3 = {
64269
64283
  name: "equity-table-widget",