Commit 500e31a6 authored by 黄奎's avatar 黄奎

页面修改

parent 4766ab1d
......@@ -53,6 +53,7 @@ export function UploadSelfFile(path, file, callback, configObj) {
uploadLoadding.show({
message: '正在上传文件,请稍后...'
})
if (uploadConfig) {
switch (uploadConfig.StoreType) {
//上传文件到腾讯云
......@@ -276,7 +277,6 @@ export function UploadFileToSystem(uploadConfig, fileFullPath, fileObj, uploadLo
Message: jsonObj.Message
}
if (successCall) {
successCall(uploadResult);
}
}
......
......@@ -82,8 +82,7 @@
<div class="stuHeadImg">
<el-upload :before-upload="uploadFile" :multiple="false" action='' :show-file-list="false">
<q-avatar size="80px" font-size="36px" style="background:#C9F7F5" text-color="white">
<img :src="customObj.UserIcon" v-if="customObj.UserIcon">
<!-- <span v-else>{{showObj.AccountName.substring(0,1)}}</span> -->
<img :src="customObj.StuIcon" v-if="customObj.StuIcon">
</q-avatar>
</el-upload>
</div>
......@@ -473,11 +472,10 @@
uploadFile(files) {
UploadSelfFile("studentIcon", files, res => {
if (res.Code == 1) {
this.customMsg.UserIcon = res.FilePath
this.customObj.StuIcon = res.FileUrl;
}
});
},
//获取客户需求
getGetNeedsList() {
GetNeedsList().then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment