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