mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
头像细节
This commit is contained in:
BIN
src/assets/images/gratefulteacher/Avatarman.png
Normal file
BIN
src/assets/images/gratefulteacher/Avatarman.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
src/assets/images/gratefulteacher/Avatarwoman.png
Normal file
BIN
src/assets/images/gratefulteacher/Avatarwoman.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user