form-custom-test 3.0.240 → 3.0.241

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
@@ -26663,13 +26663,13 @@ function registerIcon(app) {
26663
26663
  if (typeof window !== "undefined") {
26664
26664
  let loadSvg = function() {
26665
26665
  var body = document.body;
26666
- var svgDom = document.getElementById("__svg__icons__dom__1784612571865__");
26666
+ var svgDom = document.getElementById("__svg__icons__dom__1785820489183__");
26667
26667
  if (!svgDom) {
26668
26668
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26669
26669
  svgDom.style.position = "absolute";
26670
26670
  svgDom.style.width = "0";
26671
26671
  svgDom.style.height = "0";
26672
- svgDom.id = "__svg__icons__dom__1784612571865__";
26672
+ svgDom.id = "__svg__icons__dom__1785820489183__";
26673
26673
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26674
26674
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26675
26675
  }
@@ -65005,6 +65005,10 @@ const _sfc_main$d = {
65005
65005
  VFormRender
65006
65006
  },
65007
65007
  props: {
65008
+ title: {
65009
+ type: String,
65010
+ default: "\u67E5\u770B\u8BE6\u60C5"
65011
+ },
65008
65012
  visible: {
65009
65013
  type: Boolean,
65010
65014
  default: false
@@ -65248,7 +65252,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
65248
65252
  return openBlock(), createBlock(_component_el_dialog, {
65249
65253
  modelValue: $options.dialogVisible,
65250
65254
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.dialogVisible = $event),
65251
- title: "\u67E5\u770B\u8BE6\u60C5",
65255
+ title: $props.title,
65252
65256
  width: "1200px",
65253
65257
  onClose: $options.handleClose,
65254
65258
  "close-on-click-modal": false,
@@ -65287,9 +65291,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
65287
65291
  ])
65288
65292
  ]),
65289
65293
  _: 1
65290
- }, 8, ["modelValue", "onClose"]);
65294
+ }, 8, ["modelValue", "title", "onClose"]);
65291
65295
  }
65292
- var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-1129cf50"]]);
65296
+ var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-ad2f356c"]]);
65293
65297
  var index_vue_vue_type_style_index_0_lang$2 = "";
65294
65298
  const _sfc_main$c = {
65295
65299
  name: "asset-table-widget",
@@ -65916,7 +65920,20 @@ const _sfc_main$a = {
65916
65920
  disabled: true
65917
65921
  };
65918
65922
  },
65919
- computed: {},
65923
+ computed: {
65924
+ title() {
65925
+ var _a, _b, _c;
65926
+ if (((_b = (_a = this.field) == null ? void 0 : _a.options) == null ? void 0 : _b.disabled) || this.disabled) {
65927
+ return "\u67E5\u770B\u8BE6\u60C5";
65928
+ } else {
65929
+ if ((_c = this.detailDialogData) == null ? void 0 : _c.id) {
65930
+ return "\u4FEE\u6539\u5408\u540C\u76F8\u5173\u65B9";
65931
+ } else {
65932
+ return "\u65B0\u589E\u5408\u540C\u76F8\u5173\u65B9";
65933
+ }
65934
+ }
65935
+ }
65936
+ },
65920
65937
  watch: {
65921
65938
  "field.options.required"() {
65922
65939
  this.buildFieldRules();
@@ -66109,7 +66126,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
66109
66126
  default: withCtx(() => [
66110
66127
  createVNode(_component_el_table_column, {
66111
66128
  prop: "companyName",
66112
- label: "\u5408\u540C\u76F8\u5BF9\u65B9\u540D\u79F0"
66129
+ label: "\u5408\u540C\u76F8\u5173\u65B9\u540D\u79F0"
66113
66130
  }),
66114
66131
  createVNode(_component_el_table_column, {
66115
66132
  prop: "legalPersonName",
@@ -66188,8 +66205,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
66188
66205
  data: $data.detailDialogData,
66189
66206
  onClose: $options.handleCloseDetailDialog,
66190
66207
  onConfirm: $options.handleConfirm,
66191
- disabled: $props.field.options.disabled || $data.disabled
66192
- }, null, 8, ["visible", "typeJson", "data", "onClose", "onConfirm", "disabled"])
66208
+ disabled: $props.field.options.disabled || $data.disabled,
66209
+ title: $options.title
66210
+ }, null, 8, ["visible", "typeJson", "data", "onClose", "onConfirm", "disabled", "title"])
66193
66211
  ]),
66194
66212
  _: 1
66195
66213
  }, 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"]);