@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.common.js
CHANGED
|
@@ -21212,14 +21212,14 @@ module.exports = function (obj) {
|
|
|
21212
21212
|
/***/ "086a":
|
|
21213
21213
|
/***/ (function(module, exports) {
|
|
21214
21214
|
|
|
21215
|
-
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\">\
|
|
21215
|
+
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"
|
|
21216
21216
|
|
|
21217
21217
|
/***/ }),
|
|
21218
21218
|
|
|
21219
21219
|
/***/ "0941":
|
|
21220
21220
|
/***/ (function(module, exports) {
|
|
21221
21221
|
|
|
21222
|
-
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\">\
|
|
21222
|
+
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"
|
|
21223
21223
|
|
|
21224
21224
|
/***/ }),
|
|
21225
21225
|
|
|
@@ -22337,7 +22337,7 @@ module.exports = fails(function () {
|
|
|
22337
22337
|
/***/ "10cf":
|
|
22338
22338
|
/***/ (function(module, exports) {
|
|
22339
22339
|
|
|
22340
|
-
module.exports = "<i-modal\
|
|
22340
|
+
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"
|
|
22341
22341
|
|
|
22342
22342
|
/***/ }),
|
|
22343
22343
|
|
|
@@ -24809,7 +24809,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
24809
24809
|
/***/ "22e8":
|
|
24810
24810
|
/***/ (function(module, exports) {
|
|
24811
24811
|
|
|
24812
|
-
module.exports = "<article class=\"headers-setting\">\
|
|
24812
|
+
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"
|
|
24813
24813
|
|
|
24814
24814
|
/***/ }),
|
|
24815
24815
|
|
|
@@ -26135,7 +26135,7 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bin
|
|
|
26135
26135
|
/***/ "2c48":
|
|
26136
26136
|
/***/ (function(module, exports) {
|
|
26137
26137
|
|
|
26138
|
-
module.exports = "<article class=\"response\">\
|
|
26138
|
+
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"
|
|
26139
26139
|
|
|
26140
26140
|
/***/ }),
|
|
26141
26141
|
|
|
@@ -26383,7 +26383,7 @@ module.exports = function (it) {
|
|
|
26383
26383
|
/***/ "35e3":
|
|
26384
26384
|
/***/ (function(module, exports) {
|
|
26385
26385
|
|
|
26386
|
-
module.exports = "<editor class=\"code-edit\" v-model=\"code\" :options=\"option\" @init=\"editorInit\" :lang=\"lang\" width=\"100%\" height=\"100%\"></editor>\
|
|
26386
|
+
module.exports = "<editor class=\"code-edit\" v-model=\"code\" :options=\"option\" @init=\"editorInit\" :lang=\"lang\" width=\"100%\" height=\"100%\"></editor>\n"
|
|
26387
26387
|
|
|
26388
26388
|
/***/ }),
|
|
26389
26389
|
|
|
@@ -26416,14 +26416,14 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
26416
26416
|
/***/ "37f5":
|
|
26417
26417
|
/***/ (function(module, exports) {
|
|
26418
26418
|
|
|
26419
|
-
module.exports = "<article class=\"catalog-params\">\
|
|
26419
|
+
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"
|
|
26420
26420
|
|
|
26421
26421
|
/***/ }),
|
|
26422
26422
|
|
|
26423
26423
|
/***/ "3a71":
|
|
26424
26424
|
/***/ (function(module, exports) {
|
|
26425
26425
|
|
|
26426
|
-
module.exports = "<i-collapse v-model=\"value\" simple class=\"api-params\">\
|
|
26426
|
+
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"
|
|
26427
26427
|
|
|
26428
26428
|
/***/ }),
|
|
26429
26429
|
|
|
@@ -26440,7 +26440,7 @@ module.exports = uncurryThis({}.isPrototypeOf);
|
|
|
26440
26440
|
/***/ "3b85":
|
|
26441
26441
|
/***/ (function(module, exports) {
|
|
26442
26442
|
|
|
26443
|
-
module.exports = "<i-modal :mask-closable=\"false\" draggable sticky reset-drag-position v-model=\"show\" class=\"diy-modal\">\
|
|
26443
|
+
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"
|
|
26444
26444
|
|
|
26445
26445
|
/***/ }),
|
|
26446
26446
|
|
|
@@ -26623,7 +26623,7 @@ module.exports = function (it) {
|
|
|
26623
26623
|
/***/ "45bb":
|
|
26624
26624
|
/***/ (function(module, exports) {
|
|
26625
26625
|
|
|
26626
|
-
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>\
|
|
26626
|
+
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"
|
|
26627
26627
|
|
|
26628
26628
|
/***/ }),
|
|
26629
26629
|
|
|
@@ -26699,7 +26699,7 @@ module.exports = "<article class=\"u-common-tree u-type-tree\">\n <slot name=
|
|
|
26699
26699
|
/***/ "470f":
|
|
26700
26700
|
/***/ (function(module, exports) {
|
|
26701
26701
|
|
|
26702
|
-
module.exports = "<i-modal\
|
|
26702
|
+
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"
|
|
26703
26703
|
|
|
26704
26704
|
/***/ }),
|
|
26705
26705
|
|
|
@@ -38481,7 +38481,7 @@ module.exports = !$assign || fails(function () {
|
|
|
38481
38481
|
/***/ "6255":
|
|
38482
38482
|
/***/ (function(module, exports) {
|
|
38483
38483
|
|
|
38484
|
-
module.exports = "<i-modal\
|
|
38484
|
+
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"
|
|
38485
38485
|
|
|
38486
38486
|
/***/ }),
|
|
38487
38487
|
|
|
@@ -38934,7 +38934,7 @@ ace.define("ace/snippets/javascript",["require","exports","module"],function(e,t
|
|
|
38934
38934
|
/***/ "6d46":
|
|
38935
38935
|
/***/ (function(module, exports) {
|
|
38936
38936
|
|
|
38937
|
-
module.exports = "<article class=\"u-common-tree\" :class=\"className.join(' ')\">\
|
|
38937
|
+
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"
|
|
38938
38938
|
|
|
38939
38939
|
/***/ }),
|
|
38940
38940
|
|
|
@@ -39666,7 +39666,7 @@ module.exports = function (NAME) {
|
|
|
39666
39666
|
/***/ "7640":
|
|
39667
39667
|
/***/ (function(module, exports) {
|
|
39668
39668
|
|
|
39669
|
-
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"
|
|
39669
|
+
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"
|
|
39670
39670
|
|
|
39671
39671
|
/***/ }),
|
|
39672
39672
|
|
|
@@ -40436,7 +40436,7 @@ module.exports = function (argument) {
|
|
|
40436
40436
|
/***/ "82af":
|
|
40437
40437
|
/***/ (function(module, exports) {
|
|
40438
40438
|
|
|
40439
|
-
module.exports = "<div class=\"v-data-modal-list-container\">\
|
|
40439
|
+
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"
|
|
40440
40440
|
|
|
40441
40441
|
/***/ }),
|
|
40442
40442
|
|
|
@@ -41681,7 +41681,7 @@ module.exports = function (S, index, unicode) {
|
|
|
41681
41681
|
/***/ "8ab8":
|
|
41682
41682
|
/***/ (function(module, exports) {
|
|
41683
41683
|
|
|
41684
|
-
module.exports = "<article class=\"pre-execution-setting\">\
|
|
41684
|
+
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"
|
|
41685
41685
|
|
|
41686
41686
|
/***/ }),
|
|
41687
41687
|
|
|
@@ -42045,7 +42045,7 @@ dom.importCssString(exports.cssText, exports.cssClass);
|
|
|
42045
42045
|
/***/ "981a":
|
|
42046
42046
|
/***/ (function(module, exports) {
|
|
42047
42047
|
|
|
42048
|
-
module.exports = "<div class=\"v-api-project-list-container\">\
|
|
42048
|
+
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"
|
|
42049
42049
|
|
|
42050
42050
|
/***/ }),
|
|
42051
42051
|
|
|
@@ -42552,7 +42552,7 @@ module.exports = function (argument, usingIterator) {
|
|
|
42552
42552
|
/***/ "9b44":
|
|
42553
42553
|
/***/ (function(module, exports) {
|
|
42554
42554
|
|
|
42555
|
-
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\
|
|
42555
|
+
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"
|
|
42556
42556
|
|
|
42557
42557
|
/***/ }),
|
|
42558
42558
|
|
|
@@ -42705,7 +42705,7 @@ module.exports = function (argument) {
|
|
|
42705
42705
|
/***/ "a0f2":
|
|
42706
42706
|
/***/ (function(module, exports) {
|
|
42707
42707
|
|
|
42708
|
-
module.exports = "<article class=\"catalog-params\">\
|
|
42708
|
+
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"
|
|
42709
42709
|
|
|
42710
42710
|
/***/ }),
|
|
42711
42711
|
|
|
@@ -42719,14 +42719,14 @@ module.exports = "<article class=\"catalog-params\">\r\n <i-table height=\"20
|
|
|
42719
42719
|
/***/ "a1f0":
|
|
42720
42720
|
/***/ (function(module, exports) {
|
|
42721
42721
|
|
|
42722
|
-
module.exports = "<i-poptip\
|
|
42722
|
+
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"
|
|
42723
42723
|
|
|
42724
42724
|
/***/ }),
|
|
42725
42725
|
|
|
42726
42726
|
/***/ "a406":
|
|
42727
42727
|
/***/ (function(module, exports) {
|
|
42728
42728
|
|
|
42729
|
-
module.exports = "<span>\
|
|
42729
|
+
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"
|
|
42730
42730
|
|
|
42731
42731
|
/***/ }),
|
|
42732
42732
|
|
|
@@ -43295,7 +43295,7 @@ module.exports = function (METHOD_NAME) {
|
|
|
43295
43295
|
/***/ "ab68":
|
|
43296
43296
|
/***/ (function(module, exports) {
|
|
43297
43297
|
|
|
43298
|
-
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详情\">\
|
|
43298
|
+
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"
|
|
43299
43299
|
|
|
43300
43300
|
/***/ }),
|
|
43301
43301
|
|
|
@@ -45777,7 +45777,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
45777
45777
|
/***/ "b676":
|
|
45778
45778
|
/***/ (function(module, exports) {
|
|
45779
45779
|
|
|
45780
|
-
module.exports = "<article class=\"security-setting\">\
|
|
45780
|
+
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"
|
|
45781
45781
|
|
|
45782
45782
|
/***/ }),
|
|
45783
45783
|
|
|
@@ -45864,7 +45864,7 @@ module.exports = {
|
|
|
45864
45864
|
/***/ "b769":
|
|
45865
45865
|
/***/ (function(module, exports) {
|
|
45866
45866
|
|
|
45867
|
-
module.exports = "<article class=\"project-comment\">\
|
|
45867
|
+
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"
|
|
45868
45868
|
|
|
45869
45869
|
/***/ }),
|
|
45870
45870
|
|
|
@@ -46680,7 +46680,7 @@ exports.Mode = Mode;
|
|
|
46680
46680
|
/***/ "bc13":
|
|
46681
46681
|
/***/ (function(module, exports) {
|
|
46682
46682
|
|
|
46683
|
-
module.exports = "<div class=\"confirm\">\
|
|
46683
|
+
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"
|
|
46684
46684
|
|
|
46685
46685
|
/***/ }),
|
|
46686
46686
|
|
|
@@ -46708,7 +46708,7 @@ module.exports = require("js-cookie");
|
|
|
46708
46708
|
/***/ "c01f":
|
|
46709
46709
|
/***/ (function(module, exports) {
|
|
46710
46710
|
|
|
46711
|
-
module.exports = "<article class=\"group-select\">\
|
|
46711
|
+
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"
|
|
46712
46712
|
|
|
46713
46713
|
/***/ }),
|
|
46714
46714
|
|
|
@@ -46969,7 +46969,7 @@ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
|
46969
46969
|
/***/ "ccf6":
|
|
46970
46970
|
/***/ (function(module, exports) {
|
|
46971
46971
|
|
|
46972
|
-
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\" ? \"已发布\" : \"
|
|
46972
|
+
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"
|
|
46973
46973
|
|
|
46974
46974
|
/***/ }),
|
|
46975
46975
|
|
|
@@ -47142,7 +47142,7 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
47142
47142
|
/***/ "d30a":
|
|
47143
47143
|
/***/ (function(module, exports) {
|
|
47144
47144
|
|
|
47145
|
-
module.exports = "<div class=\"u-selector-tree-node\" @click=\"onClickNode\">\
|
|
47145
|
+
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"
|
|
47146
47146
|
|
|
47147
47147
|
/***/ }),
|
|
47148
47148
|
|
|
@@ -47195,7 +47195,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
|
|
|
47195
47195
|
/***/ "d63e":
|
|
47196
47196
|
/***/ (function(module, exports) {
|
|
47197
47197
|
|
|
47198
|
-
module.exports = "<article class=\"project-detail\">\
|
|
47198
|
+
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"
|
|
47199
47199
|
|
|
47200
47200
|
/***/ }),
|
|
47201
47201
|
|
|
@@ -47324,14 +47324,14 @@ module.exports = fails(function () {
|
|
|
47324
47324
|
/***/ "d8b4":
|
|
47325
47325
|
/***/ (function(module, exports) {
|
|
47326
47326
|
|
|
47327
|
-
module.exports = "<div class=\"v-parameter-list-container\">\
|
|
47327
|
+
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"
|
|
47328
47328
|
|
|
47329
47329
|
/***/ }),
|
|
47330
47330
|
|
|
47331
47331
|
/***/ "d8e7":
|
|
47332
47332
|
/***/ (function(module, exports) {
|
|
47333
47333
|
|
|
47334
|
-
module.exports = "<!DOCTYPE html>\
|
|
47334
|
+
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"
|
|
47335
47335
|
|
|
47336
47336
|
/***/ }),
|
|
47337
47337
|
|
|
@@ -47345,7 +47345,7 @@ module.exports = "<!DOCTYPE html>\r\n<article class=\"v-api-combine-info-wrapper
|
|
|
47345
47345
|
/***/ "d953":
|
|
47346
47346
|
/***/ (function(module, exports) {
|
|
47347
47347
|
|
|
47348
|
-
module.exports = "<div class=\"interface-tree-node\" @click=\"onClick\">\
|
|
47348
|
+
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"
|
|
47349
47349
|
|
|
47350
47350
|
/***/ }),
|
|
47351
47351
|
|
|
@@ -47628,11 +47628,11 @@ module.exports = !fails(function () {
|
|
|
47628
47628
|
|
|
47629
47629
|
|
|
47630
47630
|
var commonSetting = global.commonSetting;
|
|
47631
|
-
/**
|
|
47632
|
-
* 业务服务基类。
|
|
47633
|
-
* @abstract
|
|
47634
|
-
* @class
|
|
47635
|
-
* @version 1.0.0
|
|
47631
|
+
/**
|
|
47632
|
+
* 业务服务基类。
|
|
47633
|
+
* @abstract
|
|
47634
|
+
* @class
|
|
47635
|
+
* @version 1.0.0
|
|
47636
47636
|
*/
|
|
47637
47637
|
|
|
47638
47638
|
var ServiceBase =
|
|
@@ -47643,10 +47643,10 @@ function () {
|
|
|
47643
47643
|
ServiceBase.prototype.url = function (url) {
|
|
47644
47644
|
return commonSetting.baseUrl + url;
|
|
47645
47645
|
};
|
|
47646
|
-
/**
|
|
47647
|
-
* 发送post请求
|
|
47648
|
-
* @param url 请求地址
|
|
47649
|
-
* @param data 发送的参数
|
|
47646
|
+
/**
|
|
47647
|
+
* 发送post请求
|
|
47648
|
+
* @param url 请求地址
|
|
47649
|
+
* @param data 发送的参数
|
|
47650
47650
|
*/
|
|
47651
47651
|
|
|
47652
47652
|
|
|
@@ -47655,9 +47655,9 @@ function () {
|
|
|
47655
47655
|
return res.data;
|
|
47656
47656
|
});
|
|
47657
47657
|
};
|
|
47658
|
-
/**
|
|
47659
|
-
* 发送get请求
|
|
47660
|
-
* @param url 请求地址
|
|
47658
|
+
/**
|
|
47659
|
+
* 发送get请求
|
|
47660
|
+
* @param url 请求地址
|
|
47661
47661
|
*/
|
|
47662
47662
|
|
|
47663
47663
|
|
|
@@ -47666,10 +47666,10 @@ function () {
|
|
|
47666
47666
|
return res.data;
|
|
47667
47667
|
});
|
|
47668
47668
|
};
|
|
47669
|
-
/**
|
|
47670
|
-
* 发送put请求
|
|
47671
|
-
* @param url 请求地址
|
|
47672
|
-
* @param data 请求参数
|
|
47669
|
+
/**
|
|
47670
|
+
* 发送put请求
|
|
47671
|
+
* @param url 请求地址
|
|
47672
|
+
* @param data 请求参数
|
|
47673
47673
|
*/
|
|
47674
47674
|
|
|
47675
47675
|
|
|
@@ -47678,9 +47678,9 @@ function () {
|
|
|
47678
47678
|
return res.data;
|
|
47679
47679
|
});
|
|
47680
47680
|
};
|
|
47681
|
-
/**
|
|
47682
|
-
* 发送delete请求 请求地址
|
|
47683
|
-
* @param url
|
|
47681
|
+
/**
|
|
47682
|
+
* 发送delete请求 请求地址
|
|
47683
|
+
* @param url
|
|
47684
47684
|
*/
|
|
47685
47685
|
|
|
47686
47686
|
|
|
@@ -47689,10 +47689,10 @@ function () {
|
|
|
47689
47689
|
return res.data;
|
|
47690
47690
|
});
|
|
47691
47691
|
};
|
|
47692
|
-
/**
|
|
47693
|
-
* 导出数据
|
|
47694
|
-
* @param url
|
|
47695
|
-
* @param data
|
|
47692
|
+
/**
|
|
47693
|
+
* 导出数据
|
|
47694
|
+
* @param url
|
|
47695
|
+
* @param data
|
|
47696
47696
|
*/
|
|
47697
47697
|
|
|
47698
47698
|
|
|
@@ -48288,7 +48288,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
48288
48288
|
/***/ "e718":
|
|
48289
48289
|
/***/ (function(module, exports) {
|
|
48290
48290
|
|
|
48291
|
-
module.exports = "<section class=\"v-base-editor-container\">\
|
|
48291
|
+
module.exports = "<section class=\"v-base-editor-container\">\n <u-editor @inited=\"onEditorInited\" :value.sync=\"script\" lang=\"groovy\"></u-editor>\n</section>\n"
|
|
48292
48292
|
|
|
48293
48293
|
/***/ }),
|
|
48294
48294
|
|
|
@@ -48564,7 +48564,7 @@ module.exports = uncurryThis([].slice);
|
|
|
48564
48564
|
/***/ "f40e":
|
|
48565
48565
|
/***/ (function(module, exports) {
|
|
48566
48566
|
|
|
48567
|
-
module.exports = "<article class=\"interface-settings\">\
|
|
48567
|
+
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"
|
|
48568
48568
|
|
|
48569
48569
|
/***/ }),
|
|
48570
48570
|
|
|
@@ -49132,12 +49132,12 @@ var es_string_split = __webpack_require__("1276");
|
|
|
49132
49132
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
49133
49133
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
49134
49134
|
|
|
49135
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
49136
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
49137
|
-
|
|
49138
49135
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
49139
49136
|
var es_array_map = __webpack_require__("d81d");
|
|
49140
49137
|
|
|
49138
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
49139
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
49140
|
+
|
|
49141
49141
|
// EXTERNAL MODULE: external "@egova/flagwind-web"
|
|
49142
49142
|
var flagwind_web_ = __webpack_require__("6397");
|
|
49143
49143
|
|
|
@@ -49254,36 +49254,36 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
|
|
|
49254
49254
|
};
|
|
49255
49255
|
|
|
49256
49256
|
|
|
49257
|
-
/**
|
|
49258
|
-
* 静态对象工厂
|
|
49257
|
+
/**
|
|
49258
|
+
* 静态对象工厂
|
|
49259
49259
|
*/
|
|
49260
49260
|
|
|
49261
49261
|
var object_factory_ObjectFactory =
|
|
49262
49262
|
/** @class */
|
|
49263
49263
|
function () {
|
|
49264
49264
|
function ObjectFactory() {}
|
|
49265
|
-
/**
|
|
49266
|
-
* 获取指定key对应的对象
|
|
49267
|
-
* @param key 对象唯一标识
|
|
49265
|
+
/**
|
|
49266
|
+
* 获取指定key对应的对象
|
|
49267
|
+
* @param key 对象唯一标识
|
|
49268
49268
|
*/
|
|
49269
49269
|
|
|
49270
49270
|
|
|
49271
49271
|
ObjectFactory.get = function (key) {
|
|
49272
49272
|
return this.maps.get(key);
|
|
49273
49273
|
};
|
|
49274
|
-
/**
|
|
49275
|
-
* 设置指定对象
|
|
49276
|
-
* @param key 对象唯一标识
|
|
49277
|
-
* @param value
|
|
49274
|
+
/**
|
|
49275
|
+
* 设置指定对象
|
|
49276
|
+
* @param key 对象唯一标识
|
|
49277
|
+
* @param value
|
|
49278
49278
|
*/
|
|
49279
49279
|
|
|
49280
49280
|
|
|
49281
49281
|
ObjectFactory.set = function (key, value) {
|
|
49282
49282
|
this.maps.set(key, value);
|
|
49283
49283
|
};
|
|
49284
|
-
/**
|
|
49285
|
-
* 是否存在指定key的对象
|
|
49286
|
-
* @param key
|
|
49284
|
+
/**
|
|
49285
|
+
* 是否存在指定key的对象
|
|
49286
|
+
* @param key
|
|
49287
49287
|
*/
|
|
49288
49288
|
|
|
49289
49289
|
|
|
@@ -49300,10 +49300,10 @@ function () {
|
|
|
49300
49300
|
});
|
|
49301
49301
|
return list;
|
|
49302
49302
|
};
|
|
49303
|
-
/**
|
|
49304
|
-
* 根据类型创建对象
|
|
49305
|
-
* @param serviceType 对象类型
|
|
49306
|
-
* @param params 构造参数
|
|
49303
|
+
/**
|
|
49304
|
+
* 根据类型创建对象
|
|
49305
|
+
* @param serviceType 对象类型
|
|
49306
|
+
* @param params 构造参数
|
|
49307
49307
|
*/
|
|
49308
49308
|
|
|
49309
49309
|
|
|
@@ -49516,10 +49516,10 @@ var service_handler_spreadArray = undefined && undefined.__spreadArray || functi
|
|
|
49516
49516
|
|
|
49517
49517
|
|
|
49518
49518
|
|
|
49519
|
-
/**
|
|
49520
|
-
*
|
|
49521
|
-
* @param serviveType 服务的类型 指的是服务是保存类(delete/update/save)操作save 还是查询类操作query
|
|
49522
|
-
* 根据这个类型来决定调用不同的ResponseHandler
|
|
49519
|
+
/**
|
|
49520
|
+
*
|
|
49521
|
+
* @param serviveType 服务的类型 指的是服务是保存类(delete/update/save)操作save 还是查询类操作query
|
|
49522
|
+
* 根据这个类型来决定调用不同的ResponseHandler
|
|
49523
49523
|
*/
|
|
49524
49524
|
|
|
49525
49525
|
function serviceHandler(serviveType, option) {
|
|
@@ -49698,8 +49698,8 @@ function () {
|
|
|
49698
49698
|
};
|
|
49699
49699
|
|
|
49700
49700
|
Object.defineProperty(ResponseHandler, "message", {
|
|
49701
|
-
/**
|
|
49702
|
-
* 全局通知对象
|
|
49701
|
+
/**
|
|
49702
|
+
* 全局通知对象
|
|
49703
49703
|
*/
|
|
49704
49704
|
get: function get() {
|
|
49705
49705
|
return external_vue_default.a.prototype.$Message;
|
|
@@ -50171,14 +50171,11 @@ function (_super) {
|
|
|
50171
50171
|
}), service_metadata("design:type", Function), service_metadata("design:paramtypes", [Object]), service_metadata("design:returntype", void 0)], Service.prototype, "getDoc", null);
|
|
50172
50172
|
|
|
50173
50173
|
service_decorate([serviceHandler("save", {
|
|
50174
|
-
title: "保存数据"
|
|
50175
|
-
showTip: true
|
|
50174
|
+
title: "保存数据"
|
|
50176
50175
|
}), 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);
|
|
50177
50176
|
|
|
50178
50177
|
service_decorate([serviceHandler("save", {
|
|
50179
|
-
title: "复制接口"
|
|
50180
|
-
showErrorMsg: false,
|
|
50181
|
-
showTip: false
|
|
50178
|
+
title: "复制接口"
|
|
50182
50179
|
}), service_metadata("design:type", Function), service_metadata("design:paramtypes", [Object]), service_metadata("design:returntype", void 0)], Service.prototype, "copyApi", null);
|
|
50183
50180
|
|
|
50184
50181
|
return Service;
|
|
@@ -50277,8 +50274,8 @@ function (_super) {
|
|
|
50277
50274
|
_this.expandNodeSet = new Set();
|
|
50278
50275
|
return _this;
|
|
50279
50276
|
}
|
|
50280
|
-
/**
|
|
50281
|
-
* 输入关键字对数据进行过滤
|
|
50277
|
+
/**
|
|
50278
|
+
* 输入关键字对数据进行过滤
|
|
50282
50279
|
*/
|
|
50283
50280
|
|
|
50284
50281
|
|
|
@@ -50297,10 +50294,10 @@ function (_super) {
|
|
|
50297
50294
|
return v;
|
|
50298
50295
|
});
|
|
50299
50296
|
};
|
|
50300
|
-
/**
|
|
50301
|
-
* 判断一个节点是否是与关键字匹配的叶子节点或者目录节点,或者是包含符合条件的叶子节点的祖先节点
|
|
50302
|
-
* 如果匹配的是目录节点,那么目录下的节点无需过滤
|
|
50303
|
-
* @param node
|
|
50297
|
+
/**
|
|
50298
|
+
* 判断一个节点是否是与关键字匹配的叶子节点或者目录节点,或者是包含符合条件的叶子节点的祖先节点
|
|
50299
|
+
* 如果匹配的是目录节点,那么目录下的节点无需过滤
|
|
50300
|
+
* @param node
|
|
50304
50301
|
*/
|
|
50305
50302
|
|
|
50306
50303
|
|
|
@@ -50321,9 +50318,9 @@ function (_super) {
|
|
|
50321
50318
|
childrenMatched: childrenMatched
|
|
50322
50319
|
};
|
|
50323
50320
|
};
|
|
50324
|
-
/**
|
|
50325
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
50326
|
-
* @param data
|
|
50321
|
+
/**
|
|
50322
|
+
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
50323
|
+
* @param data
|
|
50327
50324
|
*/
|
|
50328
50325
|
|
|
50329
50326
|
|
|
@@ -50346,10 +50343,10 @@ function (_super) {
|
|
|
50346
50343
|
}));
|
|
50347
50344
|
return d;
|
|
50348
50345
|
};
|
|
50349
|
-
/**
|
|
50350
|
-
* 点击叶子节点
|
|
50351
|
-
* @param node
|
|
50352
|
-
* @param data
|
|
50346
|
+
/**
|
|
50347
|
+
* 点击叶子节点
|
|
50348
|
+
* @param node
|
|
50349
|
+
* @param data
|
|
50353
50350
|
*/
|
|
50354
50351
|
|
|
50355
50352
|
|
|
@@ -50374,10 +50371,10 @@ function (_super) {
|
|
|
50374
50371
|
return v;
|
|
50375
50372
|
});
|
|
50376
50373
|
};
|
|
50377
|
-
/**
|
|
50378
|
-
* 渲染子节点
|
|
50379
|
-
* @param h
|
|
50380
|
-
* @param param
|
|
50374
|
+
/**
|
|
50375
|
+
* 渲染子节点
|
|
50376
|
+
* @param h
|
|
50377
|
+
* @param param
|
|
50381
50378
|
*/
|
|
50382
50379
|
|
|
50383
50380
|
|
|
@@ -51220,8 +51217,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
51220
51217
|
};
|
|
51221
51218
|
|
|
51222
51219
|
var global = window;
|
|
51223
|
-
/**
|
|
51224
|
-
* 公共配置
|
|
51220
|
+
/**
|
|
51221
|
+
* 公共配置
|
|
51225
51222
|
*/
|
|
51226
51223
|
|
|
51227
51224
|
var commonSetting = __assign({
|
|
@@ -51719,10 +51716,10 @@ function (_super) {
|
|
|
51719
51716
|
});
|
|
51720
51717
|
});
|
|
51721
51718
|
};
|
|
51722
|
-
/**
|
|
51723
|
-
* 渲染子节点
|
|
51724
|
-
* @param h
|
|
51725
|
-
* @param param
|
|
51719
|
+
/**
|
|
51720
|
+
* 渲染子节点
|
|
51721
|
+
* @param h
|
|
51722
|
+
* @param param
|
|
51726
51723
|
*/
|
|
51727
51724
|
|
|
51728
51725
|
|
|
@@ -52331,21 +52328,21 @@ function (_super) {
|
|
|
52331
52328
|
}, {
|
|
52332
52329
|
title: "名称",
|
|
52333
52330
|
key: "name",
|
|
52334
|
-
align: "
|
|
52331
|
+
align: "center",
|
|
52335
52332
|
class: "STRING",
|
|
52336
52333
|
ellipsis: true,
|
|
52337
52334
|
tooltip: true
|
|
52338
52335
|
}, {
|
|
52339
52336
|
title: "编码",
|
|
52340
52337
|
key: "code",
|
|
52341
|
-
align: "
|
|
52338
|
+
align: "center",
|
|
52342
52339
|
class: "STRING",
|
|
52343
52340
|
ellipsis: true,
|
|
52344
52341
|
tooltip: true
|
|
52345
52342
|
}, {
|
|
52346
52343
|
title: "描述",
|
|
52347
52344
|
key: "description",
|
|
52348
|
-
align: "
|
|
52345
|
+
align: "center",
|
|
52349
52346
|
class: "STRING",
|
|
52350
52347
|
ellipsis: true,
|
|
52351
52348
|
tooltip: true
|
|
@@ -52478,12 +52475,21 @@ function (_super) {
|
|
|
52478
52475
|
this.doQuery();
|
|
52479
52476
|
};
|
|
52480
52477
|
|
|
52478
|
+
ProjectCombineManage.prototype.onDetail = function (row) {
|
|
52479
|
+
var id = (row !== null && row !== void 0 ? row : {}).id;
|
|
52480
|
+
this.onAdd(id, false);
|
|
52481
|
+
};
|
|
52482
|
+
|
|
52481
52483
|
ProjectCombineManage.prototype.onEdit = function (row) {
|
|
52482
52484
|
var id = (row !== null && row !== void 0 ? row : {}).id;
|
|
52483
|
-
this.onAdd(id);
|
|
52485
|
+
this.onAdd(id, true);
|
|
52484
52486
|
};
|
|
52485
52487
|
|
|
52486
|
-
ProjectCombineManage.prototype.onAdd = function (id) {
|
|
52488
|
+
ProjectCombineManage.prototype.onAdd = function (id, isEdit) {
|
|
52489
|
+
if (isEdit === void 0) {
|
|
52490
|
+
isEdit = true;
|
|
52491
|
+
}
|
|
52492
|
+
|
|
52487
52493
|
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52488
52494
|
var _a;
|
|
52489
52495
|
|
|
@@ -52492,12 +52498,10 @@ function (_super) {
|
|
|
52492
52498
|
replace: true,
|
|
52493
52499
|
name: "combine-add",
|
|
52494
52500
|
query: (_a = {
|
|
52501
|
+
isEdit: isEdit ? "1" : "0",
|
|
52495
52502
|
id: id !== null && id !== void 0 ? id : "",
|
|
52496
52503
|
categoryId: this.currentNode.id
|
|
52497
|
-
}, _a["_".concat(id ? "edit" : "add")] = Date.now().toString(), _a)
|
|
52498
|
-
params: {
|
|
52499
|
-
title: id ? "" : "合并模型(新建)"
|
|
52500
|
-
}
|
|
52504
|
+
}, _a["_".concat(id ? "edit" : "add")] = Date.now().toString(), _a)
|
|
52501
52505
|
});
|
|
52502
52506
|
return [2
|
|
52503
52507
|
/*return*/
|
|
@@ -52506,6 +52510,80 @@ function (_super) {
|
|
|
52506
52510
|
});
|
|
52507
52511
|
};
|
|
52508
52512
|
|
|
52513
|
+
ProjectCombineManage.prototype.onDelete = function (row) {
|
|
52514
|
+
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52515
|
+
var id, res;
|
|
52516
|
+
return project_combine_generator(this, function (_a) {
|
|
52517
|
+
switch (_a.label) {
|
|
52518
|
+
case 0:
|
|
52519
|
+
id = row.id;
|
|
52520
|
+
|
|
52521
|
+
if (!id) {
|
|
52522
|
+
return [2
|
|
52523
|
+
/*return*/
|
|
52524
|
+
];
|
|
52525
|
+
}
|
|
52526
|
+
|
|
52527
|
+
return [4
|
|
52528
|
+
/*yield*/
|
|
52529
|
+
, this.service.batchDelete([id])];
|
|
52530
|
+
|
|
52531
|
+
case 1:
|
|
52532
|
+
res = _a.sent();
|
|
52533
|
+
|
|
52534
|
+
if (res && !res.hasError) {
|
|
52535
|
+
this.onQuery();
|
|
52536
|
+
}
|
|
52537
|
+
|
|
52538
|
+
return [2
|
|
52539
|
+
/*return*/
|
|
52540
|
+
];
|
|
52541
|
+
}
|
|
52542
|
+
});
|
|
52543
|
+
});
|
|
52544
|
+
};
|
|
52545
|
+
|
|
52546
|
+
ProjectCombineManage.prototype.onBatchDelete = function () {
|
|
52547
|
+
var _this = this;
|
|
52548
|
+
|
|
52549
|
+
var ids = this.selection.map(function (item) {
|
|
52550
|
+
return item.id;
|
|
52551
|
+
});
|
|
52552
|
+
|
|
52553
|
+
if (!ids.length) {
|
|
52554
|
+
return this.$message.warning("请先勾选需要删除的数据");
|
|
52555
|
+
}
|
|
52556
|
+
|
|
52557
|
+
this.$modal.confirm({
|
|
52558
|
+
title: "将批量删除所选内容,是否继续?",
|
|
52559
|
+
onOk: function onOk() {
|
|
52560
|
+
return project_combine_awaiter(_this, void 0, void 0, function () {
|
|
52561
|
+
var res;
|
|
52562
|
+
return project_combine_generator(this, function (_a) {
|
|
52563
|
+
switch (_a.label) {
|
|
52564
|
+
case 0:
|
|
52565
|
+
return [4
|
|
52566
|
+
/*yield*/
|
|
52567
|
+
, this.service.batchDelete(ids)];
|
|
52568
|
+
|
|
52569
|
+
case 1:
|
|
52570
|
+
res = _a.sent();
|
|
52571
|
+
|
|
52572
|
+
if (res && !res.hasError) {
|
|
52573
|
+
this.onQuery();
|
|
52574
|
+
this.selection = [];
|
|
52575
|
+
}
|
|
52576
|
+
|
|
52577
|
+
return [2
|
|
52578
|
+
/*return*/
|
|
52579
|
+
];
|
|
52580
|
+
}
|
|
52581
|
+
});
|
|
52582
|
+
});
|
|
52583
|
+
}
|
|
52584
|
+
});
|
|
52585
|
+
};
|
|
52586
|
+
|
|
52509
52587
|
ProjectCombineManage.prototype.onCopy = function (row) {
|
|
52510
52588
|
var rowData = row.$clone();
|
|
52511
52589
|
this.copyData = {
|
|
@@ -52582,80 +52660,6 @@ function (_super) {
|
|
|
52582
52660
|
this.copyData.categoryId = node.id;
|
|
52583
52661
|
};
|
|
52584
52662
|
|
|
52585
|
-
ProjectCombineManage.prototype.onDelete = function (row) {
|
|
52586
|
-
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52587
|
-
var id, res;
|
|
52588
|
-
return project_combine_generator(this, function (_a) {
|
|
52589
|
-
switch (_a.label) {
|
|
52590
|
-
case 0:
|
|
52591
|
-
id = row.id;
|
|
52592
|
-
|
|
52593
|
-
if (!id) {
|
|
52594
|
-
return [2
|
|
52595
|
-
/*return*/
|
|
52596
|
-
];
|
|
52597
|
-
}
|
|
52598
|
-
|
|
52599
|
-
return [4
|
|
52600
|
-
/*yield*/
|
|
52601
|
-
, this.service.batchDelete([id])];
|
|
52602
|
-
|
|
52603
|
-
case 1:
|
|
52604
|
-
res = _a.sent();
|
|
52605
|
-
|
|
52606
|
-
if (res && !res.hasError) {
|
|
52607
|
-
this.onQuery();
|
|
52608
|
-
}
|
|
52609
|
-
|
|
52610
|
-
return [2
|
|
52611
|
-
/*return*/
|
|
52612
|
-
];
|
|
52613
|
-
}
|
|
52614
|
-
});
|
|
52615
|
-
});
|
|
52616
|
-
};
|
|
52617
|
-
|
|
52618
|
-
ProjectCombineManage.prototype.onBatchDelete = function () {
|
|
52619
|
-
var _this = this;
|
|
52620
|
-
|
|
52621
|
-
var ids = this.selection.map(function (item) {
|
|
52622
|
-
return item.id;
|
|
52623
|
-
});
|
|
52624
|
-
|
|
52625
|
-
if (!ids.length) {
|
|
52626
|
-
return this.$message.warning("请先勾选需要删除的数据");
|
|
52627
|
-
}
|
|
52628
|
-
|
|
52629
|
-
this.$modal.confirm({
|
|
52630
|
-
title: "将批量删除所选内容,是否继续?",
|
|
52631
|
-
onOk: function onOk() {
|
|
52632
|
-
return project_combine_awaiter(_this, void 0, void 0, function () {
|
|
52633
|
-
var res;
|
|
52634
|
-
return project_combine_generator(this, function (_a) {
|
|
52635
|
-
switch (_a.label) {
|
|
52636
|
-
case 0:
|
|
52637
|
-
return [4
|
|
52638
|
-
/*yield*/
|
|
52639
|
-
, this.service.batchDelete(ids)];
|
|
52640
|
-
|
|
52641
|
-
case 1:
|
|
52642
|
-
res = _a.sent();
|
|
52643
|
-
|
|
52644
|
-
if (res && !res.hasError) {
|
|
52645
|
-
this.onQuery();
|
|
52646
|
-
this.selection = [];
|
|
52647
|
-
}
|
|
52648
|
-
|
|
52649
|
-
return [2
|
|
52650
|
-
/*return*/
|
|
52651
|
-
];
|
|
52652
|
-
}
|
|
52653
|
-
});
|
|
52654
|
-
});
|
|
52655
|
-
}
|
|
52656
|
-
});
|
|
52657
|
-
};
|
|
52658
|
-
|
|
52659
52663
|
ProjectCombineManage.prototype.onStatusChange = function (value, row, index) {
|
|
52660
52664
|
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52661
52665
|
var id, res;
|
|
@@ -52959,6 +52963,10 @@ function (_super) {
|
|
|
52959
52963
|
this.editor.setReadOnly(this.readOnly);
|
|
52960
52964
|
};
|
|
52961
52965
|
|
|
52966
|
+
BaseEditor.prototype.onReadOnlyChange = function () {
|
|
52967
|
+
this.editor.setReadOnly(this.readOnly);
|
|
52968
|
+
};
|
|
52969
|
+
|
|
52962
52970
|
base_editor_decorate([Object(flagwind_web_["propSync"])("data"), base_editor_metadata("design:type", String)], BaseEditor.prototype, "script", void 0);
|
|
52963
52971
|
|
|
52964
52972
|
base_editor_decorate([Object(flagwind_web_["config"])({
|
|
@@ -52966,6 +52974,8 @@ function (_super) {
|
|
|
52966
52974
|
default: false
|
|
52967
52975
|
}), base_editor_metadata("design:type", Boolean)], BaseEditor.prototype, "readOnly", void 0);
|
|
52968
52976
|
|
|
52977
|
+
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);
|
|
52978
|
+
|
|
52969
52979
|
BaseEditor = base_editor_decorate([Object(flagwind_web_["component"])({
|
|
52970
52980
|
template: __webpack_require__("e718"),
|
|
52971
52981
|
components: {
|
|
@@ -53294,45 +53304,30 @@ function (_super) {
|
|
|
53294
53304
|
title: "全选",
|
|
53295
53305
|
align: "center",
|
|
53296
53306
|
width: 60
|
|
53297
|
-
}, {
|
|
53298
|
-
title: "编码",
|
|
53299
|
-
align: "center",
|
|
53300
|
-
key: "code",
|
|
53301
|
-
class: "STRING",
|
|
53302
|
-
ellipsis: true,
|
|
53303
|
-
tooltip: true
|
|
53304
53307
|
}, {
|
|
53305
53308
|
title: "名称",
|
|
53306
53309
|
align: "center",
|
|
53307
|
-
key: "name"
|
|
53308
|
-
class: "STRING",
|
|
53309
|
-
ellipsis: true,
|
|
53310
|
-
tooltip: true
|
|
53310
|
+
key: "name"
|
|
53311
53311
|
}, {
|
|
53312
|
-
title: "
|
|
53312
|
+
title: "编码",
|
|
53313
53313
|
align: "center",
|
|
53314
|
-
key: "
|
|
53315
|
-
class: "STRING",
|
|
53316
|
-
ellipsis: true,
|
|
53317
|
-
tooltip: true
|
|
53314
|
+
key: "code"
|
|
53318
53315
|
}, {
|
|
53319
|
-
title: "
|
|
53316
|
+
title: "数据源",
|
|
53320
53317
|
align: "center",
|
|
53321
|
-
key: "
|
|
53322
|
-
class: "STRING",
|
|
53323
|
-
ellipsis: true,
|
|
53324
|
-
tooltip: true
|
|
53318
|
+
key: "sourceName"
|
|
53325
53319
|
}, {
|
|
53326
53320
|
title: "是否开启缓存",
|
|
53327
53321
|
align: "center",
|
|
53328
|
-
|
|
53322
|
+
slot: "enableCache"
|
|
53329
53323
|
}, {
|
|
53330
53324
|
title: "过期时间(s)",
|
|
53331
53325
|
align: "center",
|
|
53332
|
-
key: "expireSeconds"
|
|
53333
|
-
|
|
53334
|
-
|
|
53335
|
-
|
|
53326
|
+
key: "expireSeconds"
|
|
53327
|
+
}, {
|
|
53328
|
+
title: "描述",
|
|
53329
|
+
align: "center",
|
|
53330
|
+
key: "description"
|
|
53336
53331
|
}, {
|
|
53337
53332
|
title: "接口文档",
|
|
53338
53333
|
align: "center",
|
|
@@ -55444,6 +55439,11 @@ var request_parameter_list = __webpack_require__("9e10");
|
|
|
55444
55439
|
|
|
55445
55440
|
|
|
55446
55441
|
|
|
55442
|
+
|
|
55443
|
+
|
|
55444
|
+
|
|
55445
|
+
|
|
55446
|
+
|
|
55447
55447
|
|
|
55448
55448
|
var request_parameter_list_extends = undefined && undefined.__extends || function () {
|
|
55449
55449
|
var _extendStatics = function extendStatics(d, b) {
|
|
@@ -55630,6 +55630,16 @@ var request_parameter_list_generator = undefined && undefined.__generator || fun
|
|
|
55630
55630
|
}
|
|
55631
55631
|
};
|
|
55632
55632
|
|
|
55633
|
+
var request_parameter_list_spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
|
|
55634
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
55635
|
+
if (ar || !(i in from)) {
|
|
55636
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
55637
|
+
ar[i] = from[i];
|
|
55638
|
+
}
|
|
55639
|
+
}
|
|
55640
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
55641
|
+
};
|
|
55642
|
+
|
|
55633
55643
|
|
|
55634
55644
|
|
|
55635
55645
|
|
|
@@ -55645,6 +55655,10 @@ function (_super) {
|
|
|
55645
55655
|
|
|
55646
55656
|
|
|
55647
55657
|
_this.columns = [{
|
|
55658
|
+
type: "selection",
|
|
55659
|
+
width: 60,
|
|
55660
|
+
align: "center"
|
|
55661
|
+
}, {
|
|
55648
55662
|
title: "参数名",
|
|
55649
55663
|
align: "center",
|
|
55650
55664
|
slot: "name",
|
|
@@ -55655,22 +55669,33 @@ function (_super) {
|
|
|
55655
55669
|
title: "类型",
|
|
55656
55670
|
align: "center",
|
|
55657
55671
|
slot: "type",
|
|
55672
|
+
width: 130,
|
|
55658
55673
|
class: "STRING",
|
|
55659
55674
|
ellipsis: true,
|
|
55660
55675
|
tooltip: true
|
|
55661
55676
|
}, {
|
|
55662
|
-
title: "
|
|
55677
|
+
title: "是否必传",
|
|
55663
55678
|
align: "center",
|
|
55664
|
-
slot: "
|
|
55679
|
+
slot: "required",
|
|
55680
|
+
width: 120
|
|
55681
|
+
}, {
|
|
55682
|
+
title: "默认值",
|
|
55683
|
+
align: "center",
|
|
55684
|
+
slot: "defaultValue",
|
|
55665
55685
|
class: "STRING",
|
|
55666
55686
|
ellipsis: true,
|
|
55667
55687
|
tooltip: true
|
|
55668
55688
|
}, {
|
|
55669
|
-
title: "
|
|
55689
|
+
title: "描述",
|
|
55670
55690
|
align: "center",
|
|
55671
|
-
slot: "
|
|
55691
|
+
slot: "description",
|
|
55692
|
+
class: "STRING",
|
|
55693
|
+
ellipsis: true,
|
|
55694
|
+
tooltip: true
|
|
55672
55695
|
}];
|
|
55673
55696
|
_this.typeList = [];
|
|
55697
|
+
_this.selections = []; // 列表中选中的数据
|
|
55698
|
+
|
|
55674
55699
|
_this.booleanObj = {
|
|
55675
55700
|
false: 0,
|
|
55676
55701
|
true: 1
|
|
@@ -55678,6 +55703,18 @@ function (_super) {
|
|
|
55678
55703
|
return _this;
|
|
55679
55704
|
}
|
|
55680
55705
|
|
|
55706
|
+
RequestParameterList.prototype.mounted = function () {
|
|
55707
|
+
if (this.isEdit) {
|
|
55708
|
+
this.columns = request_parameter_list_spreadArray(request_parameter_list_spreadArray([], this.columns, true), [{
|
|
55709
|
+
title: "操作",
|
|
55710
|
+
align: "center",
|
|
55711
|
+
slot: "actions"
|
|
55712
|
+
}], false);
|
|
55713
|
+
}
|
|
55714
|
+
|
|
55715
|
+
this.getTypeList();
|
|
55716
|
+
};
|
|
55717
|
+
|
|
55681
55718
|
RequestParameterList.prototype.onEdit = function (row) {
|
|
55682
55719
|
this.$set(row, "isEdit", true);
|
|
55683
55720
|
};
|
|
@@ -55690,9 +55727,39 @@ function (_super) {
|
|
|
55690
55727
|
this.data.splice(index, 1);
|
|
55691
55728
|
};
|
|
55692
55729
|
|
|
55730
|
+
RequestParameterList.prototype.onBatchDelete = function () {
|
|
55731
|
+
var _this = this; // 对所有选中行的id与原data对比,若有相同的id,则视为该行数据是要被删除的数据
|
|
55732
|
+
|
|
55733
|
+
|
|
55734
|
+
if (this.selections && this.selections.length === 0) {
|
|
55735
|
+
this.$message.warning("请先勾选需要删除的数据");
|
|
55736
|
+
return;
|
|
55737
|
+
}
|
|
55738
|
+
|
|
55739
|
+
this.$modal.confirm({
|
|
55740
|
+
title: "将批量删除所选内容,是否继续?",
|
|
55741
|
+
onOk: function onOk() {
|
|
55742
|
+
_this.selections.forEach(function (s) {
|
|
55743
|
+
var index = _this.data.findIndex(function (d) {
|
|
55744
|
+
return d.id === s.id;
|
|
55745
|
+
});
|
|
55746
|
+
|
|
55747
|
+
if (index > -1) {
|
|
55748
|
+
_this.data.splice(index, 1);
|
|
55749
|
+
}
|
|
55750
|
+
});
|
|
55751
|
+
|
|
55752
|
+
_this.selections = [];
|
|
55753
|
+
}
|
|
55754
|
+
});
|
|
55755
|
+
};
|
|
55756
|
+
|
|
55693
55757
|
RequestParameterList.prototype.onAdd = function () {
|
|
55694
55758
|
this.data.push({
|
|
55695
|
-
isEdit: true
|
|
55759
|
+
isEdit: true,
|
|
55760
|
+
id: Math.random().toString(36).slice(-8).toString(),
|
|
55761
|
+
required: false,
|
|
55762
|
+
type: "STRING"
|
|
55696
55763
|
});
|
|
55697
55764
|
};
|
|
55698
55765
|
|
|
@@ -55711,10 +55778,6 @@ function (_super) {
|
|
|
55711
55778
|
}
|
|
55712
55779
|
};
|
|
55713
55780
|
|
|
55714
|
-
RequestParameterList.prototype.mounted = function () {
|
|
55715
|
-
this.getTypeList();
|
|
55716
|
-
};
|
|
55717
|
-
|
|
55718
55781
|
RequestParameterList.prototype.getTypeList = function () {
|
|
55719
55782
|
return request_parameter_list_awaiter(this, void 0, void 0, function () {
|
|
55720
55783
|
var result;
|
|
@@ -55744,6 +55807,14 @@ function (_super) {
|
|
|
55744
55807
|
}).text;
|
|
55745
55808
|
};
|
|
55746
55809
|
|
|
55810
|
+
RequestParameterList.prototype.onChangeRequired = function (value, row) {
|
|
55811
|
+
row.required = !!value;
|
|
55812
|
+
};
|
|
55813
|
+
|
|
55814
|
+
RequestParameterList.prototype.onSelectionChange = function (selections) {
|
|
55815
|
+
this.selections = selections;
|
|
55816
|
+
};
|
|
55817
|
+
|
|
55747
55818
|
var _a, _b;
|
|
55748
55819
|
|
|
55749
55820
|
request_parameter_list_decorate([Object(flagwind_web_["config"])({
|
|
@@ -55752,6 +55823,10 @@ function (_super) {
|
|
|
55752
55823
|
}
|
|
55753
55824
|
}), request_parameter_list_metadata("design:type", typeof (_a = typeof Array !== "undefined" && Array) === "function" ? _a : Object)], RequestParameterList.prototype, "data", void 0);
|
|
55754
55825
|
|
|
55826
|
+
request_parameter_list_decorate([Object(flagwind_web_["config"])({
|
|
55827
|
+
default: true
|
|
55828
|
+
}), request_parameter_list_metadata("design:type", Boolean)], RequestParameterList.prototype, "isEdit", void 0);
|
|
55829
|
+
|
|
55755
55830
|
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);
|
|
55756
55831
|
|
|
55757
55832
|
RequestParameterList = request_parameter_list_decorate([Object(flagwind_web_["component"])({
|
|
@@ -55816,10 +55891,6 @@ function (_super) {
|
|
|
55816
55891
|
class: "STRING",
|
|
55817
55892
|
ellipsis: true,
|
|
55818
55893
|
tooltip: true
|
|
55819
|
-
}, {
|
|
55820
|
-
title: "操作",
|
|
55821
|
-
align: "center",
|
|
55822
|
-
slot: "actions"
|
|
55823
55894
|
}];
|
|
55824
55895
|
return _this;
|
|
55825
55896
|
}
|
|
@@ -56033,6 +56104,7 @@ var combine_model = __webpack_require__("2e28");
|
|
|
56033
56104
|
|
|
56034
56105
|
|
|
56035
56106
|
|
|
56107
|
+
|
|
56036
56108
|
|
|
56037
56109
|
|
|
56038
56110
|
var combine_model_extends = undefined && undefined.__extends || function () {
|
|
@@ -56276,9 +56348,12 @@ function (_super) {
|
|
|
56276
56348
|
reqParams: [],
|
|
56277
56349
|
respParams: []
|
|
56278
56350
|
};
|
|
56351
|
+
_this.title = "合并模型";
|
|
56279
56352
|
_this.id = "";
|
|
56280
56353
|
_this.categoryId = "";
|
|
56281
56354
|
_this.saveing = false;
|
|
56355
|
+
_this.isEdit = false;
|
|
56356
|
+
_this.isAdd = false;
|
|
56282
56357
|
_this.rules = {
|
|
56283
56358
|
name: [{
|
|
56284
56359
|
required: true,
|
|
@@ -56329,15 +56404,6 @@ function (_super) {
|
|
|
56329
56404
|
return _this;
|
|
56330
56405
|
}
|
|
56331
56406
|
|
|
56332
|
-
Object.defineProperty(ProjectCombineModel.prototype, "isEdit", {
|
|
56333
|
-
get: function get() {
|
|
56334
|
-
var _a;
|
|
56335
|
-
|
|
56336
|
-
return !!((_a = this.model) === null || _a === void 0 ? void 0 : _a.id);
|
|
56337
|
-
},
|
|
56338
|
-
enumerable: false,
|
|
56339
|
-
configurable: true
|
|
56340
|
-
});
|
|
56341
56407
|
Object.defineProperty(ProjectCombineModel.prototype, "dataModelRelations", {
|
|
56342
56408
|
get: function get() {
|
|
56343
56409
|
var _a, _b;
|
|
@@ -56378,12 +56444,16 @@ function (_super) {
|
|
|
56378
56444
|
|
|
56379
56445
|
ProjectCombineModel.prototype.init = function () {
|
|
56380
56446
|
var _a = this.$route.query || {},
|
|
56447
|
+
isEdit = _a.isEdit,
|
|
56381
56448
|
_b = _a.id,
|
|
56382
56449
|
id = _b === void 0 ? "" : _b,
|
|
56383
56450
|
_c = _a.categoryId,
|
|
56384
56451
|
categoryId = _c === void 0 ? "" : _c;
|
|
56385
56452
|
|
|
56453
|
+
this.isEdit = Number(isEdit) === 1;
|
|
56454
|
+
this.isAdd = this.isEdit && !!id;
|
|
56386
56455
|
this.categoryId = categoryId;
|
|
56456
|
+
this.title = !this.isEdit ? "合并模型详情" : this.isAdd ? "新增模型详情" : "编辑合并模型";
|
|
56387
56457
|
|
|
56388
56458
|
if (id !== this.id) {
|
|
56389
56459
|
this.id = id;
|
|
@@ -56643,6 +56713,7 @@ function (_super) {
|
|
|
56643
56713
|
return combine_model_assign(combine_model_assign({}, r), {
|
|
56644
56714
|
relationType: relationType,
|
|
56645
56715
|
relationTypeId: r.apiId,
|
|
56716
|
+
required: false,
|
|
56646
56717
|
type: "STRING"
|
|
56647
56718
|
});
|
|
56648
56719
|
});
|
|
@@ -56739,8 +56810,11 @@ function (_super) {
|
|
|
56739
56810
|
return combine_model_generator(this, function (_b) {
|
|
56740
56811
|
switch (_b.label) {
|
|
56741
56812
|
case 0:
|
|
56742
|
-
_b.trys.push([0,
|
|
56813
|
+
_b.trys.push([0, 3,, 4]);
|
|
56743
56814
|
|
|
56815
|
+
if (!this.isEdit) return [3
|
|
56816
|
+
/*break*/
|
|
56817
|
+
, 2];
|
|
56744
56818
|
return [4
|
|
56745
56819
|
/*yield*/
|
|
56746
56820
|
, this.onSave(false)];
|
|
@@ -56748,18 +56822,21 @@ function (_super) {
|
|
|
56748
56822
|
case 1:
|
|
56749
56823
|
_b.sent();
|
|
56750
56824
|
|
|
56825
|
+
_b.label = 2;
|
|
56826
|
+
|
|
56827
|
+
case 2:
|
|
56751
56828
|
this.testShow = true;
|
|
56752
56829
|
return [3
|
|
56753
56830
|
/*break*/
|
|
56754
|
-
,
|
|
56831
|
+
, 4];
|
|
56755
56832
|
|
|
56756
|
-
case
|
|
56833
|
+
case 3:
|
|
56757
56834
|
_a = _b.sent();
|
|
56758
56835
|
return [3
|
|
56759
56836
|
/*break*/
|
|
56760
|
-
,
|
|
56837
|
+
, 4];
|
|
56761
56838
|
|
|
56762
|
-
case
|
|
56839
|
+
case 4:
|
|
56763
56840
|
return [2
|
|
56764
56841
|
/*return*/
|
|
56765
56842
|
];
|
|
@@ -62463,8 +62540,8 @@ function (_super) {
|
|
|
62463
62540
|
};
|
|
62464
62541
|
this.showGroupModal = true;
|
|
62465
62542
|
};
|
|
62466
|
-
/**
|
|
62467
|
-
* 输入关键字对数据进行过滤
|
|
62543
|
+
/**
|
|
62544
|
+
* 输入关键字对数据进行过滤
|
|
62468
62545
|
*/
|
|
62469
62546
|
|
|
62470
62547
|
|
|
@@ -62476,9 +62553,9 @@ function (_super) {
|
|
|
62476
62553
|
|
|
62477
62554
|
this.renderData = this.filterData(this.data.$clone());
|
|
62478
62555
|
};
|
|
62479
|
-
/**
|
|
62480
|
-
* 判断一个节点是否是与关键字匹配的叶子节点,或者是包含符合条件的叶子节点的祖先节点
|
|
62481
|
-
* @param node
|
|
62556
|
+
/**
|
|
62557
|
+
* 判断一个节点是否是与关键字匹配的叶子节点,或者是包含符合条件的叶子节点的祖先节点
|
|
62558
|
+
* @param node
|
|
62482
62559
|
*/
|
|
62483
62560
|
|
|
62484
62561
|
|
|
@@ -62495,9 +62572,9 @@ function (_super) {
|
|
|
62495
62572
|
return flag_1;
|
|
62496
62573
|
}
|
|
62497
62574
|
};
|
|
62498
|
-
/**
|
|
62499
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
62500
|
-
* @param data
|
|
62575
|
+
/**
|
|
62576
|
+
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
62577
|
+
* @param data
|
|
62501
62578
|
*/
|
|
62502
62579
|
|
|
62503
62580
|
|