@egova/egova-api 1.0.147 → 1.0.150
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 +80 -91
- package/dist/index.css +1 -1
- package/dist/index.umd.js +80 -91
- package/dist/index.umd.min.js +3 -3
- package/dist/types/src/views/project-combine/tree/index.d.ts +1 -0
- package/dist/types/src/views/project-detail/after-execution-transfer/index.d.ts +5 -5
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -21181,7 +21181,7 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
21181
21181
|
/***/ "07ab":
|
|
21182
21182
|
/***/ (function(module, exports) {
|
|
21183
21183
|
|
|
21184
|
-
module.exports = "<div class=\"u-tree-node\" @click=\"onClickNode\">\n <i class=\"iconfont\" :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"></i>\n <div class=\"name\">{{data.name}}</div>\n <i-dropdown @on-click=\"onClick\" transfer transfer-class-name=\"node-oprate\">\n <i-icon type=\"ios-more\" />\n <i-dropdown-menu slot=\"list\">\n <i-dropdown-item v-for=\"item in actions\" :key=\"item.name\" :name=\"item.name\">\n <template v-if=\"item.name === 'import'\">\n <i-upload\n class=\"action-item\"\n :action=\"uploadAction\"\n :data=\"uploadParams\"\n accept=\".json\"\n :headers=\"headers\"\n :show-upload-list=\"false\"\n :format=\"['json']\"\n :on-success=\"onSuccess\"\n :before-upload=\"onBeforeUpload\"\n :on-format-error=\"onFormatError\"\n >\n <i title=\"导入\" class=\"iconfont icon-import\"></i>{{item.text}}\n </i-upload>\n </template>\n <template v-else> <i class=\"iconfont\" :class=\"'icon-' + (item.icon || item.name)\"></i>{{item.text}} </template>\n </i-dropdown-item>\n </i-dropdown-menu>\n </i-dropdown>\n</div>\n"
|
|
21184
|
+
module.exports = "<div class=\"u-tree-node\" @click=\"onClickNode\">\r\n <i class=\"iconfont\" :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"></i>\r\n <div class=\"name\">{{data.name}}</div>\r\n <i-dropdown @on-click=\"onClick\" transfer transfer-class-name=\"node-oprate\" v-if=\"data.id !== 'virtual_root_directory'\">\r\n <i-icon type=\"ios-more\" />\r\n <i-dropdown-menu slot=\"list\">\r\n <i-dropdown-item v-for=\"item in actions\" :key=\"item.name\" :name=\"item.name\">\r\n <template v-if=\"item.name === 'import'\">\r\n <i-upload\r\n class=\"action-item\"\r\n :action=\"uploadAction\"\r\n :data=\"uploadParams\"\r\n accept=\".json\"\r\n :headers=\"headers\"\r\n :show-upload-list=\"false\"\r\n :format=\"['json']\"\r\n :on-success=\"onSuccess\"\r\n :before-upload=\"onBeforeUpload\"\r\n :on-format-error=\"onFormatError\"\r\n >\r\n <i title=\"导入\" class=\"iconfont icon-import\"></i>{{item.text}}\r\n </i-upload>\r\n </template>\r\n <template v-else> <i class=\"iconfont\" :class=\"'icon-' + (item.icon || item.name)\"></i>{{item.text}} </template>\r\n </i-dropdown-item>\r\n </i-dropdown-menu>\r\n </i-dropdown>\r\n</div>\r\n"
|
|
21185
21185
|
|
|
21186
21186
|
/***/ }),
|
|
21187
21187
|
|
|
@@ -24809,14 +24809,14 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
24809
24809
|
/***/ "22e8":
|
|
24810
24810
|
/***/ (function(module, exports) {
|
|
24811
24811
|
|
|
24812
|
-
module.exports = "<article class=\"headers-setting\">\r\n <header>\r\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAdd\">\r\n <i class=\"api-icon icon-add\"></i>新增\r\n </i-button>\r\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\r\n <i class=\"api-icon icon-import\"></i>导入参数\r\n </i-button>\r\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\r\n <i class=\"api-icon icon-export\"></i>导出参数\r\n </i-button> -->\r\n </header>\r\n <i-table\r\n class=\"diy-table\"\r\n :columns=\"columns\"\r\n :data=\"interfaceModel.requestHeaders\"\r\n >\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox\r\n :value=\"!interfaceModel.requestHeaders[index].disabled\"\r\n @on-change=\"onChangeDisabled($event,interfaceModel.requestHeaders[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=\"interfaceModel.requestHeaders[index].name\"\r\n >\r\n </i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"value\">\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入参数值\"\r\n v-model=\"interfaceModel.requestHeaders[index].value\"\r\n >\r\n </i-input>\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=\"interfaceModel.requestHeaders[index].text\"\r\n >\r\n </i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <i-poptip title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(index)\" transfer>\r\n <
|
|
24812
|
+
module.exports = "<article class=\"headers-setting\">\r\n <header>\r\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAdd\">\r\n <i class=\"api-icon icon-add\"></i>新增\r\n </i-button>\r\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\r\n <i class=\"api-icon icon-import\"></i>导入参数\r\n </i-button>\r\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\">\r\n <i class=\"api-icon icon-export\"></i>导出参数\r\n </i-button> -->\r\n </header>\r\n <i-table\r\n class=\"diy-table\"\r\n :columns=\"columns\"\r\n :data=\"interfaceModel.requestHeaders\"\r\n >\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox\r\n :value=\"!interfaceModel.requestHeaders[index].disabled\"\r\n @on-change=\"onChangeDisabled($event,interfaceModel.requestHeaders[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=\"interfaceModel.requestHeaders[index].name\"\r\n >\r\n </i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"value\">\r\n <i-input\r\n class=\"diy-input\"\r\n placeholder=\"输入参数值\"\r\n v-model=\"interfaceModel.requestHeaders[index].value\"\r\n >\r\n </i-input>\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=\"interfaceModel.requestHeaders[index].text\"\r\n >\r\n </i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <i-poptip title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(index)\" transfer>\r\n <i class=\"iconfont icon-delete\" title=\"删除\"></i>\r\n </i-poptip>\r\n </template>\r\n </i-table>\r\n</article>\r\n"
|
|
24813
24813
|
|
|
24814
24814
|
/***/ }),
|
|
24815
24815
|
|
|
24816
24816
|
/***/ "236b":
|
|
24817
24817
|
/***/ (function(module, exports) {
|
|
24818
24818
|
|
|
24819
|
-
module.exports = "<article class=\"after-execution-transfer\">\r\n <i-form :label-width=\"112\" class=\"diy-form\" label-colon v-if=\"interfaceModel.convertConfig\">\r\n <i-form-item label=\"状态字段位置\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCodePath\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"成功标识\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCode\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"数据字段位置\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.convertRoot\"></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <i-row class=\"transfer-actions\" justify=\"space-between\">\r\n <span>配置输出字段</span>\r\n <div class=\"actions-wrapper\">\r\n <i-poptip confirm title=\"
|
|
24819
|
+
module.exports = "<article class=\"after-execution-transfer\">\r\n <i-form :label-width=\"112\" class=\"diy-form\" label-colon v-if=\"interfaceModel.convertConfig\">\r\n <i-form-item label=\"状态字段位置\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCodePath\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"成功标识\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCode\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"数据字段位置\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.convertRoot\"></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <i-row class=\"transfer-actions\" justify=\"space-between\">\r\n <div class=\"transfer-actions-title\">\r\n <span>配置输出字段</span>\r\n <i-poptip class=\"action\" trigger=\"hover\" content=\"当前页面的勾选框仅对批量删除有效,实际输出字段为下方列表内的所有内容。\" width=\"300\" word-wrap transfer>\r\n <i class=\"iconfont icon-xinxi\"> </i>\r\n </i-poptip>\r\n </div>\r\n <div class=\"actions-wrapper\">\r\n <i-poptip class=\"action\" confirm title=\"将自动解析转换前结果json至配置输出字段,是否继续?\" width=\"300\" @on-ok=\"onParse\" transfer>\r\n <div class=\"action-item action-text\">\r\n <i class=\"iconfont icon-jiexi-copy\"></i>\r\n 解析\r\n </div>\r\n </i-poptip>\r\n <i-poptip class=\"action\" confirm title=\"将重置当前所有输出字段为上次保存内容,是否确认一键重置?\" width=\"300\" @on-ok=\"onReset\" transfer>\r\n <div class=\"action-item action-text\">\r\n <i class=\"iconfont icon-refresh\"></i>\r\n 重置\r\n </div>\r\n </i-poptip>\r\n <div class=\"action-item action-text action\" @click=\"onAdd\">\r\n <i class=\"iconfont icon-add\"></i>\r\n 新增\r\n </div>\r\n <i-poptip class=\"action\" confirm title=\"将批量删除勾选字段,是否确认?\" @on-ok=\"batchDelete\" transfer>\r\n <div class=\"action-item action-text action-text-delete\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n 批量删除\r\n </div>\r\n </i-poptip>\r\n </div>\r\n </i-row>\r\n <i-table :columns=\"columns\" :data=\"dataList\" class=\"diy-table\" @on-selection-change=\"onChangeChecked\">\r\n <template slot-scope=\"{ row,index }\" slot=\"path\">\r\n <i-input class=\"diy-input\" v-model=\"dataList[index].paramPath\" @on-change=\"debounceUpdateFieldMappings\"> </i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"name\">\r\n <i-input class=\"diy-input half\" placeholder=\"输入字段命名\" v-model=\"dataList[index].name\" @on-change=\"debounceUpdateFieldMappings\"> </i-input>\r\n <i-select transfer class=\"half diy-select\" v-model=\"dataList[index].valueType\" placeholder=\"选择字段类型\" @on-change=\"debounceUpdateFieldMappings\">\r\n <i-option v-for=\"item in valueTypeList\" :key=\"item.name\" :value=\"item.name\">{{item.text}} </i-option>\r\n </i-select>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <span @click=\"onDelete(index)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </span>\r\n </template>\r\n </i-table>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n</article>\r\n"
|
|
24820
24820
|
|
|
24821
24821
|
/***/ }),
|
|
24822
24822
|
|
|
@@ -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 type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddRequestParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\r\n </header>\r\n <main>\r\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"queryDataList\">\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox :value=\"!queryDataList[index].disabled\" @on-change=\"onChangeDisabled($event,queryDataList[index])\"> </i-checkbox>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"name\">\r\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"queryDataList[index].name\"></i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\r\n <i-input class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"queryDataList[index].valueContent\"></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 class=\"diy-input\" placeholder=\"输入备注\" v-model=\"queryDataList[index].text\"></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 <
|
|
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 type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddRequestParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\r\n </header>\r\n <main>\r\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"queryDataList\">\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox :value=\"!queryDataList[index].disabled\" @on-change=\"onChangeDisabled($event,queryDataList[index])\"> </i-checkbox>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"name\">\r\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"queryDataList[index].name\"></i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\r\n <i-input class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"queryDataList[index].valueContent\"></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 class=\"diy-input\" placeholder=\"输入备注\" v-model=\"queryDataList[index].text\"></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 <i class=\"iconfont icon-delete\" title=\"删除\"></i>\r\n </i-poptip>\r\n <span>\r\n <i v-if=\"index>0\" class=\"iconfont icon-up\" @click=\"onUp(queryDataList,index)\" title=\"上移\"></i>\r\n <i v-if=\"index>0\" class=\"iconfont icon-top\" title=\"置顶\" @click=\"onTop(queryDataList,index)\"></i>\r\n <i v-if=\"index < queryDataList.length - 1\" @click=\"onDown(queryDataList,index)\" class=\"iconfont icon-down\" title=\"下移\"></i>\r\n <i v-if=\"index < queryDataList.length - 1\" @click=\"onBottom(queryDataList,index)\" class=\"iconfont icon-bottom\" title=\"置底\"></i>\r\n </span>\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 v-if=\"isFormData\" type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddBodyParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\r\n <i-button v-else type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onBeautify\"> <i class=\"api-icon icon-view\"></i>格式化 </i-button>\r\n <i-select transfer v-model=\"interfaceModel.info.requestBodyType\" class=\"diy-select\">\r\n <i-option v-for=\"item in requestBodyTypeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\r\n </i-select>\r\n </header>\r\n <main>\r\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"bodyDataList\" v-if=\"isFormData\">\r\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\r\n <i-checkbox :value=\"!bodyDataList[index].disabled\" @on-change=\"onChangeDisabled($event,bodyDataList[index])\"> </i-checkbox>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"name\">\r\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"bodyDataList[index].name\"></i-input>\r\n </template>\r\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\r\n <i-input class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"bodyDataList[index].valueContent\"></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 class=\"diy-input\" placeholder=\"输入备注\" v-model=\"bodyDataList[index].remark\"></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=\"onDeleteBodyParam(interfaceModel.formParams,row.id)\" transfer>\r\n <i class=\"iconfont icon-delete\" title=\"删除\"></i>\r\n </i-poptip>\r\n <span>\r\n <i v-if=\"index > 0\" class=\"iconfont icon-up\" @click=\"onUpBodyParam(interfaceModel.formParams,row.id)\" title=\"上移\"></i>\r\n <i v-if=\"index > 0\" class=\"iconfont icon-top\" @click=\"onTopBodyParam(interfaceModel.formParams,row.id)\" title=\"置顶\"></i>\r\n <i v-if=\"index < bodyDataList.length - 1\" @click=\"onDownBodyParam(interfaceModel.formParams,row.id)\" class=\"iconfont icon-down\" title=\"下移\"></i>\r\n <i v-if=\"index < bodyDataList.length - 1\" @click=\"onBottomBodyParam(interfaceModel.formParams,row.id)\" class=\"iconfont icon-bottom\" title=\"置底\"></i>\r\n </span>\r\n </template>\r\n </i-table>\r\n <u-editor v-else :value.sync=\"interfaceModel.json\" lang=\"json\" @inited=\"onEditorInited\"></u-editor>\r\n </main>\r\n </div>\r\n </i-panel>\r\n </i-collapse>\r\n</article>\r\n"
|
|
39670
39670
|
|
|
39671
39671
|
/***/ }),
|
|
39672
39672
|
|
|
@@ -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\" :class=\"selection.length ? '' : 'icon-button-disabled'\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <span>批量删除</span>\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 <i @click.stop=\"onCopy(row)\" title=\"复制\" class=\"iconfont icon-fuzhi\"> </i>\n <template v-if=\"row.status!=='PUBLISHED'\">\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"
|
|
46972
|
+
module.exports = "<!DOCTYPE html>\r\n<article class=\"v-api-combine-wrapper\">\r\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\r\n <!-- 左侧内容 -->\r\n <section slot=\"left\" class=\"left-split-pane\">\r\n <u-type-tree :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\"> </u-type-tree>\r\n </section>\r\n <!-- 分割线 -->\r\n <section class=\"trigger\" slot=\"trigger\"></section>\r\n <!-- 右侧内容 -->\r\n <section slot=\"right\" class=\"right-split-pane\">\r\n <section class=\"search-wrapper\">\r\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\r\n <i-form-item label=\"名称\" prop=\"name\">\r\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"编码\" prop=\"code\">\r\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <div class=\"btns\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\r\n </div>\r\n </section>\r\n <section class=\"actions-wrapper\">\r\n <div class=\"action-item action-text\" @click=\"onAdd()\" :class=\"currentNode.id === 'virtual_root_directory' ? 'icon-button-disabled' : ''\">\r\n <i class=\"iconfont icon-add\"></i>\r\n <div>新增</div>\r\n </div>\r\n <div class=\"action-item action-text\" :class=\"selection.length ? '' : 'icon-button-disabled'\" @click=\"onBatchDelete\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>批量删除</span>\r\n </div>\r\n </section>\r\n <section class=\"main-wrapper\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"list\" @on-selection-change=\"onSelectChange\">\r\n <template slot=\"status\" slot-scope=\"{row,index}\">\r\n <i-switch class=\"diy-switch\" :value=\"row.status==='PUBLISHED'\" @on-change=\"onStatusChange($event, row, index)\"></i-switch>\r\n <span>{{row.status===\"PUBLISHED\" ? \"已发布\" : \"未发布\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i @click.stop=\"onDetail(row)\" title=\"查看\" class=\"iconfont icon-detail\"></i>\r\n <i @click.stop=\"onCopy(row)\" title=\"复制\" class=\"iconfont icon-fuzhi\"> </i>\r\n <template v-if=\"row.status!=='PUBLISHED'\">\r\n <i @click.stop=\"onEdit(row)\" title=\"编辑\" class=\"iconfont icon-edit\"></i>\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 </template>\r\n </div>\r\n </template>\r\n </i-table>\r\n <i-page\r\n class=\"diy-page\"\r\n show-total\r\n show-sizer\r\n show-elevator\r\n :total=\"paging.totalCount\"\r\n :current=\"paging.pageIndex\"\r\n :page-size=\"paging.pageSize\"\r\n @on-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n ></i-page>\r\n </section>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n <i-modal draggable sticky reset-drag-position v-model=\"showCopyModal\" class=\"diy-modal combine-copy-modal\" :mask-closable=\"false\" title=\"复制接口\">\r\n <i-form :label-width=\"100\" class=\"diy-form\" v-model=\"copyData\" label-colon>\r\n <i-form-item label=\"接口名称\" required>\r\n <i-input class=\"diy-input\" v-model=\"copyData.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口编码\" required>\r\n <i-input class=\"diy-input\" v-model=\"copyData.code\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"选择分组\" required>\r\n <u-tree-selector :treeData=\"treeData\" leaf-name=\"copy\" :canChooseFolder=\"true\" v-model=\"categoryData.id\" @on-select=\"selectCategory\"> </u-tree-selector>\r\n </i-form-item>\r\n </i-form>\r\n <footer slot=\"footer\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onCopyConfirm\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCopyCancel\">取消</i-button>\r\n </footer>\r\n </i-modal>\r\n</article>\r\n"
|
|
46973
46973
|
|
|
46974
46974
|
/***/ }),
|
|
46975
46975
|
|
|
@@ -50668,6 +50668,11 @@ function (_super) {
|
|
|
50668
50668
|
|
|
50669
50669
|
TreeSelectorComponent.prototype.onTreeDataChange = function () {
|
|
50670
50670
|
this.tree = TreeDataUtil.handlerTreeData(this.treeData.$clone(), "name", this.leafName, undefined, this.filterEmpty);
|
|
50671
|
+
|
|
50672
|
+
if (this.tree && this.tree.length === 1 && this.tree[0].id === "virtual_root_directory") {
|
|
50673
|
+
this.tree[0].expand = true;
|
|
50674
|
+
}
|
|
50675
|
+
|
|
50671
50676
|
this.onValueChange(this.value);
|
|
50672
50677
|
};
|
|
50673
50678
|
|
|
@@ -51161,7 +51166,7 @@ function (_super) {
|
|
|
51161
51166
|
AddTreeNodeComponent.prototype.selectCategory = function (node) {
|
|
51162
51167
|
// 将所选的类型id付给当前类型的父id,实现修改分组
|
|
51163
51168
|
this.categoryData = node;
|
|
51164
|
-
this.data.parentId = this.categoryData.id;
|
|
51169
|
+
this.data.parentId = this.categoryData.id === "virtual_root_directory" ? "" : this.categoryData.id;
|
|
51165
51170
|
};
|
|
51166
51171
|
|
|
51167
51172
|
AddTreeNodeComponent.prototype.onCancel = function () {
|
|
@@ -51190,6 +51195,10 @@ function (_super) {
|
|
|
51190
51195
|
, this.$message.warning("所属分组不能选中自身")];
|
|
51191
51196
|
}
|
|
51192
51197
|
|
|
51198
|
+
if (this.data.parentId === "virtual_root_directory") {
|
|
51199
|
+
this.data.parentId = "";
|
|
51200
|
+
}
|
|
51201
|
+
|
|
51193
51202
|
return [4
|
|
51194
51203
|
/*yield*/
|
|
51195
51204
|
, this.service.saveNode(this.data)];
|
|
@@ -51464,6 +51473,7 @@ var tree = __webpack_require__("44c1");
|
|
|
51464
51473
|
|
|
51465
51474
|
|
|
51466
51475
|
|
|
51476
|
+
|
|
51467
51477
|
var tree_extends = undefined && undefined.__extends || function () {
|
|
51468
51478
|
var _extendStatics = function extendStatics(d, b) {
|
|
51469
51479
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -51693,6 +51703,7 @@ function (_super) {
|
|
|
51693
51703
|
type: _this.type,
|
|
51694
51704
|
parentId: null
|
|
51695
51705
|
};
|
|
51706
|
+
_this.tempData = [];
|
|
51696
51707
|
_this.showImportModal = false;
|
|
51697
51708
|
_this.importResult = {}; // 表头信息
|
|
51698
51709
|
|
|
@@ -52098,8 +52109,28 @@ function (_super) {
|
|
|
52098
52109
|
res = _a.sent();
|
|
52099
52110
|
|
|
52100
52111
|
if (res && !res.hasError) {
|
|
52101
|
-
this.
|
|
52102
|
-
|
|
52112
|
+
this.tempData = res.result || [];
|
|
52113
|
+
|
|
52114
|
+
if (this.tempData.length > 0) {
|
|
52115
|
+
this.tempData.forEach(function (item) {
|
|
52116
|
+
if (!item.parentId) {
|
|
52117
|
+
item.parentId = "virtual_root_directory";
|
|
52118
|
+
}
|
|
52119
|
+
});
|
|
52120
|
+
this.data = [tree_assign(tree_assign({}, this.tempData[0]), {
|
|
52121
|
+
id: "virtual_root_directory",
|
|
52122
|
+
// id: "",
|
|
52123
|
+
children: this.tempData,
|
|
52124
|
+
jobs: [],
|
|
52125
|
+
name: "全部",
|
|
52126
|
+
expand: true,
|
|
52127
|
+
parentId: null,
|
|
52128
|
+
parentName: null
|
|
52129
|
+
})];
|
|
52130
|
+
this.onToggleExpand(this.data[0]);
|
|
52131
|
+
}
|
|
52132
|
+
|
|
52133
|
+
this.$emit("on-tree-data", this.tempData);
|
|
52103
52134
|
} // 默认选中第一个节点
|
|
52104
52135
|
|
|
52105
52136
|
|
|
@@ -52629,7 +52660,7 @@ function (_super) {
|
|
|
52629
52660
|
this.loading = true;
|
|
52630
52661
|
queryModel = Object.create(null);
|
|
52631
52662
|
queryModel.condition = project_combine_assign(project_combine_assign({}, this.formData), {
|
|
52632
|
-
categoryId: (_b = this.currentNode) === null || _b === void 0 ? void 0 : _b.id
|
|
52663
|
+
categoryId: ((_b = this.currentNode) === null || _b === void 0 ? void 0 : _b.id) === "virtual_root_directory" ? "" : this.currentNode.id
|
|
52633
52664
|
});
|
|
52634
52665
|
queryModel.paging = this.paging;
|
|
52635
52666
|
return [4
|
|
@@ -52681,22 +52712,30 @@ function (_super) {
|
|
|
52681
52712
|
};
|
|
52682
52713
|
|
|
52683
52714
|
ProjectCombineManage.prototype.onAdd = function (id, isEdit) {
|
|
52715
|
+
var _a;
|
|
52716
|
+
|
|
52684
52717
|
if (isEdit === void 0) {
|
|
52685
52718
|
isEdit = true;
|
|
52686
52719
|
}
|
|
52687
52720
|
|
|
52688
52721
|
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52689
|
-
var
|
|
52722
|
+
var _b;
|
|
52723
|
+
|
|
52724
|
+
return project_combine_generator(this, function (_c) {
|
|
52725
|
+
if (((_a = this.currentNode) === null || _a === void 0 ? void 0 : _a.id) === "virtual_root_directory") {
|
|
52726
|
+
return [2
|
|
52727
|
+
/*return*/
|
|
52728
|
+
];
|
|
52729
|
+
}
|
|
52690
52730
|
|
|
52691
|
-
return project_combine_generator(this, function (_b) {
|
|
52692
52731
|
this.$router.push({
|
|
52693
52732
|
replace: true,
|
|
52694
52733
|
name: "combine-add",
|
|
52695
|
-
query: (
|
|
52734
|
+
query: (_b = {
|
|
52696
52735
|
isEdit: isEdit ? "1" : "0",
|
|
52697
52736
|
id: id !== null && id !== void 0 ? id : "",
|
|
52698
52737
|
categoryId: this.currentNode.id
|
|
52699
|
-
},
|
|
52738
|
+
}, _b["_".concat(id ? "edit" : "add")] = Date.now().toString(), _b)
|
|
52700
52739
|
});
|
|
52701
52740
|
return [2
|
|
52702
52741
|
/*return*/
|
|
@@ -60180,6 +60219,7 @@ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce
|
|
|
60180
60219
|
|
|
60181
60220
|
|
|
60182
60221
|
|
|
60222
|
+
|
|
60183
60223
|
|
|
60184
60224
|
|
|
60185
60225
|
var after_execution_transfer_extends = undefined && undefined.__extends || function () {
|
|
@@ -60210,22 +60250,6 @@ var after_execution_transfer_extends = undefined && undefined.__extends || funct
|
|
|
60210
60250
|
};
|
|
60211
60251
|
}();
|
|
60212
60252
|
|
|
60213
|
-
var after_execution_transfer_assign = undefined && undefined.__assign || function () {
|
|
60214
|
-
after_execution_transfer_assign = Object.assign || function (t) {
|
|
60215
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
60216
|
-
s = arguments[i];
|
|
60217
|
-
|
|
60218
|
-
for (var p in s) {
|
|
60219
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
60220
|
-
}
|
|
60221
|
-
}
|
|
60222
|
-
|
|
60223
|
-
return t;
|
|
60224
|
-
};
|
|
60225
|
-
|
|
60226
|
-
return after_execution_transfer_assign.apply(this, arguments);
|
|
60227
|
-
};
|
|
60228
|
-
|
|
60229
60253
|
var after_execution_transfer_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60230
60254
|
var c = arguments.length,
|
|
60231
60255
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -60399,27 +60423,13 @@ function (_super) {
|
|
|
60399
60423
|
function AfterExecutionTransfer() {
|
|
60400
60424
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
60401
60425
|
|
|
60402
|
-
_this.
|
|
60426
|
+
_this.loading = false;
|
|
60427
|
+
_this.selections = [];
|
|
60403
60428
|
_this.debounceUpdateFieldMappings = lodash_debounce_default()(_this.updateFieldMappings, 500);
|
|
60404
60429
|
_this.columns = [{
|
|
60405
|
-
|
|
60430
|
+
type: "selection",
|
|
60406
60431
|
width: 60,
|
|
60407
|
-
align: "center"
|
|
60408
|
-
title: "启用",
|
|
60409
|
-
renderHeader: function renderHeader(h, _a) {
|
|
60410
|
-
var column = _a.column,
|
|
60411
|
-
index = _a.index;
|
|
60412
|
-
return h("div", [h("i-checkbox", {
|
|
60413
|
-
props: {
|
|
60414
|
-
value: _this.checkAll
|
|
60415
|
-
},
|
|
60416
|
-
on: {
|
|
60417
|
-
"on-change": function onChange(v) {
|
|
60418
|
-
_this.onToggleAll(v);
|
|
60419
|
-
}
|
|
60420
|
-
}
|
|
60421
|
-
})]);
|
|
60422
|
-
}
|
|
60432
|
+
align: "center"
|
|
60423
60433
|
}, {
|
|
60424
60434
|
title: "读取字段的JSON路径",
|
|
60425
60435
|
maxWidth: 350,
|
|
@@ -60443,12 +60453,6 @@ function (_super) {
|
|
|
60443
60453
|
return _this;
|
|
60444
60454
|
}
|
|
60445
60455
|
|
|
60446
|
-
AfterExecutionTransfer.prototype.onDataListChange = function () {
|
|
60447
|
-
this.checkAll = this.dataList.every(function (d) {
|
|
60448
|
-
return d.checked;
|
|
60449
|
-
});
|
|
60450
|
-
};
|
|
60451
|
-
|
|
60452
60456
|
AfterExecutionTransfer.prototype.mounted = function () {
|
|
60453
60457
|
return after_execution_transfer_awaiter(this, void 0, void 0, function () {
|
|
60454
60458
|
return after_execution_transfer_generator(this, function (_a) {
|
|
@@ -60489,11 +60493,7 @@ function (_super) {
|
|
|
60489
60493
|
var _a;
|
|
60490
60494
|
|
|
60491
60495
|
if ((_a = this.interfaceModel.fieldMappings) === null || _a === void 0 ? void 0 : _a.length) {
|
|
60492
|
-
this.dataList = this.interfaceModel.fieldMappings.
|
|
60493
|
-
return after_execution_transfer_assign(after_execution_transfer_assign({}, g), {
|
|
60494
|
-
checked: true
|
|
60495
|
-
});
|
|
60496
|
-
}).sort(function (a, b) {
|
|
60496
|
+
this.dataList = this.interfaceModel.fieldMappings.sort(function (a, b) {
|
|
60497
60497
|
var _a;
|
|
60498
60498
|
|
|
60499
60499
|
return (_a = a.paramPath) === null || _a === void 0 ? void 0 : _a.localeCompare(b.paramPath);
|
|
@@ -60506,29 +60506,22 @@ function (_super) {
|
|
|
60506
60506
|
});
|
|
60507
60507
|
};
|
|
60508
60508
|
|
|
60509
|
-
AfterExecutionTransfer.prototype.
|
|
60509
|
+
AfterExecutionTransfer.prototype.onParse = function () {
|
|
60510
60510
|
var _a, _b;
|
|
60511
60511
|
|
|
60512
60512
|
return after_execution_transfer_awaiter(this, void 0, void 0, function () {
|
|
60513
60513
|
var result, dataList, checkArray, set;
|
|
60514
|
-
|
|
60515
|
-
var _this = this;
|
|
60516
|
-
|
|
60517
60514
|
return after_execution_transfer_generator(this, function (_c) {
|
|
60518
60515
|
switch (_c.label) {
|
|
60519
60516
|
case 0:
|
|
60520
60517
|
if (!this.response.originalContent) {
|
|
60518
|
+
this.$Message.error("请先获取转换前参数!");
|
|
60521
60519
|
return [2
|
|
60522
60520
|
/*return*/
|
|
60523
60521
|
];
|
|
60524
60522
|
}
|
|
60525
60523
|
|
|
60526
|
-
|
|
60527
|
-
return [2
|
|
60528
|
-
/*return*/
|
|
60529
|
-
];
|
|
60530
|
-
}
|
|
60531
|
-
|
|
60524
|
+
this.loading = true;
|
|
60532
60525
|
return [4
|
|
60533
60526
|
/*yield*/
|
|
60534
60527
|
, this.service.parseResponse2Fields(this.response.originalContent, (_a = this.interfaceModel.convertConfig) === null || _a === void 0 ? void 0 : _a.convertRoot)];
|
|
@@ -60549,8 +60542,6 @@ function (_super) {
|
|
|
60549
60542
|
}));
|
|
60550
60543
|
dataList.forEach(function (d) {
|
|
60551
60544
|
if (set.has(d.originalParamPath)) {
|
|
60552
|
-
_this.$set(d, "checked", set.has(d.originalParamPath));
|
|
60553
|
-
|
|
60554
60545
|
var obj = checkArray.find(function (v) {
|
|
60555
60546
|
return v.originalParamPath === d.originalParamPath;
|
|
60556
60547
|
});
|
|
@@ -60558,6 +60549,7 @@ function (_super) {
|
|
|
60558
60549
|
}
|
|
60559
60550
|
});
|
|
60560
60551
|
this.dataList = dataList;
|
|
60552
|
+
this.loading = false;
|
|
60561
60553
|
return [2
|
|
60562
60554
|
/*return*/
|
|
60563
60555
|
];
|
|
@@ -60566,21 +60558,28 @@ function (_super) {
|
|
|
60566
60558
|
});
|
|
60567
60559
|
};
|
|
60568
60560
|
|
|
60569
|
-
AfterExecutionTransfer.prototype.
|
|
60570
|
-
this.
|
|
60571
|
-
return after_execution_transfer_assign(after_execution_transfer_assign({}, d), {
|
|
60572
|
-
checked: checkAll
|
|
60573
|
-
});
|
|
60574
|
-
});
|
|
60561
|
+
AfterExecutionTransfer.prototype.onChangeChecked = function (selection) {
|
|
60562
|
+
this.selections = selection;
|
|
60575
60563
|
this.debounceUpdateFieldMappings();
|
|
60576
60564
|
};
|
|
60577
60565
|
|
|
60578
|
-
AfterExecutionTransfer.prototype.
|
|
60566
|
+
AfterExecutionTransfer.prototype.batchDelete = function () {
|
|
60567
|
+
var _this = this;
|
|
60568
|
+
|
|
60569
|
+
this.selections.map(function (item) {
|
|
60570
|
+
var index = _this.dataList.findIndex(function (h) {
|
|
60571
|
+
return h.name === item.name;
|
|
60572
|
+
});
|
|
60573
|
+
|
|
60574
|
+
if (index > -1) {
|
|
60575
|
+
_this.dataList.splice(index, 1);
|
|
60576
|
+
}
|
|
60577
|
+
});
|
|
60579
60578
|
this.debounceUpdateFieldMappings();
|
|
60580
60579
|
};
|
|
60581
60580
|
|
|
60582
60581
|
AfterExecutionTransfer.prototype.onAdd = function () {
|
|
60583
|
-
this.dataList.
|
|
60582
|
+
this.dataList.unshift(new FieldMapping());
|
|
60584
60583
|
this.debounceUpdateFieldMappings();
|
|
60585
60584
|
};
|
|
60586
60585
|
|
|
@@ -60595,9 +60594,7 @@ function (_super) {
|
|
|
60595
60594
|
};
|
|
60596
60595
|
|
|
60597
60596
|
AfterExecutionTransfer.prototype.updateFieldMappings = function () {
|
|
60598
|
-
this.interfaceModel.fieldMappings = this.dataList
|
|
60599
|
-
return d.checked;
|
|
60600
|
-
});
|
|
60597
|
+
this.interfaceModel.fieldMappings = this.dataList;
|
|
60601
60598
|
};
|
|
60602
60599
|
|
|
60603
60600
|
var _a, _b, _c;
|
|
@@ -60616,14 +60613,6 @@ function (_super) {
|
|
|
60616
60613
|
}
|
|
60617
60614
|
}), after_execution_transfer_metadata("design:type", typeof (_c = typeof Response !== "undefined" && Response) === "function" ? _c : Object)], AfterExecutionTransfer.prototype, "response", void 0);
|
|
60618
60615
|
|
|
60619
|
-
after_execution_transfer_decorate([Object(flagwind_web_["watch"])("dataList", {
|
|
60620
|
-
immediate: true
|
|
60621
|
-
}), after_execution_transfer_metadata("design:type", Function), after_execution_transfer_metadata("design:paramtypes", []), after_execution_transfer_metadata("design:returntype", void 0)], AfterExecutionTransfer.prototype, "onDataListChange", null);
|
|
60622
|
-
|
|
60623
|
-
after_execution_transfer_decorate([Object(flagwind_web_["watch"])("response", {
|
|
60624
|
-
immediate: true
|
|
60625
|
-
}), after_execution_transfer_metadata("design:type", Function), after_execution_transfer_metadata("design:paramtypes", []), after_execution_transfer_metadata("design:returntype", Promise)], AfterExecutionTransfer.prototype, "getFiledMappings", null);
|
|
60626
|
-
|
|
60627
60616
|
AfterExecutionTransfer = after_execution_transfer_decorate([Object(flagwind_web_["component"])({
|
|
60628
60617
|
template: __webpack_require__("236b"),
|
|
60629
60618
|
components: {}
|
|
@@ -61118,7 +61107,7 @@ function (_super) {
|
|
|
61118
61107
|
text: "",
|
|
61119
61108
|
type: "QueryString",
|
|
61120
61109
|
valueContent: "",
|
|
61121
|
-
disabled:
|
|
61110
|
+
disabled: false
|
|
61122
61111
|
});
|
|
61123
61112
|
};
|
|
61124
61113
|
|
|
@@ -61128,7 +61117,7 @@ function (_super) {
|
|
|
61128
61117
|
text: "",
|
|
61129
61118
|
type: this.typeMap[this.bodyType],
|
|
61130
61119
|
valueContent: "",
|
|
61131
|
-
disabled:
|
|
61120
|
+
disabled: false
|
|
61132
61121
|
});
|
|
61133
61122
|
};
|
|
61134
61123
|
|