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

页面修改

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