(this["webpackJsonpmyLibrary"]=this["webpackJsonpmyLibrary"]||[]).push([["chunk-8d6ddf5a"],{"2ff8":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container11"},[e("div",{staticClass:"xm-cy_tj"},[e("div",{staticClass:"xmtj"},[t._m(0),e("div",{staticStyle:{height:"300px",position:"relative"}},[e("simPleEchart",{attrs:{id:"13",action:"/goverproject_task/goverprojecttask/categoryStatistic",format:{value:"count",name:"name"},params:t.query}})],1)]),e("div",{staticClass:"xmtj"},[t._m(1),e("div",{staticStyle:{height:"300px",position:"relative"}},[e("simPleEchart",{attrs:{id:"14",action:"/goverproject_task/goverprojecttask/constructionIssues",format:{value:"count",name:"name"},params:t.query}})],1)])]),e("div",{staticClass:"lbys"},[e("div",{staticClass:"lbysitem"},[e("div",{staticClass:"title"},[t._v("超期部门统计")]),e("div",{staticClass:"content"},[e("div",[e("avue-crud",{attrs:{option:t.option,data:t.overdueDept}})],1)])]),e("div",{staticClass:"lbysitem"},[e("div",{staticClass:"title"},[t._v("超期事项统计")]),e("div",{staticClass:"content"},[e("div",[e("avue-crud",{attrs:{option:t.option1,data:t.overdueEvents}})],1)])]),e("div",{staticClass:"lbysitem"},[e("div",{staticClass:"title"},[t._v("超期工程统计")]),e("div",{staticClass:"content"},[e("div",[e("avue-crud",{attrs:{option:t.option2,data:t.overdueProject}})],1)])])])])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"sketch_map_top"},[e("span",{staticClass:"title"},[t._v("项目建设问题占比")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"sketch_map_top"},[e("span",{staticClass:"title"},[t._v("项目推进问题占比")])])}],n=(i("8e6e"),i("456d"),i("6762"),i("2fdb"),i("ac6a"),i("ade3")),o=i("5880"),r=i("7522");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function d(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){Object(n["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={components:{simPleEchart:r["default"]},data:function(){return{role_id:"",promoteType:"",form:{},query:{},taskTitle:"",overdueDept:[],overdueEvents:[],overdueProject:[],taskId:"",loading:!0,page:{pageSize:10,currentPage:1,total:0},selectionList:[],option2:{indexLabel:"序号",index:!0,viewBtn:!1,editBtn:!1,delBtn:!1,addBtn:!1,searchBtn:!1,menu:!1,column:[{label:"项目名称",prop:"projectName",overHidden:!0},{label:"数量",prop:"count",overHidden:!0,width:"120"}]},option1:{indexLabel:"序号",index:!0,viewBtn:!1,editBtn:!1,delBtn:!1,addBtn:!1,searchBtn:!1,menu:!1,column:[{label:"事项名称",prop:"eventName",overHidden:!0},{label:"数量",prop:"count",overHidden:!0,width:"120"}]},option:{indexLabel:"序号",index:!0,viewBtn:!1,editBtn:!1,delBtn:!1,addBtn:!1,searchBtn:!1,menu:!1,column:[{label:"部门名称",prop:"deptName",overHidden:!0},{label:"数量",prop:"count",overHidden:!0,width:"120"}]}}},created:function(){this.role_id=JSON.parse(localStorage.getItem("ybmajorproject-userInfo")),console.log(this.permission),this.getData()},computed:d(d({},Object(o["mapGetters"])(["permission"])),{},{permissionList:function(){return{viewBtn:this.vaildData(this.permission.waittask_view,!1),editBtn:this.vaildData(this.permission.waittask_edit,!1)}},isproject:function(t){return 1==this.permission.project_add},isprojectlist:function(){return 1==this.permission.projectlibrary_view},isexercise:function(){return 1==this.permission.exercise_add},isexerciselist:function(){return 1==this.permission.exerciselist_add},isprojectpacking:function(){return 1==this.permission.projectpacking_add},isprojectpackinglist:function(){return 1==this.permission.projectpackinglist_add},ids:function(){var t=[];return this.selectionList.forEach((function(e){t.push(e.id)})),t.join(",")}}),methods:{getData:function(){var t=this;this.$axios.get("/api/flowtask/flowtask/overdueDept").then((function(e){t.overdueDept=e.data.data})),this.$axios.get("/api/flowtask/flowtask/overdueEvents").then((function(e){t.overdueEvents=e.data.data})),this.$axios.get("/api/flowtask/flowtask/overdueProject").then((function(e){t.overdueProject=e.data.data}))},toRouter:function(t){this.$router.push({path:t})},beforeOpen:function(t,e){var i=this;["edit","view"].includes(e)&&getDetail(this.form.id).then((function(t){i.form=t.data.data})),t()},deal:function(t,e,i){switch(i){case 1:this.$router.push({path:"/project/sendAudit/"+e+"/"+t});break;case 2:this.$router.push({path:"/projectlibrary/updateAudit/"+e+"/"+t});break}},closeTaskDeal:function(){this.onLoad(this.page)},submitAfter:function(){this.onLoad(this.page)},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(t){this.query=t,this.page.currentPage=1,this.onLoad(this.page,t)},selectionChange:function(t){this.selectionList=t},selectionClear:function(){this.selectionList=[],this.$refs.crud.toggleSelection()},currentChange:function(t){this.page.currentPage=t},sizeChange:function(t){this.page.pageSize=t},onLoad:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,getList(t.currentPage,t.pageSize,Object.assign(i,this.query)).then((function(t){var i=t.data.data;e.page.total=i.total,e.data=i.records,e.loading=!1,e.selectionClear(),e.$store.commit("SET_WAIT_COUNT",e.page.total)}))}}},p=u,l=(i("e4ae"),i("2877")),h=Object(l["a"])(p,a,s,!1,null,"fb070212",null);e["default"]=h.exports},ccad:function(t,e,i){},e4ae:function(t,e,i){"use strict";i("ccad")}}]);