feat:增加所有任务传参

This commit is contained in:
wyx
2023-02-13 21:50:54 +08:00
parent c10b3ffce2
commit 603a4aa255
12 changed files with 90 additions and 3 deletions

View File

@@ -408,6 +408,10 @@ export default {
type: Boolean,
default: false,
},
taskIdDraft: {
type: Number,
default: null,
},
EditFaceId: {
// 要编辑的workId
type: Number,
@@ -707,7 +711,7 @@ export default {
testId: state.EditTestId,
duration: state.duration,
attach:state.attach,
id: props.taskIdDraft
};
console.log("obj============", obj, "6" + "9");
console.log("222222222");
@@ -748,6 +752,7 @@ export default {
routerId: props.routerId,
routerTaskId: props.routerTaskId || 0,
type: 2,
id: props.taskIdDraft
};
await RouterEditTask(editObj1)
.then(() => {
@@ -768,6 +773,7 @@ export default {
projectTaskId: props.projectTaskId || 0,
stageId: props.chooseStageId || 0,
type: 2,
id: props.taskIdDraft
};
// 新增编辑或新增项目
await ProjectEditTask(editObj)