@egova/egova-api 1.0.100 → 1.0.101
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/LICENSE +201 -201
- package/README.md +1 -1
- package/dist/index.common.js +331 -254
- package/dist/index.css +1 -1
- package/dist/index.umd.js +331 -254
- package/dist/index.umd.min.js +4 -4
- package/dist/static/img/{iconfont.26f82952.svg → iconfont.559d2630.svg} +83 -83
- package/dist/types/src/common/index.d.ts +2 -2
- package/dist/types/src/common/object-factory.d.ts +29 -29
- package/dist/types/src/common/utils/index.d.ts +1 -1
- package/dist/types/src/common/utils/tree-data.d.ts +3 -3
- package/dist/types/src/components/code-editor/index.d.ts +8 -8
- package/dist/types/src/components/common-tree/index.d.ts +52 -52
- package/dist/types/src/components/tips-form-label/index.d.ts +6 -6
- package/dist/types/src/decorator.d.ts +17 -17
- package/dist/types/src/decorators/autowired.d.ts +1 -1
- package/dist/types/src/decorators/receivable.d.ts +9 -9
- package/dist/types/src/decorators/service-handler.d.ts +11 -11
- package/dist/types/src/index.d.ts +7 -7
- package/dist/types/src/models/common/index.d.ts +6 -6
- package/dist/types/src/models/common/page-path.d.ts +5 -5
- package/dist/types/src/models/common/paging.d.ts +5 -5
- package/dist/types/src/models/common/query-model.d.ts +8 -8
- package/dist/types/src/models/common/sorts.d.ts +5 -5
- package/dist/types/src/models/common/user-info.d.ts +13 -13
- package/dist/types/src/models/index.d.ts +1 -1
- package/dist/types/src/services/base-service.d.ts +37 -37
- package/dist/types/src/services/common-service.d.ts +8 -8
- package/dist/types/src/services/index.d.ts +3 -3
- package/dist/types/src/settings/index.d.ts +5 -5
- package/dist/types/src/views/project-combine/api-project/api-project-detail/api/index.d.ts +16 -16
- package/dist/types/src/views/project-combine/api-project/api-project-detail/catalog/index.d.ts +6 -6
- package/dist/types/src/views/project-combine/api-project/api-project-detail/ddcat/index.d.ts +6 -6
- package/dist/types/src/views/project-combine/api-project/api-project-detail/index.d.ts +10 -10
- package/dist/types/src/views/project-combine/api-project/api-project-list/index.d.ts +60 -60
- package/dist/types/src/views/project-combine/api-project/index.d.ts +70 -70
- package/dist/types/src/views/project-combine/api-project/service.d.ts +6 -6
- package/dist/types/src/views/project-combine/combine-model/base-editor/index.d.ts +9 -8
- package/dist/types/src/views/project-combine/combine-model/index.d.ts +61 -59
- package/dist/types/src/views/project-combine/combine-model/request-parameter-list/index.d.ts +26 -35
- package/dist/types/src/views/project-combine/combine-model/response-parameter-list/index.d.ts +4 -4
- package/dist/types/src/views/project-combine/combine-model/test-run-modal/index.d.ts +19 -19
- package/dist/types/src/views/project-combine/data-model/data-model-doc/index.d.ts +13 -13
- package/dist/types/src/views/project-combine/data-model/data-model-list/index.d.ts +48 -60
- package/dist/types/src/views/project-combine/data-model/index.d.ts +60 -60
- package/dist/types/src/views/project-combine/data-model/service.d.ts +5 -5
- package/dist/types/src/views/project-combine/index.d.ts +44 -43
- package/dist/types/src/views/project-combine/service.d.ts +13 -13
- package/dist/types/src/views/project-combine/tree/add-node-modal/index.d.ts +20 -20
- package/dist/types/src/views/project-combine/tree/index.d.ts +40 -40
- package/dist/types/src/views/project-combine/tree/node/index.d.ts +19 -19
- package/dist/types/src/views/project-combine/tree/service.d.ts +6 -6
- package/dist/types/src/views/project-combine/tree-selector/index.d.ts +21 -21
- package/dist/types/src/views/project-combine/tree-selector/tree-node/index.d.ts +7 -7
- package/dist/types/src/views/project-comment/index.d.ts +15 -15
- package/dist/types/src/views/project-comment/item/index.d.ts +10 -10
- package/dist/types/src/views/project-comment/service.d.ts +5 -5
- package/dist/types/src/views/project-detail/after-execution-script/index.d.ts +7 -7
- package/dist/types/src/views/project-detail/after-execution-transfer/index.d.ts +27 -27
- package/dist/types/src/views/project-detail/base-editor-setting.d.ts +7 -7
- package/dist/types/src/views/project-detail/current-variable-modal/index.d.ts +5 -5
- package/dist/types/src/views/project-detail/global-variable-modal/index.d.ts +15 -15
- package/dist/types/src/views/project-detail/group-select/index.d.ts +14 -14
- package/dist/types/src/views/project-detail/headers-setting/index.d.ts +10 -10
- package/dist/types/src/views/project-detail/index.d.ts +30 -30
- package/dist/types/src/views/project-detail/interface-settings/index.d.ts +25 -25
- package/dist/types/src/views/project-detail/interface-settings/model.d.ts +43 -43
- package/dist/types/src/views/project-detail/params-setting/index.d.ts +34 -34
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +16 -16
- package/dist/types/src/views/project-detail/response/index.d.ts +36 -36
- package/dist/types/src/views/project-detail/security-setting/index.d.ts +18 -18
- package/dist/types/src/views/project-detail/service.d.ts +15 -15
- package/dist/types/src/views/project-detail/tree/index.d.ts +54 -54
- package/dist/types/src/views/project-detail/tree-node/index.d.ts +9 -9
- package/dist/types/src/views/project-list/add-project-modal/index.d.ts +6 -6
- package/dist/types/src/views/project-list/card/index.d.ts +9 -9
- package/dist/types/src/views/project-list/confirm/index.d.ts +10 -10
- package/dist/types/src/views/project-list/index.d.ts +30 -30
- package/dist/types/src/views/project-list/service.d.ts +7 -7
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -21221,14 +21221,14 @@ module.exports = function (obj) {
|
|
|
21221
21221
|
/***/ "086a":
|
|
21222
21222
|
/***/ (function(module, exports) {
|
|
21223
21223
|
|
|
21224
|
-
module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1000\" class=\"u-test-run-modal diy-modal\">\
|
|
21224
|
+
module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1000\" class=\"u-test-run-modal diy-modal\">\n <header slot=\"header\">运行结果</header>\n <main>\n <section class=\"u-test-run-content\">\n <section class=\"title-g\">参数</section>\n <section class=\"card-panel context-editor\">\n <u-base-editor :data.sync=\"context\"></u-base-editor>\n </section>\n <i-row justify=\"end\">\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onProcess\">执行</i-button>\n </i-row>\n <section class=\"title-g\">结果</section>\n <section class=\"card-panel\">\n <i-tabs>\n <i-tab-pane label=\"响应\" name=\"response\">\n <u-base-editor :class=\"['editor', error ? 'editor-error' : '']\" :data.sync=\"result\" :readOnly=\"true\"></u-base-editor>\n </i-tab-pane>\n <i-tab-pane label=\"输出\" name=\"output\">\n <u-base-editor :data.sync=\"output\" :readOnly=\"true\"></u-base-editor>\n </i-tab-pane>\n </i-tabs>\n </section>\n </section>\n </main>\n <footer slot=\"footer\">\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onOk\">关闭</i-button>\n </footer>\n</i-modal>\n"
|
|
21225
21225
|
|
|
21226
21226
|
/***/ }),
|
|
21227
21227
|
|
|
21228
21228
|
/***/ "0941":
|
|
21229
21229
|
/***/ (function(module, exports) {
|
|
21230
21230
|
|
|
21231
|
-
module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1280\" class=\"u-api-project-modal diy-modal\">\
|
|
21231
|
+
module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1280\" class=\"u-api-project-modal diy-modal\">\n <header slot=\"header\">添加API</header>\n <main>\n <i-split v-model=\"splitHorizontal\">\n <section slot=\"left\" class=\"card-panel card-panel-no-right-border\">\n <div class=\"card-panel-header\">\n <span>选择列表</span>\n </div>\n <div class=\"card-panel-main\">\n <u-tree :initSelectItem=\"initNode\" :prop-data=\"treeData\" @on-select=\"onSelect\" />\n </div>\n </section>\n <section slot=\"right\" class=\"right-content\">\n <i-split v-model=\"splitVertical\" mode=\"vertical\" max=\"600\">\n <section slot=\"top\" class=\"card-panel card-panel-no-bottom-border\">\n <div class=\"card-panel-header\">\n <span>选择模型</span>\n </div>\n <div class=\"card-panel-main\">\n <u-api-project-list\n :data=\"tableData\"\n :paging.sync=\"paging\"\n @on-search=\"onSearch\"\n @on-page-index-change=\"onPageIndexChange\"\n @on-page-size-change=\"onPageSizeChange\"\n @on-selection-change=\"onSelectionChange\"\n @on-delete-refresh=\"getTableData\"\n >\n </u-api-project-list>\n </div>\n </section>\n <section slot=\"bottom\" :class=\"['card-panel', collapse ? 'card-panel-no-bottom-border' : '']\">\n <div class=\"card-panel-header\">\n <span>已选({{checkedLength}})</span>\n <span>\n <i-poptip confirm title=\"您确定要清空已选中的数据吗?\" transfer placement=\"top-end\" @on-ok=\"onBatchDelete\">\n <span class=\"action-text\">\n <i class=\"iconfont icon-delete\"></i>\n <span>清空</span>\n </span>\n </i-poptip>\n <span class=\"action-text collapse-text\" @click=\"onClickCollapse\">\n <span>{{collapse ? \"展开\" : \"收起\"}}</span>\n <!-- <i class=\"iconfont icon-expand\"></i> -->\n </span>\n </span>\n </div>\n <div class=\"card-panel-main\">\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"checkedData\">\n <template #operates=\"{row,index}\">\n <div class=\"row-actions\">\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\n </i-poptip>\n </div>\n </template>\n </i-table>\n </div>\n </section>\n </i-split>\n </section>\n </i-split>\n <i-spin fix v-if=\"isLoading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n </main>\n <footer slot=\"footer\">\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\">确定</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onCancel\">取消</i-button>\n </footer>\n</i-modal>\n"
|
|
21232
21232
|
|
|
21233
21233
|
/***/ }),
|
|
21234
21234
|
|
|
@@ -22346,7 +22346,7 @@ module.exports = fails(function () {
|
|
|
22346
22346
|
/***/ "10cf":
|
|
22347
22347
|
/***/ (function(module, exports) {
|
|
22348
22348
|
|
|
22349
|
-
module.exports = "<i-modal\
|
|
22349
|
+
module.exports = "<i-modal\n draggable\n sticky\n reset-drag-position\n v-model=\"value\"\n class=\"diy-modal current-variable-modal\"\n :mask-closable=\"false\"\n footer-hide\n title=\"查看当前变量\"\n>\n <i-form\n :label-width=\"95\"\n class=\"diy-form\"\n label-colon\n label-position=\"left\"\n >\n <i-form-item label=\"环境名称\">\n <i-input class=\"diy-input\" placeholder=\"请输入环境名称\"></i-input>\n </i-form-item>\n <i-form-item label=\"环境域名\" class=\"realm-name\">\n <i-input class=\"diy-input\" placeholder=\"请输入环境域名\">\n <i-select slot=\"prepend\" class=\"diy-select\"> </i-select>\n </i-input>\n </i-form-item>\n <i-form-item label=\"Header\" class=\"name-value-item\">\n <i-input class=\"diy-input\"></i-input>\n <i-input class=\"diy-input\"></i-input>\n </i-form-item>\n <i-form-item label=\"Cookie\" class=\"name-value-item\">\n <i-input class=\"diy-input\"></i-input>\n <i-input class=\"diy-input\"></i-input>\n </i-form-item>\n <i-form-item label=\"Global\" class=\"name-value-item\">\n <i-input class=\"diy-input\"></i-input>\n <i-input class=\"diy-input\"></i-input>\n </i-form-item>\n </i-form>\n</i-modal>\n"
|
|
22350
22350
|
|
|
22351
22351
|
/***/ }),
|
|
22352
22352
|
|
|
@@ -24818,7 +24818,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
24818
24818
|
/***/ "22e8":
|
|
24819
24819
|
/***/ (function(module, exports) {
|
|
24820
24820
|
|
|
24821
|
-
module.exports = "<article class=\"headers-setting\">\
|
|
24821
|
+
module.exports = "<article class=\"headers-setting\">\n <header>\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAdd\">\n <i class=\"api-icon icon-add\"></i>新增\n </i-button>\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\n <i class=\"api-icon icon-import\"></i>导入参数\n </i-button>\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\n <i class=\"api-icon icon-export\"></i>导出参数\n </i-button> -->\n </header>\n <i-table\n class=\"diy-table\"\n :columns=\"columns\"\n :data=\"interfaceModel.requestHeaders\"\n >\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox\n :value=\"!interfaceModel.requestHeaders[index].disabled\"\n @on-change=\"onChangeDisabled($event,interfaceModel.requestHeaders[index])\"\n >\n </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数名称\"\n v-model=\"interfaceModel.requestHeaders[index].name\"\n >\n </i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"value\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数值\"\n v-model=\"interfaceModel.requestHeaders[index].value\"\n >\n </i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input\n class=\"diy-input\"\n placeholder=\"备注\"\n v-model=\"interfaceModel.requestHeaders[index].text\"\n >\n </i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(index)\" transfer>\n <span class=\"action-btn delete\">删除</span>\n </i-poptip>\n </template>\n </i-table>\n</article>\n"
|
|
24822
24822
|
|
|
24823
24823
|
/***/ }),
|
|
24824
24824
|
|
|
@@ -26144,7 +26144,7 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bin
|
|
|
26144
26144
|
/***/ "2c48":
|
|
26145
26145
|
/***/ (function(module, exports) {
|
|
26146
26146
|
|
|
26147
|
-
module.exports = "<article class=\"response\">\
|
|
26147
|
+
module.exports = "<article class=\"response\">\n <header\n :class=\"{'status-success': response.code === 200, 'status-fail': response.code && response.code!==200}\"\n >\n <span class=\"title\">响应</span>\n <div class=\"items-div\">\n <span class=\"item-name\">响应码:</span\n ><span class=\"item-value\">{{response.code}}</span>\n <span class=\"item-name\">时间:</span\n ><span class=\"item-value\">{{response.time}}ms</span>\n <span class=\"item-name\">大小:</span\n ><span class=\"item-value\">{{response.size}}B</span>\n </div>\n </header>\n <main>\n <div class=\"response-bar\">\n <div\n class=\"tag\"\n @click=\"onClickResponseSettingTpye(item)\"\n :class=\"{'active': item.name === active.name}\"\n v-for=\"(item,index) in responseSettingTypeList\"\n :key=\"item.name\"\n >\n <span\n >{{item.title + (item.num > 0 ? '(' + item.num + ')':\n \"\")}}</span\n >\n </div>\n </div>\n <div class=\"response-content\">\n <template v-if=\"active.name === 'content'\">\n <header>\n <!-- <i-radio-group\n type=\"button\"\n class=\"diy-radio-group-button\"\n v-model=\"contentType\"\n >\n <i-radio label=\"Pretty\">Pretty(美化)</i-radio>\n <i-radio label=\"Raw\">Raw(原生)</i-radio>\n </i-radio-group> -->\n <i-radio-group\n type=\"button\"\n class=\"diy-radio-group-button\"\n v-model=\"contentType\"\n >\n <i-radio label=\"originalContent\">转换前</i-radio>\n <i-radio label=\"content\">转换后</i-radio>\n </i-radio-group>\n <i-dropdown class=\"diy-dropdown\" @on-click=\"onChangeLang\">\n <i-button ghost type=\"primary\" class=\"diy-btn-primary\">\n <span class=\"lang\">{{lang.toUpperCase()}}</span>\n <i class=\"api-icon icon-select\"></i>\n </i-button>\n <i-dropdown-menu slot=\"list\">\n <i-dropdown-item name=\"json\">JSON</i-dropdown-item>\n <i-dropdown-item name=\"xml\">XML</i-dropdown-item>\n </i-dropdown-menu>\n </i-dropdown>\n </header>\n <u-editor\n :value=\"content\"\n :lang=\"lang\"\n @inited=\"onEditorInited\"\n ></u-editor>\n </template>\n <div v-if=\"active.name === 'responseHeaders'\">\n <i-table\n :columns=\"headerColumns\"\n :data=\"responseHeaders\"\n class=\"diy-table\"\n >\n </i-table>\n </div>\n <template v-if=\"active.name === 'requestHeaders'\">\n <i-table\n :columns=\"headerColumns\"\n :data=\"requestHeaders\"\n class=\"diy-table\"\n >\n </i-table>\n </template>\n <template v-if=\"active.name === 'cookies'\">\n <i-table\n :columns=\"headerColumns\"\n :data=\"cookies\"\n class=\"diy-table\"\n >\n </i-table>\n </template>\n <template v-if=\"active.name==='output'\">\n <span class=\"output\">{{output}}</span>\n </template>\n </div>\n </main>\n</article>\n"
|
|
26148
26148
|
|
|
26149
26149
|
/***/ }),
|
|
26150
26150
|
|
|
@@ -26392,7 +26392,7 @@ module.exports = function (it) {
|
|
|
26392
26392
|
/***/ "35e3":
|
|
26393
26393
|
/***/ (function(module, exports) {
|
|
26394
26394
|
|
|
26395
|
-
module.exports = "<editor class=\"code-edit\" v-model=\"code\" :options=\"option\" @init=\"editorInit\" :lang=\"lang\" width=\"100%\" height=\"100%\"></editor>\
|
|
26395
|
+
module.exports = "<editor class=\"code-edit\" v-model=\"code\" :options=\"option\" @init=\"editorInit\" :lang=\"lang\" width=\"100%\" height=\"100%\"></editor>\n"
|
|
26396
26396
|
|
|
26397
26397
|
/***/ }),
|
|
26398
26398
|
|
|
@@ -26425,14 +26425,14 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
26425
26425
|
/***/ "37f5":
|
|
26426
26426
|
/***/ (function(module, exports) {
|
|
26427
26427
|
|
|
26428
|
-
module.exports = "<article class=\"catalog-params\">\
|
|
26428
|
+
module.exports = "<article class=\"catalog-params\">\n <header>\n 请求体为 JSON 数组,每一个 JSON 对象应符合如下的格式:\n </header>\n <i-table height=\"200\" class=\"diy-table\" :columns=\"columns\" :data=\"dataList\">\n <template slot-scope=\"{ row,index }\" slot=\"type\">\n {{(row.typeDict || {}).text}}\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"required\">\n {{row.required ? \"是\": \"否\"}}\n </template>\n </i-table>\n</article>\n"
|
|
26429
26429
|
|
|
26430
26430
|
/***/ }),
|
|
26431
26431
|
|
|
26432
26432
|
/***/ "3a71":
|
|
26433
26433
|
/***/ (function(module, exports) {
|
|
26434
26434
|
|
|
26435
|
-
module.exports = "<i-collapse v-model=\"value\" simple class=\"api-params\">\
|
|
26435
|
+
module.exports = "<i-collapse v-model=\"value\" simple class=\"api-params\">\n <i-panel name=\"1\">\n <span>Query参数</span>\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <main>\n <i-table\n height=\"200\"\n class=\"diy-table\"\n :columns=\"paramColumns\"\n :data=\"queryDataList\"\n >\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox\n disabled\n :value=\"!queryDataList[index].disabled\"\n >\n </i-checkbox>\n </template>\n </i-table>\n </main>\n </div>\n </i-panel>\n <i-panel name=\"2\">\n <span>Body参数</span>\n <span class=\"status\">{{getExpand('2') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <main>\n <i-table\n height=\"200\"\n class=\"diy-table\"\n :columns=\"paramColumns\"\n :data=\"bodyDataList\"\n v-if=\"isFormData\"\n >\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox\n disabled\n :value=\"!bodyDataList[index].disabled\"\n >\n </i-checkbox>\n </template>\n </i-table>\n <json-viewer\n v-else\n :value=\"model.json\"\n boxed\n :copyable=\"{copyText: '复制', copiedText: '已复制'}\"\n :expanded=\"true\"\n :expand-depth=\"5\"\n >\n </json-viewer>\n </main>\n </div>\n </i-panel>\n</i-collapse>\n"
|
|
26436
26436
|
|
|
26437
26437
|
/***/ }),
|
|
26438
26438
|
|
|
@@ -26449,7 +26449,7 @@ module.exports = uncurryThis({}.isPrototypeOf);
|
|
|
26449
26449
|
/***/ "3b85":
|
|
26450
26450
|
/***/ (function(module, exports) {
|
|
26451
26451
|
|
|
26452
|
-
module.exports = "<i-modal :mask-closable=\"false\" draggable sticky reset-drag-position v-model=\"show\" class=\"diy-modal\">\
|
|
26452
|
+
module.exports = "<i-modal :mask-closable=\"false\" draggable sticky reset-drag-position v-model=\"show\" class=\"diy-modal\">\n <header slot=\"header\">\n {{isEdit ? \"编辑合并模型文件夹\" : \"新增合并模型文件夹\"}}\n </header>\n <main>\n <i-form ref=\"addForm\" :model=\"data\" :rules=\"rules\">\n <i-form-item prop=\"name\" label=\"合并模型文件夹名称\">\n <i-input class=\"diy-input\" v-model=\"data.name\"></i-input>\n </i-form-item>\n <i-form-item v-if=\"isEdit\" label=\"所属分组\" class=\"update-category\">\n <u-tree-selector :treeData=\"categories\" leaf-name=\"task\" :canChooseFolder=\"true\" v-model=\"categoryData.id\" @on-select=\"selectCategory\">\n </u-tree-selector>\n </i-form-item>\n </i-form>\n </main>\n <footer slot=\"footer\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click.stop=\"onSave\">确定</i-button>\n <i-button class=\"diy-btn-default\" @click.stop=\"onCancel\">取消</i-button>\n </footer>\n</i-modal>\n"
|
|
26453
26453
|
|
|
26454
26454
|
/***/ }),
|
|
26455
26455
|
|
|
@@ -26632,7 +26632,7 @@ module.exports = function (it) {
|
|
|
26632
26632
|
/***/ "45bb":
|
|
26633
26633
|
/***/ (function(module, exports) {
|
|
26634
26634
|
|
|
26635
|
-
module.exports = "<i-modal draggable sticky reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"880\" class=\"u-data-model-doc-modal diy-modal\" transfer>\
|
|
26635
|
+
module.exports = "<i-modal draggable sticky reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"880\" class=\"u-data-model-doc-modal diy-modal\" transfer>\n <header slot=\"header\">查看接口文档</header>\n <main>\n <div class=\"v-mavon-container\">\n <!-- startprint -->\n <mavon-editor :subfield=\"false\" :toolbars=\"toolbars\" :value=\"doc\" defaultOpen=\"preview\" @save=\"onSave\"></mavon-editor>\n <!-- endprint -->\n <iframe id=\"printf\" src=\"\" width=\"0\" height=\"0\" frameborder=\"0\"></iframe>\n </div>\n </main>\n <footer slot=\"footer\">\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onOk\">关闭</i-button>\n </footer>\n</i-modal>\n"
|
|
26636
26636
|
|
|
26637
26637
|
/***/ }),
|
|
26638
26638
|
|
|
@@ -26708,7 +26708,7 @@ module.exports = "<article class=\"u-common-tree u-type-tree\">\n <slot name=
|
|
|
26708
26708
|
/***/ "470f":
|
|
26709
26709
|
/***/ (function(module, exports) {
|
|
26710
26710
|
|
|
26711
|
-
module.exports = "<i-modal\
|
|
26711
|
+
module.exports = "<i-modal\n draggable\n sticky\n reset-drag-position\n v-model=\"value\"\n class=\"diy-modal global-variable-modal\"\n :mask-closable=\"false\"\n title=\"全局参数设置\"\n>\n <header class=\"types\">\n <div\n class=\"tag\"\n @click=\"onCheckTpye(item)\"\n :class=\"{'active': item.name === active.name}\"\n v-for=\"(item,index) in typeList\"\n :key=\"item.name\"\n >\n <span>{{item.title }}</span>\n </div>\n </header>\n <main class=\"content\">\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\n <i class=\"api-icon icon-add\"></i>新增参数\n </i-button>\n <i-table\n :columns=\"columns\"\n :data=\"dataList\"\n class=\"diy-table\"\n height=\"400\"\n >\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数名称\"\n v-model=\"dataList[index].name\"\n ></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"value\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数值\"\n v-model=\"dataList[index].value\"\n ></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"dataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"remark\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入备注\"\n v-model=\"dataList[index].remark\"\n ></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <span\n class=\"action-btn delete\"\n @click=\"onDelete(dataList,index)\"\n >删除</span\n >\n <span class=\"action-btn\" @click=\"onUp(dataList,index)\"\n >上移</span\n >\n <span class=\"action-btn\" @click=\"onDown(dataList,index)\"\n >下移</span\n >\n <span\n v-if=\"index !== 0\"\n class=\"action-btn\"\n @click=\"onTop(dataList,index)\"\n >置顶</span\n >\n <span\n v-if=\"index < dataList.length - 1\"\n class=\"action-btn\"\n @click=\"onBottom(dataList,index)\"\n >置底</span\n >\n </template>\n </i-table>\n </main>\n <slot slot=\"footer\" name=\"footer\"> </slot>\n</i-modal>\n"
|
|
26712
26712
|
|
|
26713
26713
|
/***/ }),
|
|
26714
26714
|
|
|
@@ -38490,7 +38490,7 @@ module.exports = !$assign || fails(function () {
|
|
|
38490
38490
|
/***/ "6255":
|
|
38491
38491
|
/***/ (function(module, exports) {
|
|
38492
38492
|
|
|
38493
|
-
module.exports = "<i-modal\
|
|
38493
|
+
module.exports = "<i-modal\n draggable\n sticky\n reset-drag-position\n v-model=\"value\"\n class=\"diy-modal\"\n :mask-closable=\"false\"\n :title=\"data.id ? '编辑项目': '新建项目'\"\n>\n <i-form :label-width=\"95\" class=\"diy-form\" label-colon>\n <i-form-item label=\"项目名称\" required>\n <i-input\n v-model=\"data.name\"\n class=\"diy-input\"\n placeholder=\"请输入项目名称\"\n ></i-input>\n </i-form-item>\n <i-form-item label=\"项目描述\">\n <i-input\n class=\"diy-input\"\n type=\"textarea\"\n :rows=\"4\"\n v-model=\"data.description\"\n placeholder=\"请输入项目描述\"\n ></i-input>\n </i-form-item>\n </i-form>\n <slot slot=\"footer\" name=\"footer\"> </slot>\n</i-modal>\n"
|
|
38494
38494
|
|
|
38495
38495
|
/***/ }),
|
|
38496
38496
|
|
|
@@ -38943,7 +38943,7 @@ ace.define("ace/snippets/javascript",["require","exports","module"],function(e,t
|
|
|
38943
38943
|
/***/ "6d46":
|
|
38944
38944
|
/***/ (function(module, exports) {
|
|
38945
38945
|
|
|
38946
|
-
module.exports = "<article class=\"u-common-tree\" :class=\"className.join(' ')\">\
|
|
38946
|
+
module.exports = "<article class=\"u-common-tree\" :class=\"className.join(' ')\">\n <slot name=\"header\"></slot>\n <section class=\"content\">\n <i-input class=\"search-input\" suffix=\"ios-search\" :placeholder=\"placeholder\" @on-change=\"onFilter\" v-model=\"keyword\" />\n <i-tree :data=\"renderData\" :render=\"renderContent\" @on-toggle-expand=\"onToggleExpand\"></i-tree>\n </section>\n</article>\n"
|
|
38947
38947
|
|
|
38948
38948
|
/***/ }),
|
|
38949
38949
|
|
|
@@ -39675,7 +39675,7 @@ module.exports = function (NAME) {
|
|
|
39675
39675
|
/***/ "7640":
|
|
39676
39676
|
/***/ (function(module, exports) {
|
|
39677
39677
|
|
|
39678
|
-
module.exports = "<article class=\"params-setting\">\r\n <i-collapse v-model=\"value\" simple>\r\n <i-panel name=\"1\">\r\n <span>Query参数</span>\r\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\r\n <div slot=\"content\" class=\"setting-content\">\r\n <header>\r\n <i-button\r\n type=\"primary\"\r\n ghost\r\n class=\"diy-btn-primary\"\r\n @click=\"onAddRequestParam\"\r\n >\r\n <i class=\"api-icon icon-add\"></i>新增参数\r\n </i-button>\r\n </header>\r\n <main>\r\n <i-table\r\n height=\"200\"\r\n width=\"1280\"\r\n class=\"diy-table\"\r\n :columns=\"paramColumns\"\r\n :data=\"queryDataList\"\r\n >\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox\r\n :value=\"!queryDataList[index].disabled\"\r\n @on-change=\"onChangeDisabled($event,queryDataList[index])\"\r\n >\r\n </i-checkbox>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"name\">\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入参数名称\"\r\n v-model=\"queryDataList[index].name\"\r\n ></i-input>\r\n </template>\r\n <template\r\n slot-scope=\"{ row,index }\"\r\n slot=\"valueContent\"\r\n >\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入参数值\"\r\n v-model=\"queryDataList[index].valueContent\"\r\n ></i-input>\r\n </template>\r\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\r\n <i-switch v-model=\"queryDataList[index].required\">\r\n <span slot=\"open\">是</span>\r\n <span slot=\"close\">否</span>\r\n </i-switch>\r\n </template> -->\r\n <template slot-scope=\"{ row,index }\" slot=\"text\">\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入备注\"\r\n v-model=\"queryDataList[index].text\"\r\n ></i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <i-poptip class=\"action-btn delete\" title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(queryDataList,index)\" transfer>\r\n <span\r\n class=\"action-btn delete\"\r\n >删除</span\r\n >\r\n </i-poptip>\r\n <span\r\n class=\"action-btn\"\r\n @click=\"onUp(queryDataList,index)\"\r\n >上移</span\r\n >\r\n <span\r\n class=\"action-btn\"\r\n @click=\"onDown(queryDataList,index)\"\r\n >下移</span\r\n >\r\n <span\r\n v-if=\"index !== 0\"\r\n class=\"action-btn\"\r\n @click=\"onTop(queryDataList,index)\"\r\n >置顶</span\r\n >\r\n <span\r\n v-if=\"index < queryDataList.length - 1\"\r\n class=\"action-btn\"\r\n @click=\"onBottom(queryDataList,index)\"\r\n >置底</span\r\n >\r\n </template>\r\n </i-table>\r\n </main>\r\n </div>\r\n </i-panel>\r\n <i-panel name=\"2\">\r\n <span>Body参数</span>\r\n <span class=\"status\">{{getExpand('2') ? \"收起\" : \"展开\"}}</span>\r\n <div slot=\"content\" class=\"setting-content\">\r\n <header>\r\n <i-button\r\n v-if=\"isFormData\"\r\n type=\"primary\"\r\n ghost\r\n class=\"diy-btn-primary\"\r\n @click=\"onAddBodyParam\"\r\n >\r\n <i class=\"api-icon icon-add\"></i>新增参数\r\n </i-button>\r\n <i-button\r\n v-else\r\n type=\"primary\"\r\n ghost\r\n class=\"diy-btn-primary\"\r\n @click=\"onBeautify\"\r\n >\r\n <i class=\"api-icon icon-view\"></i>格式化\r\n </i-button>\r\n <i-select\r\n transfer\r\n v-model=\"interfaceModel.info.requestBodyType\"\r\n class=\"diy-select\"\r\n >\r\n <i-option\r\n v-for=\"item in requestBodyTypeList\"\r\n :value=\"item.name\"\r\n :key=\"item.name\"\r\n >{{item.text}}</i-option\r\n >\r\n </i-select>\r\n </header>\r\n <main>\r\n <i-table\r\n height=\"200\"\r\n width=\"1280\"\r\n class=\"diy-table\"\r\n :columns=\"paramColumns\"\r\n :data=\"bodyDataList\"\r\n v-if=\"isFormData\"\r\n >\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox\r\n :value=\"!bodyDataList[index].disabled\"\r\n @on-change=\"onChangeDisabled($event,bodyDataList[index])\"\r\n >\r\n </i-checkbox>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"name\">\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入参数名称\"\r\n v-model=\"bodyDataList[index].name\"\r\n ></i-input>\r\n </template>\r\n <template\r\n slot-scope=\"{ row,index }\"\r\n slot=\"valueContent\"\r\n >\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入参数值\"\r\n v-model=\"bodyDataList[index].valueContent\"\r\n ></i-input>\r\n </template>\r\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\r\n <i-switch v-model=\"bodyDataList[index].required\">\r\n <span slot=\"open\">是</span>\r\n <span slot=\"close\">否</span>\r\n </i-switch>\r\n </template> -->\r\n <template slot-scope=\"{ row,index }\" slot=\"text\">\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入备注\"\r\n v-model=\"bodyDataList[index].remark\"\r\n ></i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <span\r\n class=\"action-btn delete\"\r\n @click=\"onDeleteBodyParam(interfaceModel.formParams,row.id)\"\r\n >删除</span\r\n >\r\n <span\r\n class=\"action-btn\"\r\n @click=\"onUpBodyParam(interfaceModel.formParams,row.id)\"\r\n >上移</span\r\n >\r\n <span\r\n class=\"action-btn\"\r\n @click=\"onDownBodyParam(interfaceModel.formParams,row.id)\"\r\n >下移</span\r\n >\r\n <span\r\n v-if=\"index !== 0\"\r\n class=\"action-btn\"\r\n @click=\"onTopBodyParam(interfaceModel.formParams,row.id)\"\r\n >置顶</span\r\n >\r\n <span\r\n v-if=\"index < bodyDataList.length - 1\"\r\n class=\"action-btn\"\r\n @click=\"onBottomBodyParam(interfaceModel.formParams,row.id)\"\r\n >置底</span\r\n >\r\n </template>\r\n </i-table>\r\n <u-editor\r\n v-else\r\n :value.sync=\"interfaceModel.json\"\r\n lang=\"json\"\r\n @inited=\"onEditorInited\"\r\n ></u-editor>\r\n </main>\r\n </div>\r\n </i-panel>\r\n </i-collapse>\r\n</article>\r\n"
|
|
39678
|
+
module.exports = "<article class=\"params-setting\">\n <i-collapse v-model=\"value\" simple>\n <i-panel name=\"1\">\n <span>Query参数</span>\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <header>\n <i-button\n type=\"primary\"\n ghost\n class=\"diy-btn-primary\"\n @click=\"onAddRequestParam\"\n >\n <i class=\"api-icon icon-add\"></i>新增参数\n </i-button>\n </header>\n <main>\n <i-table\n height=\"200\"\n width=\"1280\"\n class=\"diy-table\"\n :columns=\"paramColumns\"\n :data=\"queryDataList\"\n >\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox\n :value=\"!queryDataList[index].disabled\"\n @on-change=\"onChangeDisabled($event,queryDataList[index])\"\n >\n </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数名称\"\n v-model=\"queryDataList[index].name\"\n ></i-input>\n </template>\n <template\n slot-scope=\"{ row,index }\"\n slot=\"valueContent\"\n >\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数值\"\n v-model=\"queryDataList[index].valueContent\"\n ></i-input>\n </template>\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"queryDataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template> -->\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入备注\"\n v-model=\"queryDataList[index].text\"\n ></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip class=\"action-btn delete\" title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(queryDataList,index)\" transfer>\n <span\n class=\"action-btn delete\"\n >删除</span\n >\n </i-poptip>\n <span\n class=\"action-btn\"\n @click=\"onUp(queryDataList,index)\"\n >上移</span\n >\n <span\n class=\"action-btn\"\n @click=\"onDown(queryDataList,index)\"\n >下移</span\n >\n <span\n v-if=\"index !== 0\"\n class=\"action-btn\"\n @click=\"onTop(queryDataList,index)\"\n >置顶</span\n >\n <span\n v-if=\"index < queryDataList.length - 1\"\n class=\"action-btn\"\n @click=\"onBottom(queryDataList,index)\"\n >置底</span\n >\n </template>\n </i-table>\n </main>\n </div>\n </i-panel>\n <i-panel name=\"2\">\n <span>Body参数</span>\n <span class=\"status\">{{getExpand('2') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <header>\n <i-button\n v-if=\"isFormData\"\n type=\"primary\"\n ghost\n class=\"diy-btn-primary\"\n @click=\"onAddBodyParam\"\n >\n <i class=\"api-icon icon-add\"></i>新增参数\n </i-button>\n <i-button\n v-else\n type=\"primary\"\n ghost\n class=\"diy-btn-primary\"\n @click=\"onBeautify\"\n >\n <i class=\"api-icon icon-view\"></i>格式化\n </i-button>\n <i-select\n transfer\n v-model=\"interfaceModel.info.requestBodyType\"\n class=\"diy-select\"\n >\n <i-option\n v-for=\"item in requestBodyTypeList\"\n :value=\"item.name\"\n :key=\"item.name\"\n >{{item.text}}</i-option\n >\n </i-select>\n </header>\n <main>\n <i-table\n height=\"200\"\n width=\"1280\"\n class=\"diy-table\"\n :columns=\"paramColumns\"\n :data=\"bodyDataList\"\n v-if=\"isFormData\"\n >\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox\n :value=\"!bodyDataList[index].disabled\"\n @on-change=\"onChangeDisabled($event,bodyDataList[index])\"\n >\n </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数名称\"\n v-model=\"bodyDataList[index].name\"\n ></i-input>\n </template>\n <template\n slot-scope=\"{ row,index }\"\n slot=\"valueContent\"\n >\n <i-input\n class=\"diy-input\"\n placeholder=\"输入参数值\"\n v-model=\"bodyDataList[index].valueContent\"\n ></i-input>\n </template>\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"bodyDataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template> -->\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input\n class=\"diy-input\"\n placeholder=\"输入备注\"\n v-model=\"bodyDataList[index].remark\"\n ></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <span\n class=\"action-btn delete\"\n @click=\"onDeleteBodyParam(interfaceModel.formParams,row.id)\"\n >删除</span\n >\n <span\n class=\"action-btn\"\n @click=\"onUpBodyParam(interfaceModel.formParams,row.id)\"\n >上移</span\n >\n <span\n class=\"action-btn\"\n @click=\"onDownBodyParam(interfaceModel.formParams,row.id)\"\n >下移</span\n >\n <span\n v-if=\"index !== 0\"\n class=\"action-btn\"\n @click=\"onTopBodyParam(interfaceModel.formParams,row.id)\"\n >置顶</span\n >\n <span\n v-if=\"index < bodyDataList.length - 1\"\n class=\"action-btn\"\n @click=\"onBottomBodyParam(interfaceModel.formParams,row.id)\"\n >置底</span\n >\n </template>\n </i-table>\n <u-editor\n v-else\n :value.sync=\"interfaceModel.json\"\n lang=\"json\"\n @inited=\"onEditorInited\"\n ></u-editor>\n </main>\n </div>\n </i-panel>\n </i-collapse>\n</article>\n"
|
|
39679
39679
|
|
|
39680
39680
|
/***/ }),
|
|
39681
39681
|
|
|
@@ -40445,7 +40445,7 @@ module.exports = function (argument) {
|
|
|
40445
40445
|
/***/ "82af":
|
|
40446
40446
|
/***/ (function(module, exports) {
|
|
40447
40447
|
|
|
40448
|
-
module.exports = "<div class=\"v-data-modal-list-container\">\
|
|
40448
|
+
module.exports = "<div class=\"v-data-modal-list-container\">\n <header>\n <div class=\"condition\">\n <div class=\"input-item\">\n <span>名称:</span>\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\n </div>\n <div class=\"input-item\">\n <span>编码:</span>\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\n </div>\n <div class=\"search-btn\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\n </div>\n </div>\n </header>\n <main>\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\">\n <template slot=\"enableCache\" slot-scope=\"{row}\">\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\n </template>\n <template slot=\"doc\" slot-scope=\"{row}\">\n <a @click=\"onOpenDoc(row)\">查看</a>\n </template>\n </i-table>\n </main>\n <div class=\"pagination\">\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" show-elevator show-total show-sizer> </i-page>\n </div>\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\n</div>\n"
|
|
40449
40449
|
|
|
40450
40450
|
/***/ }),
|
|
40451
40451
|
|
|
@@ -41690,7 +41690,7 @@ module.exports = function (S, index, unicode) {
|
|
|
41690
41690
|
/***/ "8ab8":
|
|
41691
41691
|
/***/ (function(module, exports) {
|
|
41692
41692
|
|
|
41693
|
-
module.exports = "<article class=\"pre-execution-setting\">\
|
|
41693
|
+
module.exports = "<article class=\"pre-execution-setting\">\n <section class=\"script\">\n <u-editor\n @inited=\"onEditorInited\"\n :value.sync=\"script\"\n lang=\"groovy\"\n ></u-editor>\n </section>\n <section class=\"quick-input\">\n <div class=\"info\">\n <p>{{scriptData.description}}</p>\n <!-- <ul>\n <li>request: 请求</li>\n </ul> -->\n </div>\n <div class=\"quick-list\">\n <div v-for=\"type in scriptData.group\" class=\"quick-type\">\n <p>{{type.name}}</p>\n <div\n v-for=\"item in type.list\"\n :key=\"item.name\"\n class=\"quick-item\"\n @click=\"onClickItem(item)\"\n >\n <i class=\"api-icon icon-item\"></i> {{item.name}}\n </div>\n </div>\n </div>\n </section>\n</article>\n"
|
|
41694
41694
|
|
|
41695
41695
|
/***/ }),
|
|
41696
41696
|
|
|
@@ -42054,7 +42054,7 @@ dom.importCssString(exports.cssText, exports.cssClass);
|
|
|
42054
42054
|
/***/ "981a":
|
|
42055
42055
|
/***/ (function(module, exports) {
|
|
42056
42056
|
|
|
42057
|
-
module.exports = "<div class=\"v-api-project-list-container\">\
|
|
42057
|
+
module.exports = "<div class=\"v-api-project-list-container\">\n <header>\n <div class=\"condition\">\n <div class=\"input-item\">\n <span>名称:</span>\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\n </div>\n <div class=\"input-item\">\n <span>地址:</span>\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\n </div>\n <div class=\"search-btn\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\n </div>\n </div>\n </header>\n <main>\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\">\n <template slot=\"detail\" slot-scope=\"{row}\">\n <a @click=\"onDetail(row)\">查看</a>\n </template>\n </i-table>\n </main>\n <div class=\"pagination\">\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" show-elevator show-total show-sizer> </i-page>\n </div>\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\n</div>\n"
|
|
42058
42058
|
|
|
42059
42059
|
/***/ }),
|
|
42060
42060
|
|
|
@@ -42561,7 +42561,7 @@ module.exports = function (argument, usingIterator) {
|
|
|
42561
42561
|
/***/ "9b44":
|
|
42562
42562
|
/***/ (function(module, exports) {
|
|
42563
42563
|
|
|
42564
|
-
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\
|
|
42564
|
+
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\n <i slot=\"dot\"></i>\n <div class=\"item-more\" @click=\"onMore\">查看更多</div>\n</i-timeline-item>\n<i-timeline-item v-else class=\"trends-item\">\n <i-avatar size=\"large\" :class=\"source.operateType\" slot=\"dot\"></i-avatar>\n <div class=\"item-body\">\n <i-time class=\"time\" :time=\"source.createTime\" />\n <div class=\"title\">\n <span>{{source.projectName}}</span>\n <span class=\"create-time\">{{source.createTime}}</span>\n </div>\n <div class=\"content\">\n <span class=\"name\">{{source.creatorName || source.creator}}</span>\n <span>{{source._operateType && source._operateType.text}}</span>\n <span class=\"name\">{{source.categoryName}}</span>\n <span v-if=\"source.categoryName\">分组下的</span>\n <span class=\"name api-name\" @click=\"onToApi\">{{source.apiName}}</span>\n <span>接口</span>\n </div>\n </div>\n</i-timeline-item>\n"
|
|
42565
42565
|
|
|
42566
42566
|
/***/ }),
|
|
42567
42567
|
|
|
@@ -42714,7 +42714,7 @@ module.exports = function (argument) {
|
|
|
42714
42714
|
/***/ "a0f2":
|
|
42715
42715
|
/***/ (function(module, exports) {
|
|
42716
42716
|
|
|
42717
|
-
module.exports = "<article class=\"catalog-params\">\
|
|
42717
|
+
module.exports = "<article class=\"catalog-params\">\n <i-table height=\"200\" class=\"diy-table\" :columns=\"columns\" :data=\"dataList\">\n <template slot-scope=\"{ row,index }\" slot=\"type\">\n {{(row._type || {}).text}}\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"required\">\n {{row.required ? \"是\": \"否\"}}\n </template>\n </i-table>\n</article>\n"
|
|
42718
42718
|
|
|
42719
42719
|
/***/ }),
|
|
42720
42720
|
|
|
@@ -42728,14 +42728,14 @@ module.exports = "<article class=\"catalog-params\">\r\n <i-table height=\"20
|
|
|
42728
42728
|
/***/ "a1f0":
|
|
42729
42729
|
/***/ (function(module, exports) {
|
|
42730
42730
|
|
|
42731
|
-
module.exports = "<i-poptip\
|
|
42731
|
+
module.exports = "<i-poptip\n transfer\n class=\"u-tree-selector\"\n transfer-class-name=\"u-tree-selector\"\n trigger=\"click\"\n content=\"content\"\n placement=\"bottom\"\n :disabled=\"readonly\"\n v-model=\"visible\"\n>\n <i-input\n class=\"diy-input\"\n :value=\"inputValue\"\n @on-change=\"onInputChange\"\n readonly\n />\n <i-icon\n v-if=\"inputValue && !readonly\"\n class=\"icon-clear-value\"\n type=\"ios-close-circle\"\n @click.stop=\"onClear\"\n />\n <i-tree\n slot=\"content\"\n :data=\"tree\"\n :render=\"renderContent\"\n @on-select-change=\"onSelectChange\"\n ></i-tree>\n</i-poptip>\n"
|
|
42732
42732
|
|
|
42733
42733
|
/***/ }),
|
|
42734
42734
|
|
|
42735
42735
|
/***/ "a406":
|
|
42736
42736
|
/***/ (function(module, exports) {
|
|
42737
42737
|
|
|
42738
|
-
module.exports = "<span>\
|
|
42738
|
+
module.exports = "<span>\n <span>{{labelTitle}}</span>\n <i-poptip trigger=\"hover\" :content=\"tips\">\n <i class=\"api-icon icon-warning\" />\n </i-poptip>\n <span v-if=\"labelColon\">:</span>\n</span>\n"
|
|
42739
42739
|
|
|
42740
42740
|
/***/ }),
|
|
42741
42741
|
|
|
@@ -43304,7 +43304,7 @@ module.exports = function (METHOD_NAME) {
|
|
|
43304
43304
|
/***/ "ab68":
|
|
43305
43305
|
/***/ (function(module, exports) {
|
|
43306
43306
|
|
|
43307
|
-
module.exports = "<i-modal draggable sticky reset-drag-position class=\"api-detail-modal diy-modal\" v-model=\"show\" width=\"1000\" :mask-closable=\"false\" title=\"API详情\">\
|
|
43307
|
+
module.exports = "<i-modal draggable sticky reset-drag-position class=\"api-detail-modal diy-modal\" v-model=\"show\" width=\"1000\" :mask-closable=\"false\" title=\"API详情\">\n <i-form label-colon :label-width=\"120\">\n <i-form-item label=\"接口名称\">\n <span>{{action.name}}</span>\n </i-form-item>\n <i-form-item label=\"所属类型\">\n <span>{{model.type}}</span>\n </i-form-item>\n <i-form-item label=\"接口url\">\n <span>{{action.url}}</span>\n </i-form-item>\n <i-form-item label=\"创建时间\">\n <span>{{action.timestamp}}</span>\n </i-form-item>\n <p class=\"item-title\">接口参数</p>\n <component v-if=\"params\" :is=\"params\" :model=\"detail\"></component>\n </i-form>\n <footer slot=\"footer\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onClose\">关闭</i-button>\n </footer>\n</i-modal>\n"
|
|
43308
43308
|
|
|
43309
43309
|
/***/ }),
|
|
43310
43310
|
|
|
@@ -45786,7 +45786,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
45786
45786
|
/***/ "b676":
|
|
45787
45787
|
/***/ (function(module, exports) {
|
|
45788
45788
|
|
|
45789
|
-
module.exports = "<article class=\"security-setting\">\
|
|
45789
|
+
module.exports = "<article class=\"security-setting\">\n <i-form class=\"type-form diy-form\" label-colon>\n <i-form-item label=\"类型\">\n <i-select transfer v-model=\"interfaceModel.authentication.type\" class=\"diy-select\">\n <i-option v-for=\"item in securityTypeList\" :key=\"item.name\" :value=\"item.name\">{{item.text}} </i-option>\n </i-select>\n <div class=\"tips\">\n <i class=\"api-icon icon-warning\"></i>\n <span>认证类型</span>\n </div>\n </i-form-item>\n <i-form-item label=\"存储位置\">\n <i-select transfer v-model=\"interfaceModel.authentication.location\" class=\"diy-select\">\n <i-option v-for=\"item in tokenLocationTypeList\" :key=\"item.name\" :value=\"item.name\"> {{item.text}} </i-option>\n </i-select>\n <div class=\"tips\">\n <i class=\"api-icon icon-warning\"></i>\n <span>认证信息存储位置</span>\n </div>\n </i-form-item>\n <i-form-item label=\"存储键值\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.authentication.locationKey\"> </i-input>\n <div class=\"tips\">\n <i class=\"api-icon icon-warning\"></i>\n <span>认证信息存储键值</span>\n </div>\n </i-form-item>\n </i-form>\n <section>\n <i-form label-colon :label-width=\"200\" class=\"diy-form content-form\" label-position=\"left\">\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'Base_Auth'\">\n <i-form-item label=\"username\">\n <i-input class=\"diy-input\" v-model=\"model.username\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <i-form-item label=\"password\">\n <i-input class=\"diy-input\" v-model=\"model.password\" placeholder=\"请输入\" type=\"password\"> </i-input>\n </i-form-item>\n </template>\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'OAuth2'\">\n <i-form-item>\n <u-tips-form-label slot=\"label\" label-colon labelTitle=\"Header Prefix\" tips=\"token前缀 例如 Bearer \"> </u-tips-form-label>\n <i-input class=\"diy-input\" v-model=\"model.headerPrefix\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <i-form-item>\n <u-tips-form-label slot=\"label\" label-colon labelTitle=\"Grant Type\" tips=\"认证类型\"> </u-tips-form-label>\n <i-select transfer v-model=\"model.grantType\" class=\"diy-select\">\n <i-option v-for=\"item in grantTypeList\" :key=\"item.name\" :value=\"item.name\"> {{item.text}} </i-option>\n </i-select>\n </i-form-item>\n <i-form-item>\n <u-tips-form-label label-colon slot=\"label\" labelTitle=\"Access Token Url\" tips=\"获取token的httpUrl\"> </u-tips-form-label>\n <i-input class=\"diy-input\" v-model=\"model.tokenUrl\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <i-form-item>\n <u-tips-form-label label-colon slot=\"label\" labelTitle=\"TokenPath\" tips=\"获取响应结果的token路径\"> </u-tips-form-label>\n <i-input class=\"diy-input\" v-model=\"model.tokenPath\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <i-form-item label=\"Client ID\">\n <i-input class=\"diy-input\" v-model=\"model.clientId\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <i-form-item label=\"Client Secret\">\n <i-input class=\"diy-input\" v-model=\"model.clientSecret\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <template v-if=\"model.grantType === 'password'\">\n <i-form-item label=\"username\">\n <i-input class=\"diy-input\" v-model=\"model.username\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n <i-form-item label=\"password\">\n <i-input class=\"diy-input\" v-model=\"model.password\" type=\"password\" password placeholder=\"请输入\"> </i-input>\n </i-form-item>\n </template>\n <i-form-item label=\"Scope\">\n <i-input class=\"diy-input\" v-model=\"model.scope\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n </template>\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'Api_Key'\">\n <i-form-item label=\"key\">\n <i-input class=\"diy-input\" v-model=\"model.key\" placeholder=\"请输入\"> </i-input>\n </i-form-item>\n </template>\n <i-button type=\"primary\" class=\"clear-btn diy-btn-primary\" @click=\"onClear\">清空</i-button>\n </i-form>\n </section>\n</article>\n"
|
|
45790
45790
|
|
|
45791
45791
|
/***/ }),
|
|
45792
45792
|
|
|
@@ -45873,7 +45873,7 @@ module.exports = {
|
|
|
45873
45873
|
/***/ "b769":
|
|
45874
45874
|
/***/ (function(module, exports) {
|
|
45875
45875
|
|
|
45876
|
-
module.exports = "<article class=\"project-comment\">\
|
|
45876
|
+
module.exports = "<article class=\"project-comment\">\n <header>\n <i-input\n class=\"diy-input\"\n prefix=\"ios-search\"\n search\n @on-search=\"onQuery\"\n placeholder=\"输入关键字检索\"\n v-model=\"condition.apiName\"\n ></i-input>\n </header>\n\n <main>\n <header class=\"tool-bar\">\n <span>项目动态</span>\n </header>\n <main>\n <i-timeline :pending=\"false\">\n <virtual-list\n class=\"scroll-list\"\n data-key=\"id\"\n :data-sources=\"list\"\n :data-component=\"itemComponent\"\n >\n </virtual-list>\n </i-timeline>\n </main>\n </main>\n</article>\n"
|
|
45877
45877
|
|
|
45878
45878
|
/***/ }),
|
|
45879
45879
|
|
|
@@ -46689,7 +46689,7 @@ exports.Mode = Mode;
|
|
|
46689
46689
|
/***/ "bc13":
|
|
46690
46690
|
/***/ (function(module, exports) {
|
|
46691
46691
|
|
|
46692
|
-
module.exports = "<div class=\"confirm\">\
|
|
46692
|
+
module.exports = "<div class=\"confirm\">\n <div @click.stop=\"onOpenConfirm\">\n <slot></slot>\n </div>\n <i-modal\n width=400\n draggable\n sticky\n reset-drag-position\n v-model=\"value\"\n class=\"diy-modal confirm-modal\"\n :mask-closable=\"false\"\n :title=\"title\"\n >\n <div>\n <i class=\"api-icon icon-warning\"></i>\n </div>\n <p>\n {{message}}\n </p>\n <footer slot=\"footer\">\n <i-button type=\"primary\" class=\"diy-btn-primary \" @click=\"onOk\"\n >确定</i-button\n >\n <i-button @click=\"onCancel\">取消</i-button>\n </footer>\n </i-modal>\n</div>\n"
|
|
46693
46693
|
|
|
46694
46694
|
/***/ }),
|
|
46695
46695
|
|
|
@@ -46717,7 +46717,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_be65__;
|
|
|
46717
46717
|
/***/ "c01f":
|
|
46718
46718
|
/***/ (function(module, exports) {
|
|
46719
46719
|
|
|
46720
|
-
module.exports = "<article class=\"group-select\">\
|
|
46720
|
+
module.exports = "<article class=\"group-select\">\n <i-poptip\n trigger=\"click\"\n transfer\n transfer-class-name=\"group-select-transfer\"\n placement=\"bottom-start\"\n v-model=\"visible\"\n >\n <i-input\n readonly\n class=\"diy-input\"\n :value=\"current.name\"\n clearable\n @on-clear=\"onClear\"\n ></i-input>\n <template slot=\"content\">\n <i-tree\n :data=\"data\"\n @on-select-change=\"onSelect\"\n :render=\"renderContent\"\n ></i-tree>\n </template>\n </i-poptip>\n</article>\n"
|
|
46721
46721
|
|
|
46722
46722
|
/***/ }),
|
|
46723
46723
|
|
|
@@ -46978,7 +46978,7 @@ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
|
46978
46978
|
/***/ "ccf6":
|
|
46979
46979
|
/***/ (function(module, exports) {
|
|
46980
46980
|
|
|
46981
|
-
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-wrapper\">\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\n <!-- 左侧内容 -->\n <section slot=\"left\" class=\"left-split-pane\">\n <u-type-tree :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\"> </u-type-tree>\n </section>\n <!-- 分割线 -->\n <section class=\"trigger\" slot=\"trigger\"></section>\n <!-- 右侧内容 -->\n <section slot=\"right\" class=\"right-split-pane\">\n <section class=\"search-wrapper\">\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\n <i-form-item label=\"名称\" prop=\"name\">\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码\" prop=\"code\">\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\n </i-form-item>\n </i-form>\n <div class=\"btns\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\n </div>\n </section>\n <section class=\"actions-wrapper\">\n <div class=\"action-item action-text\" @click=\"onAdd()\">\n <i class=\"iconfont icon-add\"></i>\n <div>新增</div>\n </div>\n <div class=\"action-item action-text\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div>批量删除</div>\n </div>\n </section>\n <section class=\"main-wrapper\">\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"list\" @on-selection-change=\"onSelectChange\">\n <template slot=\"status\" slot-scope=\"{row,index}\">\n <i-switch class=\"diy-switch\" :value=\"row.status==='PUBLISHED'\" @on-change=\"onStatusChange($event, row, index)\"></i-switch>\n <span>{{row.status===\"PUBLISHED\" ? \"已发布\" : \"
|
|
46981
|
+
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-wrapper\">\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\n <!-- 左侧内容 -->\n <section slot=\"left\" class=\"left-split-pane\">\n <u-type-tree :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\"> </u-type-tree>\n </section>\n <!-- 分割线 -->\n <section class=\"trigger\" slot=\"trigger\"></section>\n <!-- 右侧内容 -->\n <section slot=\"right\" class=\"right-split-pane\">\n <section class=\"search-wrapper\">\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\n <i-form-item label=\"名称\" prop=\"name\">\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码\" prop=\"code\">\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\n </i-form-item>\n </i-form>\n <div class=\"btns\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\n </div>\n </section>\n <section class=\"actions-wrapper\">\n <div class=\"action-item action-text\" @click=\"onAdd()\">\n <i class=\"iconfont icon-add\"></i>\n <div>新增</div>\n </div>\n <div class=\"action-item action-text\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div>批量删除</div>\n </div>\n </section>\n <section class=\"main-wrapper\">\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"list\" @on-selection-change=\"onSelectChange\">\n <template slot=\"status\" slot-scope=\"{row,index}\">\n <i-switch class=\"diy-switch\" :value=\"row.status==='PUBLISHED'\" @on-change=\"onStatusChange($event, row, index)\"></i-switch>\n <span>{{row.status===\"PUBLISHED\" ? \"已发布\" : \"未发布\"}}</span>\n </template>\n <template slot=\"doc\" slot-scope=\"{row}\">\n <a @click=\"onOpenDoc(row)\">查看</a>\n </template>\n <template #operates=\"{row,index}\">\n <div class=\"row-actions\">\n <i @click.stop=\"onDetail(row)\" title=\"查看\" class=\"iconfont icon-detail\"></i>\n <template v-if=\"row.status!=='PUBLISHED'\">\n <i @click.stop=\"onCopy(row)\" title=\"复制\" class=\"iconfont icon-fuzhi\"> </i>\n <i @click.stop=\"onEdit(row)\" title=\"编辑\" class=\"iconfont icon-edit\"></i>\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\n </i-poptip>\n </template>\n </div>\n </template>\n </i-table>\n <i-page\n class=\"diy-page\"\n show-total\n show-sizer\n show-elevator\n :total=\"paging.totalCount\"\n :current=\"paging.pageIndex\"\n :page-size=\"paging.pageSize\"\n @on-change=\"onPageIndexChange\"\n @on-page-size-change=\"onPageSizeChange\"\n ></i-page>\n </section>\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 <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\n <i-modal draggable sticky reset-drag-position v-model=\"showCopyModal\" class=\"diy-modal combine-copy-modal\" :mask-closable=\"false\" title=\"复制接口\">\n <i-form :label-width=\"100\" class=\"diy-form\" v-model=\"copyData\" label-colon>\n <i-form-item label=\"接口名称\" required>\n <i-input class=\"diy-input\" v-model=\"copyData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"接口编码\" required>\n <i-input class=\"diy-input\" v-model=\"copyData.code\"></i-input>\n </i-form-item>\n <i-form-item label=\"选择分组\" required>\n <u-tree-selector :treeData=\"treeData\" leaf-name=\"copy\" :canChooseFolder=\"true\" v-model=\"categoryData.id\" @on-select=\"selectCategory\"> </u-tree-selector>\n </i-form-item>\n </i-form>\n <footer slot=\"footer\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onCopyConfirm\">确定</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onCopyCancel\">取消</i-button>\n </footer>\n </i-modal>\n</article>\n"
|
|
46982
46982
|
|
|
46983
46983
|
/***/ }),
|
|
46984
46984
|
|
|
@@ -47151,7 +47151,7 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
47151
47151
|
/***/ "d30a":
|
|
47152
47152
|
/***/ (function(module, exports) {
|
|
47153
47153
|
|
|
47154
|
-
module.exports = "<div class=\"u-selector-tree-node\" @click=\"onClickNode\">\
|
|
47154
|
+
module.exports = "<div class=\"u-selector-tree-node\" @click=\"onClickNode\">\n <i-icon v-if=\"!data.children\" type=\"ios-bookmark-outline\" />\n <template v-else>\n <i\n class=\"iconfont\"\n :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"\n ></i>\n </template>\n <span>{{data.title}}</span>\n</div>\n"
|
|
47155
47155
|
|
|
47156
47156
|
/***/ }),
|
|
47157
47157
|
|
|
@@ -47204,7 +47204,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
|
|
|
47204
47204
|
/***/ "d63e":
|
|
47205
47205
|
/***/ (function(module, exports) {
|
|
47206
47206
|
|
|
47207
|
-
module.exports = "<article class=\"project-detail\">\
|
|
47207
|
+
module.exports = "<article class=\"project-detail\">\n <header>\n <div class=\"environment\">\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 type=\"primary\" class=\"diy-btn-primary button-back\" ghost icon=\"md-return-left\" @click=\"onBack\">返回列表</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\" :project-id=\"projectId\"></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 :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</article>\n"
|
|
47208
47208
|
|
|
47209
47209
|
/***/ }),
|
|
47210
47210
|
|
|
@@ -47333,14 +47333,14 @@ module.exports = fails(function () {
|
|
|
47333
47333
|
/***/ "d8b4":
|
|
47334
47334
|
/***/ (function(module, exports) {
|
|
47335
47335
|
|
|
47336
|
-
module.exports = "<div class=\"v-parameter-list-container\">\
|
|
47336
|
+
module.exports = "<div class=\"v-parameter-list-container\">\n <main>\n <div class=\"parameter-table-btns\" v-if=\"isEdit\">\n <div class=\"table-btns table-btns-add\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n <div class=\"table-btns-text\">新增</div>\n </div>\n <div class=\"table-btns table-btns-delete\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div class=\"table-btns-text\">批量删除</div>\n </div>\n </div>\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelectionChange\">\n <div slot=\"name\" slot-scope=\"{row}\">\n <i-input class=\"diy-input\" v-if=\"row.isEdit\" v-model=\"row.name\">{{row.name}}</i-input>\n <span v-else>{{row.name}}</span>\n </div>\n <div slot=\"type\" slot-scope=\"{row}\">\n <i-select class=\"diy-select\" v-if=\"row.isEdit\" v-model=\"row.type\" transfer>\n <i-option v-for=\"item in typeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\n </i-select>\n <span v-else>{{getTypeText(row.type)}}</span>\n </div>\n <div slot=\"required\" slot-scope=\"{row}\">\n <i-select class=\"diy-select\" v-if=\"row.isEdit\" :value=\"booleanObj[row.required]\" @on-change=\"onChangeRequired($event, row)\" transfer>\n <i-option :value=\"0\" key=\"0\">否</i-option>\n <i-option :value=\"1\" key=\"1\">是</i-option>\n </i-select>\n <span v-else>{{row.required ? \"是\" : \"否\"}}</span>\n </div>\n <div slot=\"defaultValue\" slot-scope=\"{row}\">\n <i-input class=\"diy-input\" v-if=\"row.isEdit\" v-model=\"row.defaultValue\"></i-input>\n <span v-else>{{row.defaultValue}}</span>\n </div>\n <div slot=\"description\" slot-scope=\"{row}\">\n <i-input class=\"diy-input\" v-if=\"row.isEdit\" v-model=\"row.description\"></i-input>\n <span v-else>{{row.description}}</span>\n </div>\n <div class=\"row-actions\" slot=\"actions\" slot-scope=\"{row,index}\">\n <div v-if=\"row.isEdit\" class=\"edit-status\">\n <i class=\"iconfont icon-ok\" title=\"确认\" @click=\"onConfirm(row, index)\"></i>\n <i class=\"iconfont icon-cancel\" title=\"取消\" @click=\"onCancel(index)\"></i>\n </div>\n <div v-else class=\"read-status\">\n <i class=\"iconfont icon-edit\" title=\"编辑\" @click=\"onEdit(row)\"></i>\n <i-poptip confirm transfer title=\"您确定要删除这条内容吗?\" @on-ok=\"onDelete(row, index)\">\n <i class=\"iconfont icon-delete\" title=\"删除\"> </i>\n </i-poptip>\n </div>\n </div>\n </i-table>\n </main>\n</div>\n"
|
|
47337
47337
|
|
|
47338
47338
|
/***/ }),
|
|
47339
47339
|
|
|
47340
47340
|
/***/ "d8e7":
|
|
47341
47341
|
/***/ (function(module, exports) {
|
|
47342
47342
|
|
|
47343
|
-
module.exports = "<!DOCTYPE html>\
|
|
47343
|
+
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-info-wrapper\">\n <header class=\"header\">\n {{title}}\n </header>\n <main>\n <i-form ref=\"form\" class=\"info-form\" :model=\"model\" :rules=\"rules\">\n <i-row>\n <section class=\"title-g\">基本信息</section>\n <i-form-item label=\"名称:\" prop=\"name\">\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"model.name\" :disabled=\"!isEdit\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码:\" prop=\"code\">\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"model.code\" :disabled=\"!isEdit\"></i-input>\n </i-form-item>\n <i-form-item class=\"full-width\" label=\"描述:\">\n <i-input type=\"textarea\" class=\"diy-input-textarea\" :rows=\"1\" placeholder=\"请输入描述\" v-model=\"model.description\" :disabled=\"!isEdit\"></i-input>\n </i-form-item>\n </i-row>\n <i-row>\n <section class=\"title-g\">待合并列表</section>\n <section class=\"to-combine-list\">\n <template v-if=\"isEdit\">\n <i-button class=\"diy-btn-default\" @click=\"onAddDataModel\">添加数据模型</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onAddApiProject\">添加 API</i-button>\n </template>\n <i-table class=\"diy-table\" :columns=\"relationColumns\" :data=\"model.relations\">\n <template #type=\"{row}\">\n <span>{{row.type==='MODEL'?'数据模型':row.type==='API'?'API':''}}</span>\n </template>\n <template #operates=\"{row,index}\">\n <div class=\"row-actions\">\n <i title=\"查看\" class=\"iconfont icon-detail\" @click=\"onDetail(row)\"></i>\n <i-poptip v-if=\"isEdit\" confirm transfer title=\"确认删除这条数据吗?\" @on-ok=\"onRelationDelete(row)\">\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\n </i-poptip>\n </div>\n </template>\n </i-table>\n </section>\n </i-row>\n <i-row>\n <section class=\"title-g\">参数详情</section>\n <section class=\"parameter-detail\">\n <section class=\"card-panel card-panel-no-right-border\">\n <i-tabs>\n <i-tab-pane label=\"请求参数\" name=\"request\">\n <u-request-parameter-list :data=\"model.reqParams\" :isEdit=\"isEdit\"></u-request-parameter-list>\n </i-tab-pane>\n <i-tab-pane label=\"响应参数\" name=\"response\">\n <u-response-parameter-list :data=\"model.respParams\" :isEdit=\"isEdit\"></u-response-parameter-list>\n </i-tab-pane>\n </i-tabs>\n </section>\n <section class=\"card-panel\">\n <div class=\"card-panel-header\">\n <span>执行脚本</span>\n <span class=\"action-text\" @click.stop=\"onOpenTest\">\n <i class=\"iconfont icon-run\"></i>\n <span>试运行</span>\n </span>\n </div>\n <div class=\"card-panel-main\">\n <u-base-editor class=\"editor\" :data.sync=\"model.content\" :readOnly=\"!isEdit\"></u-base-editor>\n </div>\n </section>\n </section>\n </i-row>\n </i-form>\n </main>\n <footer>\n <template v-if=\"isEdit\">\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click.stop=\"onSave\">确定</i-button>\n <i-button type=\"text\" class=\"diy-btn-text\" @click.stop=\"onBack\">取消</i-button>\n </template>\n <template v-else>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click.stop=\"onBack\">关闭</i-button>\n </template>\n </footer>\n <u-data-model-modal v-model=\"dataModelShow\" :data=\"dataModelRelations\" @save=\"onRelationsSave\"></u-data-model-modal>\n <u-api-project-modal v-model=\"apiProjectShow\" :data=\"apiProjectRelations\" @save=\"onRelationsSave\"></u-api-project-modal>\n <u-data-model-doc-modal v-model=\"dataModelDocShow\" :doc=\"dataModelDoc\"></u-data-model-doc-modal>\n <u-api-project-detail-modal :visiable.sync=\"apiProjectDetailShow\" :model=\"apiProjectDetail\"></u-api-project-detail-modal>\n <u-test-run-modal :visible.sync=\"testShow\" :params=\"model.reqParams\" :data=\"testResult\" @on-run=\"onTestRun\"></u-test-run-modal>\n</article>\n"
|
|
47344
47344
|
|
|
47345
47345
|
/***/ }),
|
|
47346
47346
|
|
|
@@ -47354,7 +47354,7 @@ module.exports = "<!DOCTYPE html>\r\n<article class=\"v-api-combine-info-wrapper
|
|
|
47354
47354
|
/***/ "d953":
|
|
47355
47355
|
/***/ (function(module, exports) {
|
|
47356
47356
|
|
|
47357
|
-
module.exports = "<div class=\"interface-tree-node\" @click=\"onClick\">\
|
|
47357
|
+
module.exports = "<div class=\"interface-tree-node\" @click=\"onClick\">\n <span v-if=\"isLeaf && data.method\" class=\"method\" :class=\"data.method.toLowerCase() \"\n >{{data.method}}</span\n >\n <i class=\"api-icon icon-interface\"></i>\n <span class=\"interface-tree-node-name\" :title=\"data.title\">{{data.title}}</span>\n <i-dropdown\n transfer\n stop-propagation\n class=\"diy-dropdown\"\n transfer-class-name=\"diy-transfer-dropdown\"\n @on-click=\"onClickAction\"\n >\n <i class=\"api-icon icon-more\"></i>\n <i-dropdown-menu slot=\"list\">\n <template v-if=\"isLeaf\">\n <i-dropdown-item name=\"edit-interface\">修改</i-dropdown-item>\n <i-dropdown-item name=\"delete-interface\">删除</i-dropdown-item>\n <i-dropdown-item name=\"copy-interface\">复制</i-dropdown-item>\n </template>\n <template v-else>\n <i-dropdown-item name=\"edit-group\">修改</i-dropdown-item>\n <i-dropdown-item name=\"add-interface\">新增接口</i-dropdown-item>\n <u-confirm\n title=\"删除接口\"\n @on-ok=\"onDelete('delete-group')\"\n message=\"分组内的接口一并删除, 是否确认执行?\"\n >\n <i-dropdown-item>删除</i-dropdown-item>\n </u-confirm>\n </template>\n </i-dropdown-menu>\n </i-dropdown>\n</div>\n"
|
|
47358
47358
|
|
|
47359
47359
|
/***/ }),
|
|
47360
47360
|
|
|
@@ -47637,11 +47637,11 @@ module.exports = !fails(function () {
|
|
|
47637
47637
|
|
|
47638
47638
|
|
|
47639
47639
|
var commonSetting = global.commonSetting;
|
|
47640
|
-
/**
|
|
47641
|
-
* 业务服务基类。
|
|
47642
|
-
* @abstract
|
|
47643
|
-
* @class
|
|
47644
|
-
* @version 1.0.0
|
|
47640
|
+
/**
|
|
47641
|
+
* 业务服务基类。
|
|
47642
|
+
* @abstract
|
|
47643
|
+
* @class
|
|
47644
|
+
* @version 1.0.0
|
|
47645
47645
|
*/
|
|
47646
47646
|
|
|
47647
47647
|
var ServiceBase =
|
|
@@ -47652,10 +47652,10 @@ function () {
|
|
|
47652
47652
|
ServiceBase.prototype.url = function (url) {
|
|
47653
47653
|
return commonSetting.baseUrl + url;
|
|
47654
47654
|
};
|
|
47655
|
-
/**
|
|
47656
|
-
* 发送post请求
|
|
47657
|
-
* @param url 请求地址
|
|
47658
|
-
* @param data 发送的参数
|
|
47655
|
+
/**
|
|
47656
|
+
* 发送post请求
|
|
47657
|
+
* @param url 请求地址
|
|
47658
|
+
* @param data 发送的参数
|
|
47659
47659
|
*/
|
|
47660
47660
|
|
|
47661
47661
|
|
|
@@ -47664,9 +47664,9 @@ function () {
|
|
|
47664
47664
|
return res.data;
|
|
47665
47665
|
});
|
|
47666
47666
|
};
|
|
47667
|
-
/**
|
|
47668
|
-
* 发送get请求
|
|
47669
|
-
* @param url 请求地址
|
|
47667
|
+
/**
|
|
47668
|
+
* 发送get请求
|
|
47669
|
+
* @param url 请求地址
|
|
47670
47670
|
*/
|
|
47671
47671
|
|
|
47672
47672
|
|
|
@@ -47675,10 +47675,10 @@ function () {
|
|
|
47675
47675
|
return res.data;
|
|
47676
47676
|
});
|
|
47677
47677
|
};
|
|
47678
|
-
/**
|
|
47679
|
-
* 发送put请求
|
|
47680
|
-
* @param url 请求地址
|
|
47681
|
-
* @param data 请求参数
|
|
47678
|
+
/**
|
|
47679
|
+
* 发送put请求
|
|
47680
|
+
* @param url 请求地址
|
|
47681
|
+
* @param data 请求参数
|
|
47682
47682
|
*/
|
|
47683
47683
|
|
|
47684
47684
|
|
|
@@ -47687,9 +47687,9 @@ function () {
|
|
|
47687
47687
|
return res.data;
|
|
47688
47688
|
});
|
|
47689
47689
|
};
|
|
47690
|
-
/**
|
|
47691
|
-
* 发送delete请求 请求地址
|
|
47692
|
-
* @param url
|
|
47690
|
+
/**
|
|
47691
|
+
* 发送delete请求 请求地址
|
|
47692
|
+
* @param url
|
|
47693
47693
|
*/
|
|
47694
47694
|
|
|
47695
47695
|
|
|
@@ -47698,10 +47698,10 @@ function () {
|
|
|
47698
47698
|
return res.data;
|
|
47699
47699
|
});
|
|
47700
47700
|
};
|
|
47701
|
-
/**
|
|
47702
|
-
* 导出数据
|
|
47703
|
-
* @param url
|
|
47704
|
-
* @param data
|
|
47701
|
+
/**
|
|
47702
|
+
* 导出数据
|
|
47703
|
+
* @param url
|
|
47704
|
+
* @param data
|
|
47705
47705
|
*/
|
|
47706
47706
|
|
|
47707
47707
|
|
|
@@ -48297,7 +48297,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
48297
48297
|
/***/ "e718":
|
|
48298
48298
|
/***/ (function(module, exports) {
|
|
48299
48299
|
|
|
48300
|
-
module.exports = "<section class=\"v-base-editor-container\">\
|
|
48300
|
+
module.exports = "<section class=\"v-base-editor-container\">\n <u-editor @inited=\"onEditorInited\" :value.sync=\"script\" lang=\"groovy\"></u-editor>\n</section>\n"
|
|
48301
48301
|
|
|
48302
48302
|
/***/ }),
|
|
48303
48303
|
|
|
@@ -48573,7 +48573,7 @@ module.exports = uncurryThis([].slice);
|
|
|
48573
48573
|
/***/ "f40e":
|
|
48574
48574
|
/***/ (function(module, exports) {
|
|
48575
48575
|
|
|
48576
|
-
module.exports = "<article class=\"interface-settings\">\
|
|
48576
|
+
module.exports = "<article class=\"interface-settings\">\n <header>\n <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">\n <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\n </i-select>\n </i-input>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onRun\">发送</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onVersion\" ghost>查看历史版本</i-button>\n <i-icon class=\"export\" title=\"导出\" type=\"md-download\" @click=\"onExport\" />\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\n <i-icon class=\"import\" title=\"导入\" type=\"md-cloud-upload\" />\n </i-upload>\n </header>\n <main :class=\"{'transverse': !lengthwise}\">\n <section class=\"request\">\n <div class=\"request-bar\">\n <div class=\"tag\" :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\" v-for=\"(item,index) in requertSettingTypeList\" :key=\"item.name\">\n <i-dropdown class=\"diy-dropdown\" stop-propagation v-if=\"item.children\" @on-click=\"onClickRequertSettingSubTpye(item,$event)\">\n <span>{{item.title}}<i class=\"api-icon icon-select\"></i></span>\n <i-dropdown-menu slot=\"list\">\n <i-dropdown-item v-for=\"subItem in item.children\" :key=\"subItem.name\" :name=\"subItem.name\">{{subItem.title}}</i-dropdown-item>\n </i-dropdown-menu>\n </i-dropdown>\n <span v-else @click=\"onClickRequertSettingTpye(item)\">{{item.title}}</span>\n </div>\n </div>\n <div class=\"request-content\">\n <component\n :is=\"currentRequestSettingType.name\"\n :lengthwise=\"lengthwise\"\n :interface-model=\"interfaceModel\"\n :response=\"response\"\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\n ></component>\n </div>\n </section>\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\n </main>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n</article>\n"
|
|
48577
48577
|
|
|
48578
48578
|
/***/ }),
|
|
48579
48579
|
|
|
@@ -49141,12 +49141,12 @@ var es_string_split = __webpack_require__("1276");
|
|
|
49141
49141
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
49142
49142
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
49143
49143
|
|
|
49144
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
49145
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
49146
|
-
|
|
49147
49144
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
49148
49145
|
var es_array_map = __webpack_require__("d81d");
|
|
49149
49146
|
|
|
49147
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
49148
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
49149
|
+
|
|
49150
49150
|
// EXTERNAL MODULE: external "@egova/flagwind-web"
|
|
49151
49151
|
var flagwind_web_ = __webpack_require__("6397");
|
|
49152
49152
|
|
|
@@ -49263,36 +49263,36 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
|
|
|
49263
49263
|
};
|
|
49264
49264
|
|
|
49265
49265
|
|
|
49266
|
-
/**
|
|
49267
|
-
* 静态对象工厂
|
|
49266
|
+
/**
|
|
49267
|
+
* 静态对象工厂
|
|
49268
49268
|
*/
|
|
49269
49269
|
|
|
49270
49270
|
var object_factory_ObjectFactory =
|
|
49271
49271
|
/** @class */
|
|
49272
49272
|
function () {
|
|
49273
49273
|
function ObjectFactory() {}
|
|
49274
|
-
/**
|
|
49275
|
-
* 获取指定key对应的对象
|
|
49276
|
-
* @param key 对象唯一标识
|
|
49274
|
+
/**
|
|
49275
|
+
* 获取指定key对应的对象
|
|
49276
|
+
* @param key 对象唯一标识
|
|
49277
49277
|
*/
|
|
49278
49278
|
|
|
49279
49279
|
|
|
49280
49280
|
ObjectFactory.get = function (key) {
|
|
49281
49281
|
return this.maps.get(key);
|
|
49282
49282
|
};
|
|
49283
|
-
/**
|
|
49284
|
-
* 设置指定对象
|
|
49285
|
-
* @param key 对象唯一标识
|
|
49286
|
-
* @param value
|
|
49283
|
+
/**
|
|
49284
|
+
* 设置指定对象
|
|
49285
|
+
* @param key 对象唯一标识
|
|
49286
|
+
* @param value
|
|
49287
49287
|
*/
|
|
49288
49288
|
|
|
49289
49289
|
|
|
49290
49290
|
ObjectFactory.set = function (key, value) {
|
|
49291
49291
|
this.maps.set(key, value);
|
|
49292
49292
|
};
|
|
49293
|
-
/**
|
|
49294
|
-
* 是否存在指定key的对象
|
|
49295
|
-
* @param key
|
|
49293
|
+
/**
|
|
49294
|
+
* 是否存在指定key的对象
|
|
49295
|
+
* @param key
|
|
49296
49296
|
*/
|
|
49297
49297
|
|
|
49298
49298
|
|
|
@@ -49309,10 +49309,10 @@ function () {
|
|
|
49309
49309
|
});
|
|
49310
49310
|
return list;
|
|
49311
49311
|
};
|
|
49312
|
-
/**
|
|
49313
|
-
* 根据类型创建对象
|
|
49314
|
-
* @param serviceType 对象类型
|
|
49315
|
-
* @param params 构造参数
|
|
49312
|
+
/**
|
|
49313
|
+
* 根据类型创建对象
|
|
49314
|
+
* @param serviceType 对象类型
|
|
49315
|
+
* @param params 构造参数
|
|
49316
49316
|
*/
|
|
49317
49317
|
|
|
49318
49318
|
|
|
@@ -49525,10 +49525,10 @@ var service_handler_spreadArray = undefined && undefined.__spreadArray || functi
|
|
|
49525
49525
|
|
|
49526
49526
|
|
|
49527
49527
|
|
|
49528
|
-
/**
|
|
49529
|
-
*
|
|
49530
|
-
* @param serviveType 服务的类型 指的是服务是保存类(delete/update/save)操作save 还是查询类操作query
|
|
49531
|
-
* 根据这个类型来决定调用不同的ResponseHandler
|
|
49528
|
+
/**
|
|
49529
|
+
*
|
|
49530
|
+
* @param serviveType 服务的类型 指的是服务是保存类(delete/update/save)操作save 还是查询类操作query
|
|
49531
|
+
* 根据这个类型来决定调用不同的ResponseHandler
|
|
49532
49532
|
*/
|
|
49533
49533
|
|
|
49534
49534
|
function serviceHandler(serviveType, option) {
|
|
@@ -49707,8 +49707,8 @@ function () {
|
|
|
49707
49707
|
};
|
|
49708
49708
|
|
|
49709
49709
|
Object.defineProperty(ResponseHandler, "message", {
|
|
49710
|
-
/**
|
|
49711
|
-
* 全局通知对象
|
|
49710
|
+
/**
|
|
49711
|
+
* 全局通知对象
|
|
49712
49712
|
*/
|
|
49713
49713
|
get: function get() {
|
|
49714
49714
|
return external_vue_default.a.prototype.$Message;
|
|
@@ -50180,14 +50180,11 @@ function (_super) {
|
|
|
50180
50180
|
}), service_metadata("design:type", Function), service_metadata("design:paramtypes", [Object]), service_metadata("design:returntype", void 0)], Service.prototype, "getDoc", null);
|
|
50181
50181
|
|
|
50182
50182
|
service_decorate([serviceHandler("save", {
|
|
50183
|
-
title: "保存数据"
|
|
50184
|
-
showTip: true
|
|
50183
|
+
title: "保存数据"
|
|
50185
50184
|
}), service_metadata("design:type", Function), service_metadata("design:paramtypes", [String, Number]), service_metadata("design:returntype", typeof (_j = typeof Promise !== "undefined" && Promise) === "function" ? _j : Object)], Service.prototype, "changeStatus", null);
|
|
50186
50185
|
|
|
50187
50186
|
service_decorate([serviceHandler("save", {
|
|
50188
|
-
title: "复制接口"
|
|
50189
|
-
showErrorMsg: false,
|
|
50190
|
-
showTip: false
|
|
50187
|
+
title: "复制接口"
|
|
50191
50188
|
}), service_metadata("design:type", Function), service_metadata("design:paramtypes", [Object]), service_metadata("design:returntype", void 0)], Service.prototype, "copyApi", null);
|
|
50192
50189
|
|
|
50193
50190
|
return Service;
|
|
@@ -50286,8 +50283,8 @@ function (_super) {
|
|
|
50286
50283
|
_this.expandNodeSet = new Set();
|
|
50287
50284
|
return _this;
|
|
50288
50285
|
}
|
|
50289
|
-
/**
|
|
50290
|
-
* 输入关键字对数据进行过滤
|
|
50286
|
+
/**
|
|
50287
|
+
* 输入关键字对数据进行过滤
|
|
50291
50288
|
*/
|
|
50292
50289
|
|
|
50293
50290
|
|
|
@@ -50306,10 +50303,10 @@ function (_super) {
|
|
|
50306
50303
|
return v;
|
|
50307
50304
|
});
|
|
50308
50305
|
};
|
|
50309
|
-
/**
|
|
50310
|
-
* 判断一个节点是否是与关键字匹配的叶子节点或者目录节点,或者是包含符合条件的叶子节点的祖先节点
|
|
50311
|
-
* 如果匹配的是目录节点,那么目录下的节点无需过滤
|
|
50312
|
-
* @param node
|
|
50306
|
+
/**
|
|
50307
|
+
* 判断一个节点是否是与关键字匹配的叶子节点或者目录节点,或者是包含符合条件的叶子节点的祖先节点
|
|
50308
|
+
* 如果匹配的是目录节点,那么目录下的节点无需过滤
|
|
50309
|
+
* @param node
|
|
50313
50310
|
*/
|
|
50314
50311
|
|
|
50315
50312
|
|
|
@@ -50330,9 +50327,9 @@ function (_super) {
|
|
|
50330
50327
|
childrenMatched: childrenMatched
|
|
50331
50328
|
};
|
|
50332
50329
|
};
|
|
50333
|
-
/**
|
|
50334
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
50335
|
-
* @param data
|
|
50330
|
+
/**
|
|
50331
|
+
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
50332
|
+
* @param data
|
|
50336
50333
|
*/
|
|
50337
50334
|
|
|
50338
50335
|
|
|
@@ -50355,10 +50352,10 @@ function (_super) {
|
|
|
50355
50352
|
}));
|
|
50356
50353
|
return d;
|
|
50357
50354
|
};
|
|
50358
|
-
/**
|
|
50359
|
-
* 点击叶子节点
|
|
50360
|
-
* @param node
|
|
50361
|
-
* @param data
|
|
50355
|
+
/**
|
|
50356
|
+
* 点击叶子节点
|
|
50357
|
+
* @param node
|
|
50358
|
+
* @param data
|
|
50362
50359
|
*/
|
|
50363
50360
|
|
|
50364
50361
|
|
|
@@ -50383,10 +50380,10 @@ function (_super) {
|
|
|
50383
50380
|
return v;
|
|
50384
50381
|
});
|
|
50385
50382
|
};
|
|
50386
|
-
/**
|
|
50387
|
-
* 渲染子节点
|
|
50388
|
-
* @param h
|
|
50389
|
-
* @param param
|
|
50383
|
+
/**
|
|
50384
|
+
* 渲染子节点
|
|
50385
|
+
* @param h
|
|
50386
|
+
* @param param
|
|
50390
50387
|
*/
|
|
50391
50388
|
|
|
50392
50389
|
|
|
@@ -51229,8 +51226,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
51229
51226
|
};
|
|
51230
51227
|
|
|
51231
51228
|
var global = window;
|
|
51232
|
-
/**
|
|
51233
|
-
* 公共配置
|
|
51229
|
+
/**
|
|
51230
|
+
* 公共配置
|
|
51234
51231
|
*/
|
|
51235
51232
|
|
|
51236
51233
|
var commonSetting = __assign({
|
|
@@ -51728,10 +51725,10 @@ function (_super) {
|
|
|
51728
51725
|
});
|
|
51729
51726
|
});
|
|
51730
51727
|
};
|
|
51731
|
-
/**
|
|
51732
|
-
* 渲染子节点
|
|
51733
|
-
* @param h
|
|
51734
|
-
* @param param
|
|
51728
|
+
/**
|
|
51729
|
+
* 渲染子节点
|
|
51730
|
+
* @param h
|
|
51731
|
+
* @param param
|
|
51735
51732
|
*/
|
|
51736
51733
|
|
|
51737
51734
|
|
|
@@ -52340,21 +52337,21 @@ function (_super) {
|
|
|
52340
52337
|
}, {
|
|
52341
52338
|
title: "名称",
|
|
52342
52339
|
key: "name",
|
|
52343
|
-
align: "
|
|
52340
|
+
align: "center",
|
|
52344
52341
|
class: "STRING",
|
|
52345
52342
|
ellipsis: true,
|
|
52346
52343
|
tooltip: true
|
|
52347
52344
|
}, {
|
|
52348
52345
|
title: "编码",
|
|
52349
52346
|
key: "code",
|
|
52350
|
-
align: "
|
|
52347
|
+
align: "center",
|
|
52351
52348
|
class: "STRING",
|
|
52352
52349
|
ellipsis: true,
|
|
52353
52350
|
tooltip: true
|
|
52354
52351
|
}, {
|
|
52355
52352
|
title: "描述",
|
|
52356
52353
|
key: "description",
|
|
52357
|
-
align: "
|
|
52354
|
+
align: "center",
|
|
52358
52355
|
class: "STRING",
|
|
52359
52356
|
ellipsis: true,
|
|
52360
52357
|
tooltip: true
|
|
@@ -52487,12 +52484,21 @@ function (_super) {
|
|
|
52487
52484
|
this.doQuery();
|
|
52488
52485
|
};
|
|
52489
52486
|
|
|
52487
|
+
ProjectCombineManage.prototype.onDetail = function (row) {
|
|
52488
|
+
var id = (row !== null && row !== void 0 ? row : {}).id;
|
|
52489
|
+
this.onAdd(id, false);
|
|
52490
|
+
};
|
|
52491
|
+
|
|
52490
52492
|
ProjectCombineManage.prototype.onEdit = function (row) {
|
|
52491
52493
|
var id = (row !== null && row !== void 0 ? row : {}).id;
|
|
52492
|
-
this.onAdd(id);
|
|
52494
|
+
this.onAdd(id, true);
|
|
52493
52495
|
};
|
|
52494
52496
|
|
|
52495
|
-
ProjectCombineManage.prototype.onAdd = function (id) {
|
|
52497
|
+
ProjectCombineManage.prototype.onAdd = function (id, isEdit) {
|
|
52498
|
+
if (isEdit === void 0) {
|
|
52499
|
+
isEdit = true;
|
|
52500
|
+
}
|
|
52501
|
+
|
|
52496
52502
|
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52497
52503
|
var _a;
|
|
52498
52504
|
|
|
@@ -52501,12 +52507,10 @@ function (_super) {
|
|
|
52501
52507
|
replace: true,
|
|
52502
52508
|
name: "combine-add",
|
|
52503
52509
|
query: (_a = {
|
|
52510
|
+
isEdit: isEdit ? "1" : "0",
|
|
52504
52511
|
id: id !== null && id !== void 0 ? id : "",
|
|
52505
52512
|
categoryId: this.currentNode.id
|
|
52506
|
-
}, _a["_".concat(id ? "edit" : "add")] = Date.now().toString(), _a)
|
|
52507
|
-
params: {
|
|
52508
|
-
title: id ? "" : "合并模型(新建)"
|
|
52509
|
-
}
|
|
52513
|
+
}, _a["_".concat(id ? "edit" : "add")] = Date.now().toString(), _a)
|
|
52510
52514
|
});
|
|
52511
52515
|
return [2
|
|
52512
52516
|
/*return*/
|
|
@@ -52515,6 +52519,80 @@ function (_super) {
|
|
|
52515
52519
|
});
|
|
52516
52520
|
};
|
|
52517
52521
|
|
|
52522
|
+
ProjectCombineManage.prototype.onDelete = function (row) {
|
|
52523
|
+
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52524
|
+
var id, res;
|
|
52525
|
+
return project_combine_generator(this, function (_a) {
|
|
52526
|
+
switch (_a.label) {
|
|
52527
|
+
case 0:
|
|
52528
|
+
id = row.id;
|
|
52529
|
+
|
|
52530
|
+
if (!id) {
|
|
52531
|
+
return [2
|
|
52532
|
+
/*return*/
|
|
52533
|
+
];
|
|
52534
|
+
}
|
|
52535
|
+
|
|
52536
|
+
return [4
|
|
52537
|
+
/*yield*/
|
|
52538
|
+
, this.service.batchDelete([id])];
|
|
52539
|
+
|
|
52540
|
+
case 1:
|
|
52541
|
+
res = _a.sent();
|
|
52542
|
+
|
|
52543
|
+
if (res && !res.hasError) {
|
|
52544
|
+
this.onQuery();
|
|
52545
|
+
}
|
|
52546
|
+
|
|
52547
|
+
return [2
|
|
52548
|
+
/*return*/
|
|
52549
|
+
];
|
|
52550
|
+
}
|
|
52551
|
+
});
|
|
52552
|
+
});
|
|
52553
|
+
};
|
|
52554
|
+
|
|
52555
|
+
ProjectCombineManage.prototype.onBatchDelete = function () {
|
|
52556
|
+
var _this = this;
|
|
52557
|
+
|
|
52558
|
+
var ids = this.selection.map(function (item) {
|
|
52559
|
+
return item.id;
|
|
52560
|
+
});
|
|
52561
|
+
|
|
52562
|
+
if (!ids.length) {
|
|
52563
|
+
return this.$message.warning("请先勾选需要删除的数据");
|
|
52564
|
+
}
|
|
52565
|
+
|
|
52566
|
+
this.$modal.confirm({
|
|
52567
|
+
title: "将批量删除所选内容,是否继续?",
|
|
52568
|
+
onOk: function onOk() {
|
|
52569
|
+
return project_combine_awaiter(_this, void 0, void 0, function () {
|
|
52570
|
+
var res;
|
|
52571
|
+
return project_combine_generator(this, function (_a) {
|
|
52572
|
+
switch (_a.label) {
|
|
52573
|
+
case 0:
|
|
52574
|
+
return [4
|
|
52575
|
+
/*yield*/
|
|
52576
|
+
, this.service.batchDelete(ids)];
|
|
52577
|
+
|
|
52578
|
+
case 1:
|
|
52579
|
+
res = _a.sent();
|
|
52580
|
+
|
|
52581
|
+
if (res && !res.hasError) {
|
|
52582
|
+
this.onQuery();
|
|
52583
|
+
this.selection = [];
|
|
52584
|
+
}
|
|
52585
|
+
|
|
52586
|
+
return [2
|
|
52587
|
+
/*return*/
|
|
52588
|
+
];
|
|
52589
|
+
}
|
|
52590
|
+
});
|
|
52591
|
+
});
|
|
52592
|
+
}
|
|
52593
|
+
});
|
|
52594
|
+
};
|
|
52595
|
+
|
|
52518
52596
|
ProjectCombineManage.prototype.onCopy = function (row) {
|
|
52519
52597
|
var rowData = row.$clone();
|
|
52520
52598
|
this.copyData = {
|
|
@@ -52591,80 +52669,6 @@ function (_super) {
|
|
|
52591
52669
|
this.copyData.categoryId = node.id;
|
|
52592
52670
|
};
|
|
52593
52671
|
|
|
52594
|
-
ProjectCombineManage.prototype.onDelete = function (row) {
|
|
52595
|
-
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52596
|
-
var id, res;
|
|
52597
|
-
return project_combine_generator(this, function (_a) {
|
|
52598
|
-
switch (_a.label) {
|
|
52599
|
-
case 0:
|
|
52600
|
-
id = row.id;
|
|
52601
|
-
|
|
52602
|
-
if (!id) {
|
|
52603
|
-
return [2
|
|
52604
|
-
/*return*/
|
|
52605
|
-
];
|
|
52606
|
-
}
|
|
52607
|
-
|
|
52608
|
-
return [4
|
|
52609
|
-
/*yield*/
|
|
52610
|
-
, this.service.batchDelete([id])];
|
|
52611
|
-
|
|
52612
|
-
case 1:
|
|
52613
|
-
res = _a.sent();
|
|
52614
|
-
|
|
52615
|
-
if (res && !res.hasError) {
|
|
52616
|
-
this.onQuery();
|
|
52617
|
-
}
|
|
52618
|
-
|
|
52619
|
-
return [2
|
|
52620
|
-
/*return*/
|
|
52621
|
-
];
|
|
52622
|
-
}
|
|
52623
|
-
});
|
|
52624
|
-
});
|
|
52625
|
-
};
|
|
52626
|
-
|
|
52627
|
-
ProjectCombineManage.prototype.onBatchDelete = function () {
|
|
52628
|
-
var _this = this;
|
|
52629
|
-
|
|
52630
|
-
var ids = this.selection.map(function (item) {
|
|
52631
|
-
return item.id;
|
|
52632
|
-
});
|
|
52633
|
-
|
|
52634
|
-
if (!ids.length) {
|
|
52635
|
-
return this.$message.warning("请先勾选需要删除的数据");
|
|
52636
|
-
}
|
|
52637
|
-
|
|
52638
|
-
this.$modal.confirm({
|
|
52639
|
-
title: "将批量删除所选内容,是否继续?",
|
|
52640
|
-
onOk: function onOk() {
|
|
52641
|
-
return project_combine_awaiter(_this, void 0, void 0, function () {
|
|
52642
|
-
var res;
|
|
52643
|
-
return project_combine_generator(this, function (_a) {
|
|
52644
|
-
switch (_a.label) {
|
|
52645
|
-
case 0:
|
|
52646
|
-
return [4
|
|
52647
|
-
/*yield*/
|
|
52648
|
-
, this.service.batchDelete(ids)];
|
|
52649
|
-
|
|
52650
|
-
case 1:
|
|
52651
|
-
res = _a.sent();
|
|
52652
|
-
|
|
52653
|
-
if (res && !res.hasError) {
|
|
52654
|
-
this.onQuery();
|
|
52655
|
-
this.selection = [];
|
|
52656
|
-
}
|
|
52657
|
-
|
|
52658
|
-
return [2
|
|
52659
|
-
/*return*/
|
|
52660
|
-
];
|
|
52661
|
-
}
|
|
52662
|
-
});
|
|
52663
|
-
});
|
|
52664
|
-
}
|
|
52665
|
-
});
|
|
52666
|
-
};
|
|
52667
|
-
|
|
52668
52672
|
ProjectCombineManage.prototype.onStatusChange = function (value, row, index) {
|
|
52669
52673
|
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52670
52674
|
var id, res;
|
|
@@ -52968,6 +52972,10 @@ function (_super) {
|
|
|
52968
52972
|
this.editor.setReadOnly(this.readOnly);
|
|
52969
52973
|
};
|
|
52970
52974
|
|
|
52975
|
+
BaseEditor.prototype.onReadOnlyChange = function () {
|
|
52976
|
+
this.editor.setReadOnly(this.readOnly);
|
|
52977
|
+
};
|
|
52978
|
+
|
|
52971
52979
|
base_editor_decorate([Object(flagwind_web_["propSync"])("data"), base_editor_metadata("design:type", String)], BaseEditor.prototype, "script", void 0);
|
|
52972
52980
|
|
|
52973
52981
|
base_editor_decorate([Object(flagwind_web_["config"])({
|
|
@@ -52975,6 +52983,8 @@ function (_super) {
|
|
|
52975
52983
|
default: false
|
|
52976
52984
|
}), base_editor_metadata("design:type", Boolean)], BaseEditor.prototype, "readOnly", void 0);
|
|
52977
52985
|
|
|
52986
|
+
base_editor_decorate([Object(flagwind_web_["watch"])("readOnly"), base_editor_metadata("design:type", Function), base_editor_metadata("design:paramtypes", []), base_editor_metadata("design:returntype", void 0)], BaseEditor.prototype, "onReadOnlyChange", null);
|
|
52987
|
+
|
|
52978
52988
|
BaseEditor = base_editor_decorate([Object(flagwind_web_["component"])({
|
|
52979
52989
|
template: __webpack_require__("e718"),
|
|
52980
52990
|
components: {
|
|
@@ -53303,45 +53313,30 @@ function (_super) {
|
|
|
53303
53313
|
title: "全选",
|
|
53304
53314
|
align: "center",
|
|
53305
53315
|
width: 60
|
|
53306
|
-
}, {
|
|
53307
|
-
title: "编码",
|
|
53308
|
-
align: "center",
|
|
53309
|
-
key: "code",
|
|
53310
|
-
class: "STRING",
|
|
53311
|
-
ellipsis: true,
|
|
53312
|
-
tooltip: true
|
|
53313
53316
|
}, {
|
|
53314
53317
|
title: "名称",
|
|
53315
53318
|
align: "center",
|
|
53316
|
-
key: "name"
|
|
53317
|
-
class: "STRING",
|
|
53318
|
-
ellipsis: true,
|
|
53319
|
-
tooltip: true
|
|
53319
|
+
key: "name"
|
|
53320
53320
|
}, {
|
|
53321
|
-
title: "
|
|
53321
|
+
title: "编码",
|
|
53322
53322
|
align: "center",
|
|
53323
|
-
key: "
|
|
53324
|
-
class: "STRING",
|
|
53325
|
-
ellipsis: true,
|
|
53326
|
-
tooltip: true
|
|
53323
|
+
key: "code"
|
|
53327
53324
|
}, {
|
|
53328
|
-
title: "
|
|
53325
|
+
title: "数据源",
|
|
53329
53326
|
align: "center",
|
|
53330
|
-
key: "
|
|
53331
|
-
class: "STRING",
|
|
53332
|
-
ellipsis: true,
|
|
53333
|
-
tooltip: true
|
|
53327
|
+
key: "sourceName"
|
|
53334
53328
|
}, {
|
|
53335
53329
|
title: "是否开启缓存",
|
|
53336
53330
|
align: "center",
|
|
53337
|
-
|
|
53331
|
+
slot: "enableCache"
|
|
53338
53332
|
}, {
|
|
53339
53333
|
title: "过期时间(s)",
|
|
53340
53334
|
align: "center",
|
|
53341
|
-
key: "expireSeconds"
|
|
53342
|
-
|
|
53343
|
-
|
|
53344
|
-
|
|
53335
|
+
key: "expireSeconds"
|
|
53336
|
+
}, {
|
|
53337
|
+
title: "描述",
|
|
53338
|
+
align: "center",
|
|
53339
|
+
key: "description"
|
|
53345
53340
|
}, {
|
|
53346
53341
|
title: "接口文档",
|
|
53347
53342
|
align: "center",
|
|
@@ -55453,6 +55448,11 @@ var request_parameter_list = __webpack_require__("9e10");
|
|
|
55453
55448
|
|
|
55454
55449
|
|
|
55455
55450
|
|
|
55451
|
+
|
|
55452
|
+
|
|
55453
|
+
|
|
55454
|
+
|
|
55455
|
+
|
|
55456
55456
|
|
|
55457
55457
|
var request_parameter_list_extends = undefined && undefined.__extends || function () {
|
|
55458
55458
|
var _extendStatics = function extendStatics(d, b) {
|
|
@@ -55639,6 +55639,16 @@ var request_parameter_list_generator = undefined && undefined.__generator || fun
|
|
|
55639
55639
|
}
|
|
55640
55640
|
};
|
|
55641
55641
|
|
|
55642
|
+
var request_parameter_list_spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
|
|
55643
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
55644
|
+
if (ar || !(i in from)) {
|
|
55645
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
55646
|
+
ar[i] = from[i];
|
|
55647
|
+
}
|
|
55648
|
+
}
|
|
55649
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
55650
|
+
};
|
|
55651
|
+
|
|
55642
55652
|
|
|
55643
55653
|
|
|
55644
55654
|
|
|
@@ -55654,6 +55664,10 @@ function (_super) {
|
|
|
55654
55664
|
|
|
55655
55665
|
|
|
55656
55666
|
_this.columns = [{
|
|
55667
|
+
type: "selection",
|
|
55668
|
+
width: 60,
|
|
55669
|
+
align: "center"
|
|
55670
|
+
}, {
|
|
55657
55671
|
title: "参数名",
|
|
55658
55672
|
align: "center",
|
|
55659
55673
|
slot: "name",
|
|
@@ -55664,22 +55678,33 @@ function (_super) {
|
|
|
55664
55678
|
title: "类型",
|
|
55665
55679
|
align: "center",
|
|
55666
55680
|
slot: "type",
|
|
55681
|
+
width: 130,
|
|
55667
55682
|
class: "STRING",
|
|
55668
55683
|
ellipsis: true,
|
|
55669
55684
|
tooltip: true
|
|
55670
55685
|
}, {
|
|
55671
|
-
title: "
|
|
55686
|
+
title: "是否必传",
|
|
55672
55687
|
align: "center",
|
|
55673
|
-
slot: "
|
|
55688
|
+
slot: "required",
|
|
55689
|
+
width: 120
|
|
55690
|
+
}, {
|
|
55691
|
+
title: "默认值",
|
|
55692
|
+
align: "center",
|
|
55693
|
+
slot: "defaultValue",
|
|
55674
55694
|
class: "STRING",
|
|
55675
55695
|
ellipsis: true,
|
|
55676
55696
|
tooltip: true
|
|
55677
55697
|
}, {
|
|
55678
|
-
title: "
|
|
55698
|
+
title: "描述",
|
|
55679
55699
|
align: "center",
|
|
55680
|
-
slot: "
|
|
55700
|
+
slot: "description",
|
|
55701
|
+
class: "STRING",
|
|
55702
|
+
ellipsis: true,
|
|
55703
|
+
tooltip: true
|
|
55681
55704
|
}];
|
|
55682
55705
|
_this.typeList = [];
|
|
55706
|
+
_this.selections = []; // 列表中选中的数据
|
|
55707
|
+
|
|
55683
55708
|
_this.booleanObj = {
|
|
55684
55709
|
false: 0,
|
|
55685
55710
|
true: 1
|
|
@@ -55687,6 +55712,18 @@ function (_super) {
|
|
|
55687
55712
|
return _this;
|
|
55688
55713
|
}
|
|
55689
55714
|
|
|
55715
|
+
RequestParameterList.prototype.mounted = function () {
|
|
55716
|
+
if (this.isEdit) {
|
|
55717
|
+
this.columns = request_parameter_list_spreadArray(request_parameter_list_spreadArray([], this.columns, true), [{
|
|
55718
|
+
title: "操作",
|
|
55719
|
+
align: "center",
|
|
55720
|
+
slot: "actions"
|
|
55721
|
+
}], false);
|
|
55722
|
+
}
|
|
55723
|
+
|
|
55724
|
+
this.getTypeList();
|
|
55725
|
+
};
|
|
55726
|
+
|
|
55690
55727
|
RequestParameterList.prototype.onEdit = function (row) {
|
|
55691
55728
|
this.$set(row, "isEdit", true);
|
|
55692
55729
|
};
|
|
@@ -55699,9 +55736,39 @@ function (_super) {
|
|
|
55699
55736
|
this.data.splice(index, 1);
|
|
55700
55737
|
};
|
|
55701
55738
|
|
|
55739
|
+
RequestParameterList.prototype.onBatchDelete = function () {
|
|
55740
|
+
var _this = this; // 对所有选中行的id与原data对比,若有相同的id,则视为该行数据是要被删除的数据
|
|
55741
|
+
|
|
55742
|
+
|
|
55743
|
+
if (this.selections && this.selections.length === 0) {
|
|
55744
|
+
this.$message.warning("请先勾选需要删除的数据");
|
|
55745
|
+
return;
|
|
55746
|
+
}
|
|
55747
|
+
|
|
55748
|
+
this.$modal.confirm({
|
|
55749
|
+
title: "将批量删除所选内容,是否继续?",
|
|
55750
|
+
onOk: function onOk() {
|
|
55751
|
+
_this.selections.forEach(function (s) {
|
|
55752
|
+
var index = _this.data.findIndex(function (d) {
|
|
55753
|
+
return d.id === s.id;
|
|
55754
|
+
});
|
|
55755
|
+
|
|
55756
|
+
if (index > -1) {
|
|
55757
|
+
_this.data.splice(index, 1);
|
|
55758
|
+
}
|
|
55759
|
+
});
|
|
55760
|
+
|
|
55761
|
+
_this.selections = [];
|
|
55762
|
+
}
|
|
55763
|
+
});
|
|
55764
|
+
};
|
|
55765
|
+
|
|
55702
55766
|
RequestParameterList.prototype.onAdd = function () {
|
|
55703
55767
|
this.data.push({
|
|
55704
|
-
isEdit: true
|
|
55768
|
+
isEdit: true,
|
|
55769
|
+
id: Math.random().toString(36).slice(-8).toString(),
|
|
55770
|
+
required: false,
|
|
55771
|
+
type: "STRING"
|
|
55705
55772
|
});
|
|
55706
55773
|
};
|
|
55707
55774
|
|
|
@@ -55720,10 +55787,6 @@ function (_super) {
|
|
|
55720
55787
|
}
|
|
55721
55788
|
};
|
|
55722
55789
|
|
|
55723
|
-
RequestParameterList.prototype.mounted = function () {
|
|
55724
|
-
this.getTypeList();
|
|
55725
|
-
};
|
|
55726
|
-
|
|
55727
55790
|
RequestParameterList.prototype.getTypeList = function () {
|
|
55728
55791
|
return request_parameter_list_awaiter(this, void 0, void 0, function () {
|
|
55729
55792
|
var result;
|
|
@@ -55753,6 +55816,14 @@ function (_super) {
|
|
|
55753
55816
|
}).text;
|
|
55754
55817
|
};
|
|
55755
55818
|
|
|
55819
|
+
RequestParameterList.prototype.onChangeRequired = function (value, row) {
|
|
55820
|
+
row.required = !!value;
|
|
55821
|
+
};
|
|
55822
|
+
|
|
55823
|
+
RequestParameterList.prototype.onSelectionChange = function (selections) {
|
|
55824
|
+
this.selections = selections;
|
|
55825
|
+
};
|
|
55826
|
+
|
|
55756
55827
|
var _a, _b;
|
|
55757
55828
|
|
|
55758
55829
|
request_parameter_list_decorate([Object(flagwind_web_["config"])({
|
|
@@ -55761,6 +55832,10 @@ function (_super) {
|
|
|
55761
55832
|
}
|
|
55762
55833
|
}), request_parameter_list_metadata("design:type", typeof (_a = typeof Array !== "undefined" && Array) === "function" ? _a : Object)], RequestParameterList.prototype, "data", void 0);
|
|
55763
55834
|
|
|
55835
|
+
request_parameter_list_decorate([Object(flagwind_web_["config"])({
|
|
55836
|
+
default: true
|
|
55837
|
+
}), request_parameter_list_metadata("design:type", Boolean)], RequestParameterList.prototype, "isEdit", void 0);
|
|
55838
|
+
|
|
55764
55839
|
request_parameter_list_decorate([autowired(project_combine_service), request_parameter_list_metadata("design:type", typeof (_b = typeof project_combine_service !== "undefined" && project_combine_service) === "function" ? _b : Object)], RequestParameterList.prototype, "service", void 0);
|
|
55765
55840
|
|
|
55766
55841
|
RequestParameterList = request_parameter_list_decorate([Object(flagwind_web_["component"])({
|
|
@@ -55825,10 +55900,6 @@ function (_super) {
|
|
|
55825
55900
|
class: "STRING",
|
|
55826
55901
|
ellipsis: true,
|
|
55827
55902
|
tooltip: true
|
|
55828
|
-
}, {
|
|
55829
|
-
title: "操作",
|
|
55830
|
-
align: "center",
|
|
55831
|
-
slot: "actions"
|
|
55832
55903
|
}];
|
|
55833
55904
|
return _this;
|
|
55834
55905
|
}
|
|
@@ -56042,6 +56113,7 @@ var combine_model = __webpack_require__("2e28");
|
|
|
56042
56113
|
|
|
56043
56114
|
|
|
56044
56115
|
|
|
56116
|
+
|
|
56045
56117
|
|
|
56046
56118
|
|
|
56047
56119
|
var combine_model_extends = undefined && undefined.__extends || function () {
|
|
@@ -56285,9 +56357,12 @@ function (_super) {
|
|
|
56285
56357
|
reqParams: [],
|
|
56286
56358
|
respParams: []
|
|
56287
56359
|
};
|
|
56360
|
+
_this.title = "合并模型";
|
|
56288
56361
|
_this.id = "";
|
|
56289
56362
|
_this.categoryId = "";
|
|
56290
56363
|
_this.saveing = false;
|
|
56364
|
+
_this.isEdit = false;
|
|
56365
|
+
_this.isAdd = false;
|
|
56291
56366
|
_this.rules = {
|
|
56292
56367
|
name: [{
|
|
56293
56368
|
required: true,
|
|
@@ -56338,15 +56413,6 @@ function (_super) {
|
|
|
56338
56413
|
return _this;
|
|
56339
56414
|
}
|
|
56340
56415
|
|
|
56341
|
-
Object.defineProperty(ProjectCombineModel.prototype, "isEdit", {
|
|
56342
|
-
get: function get() {
|
|
56343
|
-
var _a;
|
|
56344
|
-
|
|
56345
|
-
return !!((_a = this.model) === null || _a === void 0 ? void 0 : _a.id);
|
|
56346
|
-
},
|
|
56347
|
-
enumerable: false,
|
|
56348
|
-
configurable: true
|
|
56349
|
-
});
|
|
56350
56416
|
Object.defineProperty(ProjectCombineModel.prototype, "dataModelRelations", {
|
|
56351
56417
|
get: function get() {
|
|
56352
56418
|
var _a, _b;
|
|
@@ -56387,12 +56453,16 @@ function (_super) {
|
|
|
56387
56453
|
|
|
56388
56454
|
ProjectCombineModel.prototype.init = function () {
|
|
56389
56455
|
var _a = this.$route.query || {},
|
|
56456
|
+
isEdit = _a.isEdit,
|
|
56390
56457
|
_b = _a.id,
|
|
56391
56458
|
id = _b === void 0 ? "" : _b,
|
|
56392
56459
|
_c = _a.categoryId,
|
|
56393
56460
|
categoryId = _c === void 0 ? "" : _c;
|
|
56394
56461
|
|
|
56462
|
+
this.isEdit = Number(isEdit) === 1;
|
|
56463
|
+
this.isAdd = this.isEdit && !!id;
|
|
56395
56464
|
this.categoryId = categoryId;
|
|
56465
|
+
this.title = !this.isEdit ? "合并模型详情" : this.isAdd ? "新增模型详情" : "编辑合并模型";
|
|
56396
56466
|
|
|
56397
56467
|
if (id !== this.id) {
|
|
56398
56468
|
this.id = id;
|
|
@@ -56652,6 +56722,7 @@ function (_super) {
|
|
|
56652
56722
|
return combine_model_assign(combine_model_assign({}, r), {
|
|
56653
56723
|
relationType: relationType,
|
|
56654
56724
|
relationTypeId: r.apiId,
|
|
56725
|
+
required: false,
|
|
56655
56726
|
type: "STRING"
|
|
56656
56727
|
});
|
|
56657
56728
|
});
|
|
@@ -56748,8 +56819,11 @@ function (_super) {
|
|
|
56748
56819
|
return combine_model_generator(this, function (_b) {
|
|
56749
56820
|
switch (_b.label) {
|
|
56750
56821
|
case 0:
|
|
56751
|
-
_b.trys.push([0,
|
|
56822
|
+
_b.trys.push([0, 3,, 4]);
|
|
56752
56823
|
|
|
56824
|
+
if (!this.isEdit) return [3
|
|
56825
|
+
/*break*/
|
|
56826
|
+
, 2];
|
|
56753
56827
|
return [4
|
|
56754
56828
|
/*yield*/
|
|
56755
56829
|
, this.onSave(false)];
|
|
@@ -56757,18 +56831,21 @@ function (_super) {
|
|
|
56757
56831
|
case 1:
|
|
56758
56832
|
_b.sent();
|
|
56759
56833
|
|
|
56834
|
+
_b.label = 2;
|
|
56835
|
+
|
|
56836
|
+
case 2:
|
|
56760
56837
|
this.testShow = true;
|
|
56761
56838
|
return [3
|
|
56762
56839
|
/*break*/
|
|
56763
|
-
,
|
|
56840
|
+
, 4];
|
|
56764
56841
|
|
|
56765
|
-
case
|
|
56842
|
+
case 3:
|
|
56766
56843
|
_a = _b.sent();
|
|
56767
56844
|
return [3
|
|
56768
56845
|
/*break*/
|
|
56769
|
-
,
|
|
56846
|
+
, 4];
|
|
56770
56847
|
|
|
56771
|
-
case
|
|
56848
|
+
case 4:
|
|
56772
56849
|
return [2
|
|
56773
56850
|
/*return*/
|
|
56774
56851
|
];
|
|
@@ -62472,8 +62549,8 @@ function (_super) {
|
|
|
62472
62549
|
};
|
|
62473
62550
|
this.showGroupModal = true;
|
|
62474
62551
|
};
|
|
62475
|
-
/**
|
|
62476
|
-
* 输入关键字对数据进行过滤
|
|
62552
|
+
/**
|
|
62553
|
+
* 输入关键字对数据进行过滤
|
|
62477
62554
|
*/
|
|
62478
62555
|
|
|
62479
62556
|
|
|
@@ -62485,9 +62562,9 @@ function (_super) {
|
|
|
62485
62562
|
|
|
62486
62563
|
this.renderData = this.filterData(this.data.$clone());
|
|
62487
62564
|
};
|
|
62488
|
-
/**
|
|
62489
|
-
* 判断一个节点是否是与关键字匹配的叶子节点,或者是包含符合条件的叶子节点的祖先节点
|
|
62490
|
-
* @param node
|
|
62565
|
+
/**
|
|
62566
|
+
* 判断一个节点是否是与关键字匹配的叶子节点,或者是包含符合条件的叶子节点的祖先节点
|
|
62567
|
+
* @param node
|
|
62491
62568
|
*/
|
|
62492
62569
|
|
|
62493
62570
|
|
|
@@ -62504,9 +62581,9 @@ function (_super) {
|
|
|
62504
62581
|
return flag_1;
|
|
62505
62582
|
}
|
|
62506
62583
|
};
|
|
62507
|
-
/**
|
|
62508
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
62509
|
-
* @param data
|
|
62584
|
+
/**
|
|
62585
|
+
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
62586
|
+
* @param data
|
|
62510
62587
|
*/
|
|
62511
62588
|
|
|
62512
62589
|
|