|
@@ -190,7 +190,11 @@
|
|
|
style="width: 100%;font-size: 14px; color:#333B4A;margin-top: 20px"
|
|
|
:header-cell-style="{color:'#333B4A',fontSize: '16px',fontWeight:500,background:'rgba(240,242,244,1)'}"
|
|
|
>
|
|
|
- <el-table-column prop="name" label="日程名称" align="center" min-width="138" />
|
|
|
+ <el-table-column prop="name" label="日程名称" align="center" min-width="138">
|
|
|
+ <template v-slot="scope">
|
|
|
+ {{ getName(scope) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="startTime" label="日期" align="center" min-width="232">
|
|
|
<template v-slot="scope">
|
|
|
{{ scope.row.startTime + ' ~ ' + scope.row.endTime }}
|
|
@@ -364,6 +368,10 @@ export default {
|
|
|
})
|
|
|
this.queryWorkList()
|
|
|
},
|
|
|
+ getName(scope) {
|
|
|
+ const type = scope.row.origin ? '日程' : '任务'
|
|
|
+ return '【' + type + '】' + scope.row.name + '-' + scope.row.type + '-' + scope.row.desc
|
|
|
+ },
|
|
|
// type: 1 我提报的 2 待我处理
|
|
|
selectBugList(type) {
|
|
|
const pageSize = 10
|