diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index 0f08ed56..1af1a2bb 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -1,10 +1,20 @@ //main-container全局样式 .page-full-height{ - height: calc(100vh); + height: calc(100vh); } .page-height{ - height: calc(90vh); + height: calc(90vh); } +.page-main-height{ + height: calc(80vh); + overflow: auto; +} +.page-bottom-height{ + + height: calc(10vh); + overflow: auto; + +} .page-container { .page-header{ flex: 0 0 auto; @@ -43,11 +53,14 @@ background-color:rgb(182, 206, 214); } .page-main{ + padding-top: 10px; padding-left: 10px; padding-right: 10px; + padding-bottom: 10px; border:1px solid #e8e8e8; } .page-bottom{ + margin-top:5px; padding-left:5px; padding-right:5px; } diff --git a/src/views/xm/core/xmIteration/XmIterationComplex.vue b/src/views/xm/core/xmIteration/XmIterationComplex.vue new file mode 100644 index 00000000..464e0ea4 --- /dev/null +++ b/src/views/xm/core/xmIteration/XmIterationComplex.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/src/views/xm/core/xmIteration/XmIterationSelect.vue b/src/views/xm/core/xmIteration/XmIterationSelect.vue index d31ad6eb..7717c3bb 100644 --- a/src/views/xm/core/xmIteration/XmIterationSelect.vue +++ b/src/views/xm/core/xmIteration/XmIterationSelect.vue @@ -5,68 +5,66 @@ + + + - - - - + @@ -323,9 +321,28 @@ }else{ return cellValue; } - }, + }, /**end 自定义函数请在上面加**/ + calcFinishRate(row){ + if(row.finishRate){ + return parseInt(row.finishRate); + }else{ + return 0; + } + }, + + loadTasksToXmIterationState(row){ + this.load.edit=true; + loadTasksToXmIterationState({id:row.id}).then(res=>{ + this.load.edit=false; + var tips =res.data.tips; + if(tips.isOk){ + this.getXmIterations(); + } + this.$message({ message: tips.msg, type: tips.isOk?'success':'error'}); + }); + }, },//end methods components: { //在下面添加其它组件 @@ -343,10 +360,13 @@ - diff --git a/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue b/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue index 263a2063..e5a2f54c 100644 --- a/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue +++ b/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue @@ -2,10 +2,10 @@
- + - +