@egova/egova-api 1.0.95 → 1.0.98
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 +28 -10
- package/dist/index.umd.js +28 -10
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -61445,18 +61445,28 @@ function (_super) {
|
|
|
61445
61445
|
title: "授权管理",
|
|
61446
61446
|
name: "security"
|
|
61447
61447
|
}, {
|
|
61448
|
-
title: "
|
|
61448
|
+
title: "前置脚本",
|
|
61449
61449
|
name: "pre-execution"
|
|
61450
|
+
}, // {
|
|
61451
|
+
// title: "后执处理",
|
|
61452
|
+
// name: "after-execution",
|
|
61453
|
+
// children: [
|
|
61454
|
+
// {
|
|
61455
|
+
// title: "后执转换",
|
|
61456
|
+
// name: "after-execution-transfer"
|
|
61457
|
+
// },
|
|
61458
|
+
// {
|
|
61459
|
+
// title: "后执脚本",
|
|
61460
|
+
// name: "after-execution-script"
|
|
61461
|
+
// }
|
|
61462
|
+
// ]
|
|
61463
|
+
// }
|
|
61464
|
+
{
|
|
61465
|
+
title: "后置转换",
|
|
61466
|
+
name: "after-execution-transfer"
|
|
61450
61467
|
}, {
|
|
61451
|
-
title: "
|
|
61452
|
-
name: "after-execution"
|
|
61453
|
-
children: [{
|
|
61454
|
-
title: "后执转换",
|
|
61455
|
-
name: "after-execution-transfer"
|
|
61456
|
-
}, {
|
|
61457
|
-
title: "后执脚本",
|
|
61458
|
-
name: "after-execution-script"
|
|
61459
|
-
}]
|
|
61468
|
+
title: "后置脚本",
|
|
61469
|
+
name: "after-execution-script"
|
|
61460
61470
|
}];
|
|
61461
61471
|
_this.currentRequestSettingType = _this.requertSettingTypeList[0];
|
|
61462
61472
|
return _this;
|
|
@@ -62291,6 +62301,14 @@ function (_super) {
|
|
|
62291
62301
|
case 0:
|
|
62292
62302
|
this.interfaceModel.categoryId = this.parent.id;
|
|
62293
62303
|
this.interfaceModel.projectId = this.projectId;
|
|
62304
|
+
|
|
62305
|
+
if (this.interfaceModel.name && this.interfaceModel.name.length > 50) {
|
|
62306
|
+
this.$message.error("接口名称长度不能超过50");
|
|
62307
|
+
return [2
|
|
62308
|
+
/*return*/
|
|
62309
|
+
];
|
|
62310
|
+
}
|
|
62311
|
+
|
|
62294
62312
|
return [4
|
|
62295
62313
|
/*yield*/
|
|
62296
62314
|
, this.service.saveApi(this.interfaceModel)];
|
package/dist/index.umd.js
CHANGED
|
@@ -61454,18 +61454,28 @@ function (_super) {
|
|
|
61454
61454
|
title: "授权管理",
|
|
61455
61455
|
name: "security"
|
|
61456
61456
|
}, {
|
|
61457
|
-
title: "
|
|
61457
|
+
title: "前置脚本",
|
|
61458
61458
|
name: "pre-execution"
|
|
61459
|
+
}, // {
|
|
61460
|
+
// title: "后执处理",
|
|
61461
|
+
// name: "after-execution",
|
|
61462
|
+
// children: [
|
|
61463
|
+
// {
|
|
61464
|
+
// title: "后执转换",
|
|
61465
|
+
// name: "after-execution-transfer"
|
|
61466
|
+
// },
|
|
61467
|
+
// {
|
|
61468
|
+
// title: "后执脚本",
|
|
61469
|
+
// name: "after-execution-script"
|
|
61470
|
+
// }
|
|
61471
|
+
// ]
|
|
61472
|
+
// }
|
|
61473
|
+
{
|
|
61474
|
+
title: "后置转换",
|
|
61475
|
+
name: "after-execution-transfer"
|
|
61459
61476
|
}, {
|
|
61460
|
-
title: "
|
|
61461
|
-
name: "after-execution"
|
|
61462
|
-
children: [{
|
|
61463
|
-
title: "后执转换",
|
|
61464
|
-
name: "after-execution-transfer"
|
|
61465
|
-
}, {
|
|
61466
|
-
title: "后执脚本",
|
|
61467
|
-
name: "after-execution-script"
|
|
61468
|
-
}]
|
|
61477
|
+
title: "后置脚本",
|
|
61478
|
+
name: "after-execution-script"
|
|
61469
61479
|
}];
|
|
61470
61480
|
_this.currentRequestSettingType = _this.requertSettingTypeList[0];
|
|
61471
61481
|
return _this;
|
|
@@ -62300,6 +62310,14 @@ function (_super) {
|
|
|
62300
62310
|
case 0:
|
|
62301
62311
|
this.interfaceModel.categoryId = this.parent.id;
|
|
62302
62312
|
this.interfaceModel.projectId = this.projectId;
|
|
62313
|
+
|
|
62314
|
+
if (this.interfaceModel.name && this.interfaceModel.name.length > 50) {
|
|
62315
|
+
this.$message.error("接口名称长度不能超过50");
|
|
62316
|
+
return [2
|
|
62317
|
+
/*return*/
|
|
62318
|
+
];
|
|
62319
|
+
}
|
|
62320
|
+
|
|
62303
62321
|
return [4
|
|
62304
62322
|
/*yield*/
|
|
62305
62323
|
, this.service.saveApi(this.interfaceModel)];
|