|
@@ -48,11 +48,9 @@
|
|
|
</el-table>
|
|
|
|
|
|
<el-table v-if="title === '去除节假日的修复时长区间数据' || title === '不去除节假日的修复时长区间数据'" :data="data" style="width: auto;" height="calc(100vh - 355px)" :header-cell-style="{ 'color':'rgba(74,74,74,1)','font-size':'14px','font-weight':'500' }">
|
|
|
- <el-table-column label="优先级" prop="priorityCode" min-width="80" align="left">
|
|
|
+ <el-table-column label="缺陷等级" min-width="80" align="left">
|
|
|
<template slot-scope="scope" style="text-align: center;">
|
|
|
- <span class="div_priority" :class="[{'priority_color': scope.row.priorityLevel === 'High'},{'priority_color1': scope.row.priorityLevel === 'Medium'},{'priority_color3': scope.row.priorityLevel === 'Low'}]">
|
|
|
- {{ scope.row.priorityLevel.substring(0, 1) }}
|
|
|
- </span>
|
|
|
+ <span class="div_priority" :style="{background: priorityColors[scope.row.priority % priorityColors.length]}">{{ scope.row.priorityName }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="bugName" label="缺陷名称" min-width="200" align="left" show-overflow-tooltip>
|
|
@@ -79,11 +77,9 @@
|
|
|
</el-table>
|
|
|
|
|
|
<el-table v-if="title === '分布图数据' || title === '去除节假日的修复时长数据' || title === '模块分布数据' || title === '缺陷统计数据'" :data="data" style="width: auto;" :height="title === '模块分布数据' ? 'calc(100vh - 175px)': 'calc(100vh - 318px)'" :header-cell-style="{ 'color':'rgba(74,74,74,1)','font-size':'14px','font-weight':'500' }">
|
|
|
- <el-table-column label="优先级" prop="priorityCode" min-width="80" align="left">
|
|
|
+ <el-table-column label="缺陷等级" min-width="80" align="left">
|
|
|
<template slot-scope="scope" style="text-align: center;">
|
|
|
- <span class="div_priority" :class="[{'priority_color': scope.row.priorityLevel === 'High'},{'priority_color1': scope.row.priorityLevel === 'Medium'},{'priority_color3': scope.row.priorityLevel === 'Low'}]">
|
|
|
- {{ scope.row.priorityLevelShortName }}
|
|
|
- </span>
|
|
|
+ <span class="div_priority" :style="{background: priorityColors[scope.row.priority % priorityColors.length]}">{{ scope.row.priorityName }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="bugName" label="缺陷名称" min-width="200" align="left" show-overflow-tooltip>
|
|
@@ -102,11 +98,6 @@
|
|
|
{{ scope.row.devFixTimePurgeNH/(1000 * 3600) | numFilter }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column v-if="type === '缺陷等级'" prop="bugStatusName" label="缺陷等级" min-width="100" align="center">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.priorityName }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
<el-table-column v-if="type === '端类型' || type === '发现方式' || type === '发现阶段' || type === '缺陷类型'" :label="type" min-width="100" align="center">
|
|
|
{{ oftype }}
|
|
|
</el-table-column>
|