头像细节

This commit is contained in:
zhangsir
2024-05-23 18:37:55 +08:00
parent 8d251686ca
commit 94b2da1968
3 changed files with 17 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -179,6 +179,7 @@ const ViewReviewcolumns = reactive([
key: '课程名称',
dataIndex: '课程名称',
fixed: 'left',
align: 'left',
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
customRender: ({ text }) => {
return <span title={text}>{text ? text : ""}</span>
@@ -880,6 +881,12 @@ const show= async (record)=>{
await getCertificationProcess({teacherId:record.teacherId}).then(res=>{
processData.value = res.data
//认证流程
if(processData.value.draftStatus!=0){
processData.value.onlineLearning = 1
}
if(processData.value.offlineTutoring == 0){
processData.value.onlineLearning = 0
}
attestation.value =[
//0: 已上传 1: 未上传 2:已退回
{name:{0:'初稿已上传',1:'初稿未上传',2:'初稿已退回'},type:'draftStatus',status:processData?.value.draftStatus,images:{0:'su1.png',1:'s1.png',2:'e2.png'},color:['#409EFF','#979797','#FF4040','#31AF0D']},
@@ -1418,11 +1425,16 @@ const vwtext = ref(null)
<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.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%;"
src="../../assets/2.png"
/>
<!-- <img
v-else-if="!techerDetail?.avatar&&techerDetail?.sex==0"
style="width: 60px; height: 58px;margin-left: 22px;margin-right: 29px;margin-top: 13px;border-radius: 50%;"
src="../../assets/images/gratefulteacher/Avatarwoman.png"
/> -->
<img
v-else
style="width: 60px; height: 58px;margin-left: 22px;margin-right: 29px;margin-top: 13px;border-radius: 50%;"
src="../../assets/images/gratefulteacher/Avatarman.png"
/>
</div>
<div style="margin-left: 18px;">
<div style="font-size: 18px;font-weight: 500;color: #333333;line-height: 25px;font-style: normal;">{{techerDetail?.teacherName}}<span style="margin-left: 8px;"> {{techerDetail?.teacherNo}}</span></div>