@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.umd.js
CHANGED
|
@@ -21190,7 +21190,7 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
21190
21190
|
/***/ "07ab":
|
|
21191
21191
|
/***/ (function(module, exports) {
|
|
21192
21192
|
|
|
21193
|
-
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"
|
|
21193
|
+
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"
|
|
21194
21194
|
|
|
21195
21195
|
/***/ }),
|
|
21196
21196
|
|
|
@@ -24818,14 +24818,14 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
24818
24818
|
/***/ "22e8":
|
|
24819
24819
|
/***/ (function(module, exports) {
|
|
24820
24820
|
|
|
24821
|
-
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 <
|
|
24821
|
+
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"
|
|
24822
24822
|
|
|
24823
24823
|
/***/ }),
|
|
24824
24824
|
|
|
24825
24825
|
/***/ "236b":
|
|
24826
24826
|
/***/ (function(module, exports) {
|
|
24827
24827
|
|
|
24828
|
-
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=\"
|
|
24828
|
+
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"
|
|
24829
24829
|
|
|
24830
24830
|
/***/ }),
|
|
24831
24831
|
|
|
@@ -39675,7 +39675,7 @@ module.exports = function (NAME) {
|
|
|
39675
39675
|
/***/ "7640":
|
|
39676
39676
|
/***/ (function(module, exports) {
|
|
39677
39677
|
|
|
39678
|
-
module.exports = "<article class=\"params-setting\">\r\n <i-collapse v-model=\"value\" simple>\r\n <i-panel name=\"1\">\r\n <span>Query参数</span>\r\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\r\n <div slot=\"content\" class=\"setting-content\">\r\n <header>\r\n <i-button 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 <
|
|
39678
|
+
module.exports = "<article class=\"params-setting\">\r\n <i-collapse v-model=\"value\" simple>\r\n <i-panel name=\"1\">\r\n <span>Query参数</span>\r\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\r\n <div slot=\"content\" class=\"setting-content\">\r\n <header>\r\n <i-button 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"
|
|
39679
39679
|
|
|
39680
39680
|
/***/ }),
|
|
39681
39681
|
|
|
@@ -46978,7 +46978,7 @@ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
|
46978
46978
|
/***/ "ccf6":
|
|
46979
46979
|
/***/ (function(module, exports) {
|
|
46980
46980
|
|
|
46981
|
-
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-wrapper\">\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\n <!-- 左侧内容 -->\n <section slot=\"left\" class=\"left-split-pane\">\n <u-type-tree :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\"> </u-type-tree>\n </section>\n <!-- 分割线 -->\n <section class=\"trigger\" slot=\"trigger\"></section>\n <!-- 右侧内容 -->\n <section slot=\"right\" class=\"right-split-pane\">\n <section class=\"search-wrapper\">\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\n <i-form-item label=\"名称\" prop=\"name\">\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码\" prop=\"code\">\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\n </i-form-item>\n </i-form>\n <div class=\"btns\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\n </div>\n </section>\n <section class=\"actions-wrapper\">\n <div class=\"action-item action-text\" @click=\"onAdd()\">\n <i class=\"iconfont icon-add\"></i>\n <div>新增</div>\n </div>\n <div class=\"action-item action-text\" :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"
|
|
46981
|
+
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"
|
|
46982
46982
|
|
|
46983
46983
|
/***/ }),
|
|
46984
46984
|
|
|
@@ -50677,6 +50677,11 @@ function (_super) {
|
|
|
50677
50677
|
|
|
50678
50678
|
TreeSelectorComponent.prototype.onTreeDataChange = function () {
|
|
50679
50679
|
this.tree = TreeDataUtil.handlerTreeData(this.treeData.$clone(), "name", this.leafName, undefined, this.filterEmpty);
|
|
50680
|
+
|
|
50681
|
+
if (this.tree && this.tree.length === 1 && this.tree[0].id === "virtual_root_directory") {
|
|
50682
|
+
this.tree[0].expand = true;
|
|
50683
|
+
}
|
|
50684
|
+
|
|
50680
50685
|
this.onValueChange(this.value);
|
|
50681
50686
|
};
|
|
50682
50687
|
|
|
@@ -51170,7 +51175,7 @@ function (_super) {
|
|
|
51170
51175
|
AddTreeNodeComponent.prototype.selectCategory = function (node) {
|
|
51171
51176
|
// 将所选的类型id付给当前类型的父id,实现修改分组
|
|
51172
51177
|
this.categoryData = node;
|
|
51173
|
-
this.data.parentId = this.categoryData.id;
|
|
51178
|
+
this.data.parentId = this.categoryData.id === "virtual_root_directory" ? "" : this.categoryData.id;
|
|
51174
51179
|
};
|
|
51175
51180
|
|
|
51176
51181
|
AddTreeNodeComponent.prototype.onCancel = function () {
|
|
@@ -51199,6 +51204,10 @@ function (_super) {
|
|
|
51199
51204
|
, this.$message.warning("所属分组不能选中自身")];
|
|
51200
51205
|
}
|
|
51201
51206
|
|
|
51207
|
+
if (this.data.parentId === "virtual_root_directory") {
|
|
51208
|
+
this.data.parentId = "";
|
|
51209
|
+
}
|
|
51210
|
+
|
|
51202
51211
|
return [4
|
|
51203
51212
|
/*yield*/
|
|
51204
51213
|
, this.service.saveNode(this.data)];
|
|
@@ -51473,6 +51482,7 @@ var tree = __webpack_require__("44c1");
|
|
|
51473
51482
|
|
|
51474
51483
|
|
|
51475
51484
|
|
|
51485
|
+
|
|
51476
51486
|
var tree_extends = undefined && undefined.__extends || function () {
|
|
51477
51487
|
var _extendStatics = function extendStatics(d, b) {
|
|
51478
51488
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -51702,6 +51712,7 @@ function (_super) {
|
|
|
51702
51712
|
type: _this.type,
|
|
51703
51713
|
parentId: null
|
|
51704
51714
|
};
|
|
51715
|
+
_this.tempData = [];
|
|
51705
51716
|
_this.showImportModal = false;
|
|
51706
51717
|
_this.importResult = {}; // 表头信息
|
|
51707
51718
|
|
|
@@ -52107,8 +52118,28 @@ function (_super) {
|
|
|
52107
52118
|
res = _a.sent();
|
|
52108
52119
|
|
|
52109
52120
|
if (res && !res.hasError) {
|
|
52110
|
-
this.
|
|
52111
|
-
|
|
52121
|
+
this.tempData = res.result || [];
|
|
52122
|
+
|
|
52123
|
+
if (this.tempData.length > 0) {
|
|
52124
|
+
this.tempData.forEach(function (item) {
|
|
52125
|
+
if (!item.parentId) {
|
|
52126
|
+
item.parentId = "virtual_root_directory";
|
|
52127
|
+
}
|
|
52128
|
+
});
|
|
52129
|
+
this.data = [tree_assign(tree_assign({}, this.tempData[0]), {
|
|
52130
|
+
id: "virtual_root_directory",
|
|
52131
|
+
// id: "",
|
|
52132
|
+
children: this.tempData,
|
|
52133
|
+
jobs: [],
|
|
52134
|
+
name: "全部",
|
|
52135
|
+
expand: true,
|
|
52136
|
+
parentId: null,
|
|
52137
|
+
parentName: null
|
|
52138
|
+
})];
|
|
52139
|
+
this.onToggleExpand(this.data[0]);
|
|
52140
|
+
}
|
|
52141
|
+
|
|
52142
|
+
this.$emit("on-tree-data", this.tempData);
|
|
52112
52143
|
} // 默认选中第一个节点
|
|
52113
52144
|
|
|
52114
52145
|
|
|
@@ -52638,7 +52669,7 @@ function (_super) {
|
|
|
52638
52669
|
this.loading = true;
|
|
52639
52670
|
queryModel = Object.create(null);
|
|
52640
52671
|
queryModel.condition = project_combine_assign(project_combine_assign({}, this.formData), {
|
|
52641
|
-
categoryId: (_b = this.currentNode) === null || _b === void 0 ? void 0 : _b.id
|
|
52672
|
+
categoryId: ((_b = this.currentNode) === null || _b === void 0 ? void 0 : _b.id) === "virtual_root_directory" ? "" : this.currentNode.id
|
|
52642
52673
|
});
|
|
52643
52674
|
queryModel.paging = this.paging;
|
|
52644
52675
|
return [4
|
|
@@ -52690,22 +52721,30 @@ function (_super) {
|
|
|
52690
52721
|
};
|
|
52691
52722
|
|
|
52692
52723
|
ProjectCombineManage.prototype.onAdd = function (id, isEdit) {
|
|
52724
|
+
var _a;
|
|
52725
|
+
|
|
52693
52726
|
if (isEdit === void 0) {
|
|
52694
52727
|
isEdit = true;
|
|
52695
52728
|
}
|
|
52696
52729
|
|
|
52697
52730
|
return project_combine_awaiter(this, void 0, void 0, function () {
|
|
52698
|
-
var
|
|
52731
|
+
var _b;
|
|
52732
|
+
|
|
52733
|
+
return project_combine_generator(this, function (_c) {
|
|
52734
|
+
if (((_a = this.currentNode) === null || _a === void 0 ? void 0 : _a.id) === "virtual_root_directory") {
|
|
52735
|
+
return [2
|
|
52736
|
+
/*return*/
|
|
52737
|
+
];
|
|
52738
|
+
}
|
|
52699
52739
|
|
|
52700
|
-
return project_combine_generator(this, function (_b) {
|
|
52701
52740
|
this.$router.push({
|
|
52702
52741
|
replace: true,
|
|
52703
52742
|
name: "combine-add",
|
|
52704
|
-
query: (
|
|
52743
|
+
query: (_b = {
|
|
52705
52744
|
isEdit: isEdit ? "1" : "0",
|
|
52706
52745
|
id: id !== null && id !== void 0 ? id : "",
|
|
52707
52746
|
categoryId: this.currentNode.id
|
|
52708
|
-
},
|
|
52747
|
+
}, _b["_".concat(id ? "edit" : "add")] = Date.now().toString(), _b)
|
|
52709
52748
|
});
|
|
52710
52749
|
return [2
|
|
52711
52750
|
/*return*/
|
|
@@ -60189,6 +60228,7 @@ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce
|
|
|
60189
60228
|
|
|
60190
60229
|
|
|
60191
60230
|
|
|
60231
|
+
|
|
60192
60232
|
|
|
60193
60233
|
|
|
60194
60234
|
var after_execution_transfer_extends = undefined && undefined.__extends || function () {
|
|
@@ -60219,22 +60259,6 @@ var after_execution_transfer_extends = undefined && undefined.__extends || funct
|
|
|
60219
60259
|
};
|
|
60220
60260
|
}();
|
|
60221
60261
|
|
|
60222
|
-
var after_execution_transfer_assign = undefined && undefined.__assign || function () {
|
|
60223
|
-
after_execution_transfer_assign = Object.assign || function (t) {
|
|
60224
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
60225
|
-
s = arguments[i];
|
|
60226
|
-
|
|
60227
|
-
for (var p in s) {
|
|
60228
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
60229
|
-
}
|
|
60230
|
-
}
|
|
60231
|
-
|
|
60232
|
-
return t;
|
|
60233
|
-
};
|
|
60234
|
-
|
|
60235
|
-
return after_execution_transfer_assign.apply(this, arguments);
|
|
60236
|
-
};
|
|
60237
|
-
|
|
60238
60262
|
var after_execution_transfer_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60239
60263
|
var c = arguments.length,
|
|
60240
60264
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -60408,27 +60432,13 @@ function (_super) {
|
|
|
60408
60432
|
function AfterExecutionTransfer() {
|
|
60409
60433
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
60410
60434
|
|
|
60411
|
-
_this.
|
|
60435
|
+
_this.loading = false;
|
|
60436
|
+
_this.selections = [];
|
|
60412
60437
|
_this.debounceUpdateFieldMappings = lodash_debounce_default()(_this.updateFieldMappings, 500);
|
|
60413
60438
|
_this.columns = [{
|
|
60414
|
-
|
|
60439
|
+
type: "selection",
|
|
60415
60440
|
width: 60,
|
|
60416
|
-
align: "center"
|
|
60417
|
-
title: "启用",
|
|
60418
|
-
renderHeader: function renderHeader(h, _a) {
|
|
60419
|
-
var column = _a.column,
|
|
60420
|
-
index = _a.index;
|
|
60421
|
-
return h("div", [h("i-checkbox", {
|
|
60422
|
-
props: {
|
|
60423
|
-
value: _this.checkAll
|
|
60424
|
-
},
|
|
60425
|
-
on: {
|
|
60426
|
-
"on-change": function onChange(v) {
|
|
60427
|
-
_this.onToggleAll(v);
|
|
60428
|
-
}
|
|
60429
|
-
}
|
|
60430
|
-
})]);
|
|
60431
|
-
}
|
|
60441
|
+
align: "center"
|
|
60432
60442
|
}, {
|
|
60433
60443
|
title: "读取字段的JSON路径",
|
|
60434
60444
|
maxWidth: 350,
|
|
@@ -60452,12 +60462,6 @@ function (_super) {
|
|
|
60452
60462
|
return _this;
|
|
60453
60463
|
}
|
|
60454
60464
|
|
|
60455
|
-
AfterExecutionTransfer.prototype.onDataListChange = function () {
|
|
60456
|
-
this.checkAll = this.dataList.every(function (d) {
|
|
60457
|
-
return d.checked;
|
|
60458
|
-
});
|
|
60459
|
-
};
|
|
60460
|
-
|
|
60461
60465
|
AfterExecutionTransfer.prototype.mounted = function () {
|
|
60462
60466
|
return after_execution_transfer_awaiter(this, void 0, void 0, function () {
|
|
60463
60467
|
return after_execution_transfer_generator(this, function (_a) {
|
|
@@ -60498,11 +60502,7 @@ function (_super) {
|
|
|
60498
60502
|
var _a;
|
|
60499
60503
|
|
|
60500
60504
|
if ((_a = this.interfaceModel.fieldMappings) === null || _a === void 0 ? void 0 : _a.length) {
|
|
60501
|
-
this.dataList = this.interfaceModel.fieldMappings.
|
|
60502
|
-
return after_execution_transfer_assign(after_execution_transfer_assign({}, g), {
|
|
60503
|
-
checked: true
|
|
60504
|
-
});
|
|
60505
|
-
}).sort(function (a, b) {
|
|
60505
|
+
this.dataList = this.interfaceModel.fieldMappings.sort(function (a, b) {
|
|
60506
60506
|
var _a;
|
|
60507
60507
|
|
|
60508
60508
|
return (_a = a.paramPath) === null || _a === void 0 ? void 0 : _a.localeCompare(b.paramPath);
|
|
@@ -60515,29 +60515,22 @@ function (_super) {
|
|
|
60515
60515
|
});
|
|
60516
60516
|
};
|
|
60517
60517
|
|
|
60518
|
-
AfterExecutionTransfer.prototype.
|
|
60518
|
+
AfterExecutionTransfer.prototype.onParse = function () {
|
|
60519
60519
|
var _a, _b;
|
|
60520
60520
|
|
|
60521
60521
|
return after_execution_transfer_awaiter(this, void 0, void 0, function () {
|
|
60522
60522
|
var result, dataList, checkArray, set;
|
|
60523
|
-
|
|
60524
|
-
var _this = this;
|
|
60525
|
-
|
|
60526
60523
|
return after_execution_transfer_generator(this, function (_c) {
|
|
60527
60524
|
switch (_c.label) {
|
|
60528
60525
|
case 0:
|
|
60529
60526
|
if (!this.response.originalContent) {
|
|
60527
|
+
this.$Message.error("请先获取转换前参数!");
|
|
60530
60528
|
return [2
|
|
60531
60529
|
/*return*/
|
|
60532
60530
|
];
|
|
60533
60531
|
}
|
|
60534
60532
|
|
|
60535
|
-
|
|
60536
|
-
return [2
|
|
60537
|
-
/*return*/
|
|
60538
|
-
];
|
|
60539
|
-
}
|
|
60540
|
-
|
|
60533
|
+
this.loading = true;
|
|
60541
60534
|
return [4
|
|
60542
60535
|
/*yield*/
|
|
60543
60536
|
, this.service.parseResponse2Fields(this.response.originalContent, (_a = this.interfaceModel.convertConfig) === null || _a === void 0 ? void 0 : _a.convertRoot)];
|
|
@@ -60558,8 +60551,6 @@ function (_super) {
|
|
|
60558
60551
|
}));
|
|
60559
60552
|
dataList.forEach(function (d) {
|
|
60560
60553
|
if (set.has(d.originalParamPath)) {
|
|
60561
|
-
_this.$set(d, "checked", set.has(d.originalParamPath));
|
|
60562
|
-
|
|
60563
60554
|
var obj = checkArray.find(function (v) {
|
|
60564
60555
|
return v.originalParamPath === d.originalParamPath;
|
|
60565
60556
|
});
|
|
@@ -60567,6 +60558,7 @@ function (_super) {
|
|
|
60567
60558
|
}
|
|
60568
60559
|
});
|
|
60569
60560
|
this.dataList = dataList;
|
|
60561
|
+
this.loading = false;
|
|
60570
60562
|
return [2
|
|
60571
60563
|
/*return*/
|
|
60572
60564
|
];
|
|
@@ -60575,21 +60567,28 @@ function (_super) {
|
|
|
60575
60567
|
});
|
|
60576
60568
|
};
|
|
60577
60569
|
|
|
60578
|
-
AfterExecutionTransfer.prototype.
|
|
60579
|
-
this.
|
|
60580
|
-
return after_execution_transfer_assign(after_execution_transfer_assign({}, d), {
|
|
60581
|
-
checked: checkAll
|
|
60582
|
-
});
|
|
60583
|
-
});
|
|
60570
|
+
AfterExecutionTransfer.prototype.onChangeChecked = function (selection) {
|
|
60571
|
+
this.selections = selection;
|
|
60584
60572
|
this.debounceUpdateFieldMappings();
|
|
60585
60573
|
};
|
|
60586
60574
|
|
|
60587
|
-
AfterExecutionTransfer.prototype.
|
|
60575
|
+
AfterExecutionTransfer.prototype.batchDelete = function () {
|
|
60576
|
+
var _this = this;
|
|
60577
|
+
|
|
60578
|
+
this.selections.map(function (item) {
|
|
60579
|
+
var index = _this.dataList.findIndex(function (h) {
|
|
60580
|
+
return h.name === item.name;
|
|
60581
|
+
});
|
|
60582
|
+
|
|
60583
|
+
if (index > -1) {
|
|
60584
|
+
_this.dataList.splice(index, 1);
|
|
60585
|
+
}
|
|
60586
|
+
});
|
|
60588
60587
|
this.debounceUpdateFieldMappings();
|
|
60589
60588
|
};
|
|
60590
60589
|
|
|
60591
60590
|
AfterExecutionTransfer.prototype.onAdd = function () {
|
|
60592
|
-
this.dataList.
|
|
60591
|
+
this.dataList.unshift(new FieldMapping());
|
|
60593
60592
|
this.debounceUpdateFieldMappings();
|
|
60594
60593
|
};
|
|
60595
60594
|
|
|
@@ -60604,9 +60603,7 @@ function (_super) {
|
|
|
60604
60603
|
};
|
|
60605
60604
|
|
|
60606
60605
|
AfterExecutionTransfer.prototype.updateFieldMappings = function () {
|
|
60607
|
-
this.interfaceModel.fieldMappings = this.dataList
|
|
60608
|
-
return d.checked;
|
|
60609
|
-
});
|
|
60606
|
+
this.interfaceModel.fieldMappings = this.dataList;
|
|
60610
60607
|
};
|
|
60611
60608
|
|
|
60612
60609
|
var _a, _b, _c;
|
|
@@ -60625,14 +60622,6 @@ function (_super) {
|
|
|
60625
60622
|
}
|
|
60626
60623
|
}), after_execution_transfer_metadata("design:type", typeof (_c = typeof Response !== "undefined" && Response) === "function" ? _c : Object)], AfterExecutionTransfer.prototype, "response", void 0);
|
|
60627
60624
|
|
|
60628
|
-
after_execution_transfer_decorate([Object(flagwind_web_["watch"])("dataList", {
|
|
60629
|
-
immediate: true
|
|
60630
|
-
}), 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);
|
|
60631
|
-
|
|
60632
|
-
after_execution_transfer_decorate([Object(flagwind_web_["watch"])("response", {
|
|
60633
|
-
immediate: true
|
|
60634
|
-
}), after_execution_transfer_metadata("design:type", Function), after_execution_transfer_metadata("design:paramtypes", []), after_execution_transfer_metadata("design:returntype", Promise)], AfterExecutionTransfer.prototype, "getFiledMappings", null);
|
|
60635
|
-
|
|
60636
60625
|
AfterExecutionTransfer = after_execution_transfer_decorate([Object(flagwind_web_["component"])({
|
|
60637
60626
|
template: __webpack_require__("236b"),
|
|
60638
60627
|
components: {}
|
|
@@ -61127,7 +61116,7 @@ function (_super) {
|
|
|
61127
61116
|
text: "",
|
|
61128
61117
|
type: "QueryString",
|
|
61129
61118
|
valueContent: "",
|
|
61130
|
-
disabled:
|
|
61119
|
+
disabled: false
|
|
61131
61120
|
});
|
|
61132
61121
|
};
|
|
61133
61122
|
|
|
@@ -61137,7 +61126,7 @@ function (_super) {
|
|
|
61137
61126
|
text: "",
|
|
61138
61127
|
type: this.typeMap[this.bodyType],
|
|
61139
61128
|
valueContent: "",
|
|
61140
|
-
disabled:
|
|
61129
|
+
disabled: false
|
|
61141
61130
|
});
|
|
61142
61131
|
};
|
|
61143
61132
|
|