feat:增加修改id

This commit is contained in:
dongwug
2022-11-07 11:44:58 +08:00
parent 6560d6a4b2
commit 666459a6e5
4 changed files with 62 additions and 21 deletions

View File

@@ -156,6 +156,14 @@ export default {
type: Number,
default: 0,
},
projectId: {
type: Number,
default: null,
},
chooseStageId: {
type: Number,
default: null,
},
},
setup(props, ctx) {
const state = reactive({
@@ -240,9 +248,9 @@ export default {
duration: 0,
flag: true,
name: obj.voteName,
projectId: 28,
projectId: props.projectId,
projectTaskId: 0,
stageId: 3,
stageId: props.chooseStageId,
type: 12,
})
.then((res) => {