{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\Worktable\\Worktable.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\Worktable\\Worktable.vue","mtime":1684147936861},{"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":["//\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\r\nimport api from '@/api/worktable/worktable.js'\r\nexport default {\r\n data() {\r\n return {\r\n list: []\r\n }\r\n },\r\n mounted() {\r\n this.getData()\r\n },\r\n methods: {\r\n goToPage(url) {\r\n let path = url\r\n let alias = `/platLayout/${url}`\r\n this.$router.push(path)\r\n this.$bus.$emit('roterPush', alias)\r\n },\r\n getData() {\r\n api.getToDoList(res => {\r\n let list = [\r\n {\r\n title: '改革需求管理',\r\n children: []\r\n },\r\n {\r\n title: '堵点卡点管理',\r\n children: []\r\n },\r\n {\r\n title: '成效晾晒管理',\r\n children: []\r\n },\r\n {\r\n title: '改革试点管理',\r\n children: []\r\n },\r\n {\r\n title: '重大改革项目',\r\n children: []\r\n },\r\n {\r\n title: '改革风险管理',\r\n children: []\r\n },\r\n {\r\n title: '改革满意度管理',\r\n children: []\r\n },\r\n {\r\n title: '改革会议管理',\r\n children: []\r\n },\r\n {\r\n title: '市改革办工作事项',\r\n children: []\r\n }\r\n ]\r\n res.forEach(item => {\r\n if (item.typeName === '改革需求管理' && item.value > 0) {\r\n list[0].children.push(item)\r\n }\r\n if (item.typeName === '堵点卡点管理' && item.value > 0) {\r\n list[1].children.push(item)\r\n }\r\n if (item.typeName === '成效晾晒管理' && item.value > 0) {\r\n list[2].children.push(item)\r\n }\r\n if (item.typeName === '改革试点管理' && item.value > 0) {\r\n list[3].children.push(item)\r\n }\r\n if (item.typeName === '重大改革项目' && item.value > 0) {\r\n list[4].children.push(item)\r\n }\r\n if (item.typeName === '改革风险管理' && item.value > 0) {\r\n list[5].children.push(item)\r\n }\r\n if (item.typeName === '改革满意度管理' && item.value > 0) {\r\n list[6].children.push(item)\r\n }\r\n if (item.typeName === '改革会议管理' && item.value > 0) {\r\n list[7].children.push(item)\r\n }\r\n if (item.typeName === '事改革办工作事项' && item.value > 0) {\r\n list[8].children.push(item)\r\n }\r\n })\r\n this.list = list.filter(item => item.children.length > 0)\r\n })\r\n },\r\n toPage() {\r\n\t\t\t\tthis.$router.push({\r\n\t\t\t\t\tpath: 'ReformProjectDetails'\r\n\t\t\t\t})\r\n\t\t\t}\r\n }\r\n}\r\n",null]}