|
@@ -109,10 +109,10 @@ export default defineComponent({
|
|
}
|
|
}
|
|
|
|
|
|
const getDetail = async () => {
|
|
const getDetail = async () => {
|
|
- if(forms.clientType === 'TEACHER'){
|
|
|
|
|
|
+ if (forms.clientType === 'TEACHER') {
|
|
try {
|
|
try {
|
|
const res = await request.post(`${platformApi.value}/teacher/detail`, {
|
|
const res = await request.post(`${platformApi.value}/teacher/detail`, {
|
|
- data:{
|
|
|
|
|
|
+ data: {
|
|
teacherId: state.id
|
|
teacherId: state.id
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -134,7 +134,6 @@ export default defineComponent({
|
|
// showToast(message)
|
|
// showToast(message)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
const topWrap = ref()
|
|
const topWrap = ref()
|
|
const topWrapHeight = ref(0)
|
|
const topWrapHeight = ref(0)
|
|
@@ -215,11 +214,13 @@ export default defineComponent({
|
|
</div>
|
|
</div>
|
|
<div class={styles.infoMsg}>
|
|
<div class={styles.infoMsg}>
|
|
<p>{infoDetail.value.nickname}</p>
|
|
<p>{infoDetail.value.nickname}</p>
|
|
- {forms.clientType === 'TEACHER' ? <NoticeBar class={styles.teacherSubject}>
|
|
|
|
- {infoDetail.value?.subjectNames?.map((item: any) => {
|
|
|
|
- return <div class={styles.tag}>{item}</div>
|
|
|
|
- })}
|
|
|
|
- </NoticeBar> : (
|
|
|
|
|
|
+ {forms.clientType === 'TEACHER' ? (
|
|
|
|
+ <NoticeBar class={styles.teacherSubject}>
|
|
|
|
+ {infoDetail.value?.subjectNames?.map((item: any) => {
|
|
|
|
+ return <div class={styles.tag}>{item}</div>
|
|
|
|
+ })}
|
|
|
|
+ </NoticeBar>
|
|
|
|
+ ) : (
|
|
<div class={styles.tag}>
|
|
<div class={styles.tag}>
|
|
{infoDetail.value.subjectNames ? infoDetail.value.subjectNames : '暂无声部'}
|
|
{infoDetail.value.subjectNames ? infoDetail.value.subjectNames : '暂无声部'}
|
|
</div>
|
|
</div>
|
|
@@ -344,7 +345,9 @@ export default defineComponent({
|
|
default: () => (
|
|
default: () => (
|
|
<div class={styles.DialogConent}>
|
|
<div class={styles.DialogConent}>
|
|
<p>
|
|
<p>
|
|
- 练习数据是{forms.clientType == 'TEACHER' ? '' : '学员'}通过云教练自主练习的数据统计,可根据时间段查询{forms.clientType == 'TEACHER' ? '' : '学员'}的练习天数和练习时长{' '}
|
|
|
|
|
|
+ 练习数据是{forms.clientType == 'TEACHER' ? '' : '学员'}
|
|
|
|
+ 通过云练习自主练习的数据统计,可根据时间段查询
|
|
|
|
+ {forms.clientType == 'TEACHER' ? '' : '学员'}的练习天数和练习时长{' '}
|
|
</p>
|
|
</p>
|
|
<p>练习天数:当天有曲目播放或测评记录即算练习</p>
|
|
<p>练习天数:当天有曲目播放或测评记录即算练习</p>
|
|
<p>练习时长:曲目播放和曲目测评的时长总和</p>
|
|
<p>练习时长:曲目播放和曲目测评的时长总和</p>
|