Commit 09877e25 authored by 王's avatar

bug fix

parent 750da27a
......@@ -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})">
暂未分享
......
......@@ -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="参加人数">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment