|
@@ -32,7 +32,6 @@
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
</el-col>
|
|
|
- {{ searchForm }}
|
|
|
</el-row>
|
|
|
</el-header>
|
|
|
<el-main class="layout_main version_list_layout_main">
|
|
@@ -48,26 +47,30 @@
|
|
|
:cell-style="{textAlign: 'center'}"
|
|
|
@current-change="handleCurrentRowChange"
|
|
|
>
|
|
|
- <el-table-column prop="priority" label="优先级" min-width="8%">
|
|
|
+ <el-table-column prop="priority" label="优先级" min-width="6%">
|
|
|
<template v-slot="scope">
|
|
|
<div class="div_priority" :style="{background: priorityColors[scope.row.priority%priorityColors.length]}">{{ 'P'+scope.row.priority }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="requirementName" label="需求名称" min-width="10%">
|
|
|
+ <el-table-column prop="requirementName" label="需求名称" min-width="20%">
|
|
|
<template v-slot="scope">
|
|
|
<div>
|
|
|
{{ scope.row.requirementName }}
|
|
|
- <div class="div_requirement_name">123</div>
|
|
|
+ <div v-if="scope.row.delay" class="div_requirement_name">{{ searchTitle.version +'版本已延期' }}</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="bizId" label="业务线" min-width="10%">
|
|
|
+ <el-table-column prop="bizId" label="业务线" min-width="8%">
|
|
|
<template v-slot="scope">
|
|
|
{{ versionEnum.bizTypeMap[scope.row.bizId] }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="pmName" label="PM" min-width="10%" />
|
|
|
- <el-table-column prop="status" label="状态" min-width="10%" />
|
|
|
+ <el-table-column prop="status" label="状态" min-width="8%">
|
|
|
+ <template v-slot="scope">
|
|
|
+ {{ versionEnum.requirementStatusMap[scope.row.status] }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="statusInfoCountList" label="任务" min-width="35%">
|
|
|
<template v-slot="scope">
|
|
|
<version-chart
|
|
@@ -92,7 +95,7 @@
|
|
|
layout="->,total, sizes, prev, pager, next, jumper"
|
|
|
:current-page="searchForm.curIndex"
|
|
|
:page-size="searchForm.pageSize"
|
|
|
- :page-sizes="[10,30,50,total]"
|
|
|
+ :page-sizes="[15,30,45,total]"
|
|
|
:total="total"
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
@@ -127,7 +130,7 @@ export default {
|
|
|
clientType: null,
|
|
|
versionType: null,
|
|
|
curIndex: 1,
|
|
|
- pageSize: 10
|
|
|
+ pageSize: 15
|
|
|
},
|
|
|
versionEnum: {
|
|
|
requirementStatusMap: {},
|
|
@@ -270,26 +273,6 @@ export default {
|
|
|
this.showVersionEnum()
|
|
|
},
|
|
|
methods: {
|
|
|
- getPriorityTagType(priority) {
|
|
|
- let type
|
|
|
- switch (priority) {
|
|
|
- case 0:
|
|
|
- type = 'danger'
|
|
|
- break
|
|
|
- case 1:
|
|
|
- type = 'warning'
|
|
|
- break
|
|
|
- case 2:
|
|
|
- type = ''
|
|
|
- break
|
|
|
- case 3:
|
|
|
- type = 'success'
|
|
|
- break
|
|
|
- default:
|
|
|
- type = 'info'
|
|
|
- }
|
|
|
- return type
|
|
|
- },
|
|
|
handleCommand(command) {
|
|
|
switch (command.flag) {
|
|
|
case 1:
|
|
@@ -444,6 +427,9 @@ export default {
|
|
|
margin: auto;
|
|
|
}
|
|
|
.div_requirement_name {
|
|
|
+ width:fit-content;
|
|
|
+ margin: auto;
|
|
|
+ padding: 0px 5px 0 10px;
|
|
|
background: #F56C6C;
|
|
|
color: #ffffff;
|
|
|
-webkit-clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%);
|