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