Browse Source

优化

master
陈裕财 4 years ago
parent
commit
a3a47e91ca
  1. 2
      src/views/xm/core/xmIteration/XmIterationMng.vue
  2. 2
      src/views/xm/core/xmIteration/XmIterationSelect.vue
  3. 2
      src/views/xm/core/xmProduct/XmProductMng.vue
  4. 2
      src/views/xm/core/xmProject/XmProjectSelect.vue

2
src/views/xm/core/xmIteration/XmIterationMng.vue

@ -82,7 +82,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="finishRate" label="总进度" min-width="80" > <el-table-column prop="finishRate" label="总进度" min-width="80" >
<template slot-scope="scope"> <template slot-scope="scope">
<font class="align-right"><el-tag :type="scope.row.finishRate>=100?'success':'warning'">{{scope.row.finishRate}}%</el-tag>
<font ><el-tag :type="scope.row.finishRate>=100?'success':'warning'">{{scope.row.finishRate}}%</el-tag>
<el-tooltip content="点击统计进度,由任务汇总"><el-button type="text" icon="el-icon-video-play" @click.stop="loadTasksToXmIterationState( scope.row)"></el-button></el-tooltip> <el-tooltip content="点击统计进度,由任务汇总"><el-button type="text" icon="el-icon-video-play" @click.stop="loadTasksToXmIterationState( scope.row)"></el-button></el-tooltip>

2
src/views/xm/core/xmIteration/XmIterationSelect.vue

@ -57,7 +57,7 @@
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.iterationName}} <font class="align-right" :color="calcFinishRate(scope.row)==100?'green':'#FF8C00'">{{calcFinishRate(scope.row)}}%</font>
{{scope.row.iterationName}} <font :color="calcFinishRate(scope.row)==100?'green':'#FF8C00'">{{calcFinishRate(scope.row)}}%</font>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

2
src/views/xm/core/xmProduct/XmProductMng.vue

@ -139,7 +139,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="finishRate" label="进度" width="100" sortable> <el-table-column prop="finishRate" label="进度" width="100" sortable>
<template slot-scope="scope"> <template slot-scope="scope">
<font class="align-right"><el-tag :type="scope.row.finishRate>=100?'success':'warning'">{{scope.row.finishRate}}%</el-tag>
<font ><el-tag :type="scope.row.finishRate>=100?'success':'warning'">{{scope.row.finishRate}}%</el-tag>
<el-tooltip content="点击统计进度,由任务汇总"><el-button type="text" icon="el-icon-video-play" @click.stop="loadTasksToXmProductState( scope.row)"></el-button></el-tooltip> <el-tooltip content="点击统计进度,由任务汇总"><el-button type="text" icon="el-icon-video-play" @click.stop="loadTasksToXmProductState( scope.row)"></el-button></el-tooltip>

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

@ -5,7 +5,7 @@
<el-table-column prop="name" label="项目名称" > <el-table-column prop="name" label="项目名称" >
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.name}}&nbsp;&nbsp; {{scope.row.name}}&nbsp;&nbsp;
<font class="align-right" :color="scope.row.totalProgress==100?'green':'#FF8C00'">{{parseInt(scope.row.totalProgress)}}%</font>
<font :color="scope.row.totalProgress==100?'green':'#FF8C00'">{{parseInt(scope.row.totalProgress)}}%</font>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

Loading…
Cancel
Save