form-custom-test 3.0.175 → 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/designer.es.js +12 -106
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +44 -44
- package/dist/render.es.js +12 -106
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -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("
|
|
69034
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780294701555__");
|
|
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 = "
|
|
69040
|
+
svgDom.id = "__svg__icons__dom__1780294701555__";
|
|
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,7 +80951,7 @@ 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.
|
|
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);
|
|
@@ -81037,7 +80992,7 @@ const _sfc_main$4 = {
|
|
|
81037
80992
|
}
|
|
81038
80993
|
},
|
|
81039
80994
|
handleRow(row) {
|
|
81040
|
-
const index2 = this.fieldModel.findIndex((item) => item.
|
|
80995
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
|
|
81041
80996
|
if (index2 === -1)
|
|
81042
80997
|
return;
|
|
81043
80998
|
this.triggerEvent("onOpen", this.fieldModel[index2]);
|
|
@@ -81057,7 +81012,7 @@ const _sfc_main$4 = {
|
|
|
81057
81012
|
this.detailDialogData = null;
|
|
81058
81013
|
},
|
|
81059
81014
|
handleConfirm(formData) {
|
|
81060
|
-
const index2 = this.fieldModel.findIndex((item) => item.
|
|
81015
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
|
|
81061
81016
|
if (index2 === -1)
|
|
81062
81017
|
return;
|
|
81063
81018
|
const oldValue = lodash.exports.cloneDeep(this.fieldModel);
|
|
@@ -81216,7 +81171,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81216
81171
|
_: 1
|
|
81217
81172
|
}, 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
81173
|
}
|
|
81219
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
81174
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-1c794fbe"]]);
|
|
81220
81175
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
81221
81176
|
const _sfc_main$3 = {
|
|
81222
81177
|
name: "equity-table-widget",
|
|
@@ -81254,56 +81209,7 @@ const _sfc_main$3 = {
|
|
|
81254
81209
|
},
|
|
81255
81210
|
data() {
|
|
81256
81211
|
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
|
-
],
|
|
81212
|
+
fieldModel: [],
|
|
81307
81213
|
oldFieldValue: null,
|
|
81308
81214
|
rules: [],
|
|
81309
81215
|
detailDialogVisible: false,
|
|
@@ -81391,7 +81297,7 @@ const _sfc_main$3 = {
|
|
|
81391
81297
|
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
81392
81298
|
},
|
|
81393
81299
|
updateRowData(row) {
|
|
81394
|
-
const index2 = this.fieldModel.findIndex((item) => item.
|
|
81300
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
|
|
81395
81301
|
if (index2 === -1)
|
|
81396
81302
|
return;
|
|
81397
81303
|
this.fieldModel[index2] = __spreadValues(__spreadValues({}, this.fieldModel[index2]), row);
|
|
@@ -81432,7 +81338,7 @@ const _sfc_main$3 = {
|
|
|
81432
81338
|
}
|
|
81433
81339
|
},
|
|
81434
81340
|
handleRow(row) {
|
|
81435
|
-
const index2 = this.fieldModel.findIndex((item) => item.
|
|
81341
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === row.id);
|
|
81436
81342
|
if (index2 === -1)
|
|
81437
81343
|
return;
|
|
81438
81344
|
this.triggerEvent("onOpen", this.fieldModel[index2]);
|
|
@@ -81452,7 +81358,7 @@ const _sfc_main$3 = {
|
|
|
81452
81358
|
this.detailDialogData = null;
|
|
81453
81359
|
},
|
|
81454
81360
|
handleConfirm(formData) {
|
|
81455
|
-
const index2 = this.fieldModel.findIndex((item) => item.
|
|
81361
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
|
|
81456
81362
|
if (index2 === -1)
|
|
81457
81363
|
return;
|
|
81458
81364
|
const oldValue = lodash.exports.cloneDeep(this.fieldModel);
|
|
@@ -81622,7 +81528,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81622
81528
|
_: 1
|
|
81623
81529
|
}, 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
81530
|
}
|
|
81625
|
-
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
81531
|
+
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-5c41f8cf"]]);
|
|
81626
81532
|
const AssetTypeEnum = {
|
|
81627
81533
|
"0": "equity",
|
|
81628
81534
|
"1": "house",
|