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

@@ -404,6 +404,10 @@ export default {
type: Boolean,
default: false,
},
taskIdDraft: {
type: Number,
default: null,
},
EditLiveId: {
type: Number,
default: null,
@@ -621,6 +625,7 @@ export default {
routerId: props.routerId,
routerTaskId: props.routerTaskId || 0,
type: 6,
id: props.taskIdDraft
})
.then(() => {
//message.success(`${props.edit ? "编辑" : "新增"}关卡任务成功`);
@@ -639,6 +644,7 @@ export default {
projectTaskId: props.projectTaskId || 0,
stageId: props.chooseStageId || 0,
type: 6,
id: props.taskIdDraft
})
.then(() => {
//message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`);
@@ -657,6 +663,7 @@ export default {
projectTaskId: props.projectTaskId || 0,
stageId: props.chooseStageId || 0,
type: 6,
id: props.taskIdDraft
})
.then(() => {
//message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`);
@@ -747,6 +754,7 @@ export default {
signOutTime: state.inputV8,
standardSettings: state.radioV1, //1或2
isEvaluate: state.needEval ? "1" : "0",
id: props.edit? props.taskIdDraft : ""
};
console.log("我是要更新的数据", state.obj);