mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
教师职业照,图片移除问题
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
:headers="headers"
|
:headers="headers"
|
||||||
style="display: inline-block; vertical-align: top;">
|
style="display: inline-block; vertical-align: top;">
|
||||||
|
|
||||||
<el-image v-if="!value" :src="value" :style="`width:${width};height:${height};`">
|
<el-image v-if="!value" :style="`width:${width};height:${height};`"> -->
|
||||||
<div slot="error" class="image-slot" :style="`line-height:${height};`">
|
<div slot="error" class="image-slot" :style="`line-height:${height};`">
|
||||||
<i class="el-icon-plus" />
|
<i class="el-icon-plus" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -363,17 +363,17 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.upload.orgId=this.userInfo.departId;
|
this.upload.orgId=this.userInfo.departId;
|
||||||
this.upload.orgName=this.userInfo.departName;
|
// this.upload.orgName=this.userInfo.departName;
|
||||||
this.needOrg='';
|
|
||||||
//console.log(this.upload.orgId,'this.upload.orgId')
|
|
||||||
// if(this.upload.orgId){
|
|
||||||
// apiUserBasic.getOrgInfo(this.upload.orgId).then(rs=>{
|
|
||||||
// if(rs.status==200){
|
|
||||||
// this.upload.orgName=rs.result.name;
|
|
||||||
// this.needOrg='';
|
// this.needOrg='';
|
||||||
// }
|
//console.log(this.upload.orgId,'this.upload.orgId')
|
||||||
// });
|
if(this.upload.orgId){
|
||||||
// }
|
apiUserBasic.getOrgInfo(this.upload.orgId).then(rs=>{
|
||||||
|
if(rs.status==200){
|
||||||
|
this.upload.orgName=rs.result.name;
|
||||||
|
this.needOrg='';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
this.loadResOwners();
|
this.loadResOwners();
|
||||||
this.getResOwnerTree().then(rs => {
|
this.getResOwnerTree().then(rs => {
|
||||||
this.resOwnerListMap = rs;
|
this.resOwnerListMap = rs;
|
||||||
|
|||||||
@@ -614,10 +614,12 @@
|
|||||||
this.tearchUrl= res.result.httpPath;
|
this.tearchUrl= res.result.httpPath;
|
||||||
},
|
},
|
||||||
removetearchHandle(){
|
removetearchHandle(){
|
||||||
this.avatarUrl='';
|
//this.$message.error('移除图片');
|
||||||
|
this.tearchUrl='';
|
||||||
this.teachform.photo = '';
|
this.teachform.photo = '';
|
||||||
},
|
},
|
||||||
removeHandle(){
|
removeHandle(){
|
||||||
|
|
||||||
this.avatarUrl='';
|
this.avatarUrl='';
|
||||||
this.form.account.avatar = '';
|
this.form.account.avatar = '';
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user