Browse Source

优化

master
陈裕财 4 years ago
parent
commit
47b54af134
  1. 6
      src/views/xm/core/xmIteration/XmIterationOverview.vue
  2. 4
      src/views/xm/core/xmProject/XmProjectOverview.vue

6
src/views/xm/core/xmIteration/XmIterationOverview.vue

@ -1,6 +1,6 @@
<template>
<section class="page-container padding">
<el-row class="page-main " style="overflow-x: hidden;">
<el-row class="page-main " :style="{overflowX: 'hidden',height:maxTableHeight+'px'}" ref="table">
<el-row style="margin-bottom:10px">
<el-card class="box-card" style="padding:0px ;height:100px">
<div>
@ -317,6 +317,7 @@ export default {
data() {
return {
isActive: true,
maxTableHeight:300,
};
},
@ -573,7 +574,8 @@ export default {
},
mounted() {
this.$nextTick(() => {
this.$nextTick(() => {
this.maxTableHeight=util.calcTableMaxHeight(this.$refs.table.$el)
});
this.drawAllBar();
this.drawPieBug();

4
src/views/xm/core/xmProject/XmProjectOverview.vue

@ -1,6 +1,6 @@
<template>
<section class="page-container padding">
<el-row class="page-main " style="overflow-x: hidden;">
<el-row class="page-main " :style="{overflowX: 'hidden',height:maxTableHeight+'px'}" ref="table">
<el-row style="margin-bottom:10px">
<el-card class="box-card" style="padding:0px ;height:100px">
<div>
@ -364,6 +364,7 @@ export default {
data() {
return {
isActive: true,
maxTableHeight:300,
options:{
projectType:[],
urgencyLevel:[],
@ -755,6 +756,7 @@ export default {
mounted() {
this.$nextTick(() => {
this.maxTableHeight=util.calcTableMaxHeight(this.$refs.table.$el)
});
listOption([{categoryId:'all',itemCode:'projectType'},{categoryId:'all',itemCode:'urgencyLevel'},{categoryId:'all',itemCode:'priority'},{categoryId:'all',itemCode:'projectStatus'}] ).then(res=>{
if(res.data.tips.isOk){

Loading…
Cancel
Save