mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
fix:作业及外链编辑
This commit is contained in:
@@ -15,12 +15,7 @@ export const deleteLink = (obj) => http.post('/link/deleteLink', { params: obj }
|
||||
})
|
||||
|
||||
//获取外链详细信息接口
|
||||
export const getLink = (obj) => http.post('/link/getOne', obj,{
|
||||
headers: {
|
||||
'token': '123',
|
||||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
||||
}
|
||||
})
|
||||
export const getLink = (obj) => http.get('/link/getOne', {params: obj})
|
||||
|
||||
// 更新外链数据
|
||||
export const updateLinks = (obj) => http.post('/link/updateLinks', obj, {
|
||||
|
||||
@@ -119,6 +119,10 @@ export default {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
taskCourseID: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
projectId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
@@ -271,7 +275,7 @@ export default {
|
||||
workId: props.EditWorkId >0 ? props.EditWorkId:0 ,
|
||||
workName: state.name,
|
||||
workRequirement: state.workRequirement,
|
||||
id: props.edit ? props.taskIdDraft : ""
|
||||
id: props.edit ? props.taskCourseID : ""
|
||||
};
|
||||
|
||||
if (props.EditWorkId > 0) {
|
||||
|
||||
Reference in New Issue
Block a user