mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:增加修改id
This commit is contained in:
@@ -131,6 +131,14 @@ export default {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
projectId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
chooseStageId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const state = reactive({
|
||||
@@ -242,6 +250,7 @@ export default {
|
||||
console.log("创建成功", res);
|
||||
message.success("创建成功");
|
||||
closeDrawer();
|
||||
//渲染到学历路径列表
|
||||
if (props.learn == 0)
|
||||
apitaskadd
|
||||
.addTask({
|
||||
@@ -249,9 +258,9 @@ export default {
|
||||
duration: 0,
|
||||
flag: true,
|
||||
name: obj.evaluationName,
|
||||
projectId: 28,
|
||||
projectId: props.projectId,
|
||||
projectTaskId: 0,
|
||||
stageId: 3,
|
||||
stageId: props.chooseStageId,
|
||||
type: 10,
|
||||
})
|
||||
.then((res) => {
|
||||
@@ -265,6 +274,7 @@ export default {
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
//渲染到项目列表
|
||||
else {
|
||||
let editObj1 = {
|
||||
chapterId: 36,
|
||||
|
||||
Reference in New Issue
Block a user