@egova/egova-api 1.0.262 → 1.0.263
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/index.common.js
CHANGED
|
@@ -53229,16 +53229,22 @@ function (_super) {
|
|
|
53229
53229
|
};
|
|
53230
53230
|
|
|
53231
53231
|
ProjectCombineManage.prototype.onDetail = function (row) {
|
|
53232
|
-
var
|
|
53233
|
-
|
|
53232
|
+
var _a = row !== null && row !== void 0 ? row : {},
|
|
53233
|
+
id = _a.id,
|
|
53234
|
+
categoryId = _a.categoryId;
|
|
53235
|
+
|
|
53236
|
+
this.onAdd(id, categoryId, false);
|
|
53234
53237
|
};
|
|
53235
53238
|
|
|
53236
53239
|
ProjectCombineManage.prototype.onEdit = function (row) {
|
|
53237
|
-
var
|
|
53238
|
-
|
|
53240
|
+
var _a = row !== null && row !== void 0 ? row : {},
|
|
53241
|
+
id = _a.id,
|
|
53242
|
+
categoryId = _a.categoryId;
|
|
53243
|
+
|
|
53244
|
+
this.onAdd(id, categoryId, true);
|
|
53239
53245
|
};
|
|
53240
53246
|
|
|
53241
|
-
ProjectCombineManage.prototype.onAdd = function (id, isEdit) {
|
|
53247
|
+
ProjectCombineManage.prototype.onAdd = function (id, categoryId, isEdit) {
|
|
53242
53248
|
var _a;
|
|
53243
53249
|
|
|
53244
53250
|
if (isEdit === void 0) {
|
|
@@ -53261,7 +53267,7 @@ function (_super) {
|
|
|
53261
53267
|
query: (_b = {
|
|
53262
53268
|
isEdit: isEdit ? "1" : "0",
|
|
53263
53269
|
id: id !== null && id !== void 0 ? id : "",
|
|
53264
|
-
categoryId: this.currentNode.id
|
|
53270
|
+
categoryId: categoryId ? categoryId : this.currentNode.id
|
|
53265
53271
|
}, _b["_".concat(id ? "edit" : "add")] = Date.now().toString(), _b)
|
|
53266
53272
|
});
|
|
53267
53273
|
return [2
|
package/dist/index.umd.js
CHANGED
|
@@ -53238,16 +53238,22 @@ function (_super) {
|
|
|
53238
53238
|
};
|
|
53239
53239
|
|
|
53240
53240
|
ProjectCombineManage.prototype.onDetail = function (row) {
|
|
53241
|
-
var
|
|
53242
|
-
|
|
53241
|
+
var _a = row !== null && row !== void 0 ? row : {},
|
|
53242
|
+
id = _a.id,
|
|
53243
|
+
categoryId = _a.categoryId;
|
|
53244
|
+
|
|
53245
|
+
this.onAdd(id, categoryId, false);
|
|
53243
53246
|
};
|
|
53244
53247
|
|
|
53245
53248
|
ProjectCombineManage.prototype.onEdit = function (row) {
|
|
53246
|
-
var
|
|
53247
|
-
|
|
53249
|
+
var _a = row !== null && row !== void 0 ? row : {},
|
|
53250
|
+
id = _a.id,
|
|
53251
|
+
categoryId = _a.categoryId;
|
|
53252
|
+
|
|
53253
|
+
this.onAdd(id, categoryId, true);
|
|
53248
53254
|
};
|
|
53249
53255
|
|
|
53250
|
-
ProjectCombineManage.prototype.onAdd = function (id, isEdit) {
|
|
53256
|
+
ProjectCombineManage.prototype.onAdd = function (id, categoryId, isEdit) {
|
|
53251
53257
|
var _a;
|
|
53252
53258
|
|
|
53253
53259
|
if (isEdit === void 0) {
|
|
@@ -53270,7 +53276,7 @@ function (_super) {
|
|
|
53270
53276
|
query: (_b = {
|
|
53271
53277
|
isEdit: isEdit ? "1" : "0",
|
|
53272
53278
|
id: id !== null && id !== void 0 ? id : "",
|
|
53273
|
-
categoryId: this.currentNode.id
|
|
53279
|
+
categoryId: categoryId ? categoryId : this.currentNode.id
|
|
53274
53280
|
}, _b["_".concat(id ? "edit" : "add")] = Date.now().toString(), _b)
|
|
53275
53281
|
});
|
|
53276
53282
|
return [2
|