{"remainingRequest":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/src/components/AdvancedTool/IndexManagerList.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/src/components/AdvancedTool/IndexManagerList.vue","mtime":1701674859498},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js","mtime":1701674874584},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/thread-loader/dist/cjs.js","mtime":1701674873947},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/babel-loader/lib/index.js","mtime":1701674874357},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js","mtime":1701674874584},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/vue-loader/lib/index.js","mtime":1701674874903}],"contextDependencies":[],"result":["import \"regenerator-runtime/runtime\";\nimport _asyncToGenerator from \"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/@babel/runtime-corejs2/helpers/esm/asyncToGenerator\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getIndexManager, optimization as _optimization } from \"@/service/AdvancedToolAPI.js\";\nexport default {\n name: \"IndexManagerList\",\n props: ['dialogvisible', 'editDataSourceId'],\n data: function data() {\n return {\n data: [],\n loading: true,\n dataText: \"\" // 数据还未请求回来的显示的内容\n\n };\n },\n computed: {\n visible: {\n get: function get() {\n return this.dialogvisible;\n },\n set: function set(val) {\n this.$emit(\"update:dialogvisible\", val);\n }\n }\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {},\n methods: {\n //优化索引\n optimization: function optimization() {\n var _this = this;\n\n this.loading = true;\n var appId = sessionStorage.getItem(\"appId\");\n\n _optimization(appId, {\n onSucess: function onSucess(response) {\n if (response.data.errcode == 0) {\n _this.loading = false;\n\n _this.$message({\n message: _this.$t('msg.optimization_ss'),\n type: 'success'\n });\n }\n }\n });\n },\n //获取索引数据\n getData: function () {\n var _getData = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {\n var appId, response;\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n appId = sessionStorage.getItem(\"appId\");\n _context.next = 3;\n return getIndexManager(this.editDataSourceId, appId);\n\n case 3:\n response = _context.sent;\n\n if (response.data.errcode == 0) {\n this.loading = false;\n this.data = response.data.data;\n\n if (this.data.length === 0) {\n this.dataText = this.$t('label.no_data');\n }\n } else {\n this.loading = false;\n }\n\n case 5:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n function getData() {\n return _getData.apply(this, arguments);\n }\n\n return getData;\n }()\n }\n};",null]}