@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.umd.js CHANGED
@@ -21228,7 +21228,7 @@ module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-c
21228
21228
  /***/ "0941":
21229
21229
  /***/ (function(module, exports) {
21230
21230
 
21231
- module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1280\" class=\"u-api-project-modal diy-modal\">\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"
21231
+ module.exports = "<i-modal draggable sticky transfer reset-drag-position :mask-closable=\"false\" v-model=\"show\" width=\"1280\" class=\"u-api-project-modal diy-modal\">\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"
21232
21232
 
21233
21233
  /***/ }),
21234
21234
 
@@ -26864,7 +26864,7 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
26864
26864
  /***/ "4935":
26865
26865
  /***/ (function(module, exports) {
26866
26866
 
26867
- 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"
26867
+ 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"
26868
26868
 
26869
26869
  /***/ }),
26870
26870
 
@@ -40682,7 +40682,7 @@ module.exports = function (argument) {
40682
40682
  /***/ "82af":
40683
40683
  /***/ (function(module, exports) {
40684
40684
 
40685
- 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"
40685
+ 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"
40686
40686
 
40687
40687
  /***/ }),
40688
40688
 
@@ -41941,7 +41941,7 @@ module.exports = function (S, index, unicode) {
41941
41941
  /***/ "8ab8":
41942
41942
  /***/ (function(module, exports) {
41943
41943
 
41944
- 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-zuidahua\"></i>{{viewMax ? \"还原显示\" : \"最大化\"}}</span>\r\n <span @click=\"onSave\"><i class=\"iconfont icon-baocun\"></i>保存</span>\r\n <span @click=\"onRun\"><i class=\"iconfont icon-yunhangchengxu\"></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"
41944
+ 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"
41945
41945
 
41946
41946
  /***/ }),
41947
41947
 
@@ -42305,7 +42305,7 @@ dom.importCssString(exports.cssText, exports.cssClass);
42305
42305
  /***/ "981a":
42306
42306
  /***/ (function(module, exports) {
42307
42307
 
42308
- 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"
42308
+ 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"
42309
42309
 
42310
42310
  /***/ }),
42311
42311
 
@@ -50604,6 +50604,7 @@ var common_tree_metadata = undefined && undefined.__metadata || function (k, v)
50604
50604
 
50605
50605
 
50606
50606
 
50607
+
50607
50608
  var common_tree_CommonTree =
50608
50609
  /** @class */
50609
50610
  function (_super) {
@@ -50713,14 +50714,67 @@ function (_super) {
50713
50714
  this.$emit("on-select", this.selectItem);
50714
50715
  };
50715
50716
 
50717
+ CommonTree.prototype.onLocationSelect = function (node, isQuery) {
50718
+ if (isQuery === void 0) {
50719
+ isQuery = true;
50720
+ }
50721
+
50722
+ this.selectItem = node;
50723
+ this.$emit("on-select", this.selectItem, isQuery);
50724
+ };
50725
+
50716
50726
  CommonTree.prototype.initTreeData = function (nv) {
50717
50727
  if (!nv) return;
50718
50728
  this.treeData = nv;
50729
+
50730
+ if (this.treeData.length && this.treeData[0].id === "virtual_root_directory") {
50731
+ this.onToggleExpand(this.treeData[0]);
50732
+ }
50733
+
50719
50734
  this.renderData = this.treeData.map(function (v) {
50720
50735
  // v.render = this.renderContent;
50721
50736
  return v;
50722
50737
  });
50723
50738
  };
50739
+
50740
+ CommonTree.prototype.watchTaskID = function (nv) {
50741
+ if (nv) {
50742
+ var arr_1 = TreeDataUtil.treeNodeFatherArray(this.treeData, nv);
50743
+
50744
+ if (arr_1.length > 0) {
50745
+ for (var i = 0; i < arr_1.length; i++) {
50746
+ if (i === arr_1.length - 1) {
50747
+ this.onLocationSelect(arr_1[i], false);
50748
+ } else {
50749
+ arr_1[i].expand = true;
50750
+ this.onToggleExpand(arr_1[i]);
50751
+ }
50752
+ }
50753
+ }
50754
+
50755
+ this.$nextTick(function () {
50756
+ clearTimeout();
50757
+ var element = document.getElementsByClassName("ivu-tree-title-selected");
50758
+ var selectElement = null;
50759
+
50760
+ for (var j = 0; j < element.length; j++) {
50761
+ if (arr_1.length && element[j].innerText === arr_1[arr_1.length - 1].name) {
50762
+ selectElement = element[j];
50763
+ break;
50764
+ }
50765
+ }
50766
+
50767
+ if (element.length) {
50768
+ setTimeout(function () {
50769
+ selectElement.scrollIntoView({
50770
+ behavior: "smooth",
50771
+ block: "center"
50772
+ });
50773
+ }, 200);
50774
+ }
50775
+ });
50776
+ }
50777
+ };
50724
50778
  /**
50725
50779
  * 渲染子节点
50726
50780
  * @param h
@@ -50777,6 +50831,10 @@ function (_super) {
50777
50831
  default: false
50778
50832
  }), common_tree_metadata("design:type", Boolean)], CommonTree.prototype, "isTreeList", void 0);
50779
50833
 
50834
+ common_tree_decorate([Object(flagwind_web_["config"])({
50835
+ default: ""
50836
+ }), common_tree_metadata("design:type", String)], CommonTree.prototype, "commonTaskCategoryID", void 0);
50837
+
50780
50838
  common_tree_decorate([Object(flagwind_web_["watch"])("data", {
50781
50839
  immediate: true,
50782
50840
  deep: false
@@ -50785,6 +50843,10 @@ function (_super) {
50785
50843
  deep: false
50786
50844
  }), 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);
50787
50845
 
50846
+ common_tree_decorate([Object(flagwind_web_["watch"])("commonTaskCategoryID", {
50847
+ immediate: false
50848
+ }), common_tree_metadata("design:type", Function), common_tree_metadata("design:paramtypes", [String]), common_tree_metadata("design:returntype", void 0)], CommonTree.prototype, "watchTaskID", null);
50849
+
50788
50850
  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);
50789
50851
 
50790
50852
  CommonTree = common_tree_decorate([Object(flagwind_web_["component"])({
@@ -54033,6 +54095,10 @@ function (_super) {
54033
54095
  });
54034
54096
  };
54035
54097
 
54098
+ DataModelList.prototype.onRowClick = function (row, index) {
54099
+ this.$emit("on-row-click", row.categoryId);
54100
+ };
54101
+
54036
54102
  var _a, _b;
54037
54103
 
54038
54104
  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);
@@ -54082,6 +54148,7 @@ var data_model = __webpack_require__("a121");
54082
54148
 
54083
54149
 
54084
54150
 
54151
+
54085
54152
  var data_model_extends = undefined && undefined.__extends || function () {
54086
54153
  var _extendStatics = function extendStatics(d, b) {
54087
54154
  _extendStatics = Object.setPrototypeOf || {
@@ -54311,9 +54378,11 @@ function (_super) {
54311
54378
 
54312
54379
  _this.splitHorizontal = 0.25;
54313
54380
  _this.splitVertical = 0.6;
54314
- _this.isLoading = false; // 原始的树形结构
54381
+ _this.isLoading = false;
54382
+ _this.taskCategoryID = ""; // 原始的树形结构
54315
54383
 
54316
- _this.treeData = []; // 当前选中的数据模型
54384
+ _this.treeData = [];
54385
+ _this.tempData = []; // 当前选中的数据模型
54317
54386
 
54318
54387
  _this.currentNode = {}; // 默认选中的数据模型
54319
54388
 
@@ -54427,7 +54496,37 @@ function (_super) {
54427
54496
  this.isLoading = false;
54428
54497
 
54429
54498
  if (res && !res.hasError) {
54430
- this.treeData = TreeDataUtil.handlerTreeData(res.result || [], "name"); // 默认选中第一个节点
54499
+ this.tempData = TreeDataUtil.handlerTreeData(res.result || [], "name");
54500
+
54501
+ if (this.tempData.length > 0) {
54502
+ this.tempData.forEach(function (item) {
54503
+ if (!item.parentId) {
54504
+ item.parentId = "virtual_root_directory";
54505
+ }
54506
+ });
54507
+ this.treeData = [data_model_assign(data_model_assign({}, this.tempData[0]), {
54508
+ id: "virtual_root_directory",
54509
+ children: this.tempData,
54510
+ jobs: [],
54511
+ name: "全部",
54512
+ title: "全部",
54513
+ expand: true,
54514
+ parentId: null,
54515
+ parentName: null
54516
+ })];
54517
+ } else {
54518
+ this.treeData = [{
54519
+ id: "virtual_root_directory",
54520
+ children: this.tempData,
54521
+ jobs: [],
54522
+ name: "全部",
54523
+ title: "全部",
54524
+ expand: true,
54525
+ parentId: null,
54526
+ parentName: null
54527
+ }];
54528
+ } // 默认选中第一个节点
54529
+
54431
54530
 
54432
54531
  if (this.treeData.length) {
54433
54532
  this.initNode = this.treeData[0];
@@ -54444,10 +54543,16 @@ function (_super) {
54444
54543
  }; // 选中某一数据模型分组
54445
54544
 
54446
54545
 
54447
- DataModel.prototype.onSelect = function (data) {
54448
- this.currentNode = data;
54449
- this.condition.categoryId = this.currentNode.id;
54450
- this.getTableData();
54546
+ DataModel.prototype.onSelect = function (data, isQuery) {
54547
+ if (isQuery === void 0) {
54548
+ isQuery = true;
54549
+ }
54550
+
54551
+ if (isQuery) {
54552
+ this.currentNode = data;
54553
+ this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
54554
+ this.getTableData();
54555
+ }
54451
54556
  }; // 点击查询 设置condition并调用查询方法
54452
54557
 
54453
54558
 
@@ -54568,6 +54673,12 @@ function (_super) {
54568
54673
  this.$emit("save", "MODEL", addData, delData);
54569
54674
  };
54570
54675
 
54676
+ DataModel.prototype.onRowClick = function (taskCategoryID) {
54677
+ if (this.currentNode.id === "virtual_root_directory") {
54678
+ this.taskCategoryID = taskCategoryID;
54679
+ }
54680
+ };
54681
+
54571
54682
  var _a, _b;
54572
54683
 
54573
54684
  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);
@@ -55495,6 +55606,10 @@ function (_super) {
55495
55606
  });
55496
55607
  };
55497
55608
 
55609
+ ApiProjectList.prototype.onRowClick = function (row, index) {
55610
+ this.$emit("on-row-click", row.categoryId);
55611
+ };
55612
+
55498
55613
  var _a, _b;
55499
55614
 
55500
55615
  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);
@@ -55544,6 +55659,7 @@ var api_project = __webpack_require__("eb57");
55544
55659
 
55545
55660
 
55546
55661
 
55662
+
55547
55663
  var api_project_extends = undefined && undefined.__extends || function () {
55548
55664
  var _extendStatics = function extendStatics(d, b) {
55549
55665
  _extendStatics = Object.setPrototypeOf || {
@@ -55773,9 +55889,11 @@ function (_super) {
55773
55889
 
55774
55890
  _this.splitHorizontal = 0.25;
55775
55891
  _this.splitVertical = 0.6;
55776
- _this.isLoading = false; // 原始的树形结构
55892
+ _this.isLoading = false;
55893
+ _this.taskCategoryID = ""; // 原始的树形结构
55777
55894
 
55778
- _this.treeData = []; // 当前选中的数据模型
55895
+ _this.treeData = [];
55896
+ _this.tempData = []; // 当前选中的数据模型
55779
55897
 
55780
55898
  _this.currentNode = {}; // 默认选中的数据模型
55781
55899
 
@@ -55887,7 +56005,38 @@ function (_super) {
55887
56005
  this.isLoading = false;
55888
56006
 
55889
56007
  if (res && !res.hasError) {
55890
- this.treeData = TreeDataUtil.handlerTreeData(res.result || [], "name"); // 默认选中第一个节点
56008
+ // this.treeData = TreeDataUtil.handlerTreeData(res.result || [], "name");
56009
+ this.tempData = TreeDataUtil.handlerTreeData(res.result || [], "name");
56010
+
56011
+ if (this.tempData.length > 0) {
56012
+ this.tempData.forEach(function (item) {
56013
+ if (!item.parentId) {
56014
+ item.parentId = "virtual_root_directory";
56015
+ }
56016
+ });
56017
+ this.treeData = [api_project_assign(api_project_assign({}, this.tempData[0]), {
56018
+ id: "virtual_root_directory",
56019
+ children: this.tempData,
56020
+ jobs: [],
56021
+ name: "全部",
56022
+ title: "全部",
56023
+ expand: true,
56024
+ parentId: null,
56025
+ parentName: null
56026
+ })];
56027
+ } else {
56028
+ this.treeData = [{
56029
+ id: "virtual_root_directory",
56030
+ children: this.tempData,
56031
+ jobs: [],
56032
+ name: "全部",
56033
+ title: "全部",
56034
+ expand: true,
56035
+ parentId: null,
56036
+ parentName: null
56037
+ }];
56038
+ } // 默认选中第一个节点
56039
+
55891
56040
 
55892
56041
  if (this.treeData.length) {
55893
56042
  this.initNode = this.treeData[0];
@@ -55904,10 +56053,16 @@ function (_super) {
55904
56053
  }; // 选中某一数据模型分组
55905
56054
 
55906
56055
 
55907
- ApiProject.prototype.onSelect = function (data) {
55908
- this.currentNode = data;
55909
- this.condition.categoryId = this.currentNode.id;
55910
- this.getTableData();
56056
+ ApiProject.prototype.onSelect = function (data, isQuery) {
56057
+ if (isQuery === void 0) {
56058
+ isQuery = true;
56059
+ }
56060
+
56061
+ if (isQuery) {
56062
+ this.currentNode = data;
56063
+ this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
56064
+ this.getTableData();
56065
+ }
55911
56066
  }; // 点击查询 设置condition并调用查询方法
55912
56067
 
55913
56068
 
@@ -56028,6 +56183,12 @@ function (_super) {
56028
56183
  this.$emit("save", "API", addData, delData);
56029
56184
  };
56030
56185
 
56186
+ ApiProject.prototype.onRowClick = function (taskCategoryID) {
56187
+ if (this.currentNode.id === "virtual_root_directory") {
56188
+ this.taskCategoryID = taskCategoryID;
56189
+ }
56190
+ };
56191
+
56031
56192
  var _a, _b, _c;
56032
56193
 
56033
56194
  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);
@@ -60811,7 +60972,13 @@ function (_super) {
60811
60972
  };
60812
60973
 
60813
60974
  PreExecutionSetting.prototype.handleError = function (value) {
60814
- this.displayError(value);
60975
+ var _this = this; // 通过定时器保证dom节点已经渲染完毕,不然无法触发新增节点
60976
+
60977
+
60978
+ setTimeout(function () {
60979
+ _this.displayError(value);
60980
+ }, 5);
60981
+ clearTimeout();
60815
60982
  };
60816
60983
 
60817
60984
  PreExecutionSetting.prototype.displayError = function (value) {
@@ -60953,7 +61120,9 @@ function (_super) {
60953
61120
  default: null
60954
61121
  }), pre_execution_setting_metadata("design:type", Object)], PreExecutionSetting.prototype, "errorLine", void 0);
60955
61122
 
60956
- pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine"), 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);
61123
+ pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine", {
61124
+ immediate: true
61125
+ }), 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);
60957
61126
 
60958
61127
  PreExecutionSetting = pre_execution_setting_decorate([Object(flagwind_web_["component"])({
60959
61128
  template: __webpack_require__("8ab8"),
@@ -61469,6 +61638,10 @@ function (_super) {
61469
61638
  v.num = (_a = _this.cookies) === null || _a === void 0 ? void 0 : _a.length;
61470
61639
  }
61471
61640
  });
61641
+
61642
+ if (this.response.code && this.response.code !== 200) {
61643
+ this.active = this.responseSettingTypeList[4];
61644
+ }
61472
61645
  };
61473
61646
  /**
61474
61647
  * 由于最大化的情况下脚本编辑器大小会根据相应输出栏展开收起而自适应大小
@@ -63972,7 +64145,7 @@ function (_super) {
63972
64145
  var _a, _b, _c;
63973
64146
 
63974
64147
  return interface_settings_awaiter(this, void 0, void 0, function () {
63975
- var formParams, requestHeaders, index, result;
64148
+ var formParams, requestHeaders, index, result, reg, isError, line;
63976
64149
 
63977
64150
  var _this = this;
63978
64151
 
@@ -64020,6 +64193,16 @@ function (_super) {
64020
64193
  }
64021
64194
 
64022
64195
  this.responseCache.set(this.interfaceModel.info.id, this.response);
64196
+ reg = /Error Line number:\s([0-9]+)/g;
64197
+ isError = this.response.output.match(reg);
64198
+
64199
+ if (isError) {
64200
+ line = isError[0].match(/([0-9]+)/g);
64201
+ line.length && (this.errorLine = line[0]);
64202
+ } else {
64203
+ this.errorLine = null;
64204
+ }
64205
+
64023
64206
  return [2
64024
64207
  /*return*/
64025
64208
  ];
@@ -64169,7 +64352,6 @@ function (_super) {
64169
64352
 
64170
64353
  InterfaceSettings.prototype.onScriptRun = function () {
64171
64354
  return interface_settings_awaiter(this, void 0, void 0, function () {
64172
- var reg, isError, line;
64173
64355
  return interface_settings_generator(this, function (_a) {
64174
64356
  switch (_a.label) {
64175
64357
  case 0:
@@ -64180,16 +64362,6 @@ function (_super) {
64180
64362
  case 1:
64181
64363
  _a.sent();
64182
64364
 
64183
- reg = /Error Line number:\s([0-9]+)/g;
64184
- isError = this.response.output.match(reg);
64185
-
64186
- if (isError) {
64187
- line = isError[0].match(/([0-9]+)/g);
64188
- line.length && (this.errorLine = line[0]);
64189
- } else {
64190
- this.errorLine = null;
64191
- }
64192
-
64193
64365
  return [2
64194
64366
  /*return*/
64195
64367
  ];