Browse Source

优化

master
陈裕财 3 years ago
parent
commit
c948bd73c0
  1. 12
      src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue
  2. 16
      src/views/xm/core/xmProduct/XmProductForLinkComplex.vue
  3. 2
      src/views/xm/core/xmProject/XmProjectForLinkComplex.vue

12
src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue

@ -12,8 +12,8 @@
</xm-iteration-select>
</el-row>
<el-row ref="pageBody" :style="{ maxHeight: maxTableHeight + 'px', overflowY: 'auto' }">
<el-steps v-if="xmIteration&&xmIteration.id"
<el-row ref="pageBody" :style="{ maxHeight: maxTableHeight + 'px', overflowY: 'hidden' }">
<el-steps v-if="xmIteration&&xmIteration.id"
:active="calcIterationStatusStep"
finish-status="success"
direction="vertical"
@ -355,7 +355,7 @@
xmIteration:null,
showPanel:'iterationOverview',//menus,tasks,bugs,iterationStateShow
iterationAddVisible:false,
maxTableHeight:300,
maxTableHeight:700,
/**end 自定义属性请在上面加 请加备注**/
}
},//end data
@ -435,10 +435,14 @@
},
mounted() {
this.$nextTick(() => {
debugger;
initDicts(this)
//this.maxTableHeight = util.calcTableMaxHeight(this.$refs.pageBody.$el);
this.maxTableHeight = util.calcMaxHeight(this.$refs.pageBody.$el);
});
}

16
src/views/xm/core/xmProduct/XmProductForLinkComplex.vue

@ -22,7 +22,7 @@
<el-row
ref="pageBody"
class="padding"
:style="{ maxHeight: maxTableHeight + 'px', overflowY: 'auto' }"
:style="{ maxHeight: maxTableHeight + 'px', overflowY: 'hidden' }"
>
<el-steps v-if="xmProduct && xmProduct.id"
@ -553,17 +553,5 @@ export default {
.step-btn {
margin-left: 0px;
margin-bottom: 5px;
}
.product-title{
cursor: pointer;
width:250px;
display: block;
.text{
font-size: 16px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
width:100%;
}
}
}
</style>

2
src/views/xm/core/xmProject/XmProjectForLinkComplex.vue

@ -21,7 +21,7 @@
<el-row
ref="pageBody"
class="padding"
:style="{ maxHeight: maxTableHeight + 'px', overflowY: 'auto' }"
:style="{ maxHeight: maxTableHeight + 'px', overflowY: 'hidden' }"
>
<el-steps :active="calcProjectStatusStep" finish-status="success" direction="vertical" v-if="selProject">

Loading…
Cancel
Save