Commit 26ebcd88 authored by 罗林杰's avatar 罗林杰

修改学历照片

parent ce7bee91
...@@ -552,6 +552,11 @@ ...@@ -552,6 +552,11 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item label="学历图片:" prop="pictureUrls">
<img :src="form.educationPictureUrl" style="width: 160px;height: 160px" alt="">
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
...@@ -829,6 +834,12 @@ export default { ...@@ -829,6 +834,12 @@ export default {
this.imageUrl = imgRes.data this.imageUrl = imgRes.data
}) })
} }
// 处理照片
if (response.data.memEducationPictureId !== '' && response.data.memEducationPictureId !== null) {
getOssUrl(response.data.memEducationPictureId).then(imgRes => {
this.educationPictureUrl = imgRes.data
})
}
if (response.data.memPictureId !== '' && response.data.memPictureId !== null) { if (response.data.memPictureId !== '' && response.data.memPictureId !== null) {
const urlArray = JSON.parse(response.data.memPictureId) const urlArray = JSON.parse(response.data.memPictureId)
const url = [] const url = []
......
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