{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/src/views/committeeKm/KnowledgeMap.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/src/views/committeeKm/KnowledgeMap.vue","mtime":1742796810169},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/babel.config.js","mtime":1742796810089},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import API from \"@/api.js\";\nimport knowledgeData from \"../../components/committeeKm/KnowledgeData\";\nexport default {\n name: 'knowledgeMap',\n components: {\n knowledgeData: knowledgeData\n },\n data: function data() {\n return {\n paddingTop: false,\n //头部padding\n tabIndex: 1,\n tabData: [],\n realmsList: {},\n //列表的数据\n param: {\n id: '',\n title: '',\n pageNo: 1,\n linesPerPage: 15\n },\n tableDataList: {},\n tabObj: {},\n committeeKmData: [],\n isChange: false //标签页是否切换\n\n };\n },\n methods: {\n //获取列表头\n tabList: function tabList() {\n var _this = this;\n\n API.getKnowledgeTabList({\n onSucess: function onSucess(resp) {\n var data = resp.data;\n\n if (data && data.data) {\n _this.tabData = data.data;\n\n if (JSON.stringify(_this.realmsList) == \"{}\") {\n _this.realmsList = data.data[0];\n _this.committeeKmData = data.data;\n }\n } else {\n _this.$message({\n message: _this.$t('msg.special_committee_cr'),\n type: 'warning'\n });\n }\n }\n });\n },\n //标签点击\n handleClick: function handleClick(tab, event) {\n var _this2 = this;\n\n this.isChange = false;\n var id = tab.$attrs.id;\n var committeeKmData = this.committeeKmData;\n committeeKmData.map(function (e, index) {\n if (e.id == id) {\n _this2.realmsList = committeeKmData[index];\n }\n });\n this.changeTab(id, tab);\n this.isChange = true;\n },\n changeTab: function changeTab(id, tab) {\n var _this3 = this;\n\n this.param.id = id;\n this.tabObj = tab;\n API.getKnowledgeTableList(this.param, {\n onSucess: function onSucess(resp) {\n var data = resp.data;\n\n if (data && data.data) {\n _this3.tableDataList = data.data;\n }\n }\n });\n },\n\n /**\n * 批量删除部门网盘\n */\n deleteLabel: function deleteLabel() {\n var _this4 = this;\n\n this.$confirm(this.$t('msg.delConfirm'), this.$t('msg.tip'), {\n confirmButtonText: this.$t('msg.confirm'),\n cancelButtonText: this.$t('msg.cancel'),\n type: 'warning'\n }).then(function () {\n var that = _this4;\n API.deleteFileObj(that.param.id, _this4.multipleSelectionArray, {\n onSucess: function onSucess(resp) {\n if (resp.data.errcode == 0) {\n _this4.getdisksData();\n\n _this4.$message({\n type: 'success',\n message: _this4.$t('msg.es')\n });\n }\n }\n });\n }).catch(function () {\n _this4.cancelMultipleSelection();\n\n _this4.$message({\n type: 'info',\n message: _this4.$t('msg.cancel_del')\n });\n });\n }\n },\n mounted: function mounted() {\n if (this.$store.state.isShowHeard) {\n this.paddingTop = true;\n }\n\n this.tabList();\n }\n};",null]}