This commit is contained in:
zhangsir
2024-05-23 14:49:16 +08:00
parent 9dc07c2a87
commit 8d251686ca

View File

@@ -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%;"