{"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\\majorProjects-components\\iterationList.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\majorProjects-components\\iterationList.vue","mtime":1684754713713},{"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//\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 // tableData: []\n\n };\n },\n mounted: function mounted() {\n this.loadData();\n },\n methods: {\n //--------数据-----------\n loadData: function loadData() {\n this.getProjectBrand();\n },\n expandChange: function expandChange(row, expandedRows) {\n console.log(row, expandedRows);\n },\n handleDetail: function handleDetail(row) {\n var _this = this;\n\n console.log(row);\n this.isShow = 0;\n this.iterLoading = true;\n\n if (!row.expansion) {\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 _this.infoTableData = [].concat(_toConsumableArray(res.iterationUpdateVO), _toConsumableArray(res.iterationAddVO));\n _this.iterLoading = false;\n }\n });\n }\n\n this.$nextTick(function () {\n var $table = _this.$refs.myTable;\n\n _this.tableData.map(function (item) {\n if (row.projectId != item.projectId) {\n $table.toggleRowExpansion(item, false);\n item.expansion = false;\n } else {\n item.expansion = !item.expansion;\n }\n });\n\n $table.toggleRowExpansion(row);\n });\n },\n // 迭代榜\n getProjectBrand: function getProjectBrand() {\n var _this2 = 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 _this2.tableData = res;\n }\n\n _this2.loading = false;\n });\n }\n }\n};",null]}