Browse Source

优化

master
陈裕财 4 years ago
parent
commit
3aed7c0577
  1. 2
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  2. 22
      src/views/xm/core/xmTask/XmTaskMng.vue

2
src/views/xm/core/xmQuestion/XmQuestionMng.vue

@ -125,7 +125,7 @@
<el-row class="padding-top">
<!--列表 XmQuestion xm_question-->
<el-table ref="table" :height="tableHeight" :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column prop="name" label="缺陷名称" min-width="150" show-overflow-tooltip>
<el-table-column prop="name" label="缺陷名称" min-width="150">
<template slot-scope="scope">
<el-link @click="showEdit(scope.row)" type="primary">
<el-tag type="info" v-if="scope.row.bugSeverity=='4' ">{{formatterOption(scope.row,{property:'bugSeverity'},scope.row.bugSeverity)}}</el-tag>

22
src/views/xm/core/xmTask/XmTaskMng.vue

@ -401,25 +401,21 @@
label="预算及工时"
width="150"
>
<template slot-scope="scope">
<font v-if="scope.row.ntype!='1'">
<template slot-scope="scope">
{{ "¥" + getAmountDesc(scope.row.budgetCost) }},{{
scope.row.budgetWorkload
}}人时
</font>
}}人时
</template>
</el-table-column>
<el-table-column sortable prop="rate" label="进度" width="100">
<template slot-scope="scope">
<font v-if="scope.row.ntype!='1'">
<el-link
<template slot-scope="scope">
<el-link :disabled="scope.row.ntype=='1'"
style="border-radius: 30px"
:type="scope.row.rate >= 100 ? 'success' : 'warning'"
@click="drawerVisible = true"
>
{{ (scope.row.rate != null ? scope.row.rate : 0) + "%" }}
</el-link>
</font>
</el-link>
</template>
</el-table-column>
@ -454,9 +450,8 @@
width="120"
show-overflow-tooltip
>
<template slot-scope="scope">
<font v-if="scope.row.ntype!='1'">
<el-link @click="drawerVisible = true"
<template slot-scope="scope">
<el-link @click="drawerVisible = true" :disabled="scope.row.ntype=='1'"
>{{ getDateString(scope.row.startTime) }}&nbsp;~&nbsp;{{
getDateString(scope.row.endTime)
}}
@ -466,8 +461,7 @@
<el-tag :type="item.type">{{getDateString(scope.row.startTime)}}~{{getDateString(scope.row.endTime)}} {{item.desc}}</el-tag>
</div>
-->
</font>
</template>
</el-table-column>
<el-table-column

Loading…
Cancel
Save