fix:禅道458
This commit is contained in:
parent
070b41fd51
commit
23313d5ced
|
|
@ -52,7 +52,7 @@
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.week_esitimate_consume && scope.row.week_esitimate_consume !== null">
|
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>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -337,12 +337,20 @@ export default {
|
||||||
this.echartsOptions = JSON.parse(res.echart_options);
|
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){
|
}else if(that.params.type==40){
|
||||||
this.$API.bi.dataset.exec.req("helpso_cate", {}).then((res) => {
|
this.$API.bi.dataset.exec.req("helpso_cate", {}).then((res) => {
|
||||||
if (res.echart_options) {
|
if (res.echart_options) {
|
||||||
this.echartsOptions = JSON.parse(res.echart_options);
|
this.echartsOptions = JSON.parse(res.echart_options);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
that.echartsOptions = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//更改周预估用量
|
//更改周预估用量
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue