form-custom-test 3.0.39 → 3.0.40

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.
@@ -55532,7 +55532,7 @@ const _sfc_main$27 = {
55532
55532
  this.optionModel.optionItems = dictItems.map((item) => ({
55533
55533
  id: generateId(),
55534
55534
  label: item.dictLabel || item.label || item.name || item.text || "",
55535
- value: item.dictValue || item.value || item.code || item.value || "",
55535
+ value: item.dictValue || item.value || item.code || item.value || item.itemValue || "",
55536
55536
  disabled: item.disabled || false
55537
55537
  }));
55538
55538
  this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F");
@@ -55546,7 +55546,7 @@ const _sfc_main$27 = {
55546
55546
  this.optionModel.optionItems = dictItems.map((item) => ({
55547
55547
  id: generateId(),
55548
55548
  label: item.dictLabel || item.label || item.name || item.text || "",
55549
- value: item.dictValue || item.value || item.code || item.value || "",
55549
+ value: item.dictValue || item.value || item.code || item.value || item.itemValue || "",
55550
55550
  disabled: item.disabled || false
55551
55551
  }));
55552
55552
  this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F");
@@ -55564,11 +55564,12 @@ const _sfc_main$27 = {
55564
55564
  const records = (data2 == null ? void 0 : data2.records) || (data2 == null ? void 0 : data2.data) || data2 || [];
55565
55565
  if (Array.isArray(records) && records.length > 0) {
55566
55566
  const dictItems = records.filter((item) => item.dictType === dictCode);
55567
+ console.log(dictItems, "dictItems222222");
55567
55568
  if (dictItems.length > 0) {
55568
55569
  this.optionModel.optionItems = dictItems.map((item) => ({
55569
55570
  id: generateId(),
55570
55571
  label: item.dictLabel || item.label || item.name || item.text || "",
55571
- value: item.dictValue || item.value || item.code || item.value || "",
55572
+ value: item.dictValue || item.value || item.code || item.value || item.itemValue || "",
55572
55573
  disabled: item.disabled || false
55573
55574
  }));
55574
55575
  this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F");
@@ -56060,7 +56061,7 @@ function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
56060
56061
  ]) : createCommentVNode("", true)
56061
56062
  ]);
56062
56063
  }
56063
- var OptionItemsSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$27, [["render", _sfc_render$27], ["__scopeId", "data-v-8874312a"]]);
56064
+ var OptionItemsSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$27, [["render", _sfc_render$27], ["__scopeId", "data-v-1342d87e"]]);
56064
56065
  const _sfc_main$26 = {
56065
56066
  name: "optionItems-editor",
56066
56067
  mixins: [i18n$1],
@@ -67620,13 +67621,13 @@ function registerIcon(app) {
67620
67621
  if (typeof window !== "undefined") {
67621
67622
  let loadSvg = function() {
67622
67623
  var body = document.body;
67623
- var svgDom = document.getElementById("__svg__icons__dom__1772152578604__");
67624
+ var svgDom = document.getElementById("__svg__icons__dom__1772153042460__");
67624
67625
  if (!svgDom) {
67625
67626
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
67626
67627
  svgDom.style.position = "absolute";
67627
67628
  svgDom.style.width = "0";
67628
67629
  svgDom.style.height = "0";
67629
- svgDom.id = "__svg__icons__dom__1772152578604__";
67630
+ svgDom.id = "__svg__icons__dom__1772153042460__";
67630
67631
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
67631
67632
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
67632
67633
  }
@@ -76813,7 +76814,7 @@ const _sfc_main$1 = {
76813
76814
  if (dictItems && Array.isArray(dictItems) && dictItems.length > 0) {
76814
76815
  col.options = dictItems.map((item) => ({
76815
76816
  label: item.dictLabel || item.label || item.name || item.text || "",
76816
- value: item.dictValue || item.value || item.code || "",
76817
+ value: item.dictValue || item.value || item.code || item.value || item.itemValue || "",
76817
76818
  disabled: item.disabled || false
76818
76819
  }));
76819
76820
  col.optionsText = JSON.stringify(col.options, null, 2);
@@ -76829,7 +76830,7 @@ const _sfc_main$1 = {
76829
76830
  if (Array.isArray(dictItems) && dictItems.length > 0) {
76830
76831
  col.options = dictItems.map((item) => ({
76831
76832
  label: item.dictLabel || item.label || item.name || item.text || "",
76832
- value: item.dictValue || item.value || item.code || "",
76833
+ value: item.dictValue || item.value || item.code || item.value || item.itemValue || "",
76833
76834
  disabled: item.disabled || false
76834
76835
  }));
76835
76836
  col.optionsText = JSON.stringify(col.options, null, 2);
@@ -76853,7 +76854,7 @@ const _sfc_main$1 = {
76853
76854
  if (dictItems.length > 0) {
76854
76855
  col.options = dictItems.map((item) => ({
76855
76856
  label: item.dictLabel || item.label || item.name || item.text || "",
76856
- value: item.dictValue || item.value || item.code || "",
76857
+ value: item.dictValue || item.value || item.code || item.value || item.itemValue || "",
76857
76858
  disabled: item.disabled || false
76858
76859
  }));
76859
76860
  col.optionsText = JSON.stringify(col.options, null, 2);
@@ -77347,7 +77348,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
77347
77348
  }, 8, ["modelValue", "title"])
77348
77349
  ], 64);
77349
77350
  }
77350
- var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-5930cc9c"]]);
77351
+ var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-7d20f42f"]]);
77351
77352
  const _sfc_main = {
77352
77353
  name: "current-user-widget",
77353
77354
  componentName: "FieldWidget",