@egova/egova-api 1.0.213 → 1.0.216
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
|
@@ -47467,7 +47467,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
|
|
|
47467
47467
|
/***/ "d63e":
|
|
47468
47468
|
/***/ (function(module, exports) {
|
|
47469
47469
|
|
|
47470
|
-
module.exports = "<article class=\"project-detail\">\
|
|
47470
|
+
module.exports = "<article class=\"project-detail\">\n <header>\n <div class=\"environment\">\n <i class=\"iconfont icon-zhankai\" @click=\"onBack\"></i>\n <p>{{projectName}}</p>\n <!-- <span>环境变量:</span> -->\n <!-- <i-select class=\"diy-select\"></i-select> -->\n </div>\n <div class=\"btns\">\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onOpenGlobalModal\"> <i class=\"api-icon icon-setting\"></i>全局参数设置</i-button> -->\n <!-- <i-button type=\"success\" ghost class=\"diy-btn-success\" @click=\"onOpenCurrentModal\"><i class=\"api-icon icon-view\"></i>查看当前变量</i-button> -->\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary security-btn\" ghost @click=\"onSecurity\"><i class=\"iconfont icon-xinzengzhibiao\"></i>授权认证</i-button>\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onOpenEnvModal\"><i class=\"iconfont icon-bianliang\"></i>环境变量</i-button>\n <i-button v-show=\"active.id\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onToggleLayout\"><i class=\"api-icon icon-switch\"></i>切换布局</i-button>\n </div>\n </header>\n <!-- <main> -->\n <i-split v-model=\"split\" min=\"200px\" max=\"900px\">\n <u-tree slot=\"left\" @on-check-interface=\"onCheckInterface\" @on-edit-interface-success=\"onEditInterfaceSuccess\" :project-id=\"projectId\" @on-success=\"onBatchSuccess\"></u-tree>\n <section slot=\"right\" class=\"interface-box\">\n <header class=\"interface-bar\">\n <swiper class=\"swiper\" :options=\"swiperOption\" @click-slide=\"onClickSlide\" @ready=\"onSwiperReadied\">\n <swiper-slide class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\"\n ><span>{{item.name}}</span> <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon\n ></swiper-slide>\n </swiper>\n <!-- <div class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\">\n <span>{{item.name}}</span>\n <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon>\n </div> -->\n </header>\n <u-settings ref=\"interface-settings\" :interface-model.sync=\"active\" :project-id=\"projectId\" v-if=\"active.id\" :lengthwise=\"lengthwise\"></u-settings>\n </section>\n </i-split>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n <!-- </main> -->\n <u-global-modal :visiable.sync=\"showGlobalModal\">\n <footer slot=\"footer\">\n <i-button @click=\"showGlobalModal = false\">取消</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary\">确定</i-button>\n </footer>\n </u-global-modal>\n <u-current-modal :visiable.sync=\"showCurrentModal\"> </u-current-modal>\n <u-security-modal v-model=\"showSecurity\" :projectID=\"projectId\"></u-security-modal>\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"onEnvironmentRefresh\"></u-environment-modal>\n</article>\n"
|
|
47471
47471
|
|
|
47472
47472
|
/***/ }),
|
|
47473
47473
|
|
|
@@ -60039,6 +60039,7 @@ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce
|
|
|
60039
60039
|
|
|
60040
60040
|
|
|
60041
60041
|
|
|
60042
|
+
|
|
60042
60043
|
var environment_variable_modal_extends = undefined && undefined.__extends || function () {
|
|
60043
60044
|
var _extendStatics = function extendStatics(d, b) {
|
|
60044
60045
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60302,7 +60303,10 @@ function (_super) {
|
|
|
60302
60303
|
|
|
60303
60304
|
EnvironmentVariableModal.prototype.getVariableList = function () {
|
|
60304
60305
|
return environment_variable_modal_awaiter(this, void 0, void 0, function () {
|
|
60305
|
-
var res;
|
|
60306
|
+
var res, arr;
|
|
60307
|
+
|
|
60308
|
+
var _this = this;
|
|
60309
|
+
|
|
60306
60310
|
return environment_variable_modal_generator(this, function (_a) {
|
|
60307
60311
|
switch (_a.label) {
|
|
60308
60312
|
case 0:
|
|
@@ -60325,7 +60329,14 @@ function (_super) {
|
|
|
60325
60329
|
this.exitAddItem = false;
|
|
60326
60330
|
}
|
|
60327
60331
|
|
|
60328
|
-
this.
|
|
60332
|
+
if (this.currentItem && this.currentItem.id) {
|
|
60333
|
+
arr = this.varList.filter(function (item) {
|
|
60334
|
+
return item.id === _this.currentItem.id;
|
|
60335
|
+
});
|
|
60336
|
+
this.onSelectItem(arr[0] || this.varList[0]);
|
|
60337
|
+
} else {
|
|
60338
|
+
this.varList.length && this.onSelectItem(this.varList[0]);
|
|
60339
|
+
}
|
|
60329
60340
|
}
|
|
60330
60341
|
|
|
60331
60342
|
return [2
|
|
@@ -60448,6 +60459,7 @@ function (_super) {
|
|
|
60448
60459
|
|
|
60449
60460
|
if ((_a = this.currentItem) === null || _a === void 0 ? void 0 : _a.id) {
|
|
60450
60461
|
data.id = (_b = this.currentItem) === null || _b === void 0 ? void 0 : _b.id;
|
|
60462
|
+
data.createTime = this.currentItem.createTime;
|
|
60451
60463
|
}
|
|
60452
60464
|
|
|
60453
60465
|
return [4
|
|
@@ -63182,7 +63194,10 @@ function (_super) {
|
|
|
63182
63194
|
|
|
63183
63195
|
SecurityModalComponent.prototype.getSecurityList = function () {
|
|
63184
63196
|
return security_modal_awaiter(this, void 0, void 0, function () {
|
|
63185
|
-
var res, tempList;
|
|
63197
|
+
var res, tempList, arr;
|
|
63198
|
+
|
|
63199
|
+
var _this = this;
|
|
63200
|
+
|
|
63186
63201
|
return security_modal_generator(this, function (_a) {
|
|
63187
63202
|
switch (_a.label) {
|
|
63188
63203
|
case 0:
|
|
@@ -63215,7 +63230,14 @@ function (_super) {
|
|
|
63215
63230
|
this.exitAddItem = false;
|
|
63216
63231
|
}
|
|
63217
63232
|
|
|
63218
|
-
this.
|
|
63233
|
+
if (this.currentSecurityItem && this.currentSecurityItem.id) {
|
|
63234
|
+
arr = this.securityList.filter(function (item) {
|
|
63235
|
+
return item.id === _this.currentSecurityItem.id;
|
|
63236
|
+
});
|
|
63237
|
+
this.onSelectSecurityItem(arr[0] || this.securityList[0]);
|
|
63238
|
+
} else {
|
|
63239
|
+
this.securityList.length && this.onSelectSecurityItem(this.securityList[0]);
|
|
63240
|
+
}
|
|
63219
63241
|
}
|
|
63220
63242
|
|
|
63221
63243
|
return [2
|
|
@@ -63350,6 +63372,7 @@ function (_super) {
|
|
|
63350
63372
|
/*break*/
|
|
63351
63373
|
, 2];
|
|
63352
63374
|
data.id = this.currentSecurityItem.id;
|
|
63375
|
+
data.createTime = this.currentSecurityItem.createTime;
|
|
63353
63376
|
return [4
|
|
63354
63377
|
/*yield*/
|
|
63355
63378
|
, this.service.updateSecurityItem(data)];
|
|
@@ -66436,6 +66459,10 @@ function (_super) {
|
|
|
66436
66459
|
}
|
|
66437
66460
|
};
|
|
66438
66461
|
|
|
66462
|
+
ProjectDetail.prototype.onEnvironmentRefresh = function () {
|
|
66463
|
+
this.$refs["interface-settings"] && this.$refs["interface-settings"].getEnvironmentParamList();
|
|
66464
|
+
};
|
|
66465
|
+
|
|
66439
66466
|
var _a;
|
|
66440
66467
|
|
|
66441
66468
|
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);
|
package/dist/index.umd.js
CHANGED
|
@@ -47476,7 +47476,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
|
|
|
47476
47476
|
/***/ "d63e":
|
|
47477
47477
|
/***/ (function(module, exports) {
|
|
47478
47478
|
|
|
47479
|
-
module.exports = "<article class=\"project-detail\">\
|
|
47479
|
+
module.exports = "<article class=\"project-detail\">\n <header>\n <div class=\"environment\">\n <i class=\"iconfont icon-zhankai\" @click=\"onBack\"></i>\n <p>{{projectName}}</p>\n <!-- <span>环境变量:</span> -->\n <!-- <i-select class=\"diy-select\"></i-select> -->\n </div>\n <div class=\"btns\">\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onOpenGlobalModal\"> <i class=\"api-icon icon-setting\"></i>全局参数设置</i-button> -->\n <!-- <i-button type=\"success\" ghost class=\"diy-btn-success\" @click=\"onOpenCurrentModal\"><i class=\"api-icon icon-view\"></i>查看当前变量</i-button> -->\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary security-btn\" ghost @click=\"onSecurity\"><i class=\"iconfont icon-xinzengzhibiao\"></i>授权认证</i-button>\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onOpenEnvModal\"><i class=\"iconfont icon-bianliang\"></i>环境变量</i-button>\n <i-button v-show=\"active.id\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onToggleLayout\"><i class=\"api-icon icon-switch\"></i>切换布局</i-button>\n </div>\n </header>\n <!-- <main> -->\n <i-split v-model=\"split\" min=\"200px\" max=\"900px\">\n <u-tree slot=\"left\" @on-check-interface=\"onCheckInterface\" @on-edit-interface-success=\"onEditInterfaceSuccess\" :project-id=\"projectId\" @on-success=\"onBatchSuccess\"></u-tree>\n <section slot=\"right\" class=\"interface-box\">\n <header class=\"interface-bar\">\n <swiper class=\"swiper\" :options=\"swiperOption\" @click-slide=\"onClickSlide\" @ready=\"onSwiperReadied\">\n <swiper-slide class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\"\n ><span>{{item.name}}</span> <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon\n ></swiper-slide>\n </swiper>\n <!-- <div class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\">\n <span>{{item.name}}</span>\n <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon>\n </div> -->\n </header>\n <u-settings ref=\"interface-settings\" :interface-model.sync=\"active\" :project-id=\"projectId\" v-if=\"active.id\" :lengthwise=\"lengthwise\"></u-settings>\n </section>\n </i-split>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n <!-- </main> -->\n <u-global-modal :visiable.sync=\"showGlobalModal\">\n <footer slot=\"footer\">\n <i-button @click=\"showGlobalModal = false\">取消</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary\">确定</i-button>\n </footer>\n </u-global-modal>\n <u-current-modal :visiable.sync=\"showCurrentModal\"> </u-current-modal>\n <u-security-modal v-model=\"showSecurity\" :projectID=\"projectId\"></u-security-modal>\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"onEnvironmentRefresh\"></u-environment-modal>\n</article>\n"
|
|
47480
47480
|
|
|
47481
47481
|
/***/ }),
|
|
47482
47482
|
|
|
@@ -60048,6 +60048,7 @@ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce
|
|
|
60048
60048
|
|
|
60049
60049
|
|
|
60050
60050
|
|
|
60051
|
+
|
|
60051
60052
|
var environment_variable_modal_extends = undefined && undefined.__extends || function () {
|
|
60052
60053
|
var _extendStatics = function extendStatics(d, b) {
|
|
60053
60054
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60311,7 +60312,10 @@ function (_super) {
|
|
|
60311
60312
|
|
|
60312
60313
|
EnvironmentVariableModal.prototype.getVariableList = function () {
|
|
60313
60314
|
return environment_variable_modal_awaiter(this, void 0, void 0, function () {
|
|
60314
|
-
var res;
|
|
60315
|
+
var res, arr;
|
|
60316
|
+
|
|
60317
|
+
var _this = this;
|
|
60318
|
+
|
|
60315
60319
|
return environment_variable_modal_generator(this, function (_a) {
|
|
60316
60320
|
switch (_a.label) {
|
|
60317
60321
|
case 0:
|
|
@@ -60334,7 +60338,14 @@ function (_super) {
|
|
|
60334
60338
|
this.exitAddItem = false;
|
|
60335
60339
|
}
|
|
60336
60340
|
|
|
60337
|
-
this.
|
|
60341
|
+
if (this.currentItem && this.currentItem.id) {
|
|
60342
|
+
arr = this.varList.filter(function (item) {
|
|
60343
|
+
return item.id === _this.currentItem.id;
|
|
60344
|
+
});
|
|
60345
|
+
this.onSelectItem(arr[0] || this.varList[0]);
|
|
60346
|
+
} else {
|
|
60347
|
+
this.varList.length && this.onSelectItem(this.varList[0]);
|
|
60348
|
+
}
|
|
60338
60349
|
}
|
|
60339
60350
|
|
|
60340
60351
|
return [2
|
|
@@ -60457,6 +60468,7 @@ function (_super) {
|
|
|
60457
60468
|
|
|
60458
60469
|
if ((_a = this.currentItem) === null || _a === void 0 ? void 0 : _a.id) {
|
|
60459
60470
|
data.id = (_b = this.currentItem) === null || _b === void 0 ? void 0 : _b.id;
|
|
60471
|
+
data.createTime = this.currentItem.createTime;
|
|
60460
60472
|
}
|
|
60461
60473
|
|
|
60462
60474
|
return [4
|
|
@@ -63191,7 +63203,10 @@ function (_super) {
|
|
|
63191
63203
|
|
|
63192
63204
|
SecurityModalComponent.prototype.getSecurityList = function () {
|
|
63193
63205
|
return security_modal_awaiter(this, void 0, void 0, function () {
|
|
63194
|
-
var res, tempList;
|
|
63206
|
+
var res, tempList, arr;
|
|
63207
|
+
|
|
63208
|
+
var _this = this;
|
|
63209
|
+
|
|
63195
63210
|
return security_modal_generator(this, function (_a) {
|
|
63196
63211
|
switch (_a.label) {
|
|
63197
63212
|
case 0:
|
|
@@ -63224,7 +63239,14 @@ function (_super) {
|
|
|
63224
63239
|
this.exitAddItem = false;
|
|
63225
63240
|
}
|
|
63226
63241
|
|
|
63227
|
-
this.
|
|
63242
|
+
if (this.currentSecurityItem && this.currentSecurityItem.id) {
|
|
63243
|
+
arr = this.securityList.filter(function (item) {
|
|
63244
|
+
return item.id === _this.currentSecurityItem.id;
|
|
63245
|
+
});
|
|
63246
|
+
this.onSelectSecurityItem(arr[0] || this.securityList[0]);
|
|
63247
|
+
} else {
|
|
63248
|
+
this.securityList.length && this.onSelectSecurityItem(this.securityList[0]);
|
|
63249
|
+
}
|
|
63228
63250
|
}
|
|
63229
63251
|
|
|
63230
63252
|
return [2
|
|
@@ -63359,6 +63381,7 @@ function (_super) {
|
|
|
63359
63381
|
/*break*/
|
|
63360
63382
|
, 2];
|
|
63361
63383
|
data.id = this.currentSecurityItem.id;
|
|
63384
|
+
data.createTime = this.currentSecurityItem.createTime;
|
|
63362
63385
|
return [4
|
|
63363
63386
|
/*yield*/
|
|
63364
63387
|
, this.service.updateSecurityItem(data)];
|
|
@@ -66445,6 +66468,10 @@ function (_super) {
|
|
|
66445
66468
|
}
|
|
66446
66469
|
};
|
|
66447
66470
|
|
|
66471
|
+
ProjectDetail.prototype.onEnvironmentRefresh = function () {
|
|
66472
|
+
this.$refs["interface-settings"] && this.$refs["interface-settings"].getEnvironmentParamList();
|
|
66473
|
+
};
|
|
66474
|
+
|
|
66448
66475
|
var _a;
|
|
66449
66476
|
|
|
66450
66477
|
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);
|