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
09877e25
Commit
09877e25
authored
Nov 08, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
750da27a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
userList.vue
src/components/class/userList.vue
+9
-9
index.vue
src/components/teacherDetail/index.vue
+4
-5
No files found.
src/components/class/userList.vue
View file @
09877e25
...
...
@@ -26,12 +26,6 @@
{{
scope
.
row
.
mobile
}}
</
template
>
</el-table-column>
<el-table-column
label=
"是否购买"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
is_buy
===
0
?
'否'
:
'是'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"看课权限"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -84,7 +78,13 @@
{{
scope
.
row
.
is_continue_buy
|
isOrNot
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
v-if=
"!$store.state.readonly"
width=
"410"
>
<el-table-column
label=
"是否添加老师"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
is_add_teacher
===
0
?
'否'
:
'是'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
v-if=
"!$store.state.readonly"
width=
"480"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editComment(scope.row.id, scope.row.desc)"
v-if=
"!$store.state.readonly"
>
编辑备注
</el-button>
<el-button
type=
"warning"
size=
"mini"
@
click=
"changeUser(scope.row)"
v-if=
"!$store.state.readonly"
>
看课权限
</el-button>
...
...
@@ -188,7 +188,7 @@
label
=
"爸妈秀宝贝"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.watch_list && scope.row.watch_list.length > 0 && scope.row.watch_list.find(i=>{return i.page_id === 3
}
)"
>
<
div
v
-
html
=
"scope.row.watch_list.find(i=>{return i.page_id === 0
}
).learn_report"
><
/div>
{{scope.row.watch_list.find
(
i=>{return i.page_id === 3
}
)
.stay_time
}}
<
div
v
-
html
=
"scope.row.watch_list.find(i=>{return i.page_id === 0
}
).learn_report"
><
/div
>
<
/span
>
<
span
v
-
if
=
"!scope.row.watch_list.find(i=>{return i.page_id === 3
}
)"
>
暂未上课
...
...
@@ -210,7 +210,7 @@
label
=
"分享"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.watch_list && scope.row.watch_list.length > 0 && scope.row.watch_list.find(i=>{return i.page_id === 4
}
)"
>
<
div
v
-
html
=
"scope.row.watch_list.find(i=>{return i.page_id === 0
}
).learn_report"
><
/div>{{scope.row.watch_list.find
(
i=>{return i.page_id === 4
}
)
.stay_time
}}
已分享
<
/span
>
<
span
v
-
if
=
"!scope.row.watch_list.find(i=>{return i.page_id === 4
}
)"
>
暂未分享
...
...
src/components/teacherDetail/index.vue
View file @
09877e25
...
...
@@ -18,8 +18,11 @@
<label>
老师状态:
</label>
{{
detail
.
status
===
0
?
'正常'
:
'禁用'
}}
</el-col>
</el-row>
<el-row
v-if=
"detail.user_info"
>
<el-row>
<el-col
:span=
"6"
>
<label>
带班总人数:
</label>
{{
detail
.
total_join_num
}}
</el-col>
<el-col
:span=
"6"
v-if=
"detail.user_info"
>
<label>
绑定用户:
</label>
<a
:href=
"detail.user_info.avatar"
target=
"_blank"
>
<img
class=
"avatar"
:src=
"detail.user_info.avatar"
/>
...
...
@@ -92,10 +95,6 @@
prop=
"periods_title"
label=
"期数名称"
>
</el-table-column>
<el-table-column
prop=
"total_join_num"
label=
"带班总人数"
>
</el-table-column>
<el-table-column
prop=
"join_num"
label=
"参加人数"
>
...
...
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