Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
8f0362ba
Commit
8f0362ba
authored
Mar 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口调整,菜单添加
parent
0179f135
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
8 deletions
+40
-8
indexApi.js
src/api/courseManagement/indexApi.js
+7
-3
index.vue
src/views/contentManagement/competitionSupport/index.vue
+29
-0
index.vue
src/views/courseInformation/courseManagement/index.vue
+4
-5
No files found.
src/api/courseManagement/indexApi.js
View file @
8f0362ba
...
...
@@ -71,12 +71,16 @@ export function defaultUrl(data) {
}
// 课程管理修改封面
export
function
picImport
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/blesson/picImport'
,
method
:
'post'
,
data
,
headers
:
{}
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
transformRequest
:
[(
data
)
=>
{
return
data
}],
data
})
}
// 课程管理-目录添加章
...
...
src/views/contentManagement/competitionSupport/index.vue
0 → 100644
View file @
8f0362ba
<
template
>
<div
class=
"competitionSupport_module"
>
大赛
</div>
</
template
>
<
script
>
export
default
{
name
:
"index"
,
data
()
{
return
{
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.competitionSupport_module
{
}
</
style
>
src/views/courseInformation/courseManagement/index.vue
View file @
8f0362ba
...
...
@@ -680,11 +680,10 @@ export default {
});
}
else
{
_this
.
fullscreenLoading
=
true
;
const
params
=
{
importFile
:
cover
,
code
:
_this
.
teacode
,
}
picImport
(
params
).
then
(
res
=>
{
var
formData
=
new
FormData
()
// 当前为空
formData
.
append
(
'importFile'
,
cover
)
formData
.
append
(
'code'
,
_this
.
teacode
)
picImport
(
formData
).
then
(
res
=>
{
_this
.
fullscreenLoading
=
false
;
_this
.
dialogVisible
=
false
;
let
type
=
res
.
code
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment