mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
feat:移动任务到阶段,关卡
This commit is contained in:
@@ -1690,7 +1690,7 @@ export default {
|
||||
console.log("value:",value);
|
||||
let obj = {
|
||||
chapterId: state.isactive,
|
||||
routerTaskIdList: value,
|
||||
routerTaskIdList: [value],
|
||||
}
|
||||
api
|
||||
.moveTask(obj)
|
||||
|
||||
@@ -1715,17 +1715,19 @@ export default {
|
||||
let arr = state.selectRow;
|
||||
console.log("选择的行信息", arr);
|
||||
arr.map((value) => {
|
||||
console.log("value:", value);
|
||||
//console.log("value:", value);
|
||||
let obj = {
|
||||
chapterId: state.chooseStageId,
|
||||
routerTaskIdList: value,
|
||||
stageId: state.chooseStageId,
|
||||
projectTaskId: [value],
|
||||
}
|
||||
console.log("routerTaskIdList",obj.routerTaskIdList);
|
||||
apimove
|
||||
.moveTask(obj)
|
||||
.then((res) => {
|
||||
console.log("移动成功",res);
|
||||
message.destroy();
|
||||
message.success("移动成功");
|
||||
getTask();
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("移动失败", err);
|
||||
|
||||
Reference in New Issue
Block a user