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.
@@ -69412,13 +69412,13 @@ function registerIcon(app) {
69412
69412
  if (typeof window !== "undefined") {
69413
69413
  let loadSvg = function() {
69414
69414
  var body = document.body;
69415
- var svgDom = document.getElementById("__svg__icons__dom__1784612560853__");
69415
+ var svgDom = document.getElementById("__svg__icons__dom__1785820477543__");
69416
69416
  if (!svgDom) {
69417
69417
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
69418
69418
  svgDom.style.position = "absolute";
69419
69419
  svgDom.style.width = "0";
69420
69420
  svgDom.style.height = "0";
69421
- svgDom.id = "__svg__icons__dom__1784612560853__";
69421
+ svgDom.id = "__svg__icons__dom__1785820477543__";
69422
69422
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
69423
69423
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
69424
69424
  }
@@ -82209,6 +82209,10 @@ const _sfc_main$d = {
82209
82209
  VFormRender
82210
82210
  },
82211
82211
  props: {
82212
+ title: {
82213
+ type: String,
82214
+ default: "\u67E5\u770B\u8BE6\u60C5"
82215
+ },
82212
82216
  visible: {
82213
82217
  type: Boolean,
82214
82218
  default: false
@@ -82452,7 +82456,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
82452
82456
  return openBlock(), createBlock(_component_el_dialog, {
82453
82457
  modelValue: $options.dialogVisible,
82454
82458
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.dialogVisible = $event),
82455
- title: "\u67E5\u770B\u8BE6\u60C5",
82459
+ title: $props.title,
82456
82460
  width: "1200px",
82457
82461
  onClose: $options.handleClose,
82458
82462
  "close-on-click-modal": false,
@@ -82491,9 +82495,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
82491
82495
  ])
82492
82496
  ]),
82493
82497
  _: 1
82494
- }, 8, ["modelValue", "onClose"]);
82498
+ }, 8, ["modelValue", "title", "onClose"]);
82495
82499
  }
82496
- var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-1129cf50"]]);
82500
+ var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-ad2f356c"]]);
82497
82501
  var index_vue_vue_type_style_index_0_lang$2 = "";
82498
82502
  const _sfc_main$c = {
82499
82503
  name: "asset-table-widget",
@@ -83120,7 +83124,20 @@ const _sfc_main$a = {
83120
83124
  disabled: true
83121
83125
  };
83122
83126
  },
83123
- computed: {},
83127
+ computed: {
83128
+ title() {
83129
+ var _a2, _b2, _c2;
83130
+ if (((_b2 = (_a2 = this.field) == null ? void 0 : _a2.options) == null ? void 0 : _b2.disabled) || this.disabled) {
83131
+ return "\u67E5\u770B\u8BE6\u60C5";
83132
+ } else {
83133
+ if ((_c2 = this.detailDialogData) == null ? void 0 : _c2.id) {
83134
+ return "\u4FEE\u6539\u5408\u540C\u76F8\u5173\u65B9";
83135
+ } else {
83136
+ return "\u65B0\u589E\u5408\u540C\u76F8\u5173\u65B9";
83137
+ }
83138
+ }
83139
+ }
83140
+ },
83124
83141
  watch: {
83125
83142
  "field.options.required"() {
83126
83143
  this.buildFieldRules();
@@ -83313,7 +83330,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
83313
83330
  default: withCtx(() => [
83314
83331
  createVNode(_component_el_table_column, {
83315
83332
  prop: "companyName",
83316
- label: "\u5408\u540C\u76F8\u5BF9\u65B9\u540D\u79F0"
83333
+ label: "\u5408\u540C\u76F8\u5173\u65B9\u540D\u79F0"
83317
83334
  }),
83318
83335
  createVNode(_component_el_table_column, {
83319
83336
  prop: "legalPersonName",
@@ -83392,8 +83409,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
83392
83409
  data: $data.detailDialogData,
83393
83410
  onClose: $options.handleCloseDetailDialog,
83394
83411
  onConfirm: $options.handleConfirm,
83395
- disabled: $props.field.options.disabled || $data.disabled
83396
- }, null, 8, ["visible", "typeJson", "data", "onClose", "onConfirm", "disabled"])
83412
+ disabled: $props.field.options.disabled || $data.disabled,
83413
+ title: $options.title
83414
+ }, null, 8, ["visible", "typeJson", "data", "onClose", "onConfirm", "disabled", "title"])
83397
83415
  ]),
83398
83416
  _: 1
83399
83417
  }, 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"]);