Commit 32657bf2 authored by 张伯涛's avatar 张伯涛

课程管理模块功能

parent bf057394
...@@ -167,3 +167,11 @@ export function findPdfUrl(data) { ...@@ -167,3 +167,11 @@ export function findPdfUrl(data) {
headers: {} headers: {}
}) })
} }
// 课程管理-视频/pdf删除
export function delData(query) {
return request({
url: '/bfile/deleteFile',
method: 'delete',
params: query
})
}
...@@ -850,6 +850,7 @@ export default { ...@@ -850,6 +850,7 @@ export default {
var formData = new FormData() // 当前为空 var formData = new FormData() // 当前为空
formData.append('importFile', cover) formData.append('importFile', cover)
formData.append('code', _this.teacode) formData.append('code', _this.teacode)
formData.append('temp', 'image')
picImport(formData).then(res => { picImport(formData).then(res => {
_this.fullscreenLoading = false _this.fullscreenLoading = false
_this.dialogVisible = false _this.dialogVisible = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment