agilebuilder-ui 1.0.90-temp5 → 1.0.90-temp6
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/lib/super-ui.js +106 -171
- package/lib/super-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/packages/super-grid/src/apis.js +244 -390
- package/packages/super-grid/src/dynamic-input.vue +0 -5
package/lib/super-ui.js
CHANGED
|
@@ -18818,21 +18818,18 @@ const apis$2 = {
|
|
|
18818
18818
|
let m = !0;
|
|
18819
18819
|
if (isEditOptionFunction("beforeInsertRow", e)) {
|
|
18820
18820
|
const _ = s.isSubTableShowPage, E = s.pagination && s.pagination.pageSize, S = this.isMobile;
|
|
18821
|
-
s.pageContext ? m = s.options.lineEditOptions.beforeInsertRow.call(
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
|
|
18832
|
-
|
|
18833
|
-
configureObj: s.configureObj
|
|
18834
|
-
}
|
|
18835
|
-
) : m = s.options.lineEditOptions.beforeInsertRow.call(
|
|
18821
|
+
s.pageContext ? m = s.options.lineEditOptions.beforeInsertRow.call(this, {
|
|
18822
|
+
gridData: _ ? s.subTableData : s.gridData,
|
|
18823
|
+
rowIndex: s.$rowIndex,
|
|
18824
|
+
isMobile: S,
|
|
18825
|
+
baseURL: this.baseURL,
|
|
18826
|
+
totalData: _ ? s.gridData : null,
|
|
18827
|
+
pageSize: E,
|
|
18828
|
+
additionalParamMap: s.additionalParamMap,
|
|
18829
|
+
row: t,
|
|
18830
|
+
pageContext: s.pageContext,
|
|
18831
|
+
configureObj: s.configureObj
|
|
18832
|
+
}) : m = s.options.lineEditOptions.beforeInsertRow.call(
|
|
18836
18833
|
this,
|
|
18837
18834
|
_ ? s.subTableData : s.gridData,
|
|
18838
18835
|
s.$rowIndex,
|
|
@@ -18848,9 +18845,7 @@ const apis$2 = {
|
|
|
18848
18845
|
if (s.options && s.options.isFormSubTable) {
|
|
18849
18846
|
let E = s.gridData;
|
|
18850
18847
|
s.isSubTableShowPage !== void 0 && s.isSubTableShowPage === !0 && (E = s.subTableData);
|
|
18851
|
-
const S = E.filter(
|
|
18852
|
-
(k) => k.$editing !== void 0 && k.$editing === !0
|
|
18853
|
-
);
|
|
18848
|
+
const S = E.filter((k) => k.$editing !== void 0 && k.$editing === !0);
|
|
18854
18849
|
S && S.length > 0 && S.forEach((k) => {
|
|
18855
18850
|
setEntityFieldValue(k, "$editing", !1), $emit(bus, "un-edit", { row: k });
|
|
18856
18851
|
}), s.isEditRow = !1;
|
|
@@ -18877,30 +18872,23 @@ const apis$2 = {
|
|
|
18877
18872
|
t,
|
|
18878
18873
|
e,
|
|
18879
18874
|
n ? n.getDefaultValueFunc : null
|
|
18880
|
-
), setEntityFieldValue(t, "$editing", !0), s.isEditRow = !0, s.options && s.options.isFormSubTable ? (s.isSubTableShowPage !== void 0 && s.isSubTableShowPage === !0 ? (s.isChangePage = !0, s.subTableData.splice(
|
|
18881
|
-
s.subTableData.length,
|
|
18882
|
-
0,
|
|
18883
|
-
t
|
|
18884
|
-
)) : (d.splice(d.length, 0, t), s.lineEdit.editingCell && (s.lineEdit.editingCell.row = d.length)), s.$rowIndex = d.length, this.$nextTick(() => {
|
|
18875
|
+
), setEntityFieldValue(t, "$editing", !0), s.isEditRow = !0, s.options && s.options.isFormSubTable ? (s.isSubTableShowPage !== void 0 && s.isSubTableShowPage === !0 ? (s.isChangePage = !0, s.subTableData.splice(s.subTableData.length, 0, t)) : (d.splice(d.length, 0, t), s.lineEdit.editingCell && (s.lineEdit.editingCell.row = d.length)), s.$rowIndex = d.length, this.$nextTick(() => {
|
|
18885
18876
|
scrollYToBottom(e);
|
|
18886
18877
|
})) : (d.splice(0, 0, t), s.lineEdit.editingCell && (s.lineEdit.editingCell.row = 0), s.$rowIndex = 0);
|
|
18887
18878
|
const _ = Object.assign({}, t);
|
|
18888
18879
|
if (s.orgGridData.splice(0, 0, _), s.lineEdit.editingCell || (s.lineEdit.editingCell = {}, s.lineEdit.validateErrorField = ""), isEditOptionFunction("afterInsertRow", e)) {
|
|
18889
18880
|
const E = s.isSubTableShowPage, S = s.pagination && s.pagination.pageSize, k = this.isMobile;
|
|
18890
|
-
s.pageContext ? s.options.lineEditOptions.afterInsertRow.call(
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
configureObj: s.configureObj
|
|
18902
|
-
}
|
|
18903
|
-
) : s.options.lineEditOptions.afterInsertRow.call(
|
|
18881
|
+
s.pageContext ? s.options.lineEditOptions.afterInsertRow.call(this, {
|
|
18882
|
+
gridData: E ? s.subTableData : s.gridData,
|
|
18883
|
+
rowIndex: s.$rowIndex,
|
|
18884
|
+
isMobile: k,
|
|
18885
|
+
baseURL: this.baseURL,
|
|
18886
|
+
totalData: E ? s.gridData : null,
|
|
18887
|
+
pageSize: S,
|
|
18888
|
+
additionalParamMap: s.additionalParamMap,
|
|
18889
|
+
pageContext: s.pageContext,
|
|
18890
|
+
configureObj: s.configureObj
|
|
18891
|
+
}) : s.options.lineEditOptions.afterInsertRow.call(
|
|
18904
18892
|
this,
|
|
18905
18893
|
E ? s.subTableData : s.gridData,
|
|
18906
18894
|
s.$rowIndex,
|
|
@@ -18929,12 +18917,7 @@ const apis$2 = {
|
|
|
18929
18917
|
const E = getEntityFieldValue(o, _.prop);
|
|
18930
18918
|
if (_.prop !== "$selection" && _.prop !== "$index" && _.defaultValue && _.defaultValue !== "" && (E === void 0 || E === "" || E === null)) {
|
|
18931
18919
|
let S;
|
|
18932
|
-
d.pageContext ? S = getPropValueNew(_.defaultValue, d.pageContext) : S = getPropValue(
|
|
18933
|
-
_.defaultValue,
|
|
18934
|
-
o,
|
|
18935
|
-
t,
|
|
18936
|
-
n
|
|
18937
|
-
), setEntityFieldValue(o, _.prop, S);
|
|
18920
|
+
d.pageContext ? S = getPropValueNew(_.defaultValue, d.pageContext) : S = getPropValue(_.defaultValue, o, t, n), setEntityFieldValue(o, _.prop, S);
|
|
18938
18921
|
}
|
|
18939
18922
|
}
|
|
18940
18923
|
}
|
|
@@ -18950,7 +18933,7 @@ const apis$2 = {
|
|
|
18950
18933
|
else if (t[d] === void 0) {
|
|
18951
18934
|
const m = s.defaultValue;
|
|
18952
18935
|
let _ = null;
|
|
18953
|
-
|
|
18936
|
+
o && (_ = o(n.pageContext, m, null, null), _ === void 0 ? _ = null : s.dataType === "BOOLEAN" && (_ = _ === "true" || _ === !0)), setEntityFieldValue(t, d, _);
|
|
18954
18937
|
}
|
|
18955
18938
|
}
|
|
18956
18939
|
}
|
|
@@ -19067,22 +19050,15 @@ const apis$2 = {
|
|
|
19067
19050
|
let d = !0;
|
|
19068
19051
|
isHasEditOption("isEnableValidate", t) && (d = l.options.lineEditOptions.isEnableValidate);
|
|
19069
19052
|
let m = !0;
|
|
19070
|
-
if (d === !0 && (m = formValidatorService.validator(
|
|
19071
|
-
s,
|
|
19072
|
-
t,
|
|
19073
|
-
e
|
|
19074
|
-
)), m === !0) {
|
|
19053
|
+
if (d === !0 && (m = formValidatorService.validator(s, t, e)), m === !0) {
|
|
19075
19054
|
let _ = !0;
|
|
19076
|
-
if (isEditOptionFunction("beforeSave", t) && (l.pageContext ? _ = l.options.lineEditOptions.beforeSave.call(
|
|
19077
|
-
|
|
19078
|
-
|
|
19079
|
-
|
|
19080
|
-
|
|
19081
|
-
|
|
19082
|
-
|
|
19083
|
-
configureObj: l.configureObj
|
|
19084
|
-
}
|
|
19085
|
-
) : _ = l.options.lineEditOptions.beforeSave.call(
|
|
19055
|
+
if (isEditOptionFunction("beforeSave", t) && (l.pageContext ? _ = l.options.lineEditOptions.beforeSave.call(this, {
|
|
19056
|
+
row: s,
|
|
19057
|
+
columns: l.columns,
|
|
19058
|
+
additionalParamMap: l.additionalParamMap,
|
|
19059
|
+
pageContext: l.pageContext,
|
|
19060
|
+
configureObj: l.configureObj
|
|
19061
|
+
}) : _ = l.options.lineEditOptions.beforeSave.call(
|
|
19086
19062
|
this,
|
|
19087
19063
|
s,
|
|
19088
19064
|
l.columns,
|
|
@@ -19091,19 +19067,16 @@ const apis$2 = {
|
|
|
19091
19067
|
$emit(bus, "un-edit", { row: s });
|
|
19092
19068
|
const E = getAdditionalParamMap(l);
|
|
19093
19069
|
let S;
|
|
19094
|
-
if (isEditOptionFunction("saveRow", t) && (l.pageContext ? S = l.options.lineEditOptions.saveRow.call(
|
|
19095
|
-
|
|
19096
|
-
|
|
19097
|
-
|
|
19098
|
-
|
|
19099
|
-
|
|
19100
|
-
|
|
19101
|
-
|
|
19102
|
-
|
|
19103
|
-
|
|
19104
|
-
configureObj: l.configureObj
|
|
19105
|
-
}
|
|
19106
|
-
) : S = l.options.lineEditOptions.saveRow.call(
|
|
19070
|
+
if (isEditOptionFunction("saveRow", t) && (l.pageContext ? S = l.options.lineEditOptions.saveRow.call(this, {
|
|
19071
|
+
row: s,
|
|
19072
|
+
columns: l.columns,
|
|
19073
|
+
dataTypeMap: l.$dataTypeMap,
|
|
19074
|
+
dynamicColumnInfo: l.dynamicColumnInfo,
|
|
19075
|
+
additionalParamMap: E,
|
|
19076
|
+
mainDefaultValueColumns: l.mainDefaultValueColumns,
|
|
19077
|
+
pageContext: l.pageContext,
|
|
19078
|
+
configureObj: l.configureObj
|
|
19079
|
+
}) : S = l.options.lineEditOptions.saveRow.call(
|
|
19107
19080
|
this,
|
|
19108
19081
|
s,
|
|
19109
19082
|
l.columns,
|
|
@@ -19140,20 +19113,10 @@ const apis$2 = {
|
|
|
19140
19113
|
o(O);
|
|
19141
19114
|
});
|
|
19142
19115
|
}).catch((k) => {
|
|
19143
|
-
l.canSaveRow = !0, isEditOptionFunction("saveError", t) && l.options.lineEditOptions.saveError.call(
|
|
19144
|
-
this,
|
|
19145
|
-
s,
|
|
19146
|
-
l.columns,
|
|
19147
|
-
e,
|
|
19148
|
-
k
|
|
19149
|
-
), o(k);
|
|
19116
|
+
l.canSaveRow = !0, isEditOptionFunction("saveError", t) && l.options.lineEditOptions.saveError.call(this, s, l.columns, e, k), o(k);
|
|
19150
19117
|
}) : (l.canSaveRow = !0, o(getI18n().t("saveRowRequest is undefined")));
|
|
19151
19118
|
} else
|
|
19152
|
-
l.canSaveRow = !0, o(
|
|
19153
|
-
getI18n().t(
|
|
19154
|
-
"superGrid.theReturnValueOfTheBeforesaveCallbackMethodIsFalse"
|
|
19155
|
-
)
|
|
19156
|
-
);
|
|
19119
|
+
l.canSaveRow = !0, o(getI18n().t("superGrid.theReturnValueOfTheBeforesaveCallbackMethodIsFalse"));
|
|
19157
19120
|
} else
|
|
19158
19121
|
l.canSaveRow = !0, o(getI18n().t("imatrixUIMessage.validationFailed"));
|
|
19159
19122
|
}
|
|
@@ -19167,18 +19130,15 @@ const apis$2 = {
|
|
|
19167
19130
|
row: t + 1
|
|
19168
19131
|
}),
|
|
19169
19132
|
type: "success"
|
|
19170
|
-
}), (typeof e.options.lineEditOptions.aftersaveIsCancelEditState > "u" || isHasEditOption("aftersaveIsCancelEditState", n) && e.options.lineEditOptions.aftersaveIsCancelEditState === !0) && (setEntityFieldValue(l, "$editing", !1), e.isEditRow = !1), isEditOptionFunction("saveSuccess", n) && (e.pageContext ? e.options.lineEditOptions.saveSuccess.call(
|
|
19171
|
-
|
|
19172
|
-
|
|
19173
|
-
|
|
19174
|
-
|
|
19175
|
-
|
|
19176
|
-
|
|
19177
|
-
|
|
19178
|
-
|
|
19179
|
-
configureObj: e.configureObj
|
|
19180
|
-
}
|
|
19181
|
-
) : e.options.lineEditOptions.saveSuccess.call(
|
|
19133
|
+
}), (typeof e.options.lineEditOptions.aftersaveIsCancelEditState > "u" || isHasEditOption("aftersaveIsCancelEditState", n) && e.options.lineEditOptions.aftersaveIsCancelEditState === !0) && (setEntityFieldValue(l, "$editing", !1), e.isEditRow = !1), isEditOptionFunction("saveSuccess", n) && (e.pageContext ? e.options.lineEditOptions.saveSuccess.call(this, {
|
|
19134
|
+
data: o,
|
|
19135
|
+
columns: e.columns,
|
|
19136
|
+
rowIndex: t,
|
|
19137
|
+
row: l,
|
|
19138
|
+
additionalParamMap: e.additionalParamMap,
|
|
19139
|
+
pageContext: e.pageContext,
|
|
19140
|
+
configureObj: e.configureObj
|
|
19141
|
+
}) : e.options.lineEditOptions.saveSuccess.call(
|
|
19182
19142
|
this,
|
|
19183
19143
|
o,
|
|
19184
19144
|
e.columns,
|
|
@@ -19256,30 +19216,25 @@ const apis$2 = {
|
|
|
19256
19216
|
let s = !0;
|
|
19257
19217
|
if (isEditOptionFunction("beforeRestore", t)) {
|
|
19258
19218
|
const d = n.isSubTableShowPage, m = n.pagination && n.pagination.pageSize, _ = this.isMobile;
|
|
19259
|
-
s = n.options.lineEditOptions.beforeRestore.call(
|
|
19260
|
-
|
|
19261
|
-
|
|
19262
|
-
|
|
19263
|
-
|
|
19264
|
-
|
|
19265
|
-
|
|
19266
|
-
|
|
19267
|
-
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19272
|
-
configureObj: n.configureObj
|
|
19273
|
-
}
|
|
19274
|
-
);
|
|
19219
|
+
s = n.options.lineEditOptions.beforeRestore.call(this, {
|
|
19220
|
+
rowIndex: e,
|
|
19221
|
+
gridData: d ? n.subTableData : n.gridData,
|
|
19222
|
+
entity: n.gridData[e],
|
|
19223
|
+
isMobile: _,
|
|
19224
|
+
baseURL: window.$vueApp.config.globalProperties.baseURL,
|
|
19225
|
+
isEditing: !o,
|
|
19226
|
+
pageGridData: d ? n.gridData : null,
|
|
19227
|
+
pageSize: m,
|
|
19228
|
+
additionalParamMap: n.additionalParamMap,
|
|
19229
|
+
pageContext: n.pageContext,
|
|
19230
|
+
configureObj: n.configureObj
|
|
19231
|
+
});
|
|
19275
19232
|
}
|
|
19276
19233
|
if (s === void 0 || s === !0) {
|
|
19277
19234
|
if (!n.orgGridData[e].id && !n.orgGridData[e].ID)
|
|
19278
19235
|
this.deleteRow(e, t, !0);
|
|
19279
19236
|
else {
|
|
19280
|
-
if (n.gridData[e] = JSON.parse(
|
|
19281
|
-
JSON.stringify(n.orgGridData[e])
|
|
19282
|
-
), n.isSubTableShowPage !== void 0 && n.isSubTableShowPage === !0) {
|
|
19237
|
+
if (n.gridData[e] = JSON.parse(JSON.stringify(n.orgGridData[e])), n.isSubTableShowPage !== void 0 && n.isSubTableShowPage === !0) {
|
|
19283
19238
|
const m = (this.currentPage - 1) * this.pageSize + e;
|
|
19284
19239
|
n.subTableData[m] = n.gridData[e];
|
|
19285
19240
|
}
|
|
@@ -19289,22 +19244,15 @@ const apis$2 = {
|
|
|
19289
19244
|
row: e + 1
|
|
19290
19245
|
}),
|
|
19291
19246
|
type: "success"
|
|
19292
|
-
}), (typeof n.options.lineEditOptions.afterRestoreIsCancelEditState > "u" || isHasEditOption("afterRestoreIsCancelEditState", t) && n.options.lineEditOptions.afterRestoreIsCancelEditState === !0) && (setEntityFieldValue(
|
|
19293
|
-
n.gridData[e],
|
|
19294
|
-
"$editing",
|
|
19295
|
-
!1
|
|
19296
|
-
), n.isEditRow = !1);
|
|
19247
|
+
}), (typeof n.options.lineEditOptions.afterRestoreIsCancelEditState > "u" || isHasEditOption("afterRestoreIsCancelEditState", t) && n.options.lineEditOptions.afterRestoreIsCancelEditState === !0) && (setEntityFieldValue(n.gridData[e], "$editing", !1), n.isEditRow = !1);
|
|
19297
19248
|
}
|
|
19298
|
-
n.$rowIndex = null, n.isCreateRow = !1, isEditOptionFunction("afterRestore", t) && (n.pageContext ? n.options.lineEditOptions.afterRestore.call(
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
configureObj: n.configureObj
|
|
19306
|
-
}
|
|
19307
|
-
) : n.options.lineEditOptions.afterRestore.call(
|
|
19249
|
+
n.$rowIndex = null, n.isCreateRow = !1, isEditOptionFunction("afterRestore", t) && (n.pageContext ? n.options.lineEditOptions.afterRestore.call(this, {
|
|
19250
|
+
rowIndex: e,
|
|
19251
|
+
row: n.orgGridData[e],
|
|
19252
|
+
additionalParamMap: n.additionalParamMap,
|
|
19253
|
+
pageContext: n.pageContext,
|
|
19254
|
+
configureObj: n.configureObj
|
|
19255
|
+
}) : n.options.lineEditOptions.afterRestore.call(
|
|
19308
19256
|
this,
|
|
19309
19257
|
e,
|
|
19310
19258
|
n.orgGridData[e],
|
|
@@ -19320,21 +19268,18 @@ const apis$2 = {
|
|
|
19320
19268
|
let d = !0;
|
|
19321
19269
|
if (isEditOptionFunction("beforeDelete", t)) {
|
|
19322
19270
|
const m = s.isSubTableShowPage, _ = s.pagination && s.pagination.pageSize, E = m ? s.subTableData : s.gridData, S = this.isMobile;
|
|
19323
|
-
s.pageContext ? d = s.options.lineEditOptions.beforeDelete.call(
|
|
19324
|
-
|
|
19325
|
-
|
|
19326
|
-
|
|
19327
|
-
|
|
19328
|
-
|
|
19329
|
-
|
|
19330
|
-
|
|
19331
|
-
|
|
19332
|
-
|
|
19333
|
-
|
|
19334
|
-
|
|
19335
|
-
configureObj: s.configureObj
|
|
19336
|
-
}
|
|
19337
|
-
) : d = s.options.lineEditOptions.beforeDelete.call(
|
|
19271
|
+
s.pageContext ? d = s.options.lineEditOptions.beforeDelete.call(this, {
|
|
19272
|
+
rowIndex: e,
|
|
19273
|
+
row: s.gridData[e],
|
|
19274
|
+
gridData: E,
|
|
19275
|
+
isMobile: S,
|
|
19276
|
+
baseURL: this.baseURL,
|
|
19277
|
+
totalData: m ? s.gridData : null,
|
|
19278
|
+
pageSize: _,
|
|
19279
|
+
additionalParamMap: s.additionalParamMap,
|
|
19280
|
+
pageContext: s.pageContext,
|
|
19281
|
+
configureObj: s.configureObj
|
|
19282
|
+
}) : d = s.options.lineEditOptions.beforeDelete.call(
|
|
19338
19283
|
this,
|
|
19339
19284
|
e,
|
|
19340
19285
|
s.gridData[e],
|
|
@@ -19359,21 +19304,18 @@ const apis$2 = {
|
|
|
19359
19304
|
type: "success"
|
|
19360
19305
|
}), s.gridData.length === 0 && s.options && s.options.isDefaultShowEdit !== null && s.options.isDefaultShowEdit !== void 0 && s.options.isDefaultShowEdit === !0 && this.createRow(t), s.isMulitiSelect && s.superGrid.clearSelection(), s.isCreateRow = !1, n !== void 0 && n === !0 && isEditOptionFunction("afterDelete", t)) {
|
|
19361
19306
|
const m = s.isSubTableShowPage, _ = s.pagination && s.pagination.pageSize, E = this.isMobile;
|
|
19362
|
-
s.pageContext ? s.options.lineEditOptions.afterDelete.call(
|
|
19363
|
-
|
|
19364
|
-
|
|
19365
|
-
|
|
19366
|
-
|
|
19367
|
-
|
|
19368
|
-
|
|
19369
|
-
|
|
19370
|
-
|
|
19371
|
-
|
|
19372
|
-
|
|
19373
|
-
|
|
19374
|
-
configureObj: s.configureObj
|
|
19375
|
-
}
|
|
19376
|
-
) : s.options.lineEditOptions.afterDelete.call(
|
|
19307
|
+
s.pageContext ? s.options.lineEditOptions.afterDelete.call(this, {
|
|
19308
|
+
rowIndex: e,
|
|
19309
|
+
row: s.orgGridData[e],
|
|
19310
|
+
gridData: m ? s.subTableData : s.gridData,
|
|
19311
|
+
isMobile: E,
|
|
19312
|
+
baseURL: this.baseURL,
|
|
19313
|
+
totalData: m ? s.gridData : null,
|
|
19314
|
+
pageSize: _,
|
|
19315
|
+
additionalParamMap: s.additionalParamMap,
|
|
19316
|
+
pageContext: s.pageContext,
|
|
19317
|
+
configureObj: s.configureObj
|
|
19318
|
+
}) : s.options.lineEditOptions.afterDelete.call(
|
|
19377
19319
|
this,
|
|
19378
19320
|
e,
|
|
19379
19321
|
s.orgGridData[e],
|
|
@@ -19444,10 +19386,7 @@ const apis$2 = {
|
|
|
19444
19386
|
},
|
|
19445
19387
|
// api方法,super-pages中有调用该方法
|
|
19446
19388
|
closePageDialog(e) {
|
|
19447
|
-
if (console.log(
|
|
19448
|
-
"列表组件--closePageDialog---this.jumpPageSetting=",
|
|
19449
|
-
this.jumpPageSetting
|
|
19450
|
-
), this.jumpPageSetting) {
|
|
19389
|
+
if (console.log("列表组件--closePageDialog---this.jumpPageSetting=", this.jumpPageSetting), this.jumpPageSetting) {
|
|
19451
19390
|
const t = store$1.get(this.code), n = this.jumpPageSetting.closeEvent, o = this.jumpPageSetting.row;
|
|
19452
19391
|
let l;
|
|
19453
19392
|
if (t.options.eventCallBack && n && n !== null && t.options.eventCallBack[n] && (l = t.options.eventCallBack[n]), l) {
|
|
@@ -20408,13 +20347,9 @@ const _sfc_main$1m = {
|
|
|
20408
20347
|
}
|
|
20409
20348
|
return setEntityFieldValue(this.row, this.column.prop, t), t;
|
|
20410
20349
|
}
|
|
20411
|
-
} else {
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
return setEntityFieldValue(this.row, this.column.prop, t), t;
|
|
20415
|
-
}
|
|
20416
|
-
if (this.column.dataType === "BOOLEAN" && (e === "true" || e === "false"))
|
|
20417
|
-
return e === "true";
|
|
20350
|
+
} else if (this.column.componentType === "inputNumber") {
|
|
20351
|
+
const t = Number(e);
|
|
20352
|
+
return setEntityFieldValue(this.row, this.column.prop, t), t;
|
|
20418
20353
|
}
|
|
20419
20354
|
return e;
|
|
20420
20355
|
},
|