mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
feat:增加所有任务传参
This commit is contained in:
@@ -105,6 +105,10 @@ export default {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
taskIdDraft: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
edit: {
|
||||
// 是否为编辑
|
||||
type: Boolean,
|
||||
@@ -194,6 +198,7 @@ export default {
|
||||
routerId: props.routerId,
|
||||
routerTaskId: props.routerTaskId || 0,
|
||||
type: 10,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
//message.success(`${props.EditTestId ? "编辑" : "新增"}关卡任务成功`);
|
||||
@@ -212,6 +217,7 @@ export default {
|
||||
projectTaskId: props.projectTaskId || 0,
|
||||
stageId: props.chooseStageId || 0,
|
||||
type: 10,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
//message.destroy()
|
||||
@@ -229,6 +235,7 @@ export default {
|
||||
projectTaskId: props.projectTaskId || 0,
|
||||
stageId: props.chooseStageId || 0,
|
||||
type: 10,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
//message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`);
|
||||
@@ -301,6 +308,7 @@ export default {
|
||||
evaluationTag: "",
|
||||
updateTime: "",
|
||||
type:state.type,
|
||||
id: props.edit ? props.taskIdDraft : ""
|
||||
};
|
||||
api
|
||||
.updateEvaluation(objei)
|
||||
|
||||
Reference in New Issue
Block a user