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
52eab9c2
Commit
52eab9c2
authored
Dec 11, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
c5ed1663
864bf58a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
lesson-form.vue
src/components/course/lesson-form.vue
+13
-1
classManage.vue
src/pages/course/classManage.vue
+1
-1
No files found.
src/components/course/lesson-form.vue
View file @
52eab9c2
...
...
@@ -347,7 +347,7 @@
</div>
</div>
</div>
<q-card-actions
align=
"right"
class=
"bg-white"
v-if=
"isShowSignBtn"
>
<q-card-actions
align=
"right"
class=
"bg-white"
v-if=
"isShowSignBtn
&&isSigned
"
>
<q-btn
label=
"取消"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"isShowSign=false"
/>
<q-btn
label=
"确认"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
...
...
@@ -418,6 +418,7 @@
dayObj
:{},
isShowSignBtn
:
false
,
//是否显示签到提交按钮
comChecked
:{},
//点击选中复制
isSigned
:
true
}
},
created
()
{
...
...
@@ -587,6 +588,17 @@
}
else
{
this
.
isShowSignBtn
=
false
;
}
var
count
=
0
;
this
.
dayObj
.
GuestList
.
forEach
(
x
=>
{
if
(
x
.
IsCheck
==-
1
){
count
++
;
}
})
if
(
count
==
this
.
dayObj
.
GuestList
.
length
){
this
.
isSigned
=
true
;
}
else
{
this
.
isSigned
=
false
;
}
this
.
dayObj
.
GuestList
.
forEach
(
x
=>
{
if
(
this
.
isShowSignBtn
&&
x
.
IsCheck
==-
1
){
x
.
IsCheck
=
0
;
...
...
src/pages/course/classManage.vue
View file @
52eab9c2
...
...
@@ -49,7 +49,7 @@
<i
class=
"iconfont icon-ren-"
style=
"color:#3FC4FF;margin-left:30px;"
></i>
当前
<span
style=
"color:#3FC4FF"
>
{{
props
.
row
.
OrderStudentCount
}}
</span>
<q-linear-progress
rounded
size=
"20px"
:value=
"getProgress(props.row.OrderStudentCount,props.row.ClassPersion)"
color=
"warning
"
:value=
"getProgress(props.row.OrderStudentCount,props.row.ClassPersion)"
style=
"background-color:#EEEEEF;color:#3FC4FF
"
class=
"q-mt-sm"
/>
</q-td>
</
template
>
...
...
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