|
@@ -98,7 +98,9 @@
|
|
<div v-if="taskDataList.length > 0" class="synchronization">以下任务与该望岳任务也关联,排期将一并同步,请知悉!</div>
|
|
<div v-if="taskDataList.length > 0" class="synchronization">以下任务与该望岳任务也关联,排期将一并同步,请知悉!</div>
|
|
<div v-for="(item, index) in taskDataList" :key="index" class="Layout_space_between involveApp-top-bottom">
|
|
<div v-for="(item, index) in taskDataList" :key="index" class="Layout_space_between involveApp-top-bottom">
|
|
<span class="item-detail">{{ item.taskId }}</span>
|
|
<span class="item-detail">{{ item.taskId }}</span>
|
|
- <span class="item-details">{{ item.name }}</span>
|
|
|
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.name" placement="top">
|
|
|
|
+ <span class="item-details">{{ item.name.substring(0,12) + '...' }}</span>
|
|
|
|
+ </el-tooltip>
|
|
<span class="item-detail">{{ item.moduleInfoName }}</span>
|
|
<span class="item-detail">{{ item.moduleInfoName }}</span>
|
|
</div>
|
|
</div>
|
|
<div align="right" style="margin-top:20px;">
|
|
<div align="right" style="margin-top:20px;">
|
|
@@ -163,6 +165,7 @@ import scheduleList from '@/views/projectManage/components/scheduleList.vue'
|
|
import '@/styles/PublicStyle/index.scss' // 通用css
|
|
import '@/styles/PublicStyle/index.scss' // 通用css
|
|
import { configShowTaskStatusEnum } from '@/api/taskIndex'
|
|
import { configShowTaskStatusEnum } from '@/api/taskIndex'
|
|
import { taskUpdate } from '@/api/taskIndex'
|
|
import { taskUpdate } from '@/api/taskIndex'
|
|
|
|
+import { taskUpdates } from '@/api/projectViewDetails'
|
|
import { memberQueryMemberInfoByIDAPorName } from '@/api/projectIndex'
|
|
import { memberQueryMemberInfoByIDAPorName } from '@/api/projectIndex'
|
|
import schedule from '@/views/projectManage/schedule' // 排期锁定弹窗
|
|
import schedule from '@/views/projectManage/schedule' // 排期锁定弹窗
|
|
import taskDialog from '@/views/projectManage/taskList/dialog/taskDialog' // 任务状态修改(已上线/已提测/已准出)
|
|
import taskDialog from '@/views/projectManage/taskList/dialog/taskDialog' // 任务状态修改(已上线/已提测/已准出)
|
|
@@ -273,7 +276,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
- async configShowTaskStatusEnum() {
|
|
|
|
|
|
+ async configShowTaskStatusEnum() { // 获取任务下拉数据
|
|
const res = await configShowTaskStatusEnum(localStorage.getItem('bizId'))
|
|
const res = await configShowTaskStatusEnum(localStorage.getItem('bizId'))
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.allStatus = res.data.taskStatus
|
|
this.allStatus = res.data.taskStatus
|
|
@@ -319,7 +322,7 @@ export default {
|
|
id: ''
|
|
id: ''
|
|
}
|
|
}
|
|
const taskInfoDO = e
|
|
const taskInfoDO = e
|
|
- const resTask = await taskUpdate({ taskInfoDO, user })
|
|
|
|
|
|
+ const resTask = await taskUpdates({ taskInfoDO, user })
|
|
if (resTask.code === 200) {
|
|
if (resTask.code === 200) {
|
|
this.listByTask(this.requirementId)
|
|
this.listByTask(this.requirementId)
|
|
this.$message({ message: '修改成功', type: 'success', offset: 150 })
|
|
this.$message({ message: '修改成功', type: 'success', offset: 150 })
|
|
@@ -377,7 +380,6 @@ export default {
|
|
},
|
|
},
|
|
async changeTaskName(val, value, key) { // 修改taskname
|
|
async changeTaskName(val, value, key) { // 修改taskname
|
|
if (value) {
|
|
if (value) {
|
|
- console.log(val, value)
|
|
|
|
key === 1 ? val.rdOwner = value.idap : ''
|
|
key === 1 ? val.rdOwner = value.idap : ''
|
|
key === 2 ? val.qaOwner = value.idap : ''
|
|
key === 2 ? val.qaOwner = value.idap : ''
|
|
}
|
|
}
|