@egova/egova-api 1.0.199 → 1.0.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.common.js +205 -33
- package/dist/index.css +1 -1
- package/dist/index.umd.js +205 -33
- package/dist/index.umd.min.js +4 -4
- package/dist/static/fonts/{iconfont.7823f95d.eot → iconfont.694e7338.ttf} +0 -0
- package/dist/static/fonts/{iconfont.a1a5cb3e.ttf → iconfont.befbaeb9.eot} +0 -0
- package/dist/static/fonts/iconfont.e0548839.woff +0 -0
- package/dist/static/img/{iconfont.9af92d14.svg → iconfont.671d9701.svg} +6 -0
- package/dist/types/src/components/common-tree/index.d.ts +3 -0
- package/dist/types/src/views/project-combine/api-project/api-project-list/index.d.ts +1 -0
- package/dist/types/src/views/project-combine/api-project/index.d.ts +4 -1
- package/dist/types/src/views/project-combine/data-model/data-model-list/index.d.ts +1 -0
- package/dist/types/src/views/project-combine/data-model/index.d.ts +4 -1
- package/package.json +2 -2
- package/dist/static/fonts/iconfont.07f06260.woff +0 -0
package/dist/index.common.js
CHANGED
|
@@ -21219,7 +21219,7 @@ module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-c
|
|
|
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\">\r\n <header slot=\"header\">添加API</header>\r\n <main>\r\n <i-split v-model=\"splitHorizontal\">\r\n <section slot=\"left\" class=\"card-panel card-panel-no-right-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择列表</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-tree :initSelectItem=\"initNode\" :prop-data=\"treeData\" :isTreeList=\"true\" @on-select=\"onSelect\" />\r\n </div>\r\n </section>\r\n <section slot=\"right\" class=\"right-content\">\r\n <i-split v-model=\"splitVertical\" mode=\"vertical\" max=\"600\">\r\n <section slot=\"top\" class=\"card-panel card-panel-no-bottom-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择模型</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-api-project-list\r\n :data=\"tableData\"\r\n :paging.sync=\"paging\"\r\n @on-search=\"onSearch\"\r\n @on-page-index-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n @on-selection-change=\"onSelectionChange\"\r\n @on-delete-refresh=\"getTableData\"\r\n >\r\n </u-api-project-list>\r\n </div>\r\n </section>\r\n <section slot=\"bottom\" :class=\"['card-panel', collapse ? 'card-panel-no-bottom-border' : '']\">\r\n <div class=\"card-panel-header\">\r\n <span>已选({{checkedLength}})</span>\r\n <span>\r\n <i-poptip confirm title=\"您确定要清空已选中的数据吗?\" transfer placement=\"top-end\" @on-ok=\"onBatchDelete\">\r\n <span class=\"action-text\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>清空</span>\r\n </span>\r\n </i-poptip>\r\n <span class=\"action-text collapse-text\" @click=\"onClickCollapse\">\r\n <span>{{collapse ? \"展开\" : \"收起\"}}</span>\r\n <i class=\"ivu-icon ivu-icon-ios-arrow-forward\" :class=\"{'icon-arrow-collapse':collapse}\"></i>\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <template v-if=\"checkedData?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"checkedData\">\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </div>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </div>\r\n </section>\r\n </i-split>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-if=\"isLoading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n </main>\r\n <footer slot=\"footer\">\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCancel\">取消</i-button>\r\n </footer>\r\n</i-modal>\r\n"
|
|
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\">\r\n <header slot=\"header\">添加API</header>\r\n <main>\r\n <i-split v-model=\"splitHorizontal\">\r\n <section slot=\"left\" class=\"card-panel card-panel-no-right-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择列表</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-tree :commonTaskCategoryID=\"taskCategoryID\" :initSelectItem=\"initNode\" :prop-data=\"treeData\" :isTreeList=\"true\" @on-select=\"onSelect\" />\r\n </div>\r\n </section>\r\n <section slot=\"right\" class=\"right-content\">\r\n <i-split v-model=\"splitVertical\" mode=\"vertical\" max=\"600\">\r\n <section slot=\"top\" class=\"card-panel card-panel-no-bottom-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择模型</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-api-project-list\r\n :data=\"tableData\"\r\n :paging.sync=\"paging\"\r\n @on-search=\"onSearch\"\r\n @on-page-index-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n @on-selection-change=\"onSelectionChange\"\r\n @on-delete-refresh=\"getTableData\"\r\n @on-row-click=\"onRowClick\"\r\n >\r\n </u-api-project-list>\r\n </div>\r\n </section>\r\n <section slot=\"bottom\" :class=\"['card-panel', collapse ? 'card-panel-no-bottom-border' : '']\">\r\n <div class=\"card-panel-header\">\r\n <span>已选({{checkedLength}})</span>\r\n <span>\r\n <i-poptip confirm title=\"您确定要清空已选中的数据吗?\" transfer placement=\"top-end\" @on-ok=\"onBatchDelete\">\r\n <span class=\"action-text\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>清空</span>\r\n </span>\r\n </i-poptip>\r\n <span class=\"action-text collapse-text\" @click=\"onClickCollapse\">\r\n <span>{{collapse ? \"展开\" : \"收起\"}}</span>\r\n <i class=\"ivu-icon ivu-icon-ios-arrow-forward\" :class=\"{'icon-arrow-collapse':collapse}\"></i>\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <template v-if=\"checkedData?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"checkedData\">\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </div>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </div>\r\n </section>\r\n </i-split>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-if=\"isLoading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n </main>\r\n <footer slot=\"footer\">\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCancel\">取消</i-button>\r\n </footer>\r\n</i-modal>\r\n"
|
|
21223
21223
|
|
|
21224
21224
|
/***/ }),
|
|
21225
21225
|
|
|
@@ -26855,7 +26855,7 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
26855
26855
|
/***/ "4935":
|
|
26856
26856
|
/***/ (function(module, exports) {
|
|
26857
26857
|
|
|
26858
|
-
module.exports = "<i-modal draggable sticky reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1280\" class=\"u-data-model-modal diy-modal\" transfer>\r\n <header slot=\"header\">添加数据模型</header>\r\n <main>\r\n <i-split v-model=\"splitHorizontal\">\r\n <section slot=\"left\" class=\"card-panel card-panel-no-right-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择列表</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-tree :initSelectItem=\"initNode\" :prop-data=\"treeData\" :isTreeList=\"true\" @on-select=\"onSelect\" />\r\n </div>\r\n </section>\r\n <section slot=\"right\" class=\"right-content\">\r\n <i-split v-model=\"splitVertical\" mode=\"vertical\" max=\"600\">\r\n <section slot=\"top\" class=\"card-panel card-panel-no-bottom-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择模型</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-data-model-list\r\n :data=\"tableData\"\r\n :paging.sync=\"paging\"\r\n @on-search=\"onSearch\"\r\n @on-page-index-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n @on-selection-change=\"onSelectionChange\"\r\n @on-delete-refresh=\"getTableData\"\r\n >\r\n </u-data-model-list>\r\n </div>\r\n </section>\r\n <section slot=\"bottom\" :class=\"['card-panel', collapse ? 'card-panel-no-bottom-border' : '']\">\r\n <div class=\"card-panel-header\">\r\n <span>已选({{checkedLength}})</span>\r\n <span>\r\n <i-poptip confirm title=\"确定要清空已选中的数据吗?\" transfer placement=\"top-end\" @on-ok=\"onBatchDelete\">\r\n <span class=\"action-text\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>清空</span>\r\n </span>\r\n </i-poptip>\r\n <span class=\"action-text collapse-text\" @click=\"onClickCollapse\">\r\n <span>{{collapse ? \"展开\" : \"收起\"}}</span>\r\n <i class=\"ivu-icon ivu-icon-ios-arrow-forward\" :class=\"{'icon-arrow-collapse':collapse}\"></i>\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <template v-if=\"checkedData?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"checkedData\">\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </div>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </div>\r\n </section>\r\n </i-split>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-if=\"isLoading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n </main>\r\n <footer slot=\"footer\">\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCancel\">取消</i-button>\r\n </footer>\r\n</i-modal>\r\n"
|
|
26858
|
+
module.exports = "<i-modal draggable sticky reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1280\" class=\"u-data-model-modal diy-modal\" transfer>\r\n <header slot=\"header\">添加数据模型</header>\r\n <main>\r\n <i-split v-model=\"splitHorizontal\">\r\n <section slot=\"left\" class=\"card-panel card-panel-no-right-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择列表</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-tree :commonTaskCategoryID=\"taskCategoryID\" :initSelectItem=\"initNode\" :prop-data=\"treeData\" :isTreeList=\"true\" @on-select=\"onSelect\" />\r\n </div>\r\n </section>\r\n <section slot=\"right\" class=\"right-content\">\r\n <i-split v-model=\"splitVertical\" mode=\"vertical\" max=\"600\">\r\n <section slot=\"top\" class=\"card-panel card-panel-no-bottom-border\">\r\n <div class=\"card-panel-header\">\r\n <span>选择模型</span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-data-model-list\r\n :data=\"tableData\"\r\n :paging.sync=\"paging\"\r\n @on-search=\"onSearch\"\r\n @on-page-index-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n @on-selection-change=\"onSelectionChange\"\r\n @on-delete-refresh=\"getTableData\"\r\n @on-row-click=\"onRowClick\"\r\n >\r\n </u-data-model-list>\r\n </div>\r\n </section>\r\n <section slot=\"bottom\" :class=\"['card-panel', collapse ? 'card-panel-no-bottom-border' : '']\">\r\n <div class=\"card-panel-header\">\r\n <span>已选({{checkedLength}})</span>\r\n <span>\r\n <i-poptip confirm title=\"确定要清空已选中的数据吗?\" transfer placement=\"top-end\" @on-ok=\"onBatchDelete\">\r\n <span class=\"action-text\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>清空</span>\r\n </span>\r\n </i-poptip>\r\n <span class=\"action-text collapse-text\" @click=\"onClickCollapse\">\r\n <span>{{collapse ? \"展开\" : \"收起\"}}</span>\r\n <i class=\"ivu-icon ivu-icon-ios-arrow-forward\" :class=\"{'icon-arrow-collapse':collapse}\"></i>\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <template v-if=\"checkedData?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"checkedData\">\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </div>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </div>\r\n </section>\r\n </i-split>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-if=\"isLoading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n </main>\r\n <footer slot=\"footer\">\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCancel\">取消</i-button>\r\n </footer>\r\n</i-modal>\r\n"
|
|
26859
26859
|
|
|
26860
26860
|
/***/ }),
|
|
26861
26861
|
|
|
@@ -40673,7 +40673,7 @@ module.exports = function (argument) {
|
|
|
40673
40673
|
/***/ "82af":
|
|
40674
40674
|
/***/ (function(module, exports) {
|
|
40675
40675
|
|
|
40676
|
-
module.exports = "<div class=\"v-data-modal-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>编码:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\">\r\n <template slot=\"enableCache\" slot-scope=\"{row}\">\r\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\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>\r\n </div>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</div>\r\n"
|
|
40676
|
+
module.exports = "<div class=\"v-data-modal-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>编码:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"enableCache\" slot-scope=\"{row}\">\r\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\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>\r\n </div>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</div>\r\n"
|
|
40677
40677
|
|
|
40678
40678
|
/***/ }),
|
|
40679
40679
|
|
|
@@ -41932,7 +41932,7 @@ module.exports = function (S, index, unicode) {
|
|
|
41932
41932
|
/***/ "8ab8":
|
|
41933
41933
|
/***/ (function(module, exports) {
|
|
41934
41934
|
|
|
41935
|
-
module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <div class=\"script-title\">\r\n <div class=\"empty\"></div>\r\n <div class=\"script-btns\">\r\n <span @click=\"onViewMax\"><i class=\"iconfont icon-
|
|
41935
|
+
module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <div class=\"script-title\">\r\n <div class=\"empty\"></div>\r\n <div class=\"script-btns\">\r\n <span @click=\"onViewMax\"><i class=\"iconfont icon-zuidahua1\"></i>{{viewMax ? \"还原显示\" : \"最大化\"}}</span>\r\n <span @click=\"onSave\"><i class=\"iconfont icon-baocun1\"></i>保存</span>\r\n <span @click=\"onRun\"><i class=\"iconfont icon-run1\"></i>RUN</span>\r\n </div>\r\n </div>\r\n <u-editor\r\n v-if=\"refreshEditor\"\r\n class=\"editor\"\r\n :model.sync=\"script\"\r\n :diyKeywordList=\"diyKeywordList\"\r\n lang=\"groovy\"\r\n >\r\n </u-editor>\r\n </section>\r\n <section class=\"quick-input\">\r\n <div class=\"info\">\r\n <p>{{scriptData.description}}</p>\r\n <!-- <ul>\r\n <li>request: 请求</li>\r\n </ul> -->\r\n </div>\r\n <i-input class=\"diy-input\" v-model=\"keyword\" @on-change=\"onFilter\" placeholder=\"输入关键字查询\">\r\n <i class=\"iconfont icon-chaxun\" slot=\"prefix\"></i>\r\n </i-input>\r\n <div class=\"quick-list\">\r\n <div v-for=\"type in tempScriptData.group\" class=\"quick-type\">\r\n <div class=\"quick-type-name\" @click=\"onQuickGroupClick(type)\">\r\n <i-icon type=\"md-arrow-dropright\" :class=\"type.expand ? 'expand' : ''\"/>\r\n <p>{{type.name}}</p>\r\n </div>\r\n <div\r\n v-show=\"type.expand\"\r\n v-for=\"item in type.list\"\r\n :key=\"item.name\"\r\n class=\"quick-item\"\r\n @click=\"onClickItem(item)\"\r\n >\r\n <i class=\"api-icon icon-item\"></i> {{item.name}}\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n</article>\r\n"
|
|
41936
41936
|
|
|
41937
41937
|
/***/ }),
|
|
41938
41938
|
|
|
@@ -42296,7 +42296,7 @@ dom.importCssString(exports.cssText, exports.cssClass);
|
|
|
42296
42296
|
/***/ "981a":
|
|
42297
42297
|
/***/ (function(module, exports) {
|
|
42298
42298
|
|
|
42299
|
-
module.exports = "<div class=\"v-api-project-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>地址:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\">\r\n <template slot=\"detail\" slot-scope=\"{row}\">\r\n <a @click=\"onDetail(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\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>\r\n </div>\r\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\r\n</div>\r\n"
|
|
42299
|
+
module.exports = "<div class=\"v-api-project-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>地址:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"detail\" slot-scope=\"{row}\">\r\n <a @click=\"onDetail(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\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>\r\n </div>\r\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\r\n</div>\r\n"
|
|
42300
42300
|
|
|
42301
42301
|
/***/ }),
|
|
42302
42302
|
|
|
@@ -50595,6 +50595,7 @@ var common_tree_metadata = undefined && undefined.__metadata || function (k, v)
|
|
|
50595
50595
|
|
|
50596
50596
|
|
|
50597
50597
|
|
|
50598
|
+
|
|
50598
50599
|
var common_tree_CommonTree =
|
|
50599
50600
|
/** @class */
|
|
50600
50601
|
function (_super) {
|
|
@@ -50704,14 +50705,67 @@ function (_super) {
|
|
|
50704
50705
|
this.$emit("on-select", this.selectItem);
|
|
50705
50706
|
};
|
|
50706
50707
|
|
|
50708
|
+
CommonTree.prototype.onLocationSelect = function (node, isQuery) {
|
|
50709
|
+
if (isQuery === void 0) {
|
|
50710
|
+
isQuery = true;
|
|
50711
|
+
}
|
|
50712
|
+
|
|
50713
|
+
this.selectItem = node;
|
|
50714
|
+
this.$emit("on-select", this.selectItem, isQuery);
|
|
50715
|
+
};
|
|
50716
|
+
|
|
50707
50717
|
CommonTree.prototype.initTreeData = function (nv) {
|
|
50708
50718
|
if (!nv) return;
|
|
50709
50719
|
this.treeData = nv;
|
|
50720
|
+
|
|
50721
|
+
if (this.treeData.length && this.treeData[0].id === "virtual_root_directory") {
|
|
50722
|
+
this.onToggleExpand(this.treeData[0]);
|
|
50723
|
+
}
|
|
50724
|
+
|
|
50710
50725
|
this.renderData = this.treeData.map(function (v) {
|
|
50711
50726
|
// v.render = this.renderContent;
|
|
50712
50727
|
return v;
|
|
50713
50728
|
});
|
|
50714
50729
|
};
|
|
50730
|
+
|
|
50731
|
+
CommonTree.prototype.watchTaskID = function (nv) {
|
|
50732
|
+
if (nv) {
|
|
50733
|
+
var arr_1 = TreeDataUtil.treeNodeFatherArray(this.treeData, nv);
|
|
50734
|
+
|
|
50735
|
+
if (arr_1.length > 0) {
|
|
50736
|
+
for (var i = 0; i < arr_1.length; i++) {
|
|
50737
|
+
if (i === arr_1.length - 1) {
|
|
50738
|
+
this.onLocationSelect(arr_1[i], false);
|
|
50739
|
+
} else {
|
|
50740
|
+
arr_1[i].expand = true;
|
|
50741
|
+
this.onToggleExpand(arr_1[i]);
|
|
50742
|
+
}
|
|
50743
|
+
}
|
|
50744
|
+
}
|
|
50745
|
+
|
|
50746
|
+
this.$nextTick(function () {
|
|
50747
|
+
clearTimeout();
|
|
50748
|
+
var element = document.getElementsByClassName("ivu-tree-title-selected");
|
|
50749
|
+
var selectElement = null;
|
|
50750
|
+
|
|
50751
|
+
for (var j = 0; j < element.length; j++) {
|
|
50752
|
+
if (arr_1.length && element[j].innerText === arr_1[arr_1.length - 1].name) {
|
|
50753
|
+
selectElement = element[j];
|
|
50754
|
+
break;
|
|
50755
|
+
}
|
|
50756
|
+
}
|
|
50757
|
+
|
|
50758
|
+
if (element.length) {
|
|
50759
|
+
setTimeout(function () {
|
|
50760
|
+
selectElement.scrollIntoView({
|
|
50761
|
+
behavior: "smooth",
|
|
50762
|
+
block: "center"
|
|
50763
|
+
});
|
|
50764
|
+
}, 200);
|
|
50765
|
+
}
|
|
50766
|
+
});
|
|
50767
|
+
}
|
|
50768
|
+
};
|
|
50715
50769
|
/**
|
|
50716
50770
|
* 渲染子节点
|
|
50717
50771
|
* @param h
|
|
@@ -50768,6 +50822,10 @@ function (_super) {
|
|
|
50768
50822
|
default: false
|
|
50769
50823
|
}), common_tree_metadata("design:type", Boolean)], CommonTree.prototype, "isTreeList", void 0);
|
|
50770
50824
|
|
|
50825
|
+
common_tree_decorate([Object(flagwind_web_["config"])({
|
|
50826
|
+
default: ""
|
|
50827
|
+
}), common_tree_metadata("design:type", String)], CommonTree.prototype, "commonTaskCategoryID", void 0);
|
|
50828
|
+
|
|
50771
50829
|
common_tree_decorate([Object(flagwind_web_["watch"])("data", {
|
|
50772
50830
|
immediate: true,
|
|
50773
50831
|
deep: false
|
|
@@ -50776,6 +50834,10 @@ function (_super) {
|
|
|
50776
50834
|
deep: false
|
|
50777
50835
|
}), common_tree_metadata("design:type", Function), common_tree_metadata("design:paramtypes", [typeof (_b = typeof Array !== "undefined" && Array) === "function" ? _b : Object]), common_tree_metadata("design:returntype", void 0)], CommonTree.prototype, "initTreeData", null);
|
|
50778
50836
|
|
|
50837
|
+
common_tree_decorate([Object(flagwind_web_["watch"])("commonTaskCategoryID", {
|
|
50838
|
+
immediate: false
|
|
50839
|
+
}), common_tree_metadata("design:type", Function), common_tree_metadata("design:paramtypes", [String]), common_tree_metadata("design:returntype", void 0)], CommonTree.prototype, "watchTaskID", null);
|
|
50840
|
+
|
|
50779
50841
|
common_tree_decorate([Object(flagwind_web_["watch"])("initSelectItem"), common_tree_metadata("design:type", Function), common_tree_metadata("design:paramtypes", []), common_tree_metadata("design:returntype", void 0)], CommonTree.prototype, "initSelectItemChange", null);
|
|
50780
50842
|
|
|
50781
50843
|
CommonTree = common_tree_decorate([Object(flagwind_web_["component"])({
|
|
@@ -54024,6 +54086,10 @@ function (_super) {
|
|
|
54024
54086
|
});
|
|
54025
54087
|
};
|
|
54026
54088
|
|
|
54089
|
+
DataModelList.prototype.onRowClick = function (row, index) {
|
|
54090
|
+
this.$emit("on-row-click", row.categoryId);
|
|
54091
|
+
};
|
|
54092
|
+
|
|
54027
54093
|
var _a, _b;
|
|
54028
54094
|
|
|
54029
54095
|
data_model_list_decorate([autowired(data_model_service), data_model_list_metadata("design:type", typeof (_a = typeof data_model_service !== "undefined" && data_model_service) === "function" ? _a : Object)], DataModelList.prototype, "service", void 0);
|
|
@@ -54073,6 +54139,7 @@ var data_model = __webpack_require__("a121");
|
|
|
54073
54139
|
|
|
54074
54140
|
|
|
54075
54141
|
|
|
54142
|
+
|
|
54076
54143
|
var data_model_extends = undefined && undefined.__extends || function () {
|
|
54077
54144
|
var _extendStatics = function extendStatics(d, b) {
|
|
54078
54145
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -54302,9 +54369,11 @@ function (_super) {
|
|
|
54302
54369
|
|
|
54303
54370
|
_this.splitHorizontal = 0.25;
|
|
54304
54371
|
_this.splitVertical = 0.6;
|
|
54305
|
-
_this.isLoading = false;
|
|
54372
|
+
_this.isLoading = false;
|
|
54373
|
+
_this.taskCategoryID = ""; // 原始的树形结构
|
|
54306
54374
|
|
|
54307
|
-
_this.treeData = [];
|
|
54375
|
+
_this.treeData = [];
|
|
54376
|
+
_this.tempData = []; // 当前选中的数据模型
|
|
54308
54377
|
|
|
54309
54378
|
_this.currentNode = {}; // 默认选中的数据模型
|
|
54310
54379
|
|
|
@@ -54418,7 +54487,37 @@ function (_super) {
|
|
|
54418
54487
|
this.isLoading = false;
|
|
54419
54488
|
|
|
54420
54489
|
if (res && !res.hasError) {
|
|
54421
|
-
this.
|
|
54490
|
+
this.tempData = TreeDataUtil.handlerTreeData(res.result || [], "name");
|
|
54491
|
+
|
|
54492
|
+
if (this.tempData.length > 0) {
|
|
54493
|
+
this.tempData.forEach(function (item) {
|
|
54494
|
+
if (!item.parentId) {
|
|
54495
|
+
item.parentId = "virtual_root_directory";
|
|
54496
|
+
}
|
|
54497
|
+
});
|
|
54498
|
+
this.treeData = [data_model_assign(data_model_assign({}, this.tempData[0]), {
|
|
54499
|
+
id: "virtual_root_directory",
|
|
54500
|
+
children: this.tempData,
|
|
54501
|
+
jobs: [],
|
|
54502
|
+
name: "全部",
|
|
54503
|
+
title: "全部",
|
|
54504
|
+
expand: true,
|
|
54505
|
+
parentId: null,
|
|
54506
|
+
parentName: null
|
|
54507
|
+
})];
|
|
54508
|
+
} else {
|
|
54509
|
+
this.treeData = [{
|
|
54510
|
+
id: "virtual_root_directory",
|
|
54511
|
+
children: this.tempData,
|
|
54512
|
+
jobs: [],
|
|
54513
|
+
name: "全部",
|
|
54514
|
+
title: "全部",
|
|
54515
|
+
expand: true,
|
|
54516
|
+
parentId: null,
|
|
54517
|
+
parentName: null
|
|
54518
|
+
}];
|
|
54519
|
+
} // 默认选中第一个节点
|
|
54520
|
+
|
|
54422
54521
|
|
|
54423
54522
|
if (this.treeData.length) {
|
|
54424
54523
|
this.initNode = this.treeData[0];
|
|
@@ -54435,10 +54534,16 @@ function (_super) {
|
|
|
54435
54534
|
}; // 选中某一数据模型分组
|
|
54436
54535
|
|
|
54437
54536
|
|
|
54438
|
-
DataModel.prototype.onSelect = function (data) {
|
|
54439
|
-
|
|
54440
|
-
|
|
54441
|
-
|
|
54537
|
+
DataModel.prototype.onSelect = function (data, isQuery) {
|
|
54538
|
+
if (isQuery === void 0) {
|
|
54539
|
+
isQuery = true;
|
|
54540
|
+
}
|
|
54541
|
+
|
|
54542
|
+
if (isQuery) {
|
|
54543
|
+
this.currentNode = data;
|
|
54544
|
+
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
54545
|
+
this.getTableData();
|
|
54546
|
+
}
|
|
54442
54547
|
}; // 点击查询 设置condition并调用查询方法
|
|
54443
54548
|
|
|
54444
54549
|
|
|
@@ -54559,6 +54664,12 @@ function (_super) {
|
|
|
54559
54664
|
this.$emit("save", "MODEL", addData, delData);
|
|
54560
54665
|
};
|
|
54561
54666
|
|
|
54667
|
+
DataModel.prototype.onRowClick = function (taskCategoryID) {
|
|
54668
|
+
if (this.currentNode.id === "virtual_root_directory") {
|
|
54669
|
+
this.taskCategoryID = taskCategoryID;
|
|
54670
|
+
}
|
|
54671
|
+
};
|
|
54672
|
+
|
|
54562
54673
|
var _a, _b;
|
|
54563
54674
|
|
|
54564
54675
|
data_model_decorate([autowired(data_model_service), data_model_metadata("design:type", typeof (_a = typeof data_model_service !== "undefined" && data_model_service) === "function" ? _a : Object)], DataModel.prototype, "service", void 0);
|
|
@@ -55486,6 +55597,10 @@ function (_super) {
|
|
|
55486
55597
|
});
|
|
55487
55598
|
};
|
|
55488
55599
|
|
|
55600
|
+
ApiProjectList.prototype.onRowClick = function (row, index) {
|
|
55601
|
+
this.$emit("on-row-click", row.categoryId);
|
|
55602
|
+
};
|
|
55603
|
+
|
|
55489
55604
|
var _a, _b;
|
|
55490
55605
|
|
|
55491
55606
|
api_project_list_decorate([autowired(api_project_service), api_project_list_metadata("design:type", typeof (_a = typeof api_project_service !== "undefined" && api_project_service) === "function" ? _a : Object)], ApiProjectList.prototype, "service", void 0);
|
|
@@ -55535,6 +55650,7 @@ var api_project = __webpack_require__("eb57");
|
|
|
55535
55650
|
|
|
55536
55651
|
|
|
55537
55652
|
|
|
55653
|
+
|
|
55538
55654
|
var api_project_extends = undefined && undefined.__extends || function () {
|
|
55539
55655
|
var _extendStatics = function extendStatics(d, b) {
|
|
55540
55656
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -55764,9 +55880,11 @@ function (_super) {
|
|
|
55764
55880
|
|
|
55765
55881
|
_this.splitHorizontal = 0.25;
|
|
55766
55882
|
_this.splitVertical = 0.6;
|
|
55767
|
-
_this.isLoading = false;
|
|
55883
|
+
_this.isLoading = false;
|
|
55884
|
+
_this.taskCategoryID = ""; // 原始的树形结构
|
|
55768
55885
|
|
|
55769
|
-
_this.treeData = [];
|
|
55886
|
+
_this.treeData = [];
|
|
55887
|
+
_this.tempData = []; // 当前选中的数据模型
|
|
55770
55888
|
|
|
55771
55889
|
_this.currentNode = {}; // 默认选中的数据模型
|
|
55772
55890
|
|
|
@@ -55878,7 +55996,38 @@ function (_super) {
|
|
|
55878
55996
|
this.isLoading = false;
|
|
55879
55997
|
|
|
55880
55998
|
if (res && !res.hasError) {
|
|
55881
|
-
this.treeData = TreeDataUtil.handlerTreeData(res.result || [], "name");
|
|
55999
|
+
// this.treeData = TreeDataUtil.handlerTreeData(res.result || [], "name");
|
|
56000
|
+
this.tempData = TreeDataUtil.handlerTreeData(res.result || [], "name");
|
|
56001
|
+
|
|
56002
|
+
if (this.tempData.length > 0) {
|
|
56003
|
+
this.tempData.forEach(function (item) {
|
|
56004
|
+
if (!item.parentId) {
|
|
56005
|
+
item.parentId = "virtual_root_directory";
|
|
56006
|
+
}
|
|
56007
|
+
});
|
|
56008
|
+
this.treeData = [api_project_assign(api_project_assign({}, this.tempData[0]), {
|
|
56009
|
+
id: "virtual_root_directory",
|
|
56010
|
+
children: this.tempData,
|
|
56011
|
+
jobs: [],
|
|
56012
|
+
name: "全部",
|
|
56013
|
+
title: "全部",
|
|
56014
|
+
expand: true,
|
|
56015
|
+
parentId: null,
|
|
56016
|
+
parentName: null
|
|
56017
|
+
})];
|
|
56018
|
+
} else {
|
|
56019
|
+
this.treeData = [{
|
|
56020
|
+
id: "virtual_root_directory",
|
|
56021
|
+
children: this.tempData,
|
|
56022
|
+
jobs: [],
|
|
56023
|
+
name: "全部",
|
|
56024
|
+
title: "全部",
|
|
56025
|
+
expand: true,
|
|
56026
|
+
parentId: null,
|
|
56027
|
+
parentName: null
|
|
56028
|
+
}];
|
|
56029
|
+
} // 默认选中第一个节点
|
|
56030
|
+
|
|
55882
56031
|
|
|
55883
56032
|
if (this.treeData.length) {
|
|
55884
56033
|
this.initNode = this.treeData[0];
|
|
@@ -55895,10 +56044,16 @@ function (_super) {
|
|
|
55895
56044
|
}; // 选中某一数据模型分组
|
|
55896
56045
|
|
|
55897
56046
|
|
|
55898
|
-
ApiProject.prototype.onSelect = function (data) {
|
|
55899
|
-
|
|
55900
|
-
|
|
55901
|
-
|
|
56047
|
+
ApiProject.prototype.onSelect = function (data, isQuery) {
|
|
56048
|
+
if (isQuery === void 0) {
|
|
56049
|
+
isQuery = true;
|
|
56050
|
+
}
|
|
56051
|
+
|
|
56052
|
+
if (isQuery) {
|
|
56053
|
+
this.currentNode = data;
|
|
56054
|
+
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
56055
|
+
this.getTableData();
|
|
56056
|
+
}
|
|
55902
56057
|
}; // 点击查询 设置condition并调用查询方法
|
|
55903
56058
|
|
|
55904
56059
|
|
|
@@ -56019,6 +56174,12 @@ function (_super) {
|
|
|
56019
56174
|
this.$emit("save", "API", addData, delData);
|
|
56020
56175
|
};
|
|
56021
56176
|
|
|
56177
|
+
ApiProject.prototype.onRowClick = function (taskCategoryID) {
|
|
56178
|
+
if (this.currentNode.id === "virtual_root_directory") {
|
|
56179
|
+
this.taskCategoryID = taskCategoryID;
|
|
56180
|
+
}
|
|
56181
|
+
};
|
|
56182
|
+
|
|
56022
56183
|
var _a, _b, _c;
|
|
56023
56184
|
|
|
56024
56185
|
api_project_decorate([autowired(api_project_service), api_project_metadata("design:type", typeof (_a = typeof api_project_service !== "undefined" && api_project_service) === "function" ? _a : Object)], ApiProject.prototype, "service", void 0);
|
|
@@ -60802,7 +60963,13 @@ function (_super) {
|
|
|
60802
60963
|
};
|
|
60803
60964
|
|
|
60804
60965
|
PreExecutionSetting.prototype.handleError = function (value) {
|
|
60805
|
-
this
|
|
60966
|
+
var _this = this; // 通过定时器保证dom节点已经渲染完毕,不然无法触发新增节点
|
|
60967
|
+
|
|
60968
|
+
|
|
60969
|
+
setTimeout(function () {
|
|
60970
|
+
_this.displayError(value);
|
|
60971
|
+
}, 5);
|
|
60972
|
+
clearTimeout();
|
|
60806
60973
|
};
|
|
60807
60974
|
|
|
60808
60975
|
PreExecutionSetting.prototype.displayError = function (value) {
|
|
@@ -60944,7 +61111,9 @@ function (_super) {
|
|
|
60944
61111
|
default: null
|
|
60945
61112
|
}), pre_execution_setting_metadata("design:type", Object)], PreExecutionSetting.prototype, "errorLine", void 0);
|
|
60946
61113
|
|
|
60947
|
-
pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine"
|
|
61114
|
+
pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine", {
|
|
61115
|
+
immediate: true
|
|
61116
|
+
}), pre_execution_setting_metadata("design:type", Function), pre_execution_setting_metadata("design:paramtypes", [Object]), pre_execution_setting_metadata("design:returntype", void 0)], PreExecutionSetting.prototype, "handleError", null);
|
|
60948
61117
|
|
|
60949
61118
|
PreExecutionSetting = pre_execution_setting_decorate([Object(flagwind_web_["component"])({
|
|
60950
61119
|
template: __webpack_require__("8ab8"),
|
|
@@ -61460,6 +61629,10 @@ function (_super) {
|
|
|
61460
61629
|
v.num = (_a = _this.cookies) === null || _a === void 0 ? void 0 : _a.length;
|
|
61461
61630
|
}
|
|
61462
61631
|
});
|
|
61632
|
+
|
|
61633
|
+
if (this.response.code && this.response.code !== 200) {
|
|
61634
|
+
this.active = this.responseSettingTypeList[4];
|
|
61635
|
+
}
|
|
61463
61636
|
};
|
|
61464
61637
|
/**
|
|
61465
61638
|
* 由于最大化的情况下脚本编辑器大小会根据相应输出栏展开收起而自适应大小
|
|
@@ -63963,7 +64136,7 @@ function (_super) {
|
|
|
63963
64136
|
var _a, _b, _c;
|
|
63964
64137
|
|
|
63965
64138
|
return interface_settings_awaiter(this, void 0, void 0, function () {
|
|
63966
|
-
var formParams, requestHeaders, index, result;
|
|
64139
|
+
var formParams, requestHeaders, index, result, reg, isError, line;
|
|
63967
64140
|
|
|
63968
64141
|
var _this = this;
|
|
63969
64142
|
|
|
@@ -64011,6 +64184,16 @@ function (_super) {
|
|
|
64011
64184
|
}
|
|
64012
64185
|
|
|
64013
64186
|
this.responseCache.set(this.interfaceModel.info.id, this.response);
|
|
64187
|
+
reg = /Error Line number:\s([0-9]+)/g;
|
|
64188
|
+
isError = this.response.output.match(reg);
|
|
64189
|
+
|
|
64190
|
+
if (isError) {
|
|
64191
|
+
line = isError[0].match(/([0-9]+)/g);
|
|
64192
|
+
line.length && (this.errorLine = line[0]);
|
|
64193
|
+
} else {
|
|
64194
|
+
this.errorLine = null;
|
|
64195
|
+
}
|
|
64196
|
+
|
|
64014
64197
|
return [2
|
|
64015
64198
|
/*return*/
|
|
64016
64199
|
];
|
|
@@ -64160,7 +64343,6 @@ function (_super) {
|
|
|
64160
64343
|
|
|
64161
64344
|
InterfaceSettings.prototype.onScriptRun = function () {
|
|
64162
64345
|
return interface_settings_awaiter(this, void 0, void 0, function () {
|
|
64163
|
-
var reg, isError, line;
|
|
64164
64346
|
return interface_settings_generator(this, function (_a) {
|
|
64165
64347
|
switch (_a.label) {
|
|
64166
64348
|
case 0:
|
|
@@ -64171,16 +64353,6 @@ function (_super) {
|
|
|
64171
64353
|
case 1:
|
|
64172
64354
|
_a.sent();
|
|
64173
64355
|
|
|
64174
|
-
reg = /Error Line number:\s([0-9]+)/g;
|
|
64175
|
-
isError = this.response.output.match(reg);
|
|
64176
|
-
|
|
64177
|
-
if (isError) {
|
|
64178
|
-
line = isError[0].match(/([0-9]+)/g);
|
|
64179
|
-
line.length && (this.errorLine = line[0]);
|
|
64180
|
-
} else {
|
|
64181
|
-
this.errorLine = null;
|
|
64182
|
-
}
|
|
64183
|
-
|
|
64184
64356
|
return [2
|
|
64185
64357
|
/*return*/
|
|
64186
64358
|
];
|