{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\projectInitiativeIteration.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\projectInitiativeIteration.vue","mtime":1702263619948},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import _toConsumableArray from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\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//\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 pagenation from \"./pagenation.vue\";\nimport apiList from '@/api/bigScreen/majorView.js';\nimport moment from 'moment';\nexport default {\n name: 'iterationList',\n components: {\n pagenation: pagenation\n },\n props: {\n tableOptions: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n loading: false,\n loadingColor: 'rgba(6, 46, 106, 0.4)',\n tableData: [],\n infoTableData: [],\n iterLoading: false,\n infoLoading: false\n };\n },\n beforeDestroy: function beforeDestroy() {\n this.$bus.$off('changeDate');\n },\n mounted: function mounted() {\n var _this = this;\n\n this.$emit('searchDateChange');\n this.getProjectBrand();\n this.$bus.$on('changeDate', function (searchDate) {\n _this.getProjectBrand();\n });\n },\n methods: {\n currentChange: function currentChange(currentRow, oldCurrentRow) {\n this.handleDetail(currentRow);\n },\n handleDetail: function handleDetail(row) {\n var _this2 = this;\n\n this.infoLoading = true;\n apiList.getIterationList(row.projectId, function (res) {\n if (res) {\n res.iterationAddVO.forEach(function (item) {\n item.iterType = '新增举措';\n item.newName = item.name;\n item.time = moment(item.time).format('YYYY-MM-DD');\n });\n res.iterationUpdateVO.forEach(function (item) {\n item.iterType = '迭代举措';\n item.time = moment(item.time).format('YYYY-MM-DD');\n });\n _this2.infoTableData = [].concat(_toConsumableArray(res.iterationUpdateVO), _toConsumableArray(res.iterationAddVO));\n _this2.iterLoading = false;\n }\n\n _this2.infoLoading = false;\n });\n },\n // 迭代榜\n getProjectBrand: function getProjectBrand() {\n var _this3 = this;\n\n this.loading = true;\n var searchDate = sessionStorage.getItem('searchDate');\n searchDate = JSON.parse(searchDate);\n var data = {\n year: searchDate.year,\n month: searchDate.month\n };\n apiList.getIteration(data, function (res) {\n if (res) {\n _this3.tableData = res;\n\n _this3.$nextTick(function () {\n _this3.$refs.myTable.setCurrentRow(_this3.$refs.myTable.data[0]);\n });\n }\n\n _this3.loading = false;\n });\n }\n }\n};",null]}