form-custom-test 3.0.176 → 3.0.178

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.
@@ -69031,13 +69031,13 @@ function registerIcon(app) {
69031
69031
  if (typeof window !== "undefined") {
69032
69032
  let loadSvg = function() {
69033
69033
  var body = document.body;
69034
- var svgDom = document.getElementById("__svg__icons__dom__1780041135098__");
69034
+ var svgDom = document.getElementById("__svg__icons__dom__1780301566175__");
69035
69035
  if (!svgDom) {
69036
69036
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
69037
69037
  svgDom.style.position = "absolute";
69038
69038
  svgDom.style.width = "0";
69039
69039
  svgDom.style.height = "0";
69040
- svgDom.id = "__svg__icons__dom__1780041135098__";
69040
+ svgDom.id = "__svg__icons__dom__1780301566175__";
69041
69041
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
69042
69042
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
69043
69043
  }
@@ -80863,52 +80863,7 @@ const _sfc_main$4 = {
80863
80863
  },
80864
80864
  data() {
80865
80865
  return {
80866
- fieldModel: [
80867
- {
80868
- enterpriseName: "\u516C\u53F81",
80869
- enterpriseProjectCount: "100",
80870
- projectName: "\u9879\u76EEA",
80871
- projectStage: "\u9636\u6BB51",
80872
- totalPlannedInvestment: "500",
80873
- completedInvestment: "200",
80874
- currentYearPlannedInvestment: "100",
80875
- enterpriseTotalPlannedInvestment: "300",
80876
- remark: "\u5907\u6CE81"
80877
- },
80878
- {
80879
- enterpriseName: "\u516C\u53F81",
80880
- enterpriseProjectCount: "200",
80881
- projectName: "\u9879\u76EEB",
80882
- projectStage: "\u9636\u6BB52",
80883
- totalPlannedInvestment: "800",
80884
- completedInvestment: "300",
80885
- currentYearPlannedInvestment: "150",
80886
- enterpriseTotalPlannedInvestment: "450",
80887
- remark: "\u5907\u6CE82"
80888
- },
80889
- {
80890
- enterpriseName: "\u516C\u53F81",
80891
- enterpriseProjectCount: "150",
80892
- projectName: "\u9879\u76EEC",
80893
- projectStage: "\u9636\u6BB53",
80894
- totalPlannedInvestment: "600",
80895
- completedInvestment: "250",
80896
- currentYearPlannedInvestment: "120",
80897
- enterpriseTotalPlannedInvestment: "380",
80898
- remark: "\u5907\u6CE83"
80899
- },
80900
- {
80901
- enterpriseName: "\u516C\u53F82",
80902
- enterpriseProjectCount: "300",
80903
- projectName: "\u9879\u76EED",
80904
- projectStage: "\u9636\u6BB51",
80905
- totalPlannedInvestment: "1000",
80906
- completedInvestment: "400",
80907
- currentYearPlannedInvestment: "200",
80908
- enterpriseTotalPlannedInvestment: "600",
80909
- remark: "\u5907\u6CE84"
80910
- }
80911
- ],
80866
+ fieldModel: [],
80912
80867
  oldFieldValue: null,
80913
80868
  rules: [],
80914
80869
  detailDialogVisible: false,
@@ -80996,10 +80951,11 @@ const _sfc_main$4 = {
80996
80951
  this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
80997
80952
  },
80998
80953
  updateRowData(row) {
80999
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
80954
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
81000
80955
  if (index2 === -1)
81001
80956
  return;
81002
80957
  this.fieldModel[index2] = __spreadValues(__spreadValues({}, this.fieldModel[index2]), row);
80958
+ this.detailDialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
81003
80959
  },
81004
80960
  triggerEvent(eventName, ...args) {
81005
80961
  var _a2, _b2;
@@ -81037,7 +80993,7 @@ const _sfc_main$4 = {
81037
80993
  }
81038
80994
  },
81039
80995
  handleRow(row) {
81040
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
80996
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
81041
80997
  if (index2 === -1)
81042
80998
  return;
81043
80999
  this.triggerEvent("onOpen", this.fieldModel[index2]);
@@ -81057,7 +81013,7 @@ const _sfc_main$4 = {
81057
81013
  this.detailDialogData = null;
81058
81014
  },
81059
81015
  handleConfirm(formData) {
81060
- const index2 = this.fieldModel.findIndex((item) => item.assetId === this.detailDialogData.assetId);
81016
+ const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
81061
81017
  if (index2 === -1)
81062
81018
  return;
81063
81019
  const oldValue = lodash.exports.cloneDeep(this.fieldModel);
@@ -81216,7 +81172,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
81216
81172
  _: 1
81217
81173
  }, 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"]);
81218
81174
  }
81219
- var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-efede3a6"]]);
81175
+ var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-688ddc79"]]);
81220
81176
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
81221
81177
  const _sfc_main$3 = {
81222
81178
  name: "equity-table-widget",
@@ -81254,56 +81210,7 @@ const _sfc_main$3 = {
81254
81210
  },
81255
81211
  data() {
81256
81212
  return {
81257
- fieldModel: [
81258
- {
81259
- enterpriseName: "\u516C\u53F81",
81260
- enterpriseProjectCount: "100",
81261
- projectName: "\u9879\u76EEA",
81262
- registeredCapital: "\u9636\u6BB51",
81263
- subscribedCapital: "500",
81264
- paidInCapital: "200",
81265
- currentYearPlannedInvestment: "100",
81266
- enterpriseTotalPlannedInvestment: "300",
81267
- label9: "\u81EA\u6709\u8D44\u91D1",
81268
- remark: "\u5907\u6CE81"
81269
- },
81270
- {
81271
- enterpriseName: "\u516C\u53F81",
81272
- enterpriseProjectCount: "200",
81273
- projectName: "\u9879\u76EEB",
81274
- registeredCapital: "\u9636\u6BB52",
81275
- subscribedCapital: "800",
81276
- paidInCapital: "300",
81277
- currentYearPlannedInvestment: "150",
81278
- enterpriseTotalPlannedInvestment: "450",
81279
- label9: "\u94F6\u884C\u8D37\u6B3E",
81280
- remark: "\u5907\u6CE82"
81281
- },
81282
- {
81283
- enterpriseName: "\u516C\u53F81",
81284
- enterpriseProjectCount: "150",
81285
- projectName: "\u9879\u76EEC",
81286
- registeredCapital: "\u9636\u6BB53",
81287
- subscribedCapital: "600",
81288
- paidInCapital: "250",
81289
- currentYearPlannedInvestment: "120",
81290
- enterpriseTotalPlannedInvestment: "380",
81291
- label9: "\u653F\u5E9C\u62E8\u6B3E",
81292
- remark: "\u5907\u6CE83"
81293
- },
81294
- {
81295
- enterpriseName: "\u516C\u53F82",
81296
- enterpriseProjectCount: "300",
81297
- projectName: "\u9879\u76EED",
81298
- registeredCapital: "\u9636\u6BB51",
81299
- subscribedCapital: "1000",
81300
- paidInCapital: "400",
81301
- currentYearPlannedInvestment: "200",
81302
- enterpriseTotalPlannedInvestment: "600",
81303
- label9: "\u81EA\u6709\u8D44\u91D1",
81304
- remark: "\u5907\u6CE84"
81305
- }
81306
- ],
81213
+ fieldModel: [],
81307
81214
  oldFieldValue: null,
81308
81215
  rules: [],
81309
81216
  detailDialogVisible: false,
@@ -81391,10 +81298,11 @@ const _sfc_main$3 = {
81391
81298
  this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
81392
81299
  },
81393
81300
  updateRowData(row) {
81394
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
81301
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
81395
81302
  if (index2 === -1)
81396
81303
  return;
81397
81304
  this.fieldModel[index2] = __spreadValues(__spreadValues({}, this.fieldModel[index2]), row);
81305
+ this.detailDialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
81398
81306
  },
81399
81307
  triggerEvent(eventName, ...args) {
81400
81308
  var _a2, _b2;
@@ -81432,7 +81340,7 @@ const _sfc_main$3 = {
81432
81340
  }
81433
81341
  },
81434
81342
  handleRow(row) {
81435
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
81343
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
81436
81344
  if (index2 === -1)
81437
81345
  return;
81438
81346
  this.triggerEvent("onOpen", this.fieldModel[index2]);
@@ -81452,7 +81360,7 @@ const _sfc_main$3 = {
81452
81360
  this.detailDialogData = null;
81453
81361
  },
81454
81362
  handleConfirm(formData) {
81455
- const index2 = this.fieldModel.findIndex((item) => item.assetId === this.detailDialogData.assetId);
81363
+ const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
81456
81364
  if (index2 === -1)
81457
81365
  return;
81458
81366
  const oldValue = lodash.exports.cloneDeep(this.fieldModel);
@@ -81622,7 +81530,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
81622
81530
  _: 1
81623
81531
  }, 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"]);
81624
81532
  }
81625
- var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-2a519ee3"]]);
81533
+ var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-61bec177"]]);
81626
81534
  const AssetTypeEnum = {
81627
81535
  "0": "equity",
81628
81536
  "1": "house",