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
e32c4061
Commit
e32c4061
authored
Dec 08, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cb4f5658
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
classinfo-form.vue
src/components/course/classinfo-form.vue
+5
-3
classManage.vue
src/pages/course/classManage.vue
+2
-9
No files found.
src/components/course/classinfo-form.vue
View file @
e32c4061
...
...
@@ -94,6 +94,9 @@
title=
"学员信息"
:data=
"studentList"
:columns=
"columns"
row-key=
"Id"
>
</q-table>
</div>
<div
v-if=
"tabCheck=='second'"
>
<lessForm></lessForm>
</div>
</q-card>
<div
class=
"dialog-out-close"
@
click=
"closeShenheForm"
style=
"height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;"
>
...
...
@@ -105,9 +108,8 @@
<
script
>
import
{
queryClassStudent
,
}
from
'../../api/course/class'
;
import
lessForm
from
'../course/lesson-form'
;
export
default
{
props
:
{
setingObj
:
{
...
...
@@ -116,7 +118,7 @@
}
},
components
:
{
lessForm
},
data
()
{
return
{
...
...
src/pages/course/classManage.vue
View file @
e32c4061
...
...
@@ -56,7 +56,7 @@
<
template
v-slot:body-cell-CompleteProgress=
"props"
>
<q-td
auto-width
:props=
"props"
>
已进行
{{
props
.
row
.
CompleteProgress
}}
%
<q-linear-progress
rounded
size=
"20px"
:value=
"getProgress
2
(props.row.CompleteProgress,100)"
style=
"background-color:#EEEEEF;color:#3FC4FF"
<q-linear-progress
rounded
size=
"20px"
:value=
"getProgress(props.row.CompleteProgress,100)"
style=
"background-color:#EEEEEF;color:#3FC4FF"
class=
"q-mt-sm"
/>
</q-td>
</
template
>
...
...
@@ -250,14 +250,7 @@
}
},
//获取进度条
getProgress
(
s1
,
s2
)
{
if
(
s1
&&
s2
&&
s2
!=
0
)
{
return
(
s1
/
s2
).
toFixed
(
2
);
}
return
0.00
;
},
//获取进度2
getProgress2
(
num
,
total
)
{
getProgress
(
num
,
total
)
{
if
(
num
==
0
||
total
==
0
){
return
0
;
}
...
...
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