|
|
|
|
@ -60,8 +60,9 @@
|
|
|
|
|
<div class="tablecontent" :style="{'width':showSelectMonth?'89%':'100%'}">
|
|
|
|
|
<div class="topwrap">
|
|
|
|
|
<div>
|
|
|
|
|
共有<span style="font-size: 24px;color:red;margin:0 5px">{{total}}</span>项任务,共
|
|
|
|
|
<span v-if="path_type==5" style="font-size: 24px;color:red;margin:0 5px">{{list.length}}</span>
|
|
|
|
|
共有<span style="font-size: 24px;color:red;margin:0 5px">{{list.length}}</span>项任务,分解后共
|
|
|
|
|
<span style="font-size: 24px;color:red;margin:0 5px">{{chlidrenLength}}</span>项子任务,
|
|
|
|
|
共<span v-if="path_type==5" style="font-size: 24px;color:red;margin:0 5px">{{list.length}}</span>
|
|
|
|
|
<span v-else style="font-size: 24px;color:red;margin:0 5px">{{auditStatus1}}</span>项未完成
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div v-if="path_type==5" class="myListFinish">
|
|
|
|
|
@ -395,7 +396,7 @@
|
|
|
|
|
id: "12",
|
|
|
|
|
value: '十二月'
|
|
|
|
|
}],
|
|
|
|
|
|
|
|
|
|
chlidrenLength:0,//子任务
|
|
|
|
|
table: [
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
@ -666,7 +667,7 @@
|
|
|
|
|
...this.select,
|
|
|
|
|
audit_status:1
|
|
|
|
|
}).then(res=>{
|
|
|
|
|
this.auditStatus1 = res.total
|
|
|
|
|
// this.auditStatus1 = res.total
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
async getList() {
|
|
|
|
|
@ -724,7 +725,19 @@
|
|
|
|
|
})
|
|
|
|
|
this.list = _arr
|
|
|
|
|
this.myListFinish = my_arr
|
|
|
|
|
console.log("spliceIndex",this.myListFinish)
|
|
|
|
|
let chlidrenLength = 0
|
|
|
|
|
let auditStatus1 = 0
|
|
|
|
|
this.list.map(item=>{
|
|
|
|
|
if(item.mychildren&&item.mychildren.length>0){
|
|
|
|
|
chlidrenLength+=item.mychildren.length
|
|
|
|
|
}
|
|
|
|
|
if(item.audit_status===1){
|
|
|
|
|
auditStatus1++
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.auditStatus1 = auditStatus1
|
|
|
|
|
this.chlidrenLength = chlidrenLength
|
|
|
|
|
console.log("spliceIndex",this.list,chlidrenLength)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.total = res.total
|
|
|
|
|
|