mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
feat:增加所有任务传参
This commit is contained in:
@@ -264,6 +264,10 @@ export default {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
taskIdDraft: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
edit: {
|
||||
// 是否为编辑
|
||||
type: Boolean,
|
||||
@@ -403,6 +407,7 @@ export default {
|
||||
routerId: props.routerId,
|
||||
routerTaskId: props.routerTaskId || 0,
|
||||
type: 9,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
//message.success(`${props.edit ? "编辑" : "新增"}关卡任务成功`);
|
||||
@@ -420,6 +425,7 @@ export default {
|
||||
projectTaskId: props.projectTaskId || 0,
|
||||
stageId: props.chooseStageId || 0,
|
||||
type: 9,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
//message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`);
|
||||
@@ -437,6 +443,7 @@ export default {
|
||||
projectTaskId: props.projectTaskId || 0,
|
||||
stageId: props.chooseStageId || 0,
|
||||
type: 9,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
ctx.emit("changeData", false);
|
||||
@@ -491,6 +498,7 @@ export default {
|
||||
beforeSignIn: state.inputV4 ? state.inputV4 : 0, //活动开始前多少分钟签到
|
||||
signOutTime: state.inputV6, //签退开始时间
|
||||
standardSettings: state.radioV1, //标准设置
|
||||
id: props.edit ? props.taskIdDraft : ""
|
||||
};
|
||||
console.log("obj", obj);
|
||||
if (props.edit) {
|
||||
|
||||
Reference in New Issue
Block a user