Browse Source

优化

master
陈裕财 3 years ago
parent
commit
1dc58fe622
  1. 13
      src/views/xm/core/xmProduct/XmProductOverview.vue

13
src/views/xm/core/xmProduct/XmProductOverview.vue

@ -1,6 +1,6 @@
<template> <template>
<section ref="pageMainRef">
<el-row :style="{overflowX:'hidden',height:maxTableHeight+'px'}" >
<section >
<el-row ref="pageMainRef" :style="{overflowX:'hidden',height:maxTableHeight+'px'}" >
<el-row :gutter="10" style="margin-bottom:10px"> <el-row :gutter="10" style="margin-bottom:10px">
<el-col :span="8" > <el-col :span="8" >
<el-card class="box-card" style="padding:0px ;height:425px"> <el-card class="box-card" style="padding:0px ;height:425px">
@ -580,14 +580,14 @@ export default {
mounted() { mounted() {
this.$nextTick(() => {
this.maxTableHeight=util.calcTableMaxHeight(this.$refs.pageMainRef.$el)
});
initSimpleDicts('all',['xmProductPstatus'] ).then(res=>{ initSimpleDicts('all',['xmProductPstatus'] ).then(res=>{
if(res.data.tips.isOk){ if(res.data.tips.isOk){
this.dicts['xmProductPstatus']=res.data.data.xmProductPstatus this.dicts['xmProductPstatus']=res.data.data.xmProductPstatus
} }
}); });
this.$nextTick(() => {
this.maxTableHeight=util.calcTableMaxHeight(this.$refs.pageMainRef.$el)
});
this.drawAllBar(); this.drawAllBar();
this.drawPieBug(); this.drawPieBug();
this.drawProjectAndIteration(); this.drawProjectAndIteration();
@ -647,7 +647,7 @@ export default {
position: relative; position: relative;
.progress-item{ .progress-item{
position:absolute; width:80%; position:absolute; width:80%;
};
}
} }
.card-font { .card-font {
@ -715,3 +715,4 @@ export default {
padding-bottom: 0; padding-bottom: 0;
} }
</style> </style>
Loading…
Cancel
Save