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:
@@ -102,6 +102,22 @@ export default {
|
||||
isStudiscuss: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
isactive: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
routerId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
projectId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
chooseStageId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
}
|
||||
},
|
||||
setup(props, ctx) {
|
||||
@@ -152,12 +168,12 @@ export default {
|
||||
console.log("学习路径",props.isStudiscuss);
|
||||
if(props.isStudiscuss){
|
||||
let editObj1 = {
|
||||
chapterId:36,
|
||||
chapterId:props.isactive,
|
||||
courseId: 0,
|
||||
duration: 0,
|
||||
flag: true,
|
||||
name: obj.discussName,
|
||||
routerId: 92,
|
||||
routerId: props.routerId,
|
||||
routerTaskId: 0,
|
||||
type: 8,
|
||||
}
|
||||
@@ -175,9 +191,9 @@ export default {
|
||||
duration: 0,
|
||||
flag: true,
|
||||
name: obj.discussName,
|
||||
projectId: 28,
|
||||
projectId: props.projectId,
|
||||
projectTaskId: 0,
|
||||
stageId: 3,
|
||||
stageId: props.chooseStageId,
|
||||
type: 8,
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user