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
797bbe99
Commit
797bbe99
authored
Jul 30, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b1120d2a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
66 deletions
+6
-66
classlist.vue
src/components/course/classlist.vue
+6
-1
classManage.vue
src/pages/course/classManage.vue
+0
-65
No files found.
src/components/course/classlist.vue
View file @
797bbe99
...
...
@@ -203,7 +203,7 @@
@
success=
"refreshPage"
></changestatusForm>
<change-class-form
v-if=
"isShowTiaoke"
:seting-obj=
"classObjOption"
@
close=
"closeClassSaveForm"
@
success=
"refreshPage"
></change-class-form>
<classconflict-form
:ClassId=
"ClassId"
v-if=
"isShowConflict"
@
close=
"closeClassConflictForm"
<classconflict-form
:ClassId=
"ClassId"
v-if=
"isShowConflict"
@
getzk=
"getzk"
@
close=
"closeClassConflictForm"
@
success=
"refreshPage"
></classconflict-form>
</div>
...
...
@@ -368,6 +368,11 @@
this
.
isShowConflict
=
true
;
this
.
ClassId
=
ClassId
;
},
//点击全部重排
getzk
(){
this
.
isShowConflict
=
false
;
this
.
isShowClassForm
=
true
;
},
//初始化权限信息
initAuth
()
{
...
...
src/pages/course/classManage.vue
View file @
797bbe99
...
...
@@ -60,17 +60,6 @@
<classlist
:data=
"data"
:authObj=
"authObj"
@
success=
"refreshPage"
></classlist>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
<class-form
v-if=
"isShowClassForm"
:save-obj=
"classObjOption"
@
close=
"closeClassSaveForm"
@
getClassFlict=
"getClassFlict"
@
success=
"refreshPage"
>
</class-form>
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClassSaveForm"
@
success=
"refreshPage"
>
</classinfo-form>
<othercourseForm
v-if=
"IsShowOtherCourse"
:seting-obj=
"classObjOption"
@
close=
"closeClassSaveForm"
@
success=
"refreshPage"
>
</othercourseForm>
<classconflict-form
:ClassId=
"ClassId"
v-if=
"isShowConflict"
@
close=
"closeClassConflictForm"
@
getzk=
"getzk"
@
success=
"refreshPage"
></classconflict-form>
</div>
</div>
</
template
>
...
...
@@ -194,15 +183,11 @@
//关联校区列表
schoolList
:
[],
pageCount
:
0
,
classObjOption
:
null
,
isShowEdit
:
false
,
statusMsg
:
{
ClassId
:
0
,
ClassStatus
:
0
},
isShowClassForm
:
false
,
//是否显示新增修改弹窗
isShowClassInfo
:
false
,
//是否显示课程信息
IsShowOtherCourse
:
false
,
//是否显示其他课程
isShowConflict
:
false
,
//是否显示上课计划冲突
ClassId
:
0
,
//传入到冲突表单参数
//权限判断
...
...
@@ -232,18 +217,6 @@
closeClassConflictForm
()
{
this
.
isShowConflict
=
false
;
},
//显示冲突切换弹窗
getClassFlict
(
ClassId
)
{
this
.
isShowClassForm
=
false
;
this
.
isShowConflict
=
true
;
this
.
ClassId
=
ClassId
;
},
//点击全部重排
getzk
(){
console
.
log
(
'进入2'
);
this
.
isShowConflict
=
false
;
this
.
isShowClassForm
=
true
;
},
//删除班级
removeClass
(
item
,
status
)
{
let
delMsg
=
{
...
...
@@ -380,25 +353,6 @@
this
.
isShowClassForm
=
false
;
this
.
getClassList
();
},
//新增修改菜单
EditCourse
(
obj
)
{
if
(
obj
)
{
this
.
classObjOption
=
obj
}
else
{
this
.
classObjOption
=
null
}
this
.
isShowClassForm
=
true
},
//关闭弹窗
closeClassSaveForm
()
{
//关闭新增修改弹窗
this
.
isShowClassForm
=
false
;
//关闭班级信息弹窗
this
.
isShowClassInfo
=
false
;
//关闭关联其他课程弹窗
this
.
IsShowOtherCourse
=
false
;
},
GetFirst
(
val
)
{
if
(
val
)
{
return
val
.
substr
(
0
,
1
);
...
...
@@ -411,25 +365,6 @@
}
return
(
Math
.
round
(
num
/
total
*
100
)
/
100.00
);
},
//显示关联课程
showOtherCourse
(
item
)
{
this
.
IsShowOtherCourse
=
true
;
this
.
classObjOption
=
item
;
},
//点击班级名称
getClassInfo
(
obj
)
{
this
.
classObjOption
=
null
;
this
.
isShowClassInfo
=
false
;
this
.
classObjOption
=
obj
;
this
.
isShowClassInfo
=
true
;
},
gomonthLessonCost
(
row
)
{
let
ClassName
=
encodeURI
(
row
.
ClassName
)
this
.
OpenNewUrl
(
'/course/monthLessonCost'
,
{
ClassId
:
row
.
ClassId
,
ClassName
:
ClassName
,
});
},
//跳转到课程大纲
goChapter
(
CouseId
)
{
this
.
OpenNewUrl
(
'/course/chapter'
,
{
...
...
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