fix:禅道458

This commit is contained in:
shijing 2026-07-23 13:55:20 +08:00
parent 070b41fd51
commit 23313d5ced
1 changed files with 9 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<template #default="scope">
<span
v-if="scope.row.week_esitimate_consume && scope.row.week_esitimate_consume !== null">
{{ Math.floor(scope.row.count_mb / scope.row.week_esitimate_consume) * 7 }}
{{ Math.floor(scope.row.count / scope.row.week_esitimate_consume) * 7 }}
</span>
</template>
</el-table-column>
@ -337,12 +337,20 @@ export default {
this.echartsOptions = JSON.parse(res.echart_options);
}
})
}else if(that.params.type==30){
this.$API.bi.dataset.exec.req("materialCount2", {query:query2 }).then((res) => {
if (res.echart_options) {
this.echartsOptions = JSON.parse(res.echart_options);
}
})
}else if(that.params.type==40){
this.$API.bi.dataset.exec.req("helpso_cate", {}).then((res) => {
if (res.echart_options) {
this.echartsOptions = JSON.parse(res.echart_options);
}
})
}else{
that.echartsOptions = null;
}
},
//