|
@@ -27,7 +27,7 @@
|
|
|
<el-table-column label="责任团队" min-width="150" prop="teamName" show-overflow-tooltip align="center" />
|
|
|
<el-table-column label="复盘链接" show-overflow-tooltip align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <i class="el-icon-link" @click="goto(scope.row.replayUrl)" />
|
|
|
+ <i v-if="scope.row.replayUrl" class="el-icon-link" @click="goto(scope.row.replayUrl)" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="改进项已完成" min-width="130" show-overflow-tooltip align="center">
|
|
@@ -37,7 +37,11 @@
|
|
|
<i class="el-icon-info" />
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
- <template slot-scope="scope">{{ scope.row.finishImpr }}/{{ scope.row.imprTotal }}</template>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span :class="scope.row.finishImpr !== scope.row.imprTotal && 'origin'">{{ scope.row.finishImpr }}</span>
|
|
|
+ /
|
|
|
+ <span :class="scope.row.finishImpr !== scope.row.imprTotal && 'origin'">{{ scope.row.imprTotal }}</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="是否星辰花定级" min-width="130" show-overflow-tooltip align="center">
|
|
|
<template slot-scope="scope">{{ scope.row.isGrading ? '是' : '否' }}</template>
|
|
@@ -81,20 +85,14 @@ export default {
|
|
|
window.open(href, '_blank')
|
|
|
},
|
|
|
goto(url) {
|
|
|
- if (url) {
|
|
|
- window.open(url, '_blank')
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- message: `暂未设置复盘链接`,
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- }
|
|
|
+ window.open(url, '_blank')
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
.list {
|
|
|
+ padding-bottom: 40px;
|
|
|
.tableTitle{
|
|
|
color: #333;
|
|
|
font-size: 16px;
|
|
@@ -109,6 +107,9 @@ export default {
|
|
|
background: #f5f7fa;
|
|
|
}
|
|
|
}
|
|
|
+ .origin {
|
|
|
+ color: #EE7546;
|
|
|
+ }
|
|
|
.div_priority {
|
|
|
display: inline-block;
|
|
|
text-align: center;
|