Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-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
王旭
mt-education-web
Commits
1e3bf4be
Commit
1e3bf4be
authored
Oct 09, 2019
by
王淑君
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/api/manage.js
parents
2b08b5f9
5231d5fb
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
168 additions
and
88 deletions
+168
-88
manage.js
src/api/manage.js
+14
-2
releaseCourse.vue
src/views/courseTrain/onlineCourse/releaseCourse.vue
+1
-1
bannerManage.vue
src/views/systemManagement/bannerManage.vue
+152
-84
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/manage.js
View file @
1e3bf4be
...
...
@@ -7,7 +7,8 @@ const api = {
bdictionary
:
'/bdictionary'
,
banner
:
'/Banner'
,
label
:
'/BLabel'
,
bLesson
:
'/BLesson'
bLesson
:
'/BLesson'
,
file
:
'/file'
};
export
default
api
;
...
...
@@ -75,10 +76,21 @@ export function addBanner(parameter) {
params
:
parameter
});
}
// 新建banner上传图片
export
function
uploadBannerImg
(
parameter
)
{
return
axios
({
url
:
api
.
file
+
'/upload'
,
method
:
'post'
,
params
:
parameter
,
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
});
}
// 查询课程列表
export
function
courselist
(
parameter
)
{
return
axios
({
url
:
api
.
bLesson
+
'/
theLessonManage
'
,
url
:
api
.
bLesson
+
'/
findLessonAtBanner
'
,
method
:
'get'
,
params
:
parameter
});
...
...
src/views/courseTrain/onlineCourse/releaseCourse.vue
View file @
1e3bf4be
...
...
@@ -250,7 +250,7 @@
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
,
true
);
// 查询所有课程分类初始化下拉选择
queryCourse
({
corpId
:
1
,
userId
:
1
}).
then
(
res
=>
{
console
.
log
(
'queryCourse:'
,
res
);
console
.
log
(
'queryCourse:'
,
res
);
this
.
courseIdTreeSelect
=
res
.
data
.
courseList
;
this
.
getCoursesIdList
(
this
.
courseIdTreeSelect
);
...
...
src/views/systemManagement/bannerManage.vue
View file @
1e3bf4be
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
1e3bf4be
...
...
@@ -111,7 +111,7 @@ module.exports = {
port
:
8000
,
proxy
:
{
'/api'
:
{
target
:
'http://192.168.2.
211
:8081'
,
target
:
'http://192.168.2.
60
:8081'
,
changeOrigin
:
true
,
ws
:
true
,
pathRewrite
:
{
...
...
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