注解代码放开
parent
481e36a3b3
commit
c8f0ae592a
|
@ -527,14 +527,14 @@ export default {
|
|||
return 0;
|
||||
},
|
||||
init() {
|
||||
// this.$api.project.groupByProjectCategory(datas=>{
|
||||
// this.projectCategory=datas;
|
||||
// this.prjPrcessTotal=this.getPrjCateCount(0);
|
||||
// let item=this.projectCategory.length>0?this.projectCategory[0]:null;
|
||||
// this.prjPrcessData[0].value=item && item.length>0?item[0].cnt:0;
|
||||
// this.prjPrcessData[1].value=item && item.length>1?item[1].cnt:0;
|
||||
// this.elKey++;
|
||||
// });
|
||||
this.$api.project.groupByProjectCategory(datas=>{
|
||||
this.projectCategory=datas;
|
||||
this.prjPrcessTotal=this.getPrjCateCount(0);
|
||||
let item=this.projectCategory.length>0?this.projectCategory[0]:null;
|
||||
this.prjPrcessData[0].value=item && item.length>0?item[0].cnt:0;
|
||||
this.prjPrcessData[1].value=item && item.length>1?item[1].cnt:0;
|
||||
this.elKey++;
|
||||
});
|
||||
|
||||
this.localStorage = JSON.parse(localStorage.getItem("data1"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue