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:
@@ -154,6 +154,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
taskIdDraft: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
edit: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -299,6 +303,7 @@ export default {
|
||||
routerId: props.routerId,
|
||||
routerTaskId: props.routerTaskId || 0,
|
||||
type: 12,
|
||||
id: props.taskIdDraft
|
||||
}).then(() => {
|
||||
ctx.emit("changeData", false);
|
||||
state.addLoading = false;
|
||||
@@ -311,6 +316,7 @@ export default {
|
||||
projectTaskId: props.projectTaskId || 0,
|
||||
stageId: props.chooseStageId || 0,
|
||||
type: 12,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
ctx.emit("changeData", false);
|
||||
@@ -323,6 +329,7 @@ export default {
|
||||
projectTaskId: props.projectTaskId || 0,
|
||||
stageId: props.chooseStageId || 0,
|
||||
type: 12,
|
||||
id: props.taskIdDraft
|
||||
})
|
||||
.then(() => {
|
||||
ctx.emit("changeData", false);
|
||||
|
||||
Reference in New Issue
Block a user