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
be47286a
Commit
be47286a
authored
Dec 03, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
25693b37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
classManage.vue
src/pages/course/classManage.vue
+13
-9
No files found.
src/pages/course/classManage.vue
View file @
be47286a
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
</div>
</div>
<div
class=
"page-option"
>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增
课程
"
@
click=
"EditCourse(null)"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增
班级
"
@
click=
"EditCourse(null)"
/>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
...
@@ -62,9 +62,9 @@
...
@@ -62,9 +62,9 @@
</q-td>
</q-td>
</
template
>
</
template
>
</q-table>
</q-table>
<
!-- <course-form v-if="isShowCourseForm" :save-obj="courseObjOption" @close="closeMenu
SaveForm"
<
class-form
v-if=
"isShowClassForm"
:save-obj=
"classObjOption"
@
close=
"closeClass
SaveForm"
@
success=
"refreshPage"
>
@
success=
"refreshPage"
>
</c
ourse-form> --
>
</c
lass-form
>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -73,11 +73,13 @@
...
@@ -73,11 +73,13 @@
// queryCoursePage,
// queryCoursePage,
// queryCourseCategoryTree,
// queryCourseCategoryTree,
// } from '../../api/course/index'
// } from '../../api/course/index'
import
classForm
from
'../../components/course/class-form'
export
default
{
export
default
{
meta
:
{
meta
:
{
title
:
"班级管理"
title
:
"班级管理"
},
},
components
:
{
components
:
{
classForm
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -137,6 +139,7 @@
...
@@ -137,6 +139,7 @@
],
],
data
:
[],
data
:
[],
loading
:
false
,
loading
:
false
,
isShowClassForm
:
false
,
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
12
,
pageSize
:
12
,
...
@@ -157,6 +160,7 @@
...
@@ -157,6 +160,7 @@
Name
:
'清华大学'
Name
:
'清华大学'
}],
}],
pageCount
:
0
,
pageCount
:
0
,
classObjOption
:
null
,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -181,21 +185,21 @@
...
@@ -181,21 +185,21 @@
},
},
//刷新页面
//刷新页面
refreshPage
()
{
refreshPage
()
{
this
.
isShowC
ourse
Form
=
false
;
this
.
isShowC
lass
Form
=
false
;
this
.
getcourselist
();
this
.
getcourselist
();
},
},
//新增修改菜单
//新增修改菜单
EditCourse
(
obj
)
{
EditCourse
(
obj
)
{
// if (obj) {
// if (obj) {
// this.c
ourse
ObjOption = obj
// this.c
lass
ObjOption = obj
// } else {
// } else {
// this.c
ourse
ObjOption = null
// this.c
lass
ObjOption = null
// }
// }
// this.isShowCourse
Form = true
this
.
isShowClass
Form
=
true
},
},
//关闭弹窗
//关闭弹窗
close
Menu
SaveForm
()
{
close
Class
SaveForm
()
{
// this.isShowC
ourse
Form = false
// this.isShowC
lass
Form = false
}
}
}
}
}
}
...
...
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