@egova/egova-api 1.0.33 → 1.0.37
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 +23 -8
- package/dist/index.umd.js +23 -8
- package/dist/index.umd.min.js +2 -2
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -22445,7 +22445,7 @@ module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
|
22445
22445
|
/***/ "193e":
|
|
22446
22446
|
/***/ (function(module, exports) {
|
|
22447
22447
|
|
|
22448
|
-
module.exports = "<article class=\"project-tree\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n search\r\n v-model=\"keyword\"\r\n @on-search=\"onFilter\"\r\n placeholder=\"输入关键字搜索\"\r\n >\r\n <i-select\r\n transfer\r\n slot=\"prepend\"\r\n v-model=\"type\"\r\n @on-change=\"onFilter\"\r\n class=\"diy-select\"\r\n >\r\n <i-option\r\n v-for=\"item in typeList\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-input>\r\n <div class=\"add\" @click=\"onAddGroup\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新建分组</span>\r\n </div>\r\n </header>\r\n <i-tree :data=\"renderData\" :render=\"renderContent\"></i-tree>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showGroupModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onSaveGroup\"\r\n :title=\"group.id ? '修改分组': '添加分组'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"分组名称\">\r\n <i-input class=\"diy-input\" v-model=\"group.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"分组位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showInterfaceModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onSaveInterface\"\r\n :title=\"interfaceModel.id ? '修改接口': '添加接口'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"interfaceModel.name\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n <i-form-item label=\"接口类型\">\r\n <i-select v-model=\"interfaceModel.method\" class=\"diy-select\">\r\n <i-option\r\n v-for=\"item in typeList\"\r\n v-if=\"item.value\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showCopyModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onCopy\"\r\n title=\"复制接口\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"copyName\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n</article>\r\n"
|
|
22448
|
+
module.exports = "<article class=\"project-tree\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n search\r\n v-model=\"keyword\"\r\n @on-search=\"onFilter\"\r\n placeholder=\"输入关键字搜索\"\r\n >\r\n <i-select\r\n transfer\r\n slot=\"prepend\"\r\n v-model=\"type\"\r\n @on-change=\"onFilter\"\r\n class=\"diy-select\"\r\n >\r\n <i-option\r\n v-for=\"item in typeList\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-input>\r\n <div class=\"add\" @click=\"onAddGroup\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新建分组</span>\r\n </div>\r\n </header>\r\n <i-tree :data=\"renderData\" :render=\"renderContent\"></i-tree>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showGroupModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n transfer\r\n @on-ok=\"onSaveGroup\"\r\n :title=\"group.id ? '修改分组': '添加分组'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"分组名称\">\r\n <i-input class=\"diy-input\" v-model=\"group.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"分组位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showInterfaceModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onSaveInterface\"\r\n :title=\"interfaceModel.id ? '修改接口': '添加接口'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"interfaceModel.name\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n <i-form-item label=\"接口类型\">\r\n <i-select v-model=\"interfaceModel.method\" class=\"diy-select\">\r\n <i-option\r\n v-for=\"item in typeList\"\r\n v-if=\"item.value\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showCopyModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onCopy\"\r\n title=\"复制接口\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"copyName\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n</article>\r\n"
|
|
22449
22449
|
|
|
22450
22450
|
/***/ }),
|
|
22451
22451
|
|
|
@@ -47792,6 +47792,7 @@ function (_super) {
|
|
|
47792
47792
|
project_list_decorate([autowired(project_list_service), project_list_metadata("design:type", typeof (_a = typeof project_list_service !== "undefined" && project_list_service) === "function" ? _a : Object)], ProjectList.prototype, "service", void 0);
|
|
47793
47793
|
|
|
47794
47794
|
ProjectList = project_list_decorate([Object(flagwind_web_["component"])({
|
|
47795
|
+
name: "ApiProjectList",
|
|
47795
47796
|
template: __webpack_require__("cfb3"),
|
|
47796
47797
|
components: {
|
|
47797
47798
|
"u-card": project_list_card,
|
|
@@ -48799,6 +48800,7 @@ function (_super) {
|
|
|
48799
48800
|
project_comment_decorate([autowired(project_comment_service), project_comment_metadata("design:type", typeof (_a = typeof project_comment_service !== "undefined" && project_comment_service) === "function" ? _a : Object)], ProjectComment.prototype, "service", void 0);
|
|
48800
48801
|
|
|
48801
48802
|
ProjectComment = project_comment_decorate([Object(flagwind_web_["component"])({
|
|
48803
|
+
name: "ApiProjectComment",
|
|
48802
48804
|
template: __webpack_require__("b769"),
|
|
48803
48805
|
components: {
|
|
48804
48806
|
VirtualList: dist_default.a
|
|
@@ -50575,6 +50577,7 @@ var params_setting = __webpack_require__("8137");
|
|
|
50575
50577
|
|
|
50576
50578
|
|
|
50577
50579
|
|
|
50580
|
+
|
|
50578
50581
|
var params_setting_extends = undefined && undefined.__extends || function () {
|
|
50579
50582
|
var _extendStatics = function extendStatics(d, b) {
|
|
50580
50583
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -50966,6 +50969,11 @@ function (_super) {
|
|
|
50966
50969
|
case 1:
|
|
50967
50970
|
result = _a.sent();
|
|
50968
50971
|
this.requestBodyTypeList = (result === null || result === void 0 ? void 0 : result.result) || [];
|
|
50972
|
+
|
|
50973
|
+
if (this.interfaceModel && this.interfaceModel.info) {
|
|
50974
|
+
this.interfaceModel.info.requestBodyType = this.interfaceModel.info.requestBodyType || (this.requestBodyTypeList.length ? this.requestBodyTypeList[0].name : "Form");
|
|
50975
|
+
}
|
|
50976
|
+
|
|
50969
50977
|
return [2
|
|
50970
50978
|
/*return*/
|
|
50971
50979
|
];
|
|
@@ -52277,10 +52285,11 @@ function (_super) {
|
|
|
52277
52285
|
_this.renderData = [];
|
|
52278
52286
|
_this.keyword = "";
|
|
52279
52287
|
_this.type = "all";
|
|
52280
|
-
_this.typeList = [{
|
|
52281
|
-
|
|
52282
|
-
|
|
52283
|
-
},
|
|
52288
|
+
_this.typeList = [// {
|
|
52289
|
+
// value: "all",
|
|
52290
|
+
// text: "全部"
|
|
52291
|
+
// },
|
|
52292
|
+
{
|
|
52284
52293
|
value: "GET",
|
|
52285
52294
|
text: "GET"
|
|
52286
52295
|
}, {
|
|
@@ -52295,7 +52304,9 @@ function (_super) {
|
|
|
52295
52304
|
}];
|
|
52296
52305
|
_this.showInterfaceModal = false;
|
|
52297
52306
|
_this.showGroupModal = false;
|
|
52298
|
-
_this.interfaceModel = {
|
|
52307
|
+
_this.interfaceModel = {
|
|
52308
|
+
method: "GET"
|
|
52309
|
+
};
|
|
52299
52310
|
_this.showCopyModal = false;
|
|
52300
52311
|
_this.copyName = "";
|
|
52301
52312
|
_this.group = {};
|
|
@@ -52394,7 +52405,9 @@ function (_super) {
|
|
|
52394
52405
|
};
|
|
52395
52406
|
|
|
52396
52407
|
ProjectTree.prototype.onAddInterface = function (group) {
|
|
52397
|
-
this.interfaceModel = {
|
|
52408
|
+
this.interfaceModel = {
|
|
52409
|
+
method: "GET"
|
|
52410
|
+
};
|
|
52398
52411
|
this.parent = group;
|
|
52399
52412
|
this.showInterfaceModal = true;
|
|
52400
52413
|
};
|
|
@@ -52949,7 +52962,8 @@ function (_super) {
|
|
|
52949
52962
|
|
|
52950
52963
|
ProjectDetail.prototype.onOpenCurrentModal = function () {
|
|
52951
52964
|
this.showCurrentModal = true;
|
|
52952
|
-
};
|
|
52965
|
+
}; // @watch("$route", { deep: true, immediate: true })
|
|
52966
|
+
|
|
52953
52967
|
|
|
52954
52968
|
ProjectDetail.prototype.mounted = function () {
|
|
52955
52969
|
var _a;
|
|
@@ -52978,6 +52992,7 @@ function (_super) {
|
|
|
52978
52992
|
project_detail_decorate([autowired(project_detail_service), project_detail_metadata("design:type", typeof (_a = typeof project_detail_service !== "undefined" && project_detail_service) === "function" ? _a : Object)], ProjectDetail.prototype, "service", void 0);
|
|
52979
52993
|
|
|
52980
52994
|
ProjectDetail = project_detail_decorate([Object(flagwind_web_["component"])({
|
|
52995
|
+
name: "ApiProjectDetail",
|
|
52981
52996
|
template: __webpack_require__("d63e"),
|
|
52982
52997
|
components: {
|
|
52983
52998
|
"u-tree": project_detail_tree,
|
package/dist/index.umd.js
CHANGED
|
@@ -22454,7 +22454,7 @@ module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
|
22454
22454
|
/***/ "193e":
|
|
22455
22455
|
/***/ (function(module, exports) {
|
|
22456
22456
|
|
|
22457
|
-
module.exports = "<article class=\"project-tree\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n search\r\n v-model=\"keyword\"\r\n @on-search=\"onFilter\"\r\n placeholder=\"输入关键字搜索\"\r\n >\r\n <i-select\r\n transfer\r\n slot=\"prepend\"\r\n v-model=\"type\"\r\n @on-change=\"onFilter\"\r\n class=\"diy-select\"\r\n >\r\n <i-option\r\n v-for=\"item in typeList\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-input>\r\n <div class=\"add\" @click=\"onAddGroup\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新建分组</span>\r\n </div>\r\n </header>\r\n <i-tree :data=\"renderData\" :render=\"renderContent\"></i-tree>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showGroupModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onSaveGroup\"\r\n :title=\"group.id ? '修改分组': '添加分组'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"分组名称\">\r\n <i-input class=\"diy-input\" v-model=\"group.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"分组位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showInterfaceModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onSaveInterface\"\r\n :title=\"interfaceModel.id ? '修改接口': '添加接口'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"interfaceModel.name\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n <i-form-item label=\"接口类型\">\r\n <i-select v-model=\"interfaceModel.method\" class=\"diy-select\">\r\n <i-option\r\n v-for=\"item in typeList\"\r\n v-if=\"item.value\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showCopyModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onCopy\"\r\n title=\"复制接口\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"copyName\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n</article>\r\n"
|
|
22457
|
+
module.exports = "<article class=\"project-tree\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n search\r\n v-model=\"keyword\"\r\n @on-search=\"onFilter\"\r\n placeholder=\"输入关键字搜索\"\r\n >\r\n <i-select\r\n transfer\r\n slot=\"prepend\"\r\n v-model=\"type\"\r\n @on-change=\"onFilter\"\r\n class=\"diy-select\"\r\n >\r\n <i-option\r\n v-for=\"item in typeList\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-input>\r\n <div class=\"add\" @click=\"onAddGroup\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新建分组</span>\r\n </div>\r\n </header>\r\n <i-tree :data=\"renderData\" :render=\"renderContent\"></i-tree>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showGroupModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n transfer\r\n @on-ok=\"onSaveGroup\"\r\n :title=\"group.id ? '修改分组': '添加分组'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"分组名称\">\r\n <i-input class=\"diy-input\" v-model=\"group.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"分组位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showInterfaceModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onSaveInterface\"\r\n :title=\"interfaceModel.id ? '修改接口': '添加接口'\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"interfaceModel.name\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口位置\">\r\n <u-group-select\r\n :data=\"groupTree\"\r\n :current=\"parent\"\r\n @on-select=\"onSelectParent\"\r\n ></u-group-select>\r\n </i-form-item>\r\n <i-form-item label=\"接口类型\">\r\n <i-select v-model=\"interfaceModel.method\" class=\"diy-select\">\r\n <i-option\r\n v-for=\"item in typeList\"\r\n v-if=\"item.value\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n <i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"showCopyModal\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n @on-ok=\"onCopy\"\r\n title=\"复制接口\"\r\n >\r\n <i-form :label-width=\"100\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"接口名称\">\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"copyName\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n </i-modal>\r\n</article>\r\n"
|
|
22458
22458
|
|
|
22459
22459
|
/***/ }),
|
|
22460
22460
|
|
|
@@ -47801,6 +47801,7 @@ function (_super) {
|
|
|
47801
47801
|
project_list_decorate([autowired(project_list_service), project_list_metadata("design:type", typeof (_a = typeof project_list_service !== "undefined" && project_list_service) === "function" ? _a : Object)], ProjectList.prototype, "service", void 0);
|
|
47802
47802
|
|
|
47803
47803
|
ProjectList = project_list_decorate([Object(flagwind_web_["component"])({
|
|
47804
|
+
name: "ApiProjectList",
|
|
47804
47805
|
template: __webpack_require__("cfb3"),
|
|
47805
47806
|
components: {
|
|
47806
47807
|
"u-card": project_list_card,
|
|
@@ -48808,6 +48809,7 @@ function (_super) {
|
|
|
48808
48809
|
project_comment_decorate([autowired(project_comment_service), project_comment_metadata("design:type", typeof (_a = typeof project_comment_service !== "undefined" && project_comment_service) === "function" ? _a : Object)], ProjectComment.prototype, "service", void 0);
|
|
48809
48810
|
|
|
48810
48811
|
ProjectComment = project_comment_decorate([Object(flagwind_web_["component"])({
|
|
48812
|
+
name: "ApiProjectComment",
|
|
48811
48813
|
template: __webpack_require__("b769"),
|
|
48812
48814
|
components: {
|
|
48813
48815
|
VirtualList: dist_default.a
|
|
@@ -50584,6 +50586,7 @@ var params_setting = __webpack_require__("8137");
|
|
|
50584
50586
|
|
|
50585
50587
|
|
|
50586
50588
|
|
|
50589
|
+
|
|
50587
50590
|
var params_setting_extends = undefined && undefined.__extends || function () {
|
|
50588
50591
|
var _extendStatics = function extendStatics(d, b) {
|
|
50589
50592
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -50975,6 +50978,11 @@ function (_super) {
|
|
|
50975
50978
|
case 1:
|
|
50976
50979
|
result = _a.sent();
|
|
50977
50980
|
this.requestBodyTypeList = (result === null || result === void 0 ? void 0 : result.result) || [];
|
|
50981
|
+
|
|
50982
|
+
if (this.interfaceModel && this.interfaceModel.info) {
|
|
50983
|
+
this.interfaceModel.info.requestBodyType = this.interfaceModel.info.requestBodyType || (this.requestBodyTypeList.length ? this.requestBodyTypeList[0].name : "Form");
|
|
50984
|
+
}
|
|
50985
|
+
|
|
50978
50986
|
return [2
|
|
50979
50987
|
/*return*/
|
|
50980
50988
|
];
|
|
@@ -52286,10 +52294,11 @@ function (_super) {
|
|
|
52286
52294
|
_this.renderData = [];
|
|
52287
52295
|
_this.keyword = "";
|
|
52288
52296
|
_this.type = "all";
|
|
52289
|
-
_this.typeList = [{
|
|
52290
|
-
|
|
52291
|
-
|
|
52292
|
-
},
|
|
52297
|
+
_this.typeList = [// {
|
|
52298
|
+
// value: "all",
|
|
52299
|
+
// text: "全部"
|
|
52300
|
+
// },
|
|
52301
|
+
{
|
|
52293
52302
|
value: "GET",
|
|
52294
52303
|
text: "GET"
|
|
52295
52304
|
}, {
|
|
@@ -52304,7 +52313,9 @@ function (_super) {
|
|
|
52304
52313
|
}];
|
|
52305
52314
|
_this.showInterfaceModal = false;
|
|
52306
52315
|
_this.showGroupModal = false;
|
|
52307
|
-
_this.interfaceModel = {
|
|
52316
|
+
_this.interfaceModel = {
|
|
52317
|
+
method: "GET"
|
|
52318
|
+
};
|
|
52308
52319
|
_this.showCopyModal = false;
|
|
52309
52320
|
_this.copyName = "";
|
|
52310
52321
|
_this.group = {};
|
|
@@ -52403,7 +52414,9 @@ function (_super) {
|
|
|
52403
52414
|
};
|
|
52404
52415
|
|
|
52405
52416
|
ProjectTree.prototype.onAddInterface = function (group) {
|
|
52406
|
-
this.interfaceModel = {
|
|
52417
|
+
this.interfaceModel = {
|
|
52418
|
+
method: "GET"
|
|
52419
|
+
};
|
|
52407
52420
|
this.parent = group;
|
|
52408
52421
|
this.showInterfaceModal = true;
|
|
52409
52422
|
};
|
|
@@ -52958,7 +52971,8 @@ function (_super) {
|
|
|
52958
52971
|
|
|
52959
52972
|
ProjectDetail.prototype.onOpenCurrentModal = function () {
|
|
52960
52973
|
this.showCurrentModal = true;
|
|
52961
|
-
};
|
|
52974
|
+
}; // @watch("$route", { deep: true, immediate: true })
|
|
52975
|
+
|
|
52962
52976
|
|
|
52963
52977
|
ProjectDetail.prototype.mounted = function () {
|
|
52964
52978
|
var _a;
|
|
@@ -52987,6 +53001,7 @@ function (_super) {
|
|
|
52987
53001
|
project_detail_decorate([autowired(project_detail_service), project_detail_metadata("design:type", typeof (_a = typeof project_detail_service !== "undefined" && project_detail_service) === "function" ? _a : Object)], ProjectDetail.prototype, "service", void 0);
|
|
52988
53002
|
|
|
52989
53003
|
ProjectDetail = project_detail_decorate([Object(flagwind_web_["component"])({
|
|
53004
|
+
name: "ApiProjectDetail",
|
|
52990
53005
|
template: __webpack_require__("d63e"),
|
|
52991
53006
|
components: {
|
|
52992
53007
|
"u-tree": project_detail_tree,
|