form-custom-test 3.0.176 → 3.0.177

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
@@ -26511,13 +26511,13 @@ function registerIcon(app) {
26511
26511
  if (typeof window !== "undefined") {
26512
26512
  let loadSvg = function() {
26513
26513
  var body = document.body;
26514
- var svgDom = document.getElementById("__svg__icons__dom__1780041143793__");
26514
+ var svgDom = document.getElementById("__svg__icons__dom__1780294711677__");
26515
26515
  if (!svgDom) {
26516
26516
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26517
26517
  svgDom.style.position = "absolute";
26518
26518
  svgDom.style.width = "0";
26519
26519
  svgDom.style.height = "0";
26520
- svgDom.id = "__svg__icons__dom__1780041143793__";
26520
+ svgDom.id = "__svg__icons__dom__1780294711677__";
26521
26521
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26522
26522
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26523
26523
  }
@@ -63890,52 +63890,7 @@ const _sfc_main$4 = {
63890
63890
  },
63891
63891
  data() {
63892
63892
  return {
63893
- fieldModel: [
63894
- {
63895
- enterpriseName: "\u516C\u53F81",
63896
- enterpriseProjectCount: "100",
63897
- projectName: "\u9879\u76EEA",
63898
- projectStage: "\u9636\u6BB51",
63899
- totalPlannedInvestment: "500",
63900
- completedInvestment: "200",
63901
- currentYearPlannedInvestment: "100",
63902
- enterpriseTotalPlannedInvestment: "300",
63903
- remark: "\u5907\u6CE81"
63904
- },
63905
- {
63906
- enterpriseName: "\u516C\u53F81",
63907
- enterpriseProjectCount: "200",
63908
- projectName: "\u9879\u76EEB",
63909
- projectStage: "\u9636\u6BB52",
63910
- totalPlannedInvestment: "800",
63911
- completedInvestment: "300",
63912
- currentYearPlannedInvestment: "150",
63913
- enterpriseTotalPlannedInvestment: "450",
63914
- remark: "\u5907\u6CE82"
63915
- },
63916
- {
63917
- enterpriseName: "\u516C\u53F81",
63918
- enterpriseProjectCount: "150",
63919
- projectName: "\u9879\u76EEC",
63920
- projectStage: "\u9636\u6BB53",
63921
- totalPlannedInvestment: "600",
63922
- completedInvestment: "250",
63923
- currentYearPlannedInvestment: "120",
63924
- enterpriseTotalPlannedInvestment: "380",
63925
- remark: "\u5907\u6CE83"
63926
- },
63927
- {
63928
- enterpriseName: "\u516C\u53F82",
63929
- enterpriseProjectCount: "300",
63930
- projectName: "\u9879\u76EED",
63931
- projectStage: "\u9636\u6BB51",
63932
- totalPlannedInvestment: "1000",
63933
- completedInvestment: "400",
63934
- currentYearPlannedInvestment: "200",
63935
- enterpriseTotalPlannedInvestment: "600",
63936
- remark: "\u5907\u6CE84"
63937
- }
63938
- ],
63893
+ fieldModel: [],
63939
63894
  oldFieldValue: null,
63940
63895
  rules: [],
63941
63896
  detailDialogVisible: false,
@@ -64023,7 +63978,7 @@ const _sfc_main$4 = {
64023
63978
  this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
64024
63979
  },
64025
63980
  updateRowData(row) {
64026
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
63981
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
64027
63982
  if (index2 === -1)
64028
63983
  return;
64029
63984
  this.fieldModel[index2] = __spreadValues(__spreadValues({}, this.fieldModel[index2]), row);
@@ -64064,7 +64019,7 @@ const _sfc_main$4 = {
64064
64019
  }
64065
64020
  },
64066
64021
  handleRow(row) {
64067
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
64022
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
64068
64023
  if (index2 === -1)
64069
64024
  return;
64070
64025
  this.triggerEvent("onOpen", this.fieldModel[index2]);
@@ -64084,7 +64039,7 @@ const _sfc_main$4 = {
64084
64039
  this.detailDialogData = null;
64085
64040
  },
64086
64041
  handleConfirm(formData) {
64087
- const index2 = this.fieldModel.findIndex((item) => item.assetId === this.detailDialogData.assetId);
64042
+ const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
64088
64043
  if (index2 === -1)
64089
64044
  return;
64090
64045
  const oldValue = lodash.exports.cloneDeep(this.fieldModel);
@@ -64243,7 +64198,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
64243
64198
  _: 1
64244
64199
  }, 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"]);
64245
64200
  }
64246
- var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-efede3a6"]]);
64201
+ var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-1c794fbe"]]);
64247
64202
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
64248
64203
  const _sfc_main$3 = {
64249
64204
  name: "equity-table-widget",
@@ -64281,56 +64236,7 @@ const _sfc_main$3 = {
64281
64236
  },
64282
64237
  data() {
64283
64238
  return {
64284
- fieldModel: [
64285
- {
64286
- enterpriseName: "\u516C\u53F81",
64287
- enterpriseProjectCount: "100",
64288
- projectName: "\u9879\u76EEA",
64289
- registeredCapital: "\u9636\u6BB51",
64290
- subscribedCapital: "500",
64291
- paidInCapital: "200",
64292
- currentYearPlannedInvestment: "100",
64293
- enterpriseTotalPlannedInvestment: "300",
64294
- label9: "\u81EA\u6709\u8D44\u91D1",
64295
- remark: "\u5907\u6CE81"
64296
- },
64297
- {
64298
- enterpriseName: "\u516C\u53F81",
64299
- enterpriseProjectCount: "200",
64300
- projectName: "\u9879\u76EEB",
64301
- registeredCapital: "\u9636\u6BB52",
64302
- subscribedCapital: "800",
64303
- paidInCapital: "300",
64304
- currentYearPlannedInvestment: "150",
64305
- enterpriseTotalPlannedInvestment: "450",
64306
- label9: "\u94F6\u884C\u8D37\u6B3E",
64307
- remark: "\u5907\u6CE82"
64308
- },
64309
- {
64310
- enterpriseName: "\u516C\u53F81",
64311
- enterpriseProjectCount: "150",
64312
- projectName: "\u9879\u76EEC",
64313
- registeredCapital: "\u9636\u6BB53",
64314
- subscribedCapital: "600",
64315
- paidInCapital: "250",
64316
- currentYearPlannedInvestment: "120",
64317
- enterpriseTotalPlannedInvestment: "380",
64318
- label9: "\u653F\u5E9C\u62E8\u6B3E",
64319
- remark: "\u5907\u6CE83"
64320
- },
64321
- {
64322
- enterpriseName: "\u516C\u53F82",
64323
- enterpriseProjectCount: "300",
64324
- projectName: "\u9879\u76EED",
64325
- registeredCapital: "\u9636\u6BB51",
64326
- subscribedCapital: "1000",
64327
- paidInCapital: "400",
64328
- currentYearPlannedInvestment: "200",
64329
- enterpriseTotalPlannedInvestment: "600",
64330
- label9: "\u81EA\u6709\u8D44\u91D1",
64331
- remark: "\u5907\u6CE84"
64332
- }
64333
- ],
64239
+ fieldModel: [],
64334
64240
  oldFieldValue: null,
64335
64241
  rules: [],
64336
64242
  detailDialogVisible: false,
@@ -64418,7 +64324,7 @@ const _sfc_main$3 = {
64418
64324
  this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
64419
64325
  },
64420
64326
  updateRowData(row) {
64421
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
64327
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
64422
64328
  if (index2 === -1)
64423
64329
  return;
64424
64330
  this.fieldModel[index2] = __spreadValues(__spreadValues({}, this.fieldModel[index2]), row);
@@ -64459,7 +64365,7 @@ const _sfc_main$3 = {
64459
64365
  }
64460
64366
  },
64461
64367
  handleRow(row) {
64462
- const index2 = this.fieldModel.findIndex((item) => item.assetId === row.assetId);
64368
+ const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
64463
64369
  if (index2 === -1)
64464
64370
  return;
64465
64371
  this.triggerEvent("onOpen", this.fieldModel[index2]);
@@ -64479,7 +64385,7 @@ const _sfc_main$3 = {
64479
64385
  this.detailDialogData = null;
64480
64386
  },
64481
64387
  handleConfirm(formData) {
64482
- const index2 = this.fieldModel.findIndex((item) => item.assetId === this.detailDialogData.assetId);
64388
+ const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
64483
64389
  if (index2 === -1)
64484
64390
  return;
64485
64391
  const oldValue = lodash.exports.cloneDeep(this.fieldModel);
@@ -64649,7 +64555,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
64649
64555
  _: 1
64650
64556
  }, 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"]);
64651
64557
  }
64652
- var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-2a519ee3"]]);
64558
+ var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-5c41f8cf"]]);
64653
64559
  const AssetTypeEnum = {
64654
64560
  "0": "equity",
64655
64561
  "1": "house",