Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
a6644d90
Commit
a6644d90
authored
Oct 16, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3345f1d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
course-form.vue
src/components/course/course-form.vue
+2
-2
course.vue
src/pages/course/course.vue
+2
-9
No files found.
src/components/course/course-form.vue
View file @
a6644d90
...
...
@@ -15,9 +15,8 @@
tipText=
"课程分类"
@
getChild=
"getChild"
></selectTree>
</div>
<div
class=
"col-6 q-pb-lg upload-assiatant-box"
>
<q-uploader
flat
hide-upload-btn
max-files=
"1"
label=
"课程封面"
:max-file-size=
"512*1024"
accept=
".jpg, image/*"
<q-uploader
:style=
"
{backgroundImage:'url(' + objOption.CoverImg + ')'}"
flat hide-upload-btn max-files="1" label="课程封面" :max-file-size="512*1024" accept=".jpg, image/*"
:factory="uploadFile" auto-upload>
<q-img
v-if=
"objOption.CoverImg"
:src=
"objOption.CoverImg"
/>
</q-uploader>
</div>
</div>
...
...
@@ -115,6 +114,7 @@
this
.
objOption
.
CourseName
=
res
.
Data
.
CourseName
;
this
.
objOption
.
CourseIntro
=
res
.
Data
.
CourseIntro
;
this
.
objOption
.
CateId
=
res
.
Data
.
CateId
;
this
.
returnString
=
res
.
Data
.
CateId
;
})
this
.
optionTitle
=
"修改课程信息"
}
else
{
...
...
src/pages/course/course.vue
View file @
a6644d90
...
...
@@ -201,15 +201,8 @@
},
//刷新页面
refreshPage
()
{
if
(
!
this
.
menuObjOption
)
{
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
MenuName
=
""
;
this
.
msg
.
MenuUrl
=
""
;
this
.
msg
.
MenuLevel
=
-
1
;
this
.
msg
.
MenuType
=
-
1
;
this
.
msg
.
Status
=
"-1"
;
}
this
.
getmenulist
()
this
.
isShowMenuForm
=
false
;
this
.
getcourselist
();
},
//新增修改菜单
EditCourse
(
obj
)
{
...
...
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