mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 01:46:43 +08:00
头像
This commit is contained in:
@@ -332,9 +332,8 @@ const onChange3 = (pageNo) => {
|
||||
const qrshow = ref(null)
|
||||
|
||||
const finishreview = async (item) => {
|
||||
const isTrue = item.map(item=>item['平均分']).some(item=>item==null)
|
||||
dialog({
|
||||
content: isTrue?"确认结束评审吗?结束评审后认证结果将同步讲师库":"是否结束评审?",
|
||||
content: "确认结束评审吗?结束评审后认证结果将同步讲师库",
|
||||
ok: () => {
|
||||
|
||||
closereview()
|
||||
@@ -862,11 +861,6 @@ const show= async (record)=>{
|
||||
if(res.code == 200){
|
||||
showViewInstructor.value=true
|
||||
techerDetail.value = res.data
|
||||
if(techerDetail.value.avatar.includes('upload')){
|
||||
techerDetail.value.avatar = techerDetail.value.avatar
|
||||
}else{
|
||||
techerDetail.value.avatar = '/upload' + techerDetail.value.avatar
|
||||
}
|
||||
if(techerDetail.value.firstList){
|
||||
const totalScore = techerDetail.value.firstList.reduce((acc, item) => acc + item.score, 0);
|
||||
// 计算平均分
|
||||
@@ -1423,7 +1417,7 @@ const vwtext = ref(null)
|
||||
<div >
|
||||
<div style="display: flex;width: 100%; height: 88px;">
|
||||
<div>
|
||||
<img v-if="techerDetail?.avatar" style="width: 60px; height: 58px;margin-left: 22px;margin-right: 29px;margin-top: 13px;border-radius: 50%;" :src="techerDetail?.avatar"/>
|
||||
<img v-if="techerDetail?.avatar" style="width: 60px; height: 58px;margin-left: 22px;margin-right: 29px;margin-top: 13px;border-radius: 50%;" :src="techerDetail?.avatar.includes('upload')?techerDetail?.avatar:'/upload'+techerDetail?.avatar"/>
|
||||
<img
|
||||
v-else
|
||||
style="width: 60px; height: 58px;margin-left: 22px;margin-right: 29px;margin-top: 13px;border-radius: 50%;"
|
||||
|
||||
Reference in New Issue
Block a user