Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
8f241c4a
Commit
8f241c4a
authored
Oct 18, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户详情=》期数详情
parent
2707c984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
index.vue
src/components/userDetail/index.vue
+6
-3
No files found.
src/components/userDetail/index.vue
View file @
8f241c4a
...
...
@@ -52,7 +52,7 @@
<el-table-column
type=
"expand"
>
<template
slot-scope=
"scope"
>
<el-table
:data=
"
[scope.row]
"
:data=
"
list
"
style=
"width: 100%"
>
<el-table-column
label=
"到课率"
>
...
...
@@ -240,7 +240,8 @@
title
:
'绑定老师'
,
id
:
0
,
teacher_id
:
0
}
}
,
list
:
[]
}
}
,
components
:{
...
...
@@ -254,8 +255,9 @@
}
,
methods
:{
changeRow
(
data
,
b
){
this
.
list
=
[];
if
(
b
.
indexOf
(
data
)
>-
1
){
getPeriodsStatisticsApi
(
data
.
id
).
then
(
res
=>
{
getPeriodsStatisticsApi
(
data
.
periods_
id
).
then
(
res
=>
{
data
.
arrive_course_rate
=
res
.
arrive_course_rate
;
data
.
watch_course_rate
=
res
.
watch_course_rate
;
data
.
over_course_rate
=
res
.
over_course_rate
;
...
...
@@ -264,6 +266,7 @@
data
.
clock_rate
=
res
.
clock_rate
;
data
.
over_clock_rate
=
res
.
over_clock_rate
;
data
.
transform_rate
=
res
.
transform_rate
;
this
.
list
=
[
data
];
}
)
}
}
,
...
...
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