mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
feat:增加所有任务传参
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user