This commit is contained in:
parent
690061f54a
commit
e11da5257d
|
@ -121,7 +121,7 @@
|
||||||
:key="task.code"
|
:key="task.code"
|
||||||
:class="showTaskPri(task.pri)"
|
:class="showTaskPri(task.pri)"
|
||||||
v-if="!task.done && task.canRead"
|
v-if="!task.done && task.canRead"
|
||||||
@click.stop="taskDetail(task.code, index)"
|
@click.stop="taskDetail(task.code, index, task.project_code)"
|
||||||
>
|
>
|
||||||
<div class="task-priority bg-priority-0"></div>
|
<div class="task-priority bg-priority-0"></div>
|
||||||
<a-tooltip :placement="index > 0 ? 'top' : 'right'">
|
<a-tooltip :placement="index > 0 ? 'top' : 'right'">
|
||||||
|
@ -401,7 +401,7 @@
|
||||||
:id="task.code"
|
:id="task.code"
|
||||||
:key="task.code"
|
:key="task.code"
|
||||||
:class="showTaskPri(task.pri)"
|
:class="showTaskPri(task.pri)"
|
||||||
@click.stop="taskDetail(task.code, index)"
|
@click.stop="taskDetail(task.code, index, task.project_code)"
|
||||||
>
|
>
|
||||||
<div class="task-priority bg-priority-0"></div>
|
<div class="task-priority bg-priority-0"></div>
|
||||||
<a-tooltip :placement="index > 0 ? 'top' : 'right'">
|
<a-tooltip :placement="index > 0 ? 'top' : 'right'">
|
||||||
|
@ -1545,7 +1545,7 @@
|
||||||
// }, 'notice', 'success', 5);
|
// }, 'notice', 'success', 5);
|
||||||
|
|
||||||
// 打开任务详情弹窗
|
// 打开任务详情弹窗
|
||||||
this.taskDetail(res.data.code, stageIndex);
|
this.taskDetail(res.data.code, stageIndex, task.project_code);
|
||||||
console.log({ ...res.data });
|
console.log({ ...res.data });
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -1774,10 +1774,11 @@
|
||||||
return formatTaskTime(time, timeEnd);
|
return formatTaskTime(time, timeEnd);
|
||||||
// return moment(time).format('MM月DD日 HH:mm')
|
// return moment(time).format('MM月DD日 HH:mm')
|
||||||
},
|
},
|
||||||
taskDetail(code, stageIndex) {
|
taskDetail(code, stageIndex, proCode) {
|
||||||
this.$router.push(
|
// this.$router.push(
|
||||||
`/project/space/task/qfbyovzhd9sj31u8ln602rwk/detail/${code}?from=${stageIndex}`
|
// `/project/space/task/${proCode}/detail/${code}?from=${stageIndex}`
|
||||||
);
|
// );
|
||||||
|
window.open(`index.html#/project/space/task/${proCode}/detail/${code}?from=${stageIndex}`)
|
||||||
},
|
},
|
||||||
stageSort(event) {
|
stageSort(event) {
|
||||||
const list = this.getPreAndNextCode(event);
|
const list = this.getPreAndNextCode(event);
|
||||||
|
|
Loading…
Reference in New Issue