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:
@@ -242,7 +242,6 @@ export default {
|
||||
console.log("创建成功", res);
|
||||
message.success("创建成功");
|
||||
closeDrawer();
|
||||
console.log("1111", props.learn);
|
||||
if (props.learn == 0)
|
||||
apitaskadd
|
||||
.addTask({
|
||||
@@ -257,7 +256,11 @@ export default {
|
||||
})
|
||||
.then((res) => {
|
||||
console.log("调用项目添加接口后", res.data);
|
||||
//自定义事件给父组件传值
|
||||
ctx.emit("changeData", false);
|
||||
//重新获取任务列表
|
||||
// apiTask.getTask({ projectId: 28 });
|
||||
// router.push("/taskadd");
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
@@ -274,12 +277,6 @@ export default {
|
||||
type: 10,
|
||||
};
|
||||
RouterEditTask(editObj1)
|
||||
.then((res) => {
|
||||
console.log("调用学历路径添加接口后", res.data);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user