|
@@ -69,7 +69,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="跟版客户端" width="120" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">{{ scope.row.app }}</template>
|
|
|
+ <template slot-scope="scope">{{ scope.row.involveAppString || '无' }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="开发负责人" width="100" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.rdObject ? scope.row.rdObject.name : '' }}</template>
|
|
@@ -107,7 +107,7 @@
|
|
|
import TestReport from '@/views/Platform/presentation/Templates/TestReport' // 提测
|
|
|
import DailyReport from '@/views/Platform/presentation/Templates/DailyReport' // 日报
|
|
|
import ClientReport from '@/views/Platform/presentation/Templates/ClientReport' // 准出
|
|
|
-import { getTaskByRequireId } from '@/api/requirement'
|
|
|
+import { taskList } from '@/api/projectIndex'
|
|
|
import { taskUpdate } from '@/api/projectViewDetails'
|
|
|
import { configShowTaskEnum } from '@/api/taskIndex'
|
|
|
import scheduleList from './scheduleList'
|
|
@@ -165,15 +165,11 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async get_allTask() { // 获取全部任务
|
|
|
- const res = await getTaskByRequireId({
|
|
|
- id: this.$route.query.id
|
|
|
+ const res = await taskList({
|
|
|
+ requireId: this.$route.query.id
|
|
|
})
|
|
|
- if (res.code === 200 && res.data) {
|
|
|
- console.log(res)
|
|
|
- this.all_task = res.data.taskDetails || []
|
|
|
- // for (const [key, value] of Object.entries(res.data[0])) {
|
|
|
- // console.log(`${key}: ${value}`)
|
|
|
- // }
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.all_task = res.data
|
|
|
}
|
|
|
},
|
|
|
async getTaskStatus() { // 获取任务状态列表
|