Commit b53f537b authored by 罗林杰's avatar 罗林杰

修改工作认证照片

parent 96c5062b
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
</el-table-column> </el-table-column>
<el-table-column label="权重" prop="sort" :show-overflow-tooltip="true" min-width="55"> <el-table-column label="权重" prop="sort" :show-overflow-tooltip="true" min-width="55">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.sort || '-' }} {{ scope.row.sort || '0' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="memYearIncome" label="年收入(w)" show-overflow-tooltip /> <el-table-column align="center" prop="memYearIncome" label="年收入(w)" show-overflow-tooltip />
......
...@@ -554,10 +554,15 @@ ...@@ -554,10 +554,15 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="学历图片:" prop="pictureUrls"> <el-form-item v-if="memEducationUrl" label="学历图片:" prop="pictureUrls">
<img :src="memEducationUrl" style="width: 160px;height: 160px" alt=""> <img :src="memEducationUrl" style="width: 160px;height: 160px" alt="">
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item v-if="memWorkUrl" label="工作图片:" prop="pictureUrls">
<img :src="memWorkUrl" style="width: 160px;height: 160px" alt="">
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
...@@ -746,7 +751,8 @@ export default { ...@@ -746,7 +751,8 @@ export default {
} }
], ],
showSecretData: true, showSecretData: true,
memEducationUrl: '' memEducationUrl: '',
memWorkUrl: ''
} }
}, },
computed: { computed: {
...@@ -842,6 +848,11 @@ export default { ...@@ -842,6 +848,11 @@ export default {
this.memEducationUrl = imgRes.data this.memEducationUrl = imgRes.data
}) })
} }
if (response.data.memWorkPictureId !== '' && response.data.memWorkPictureId !== null) {
getOssUrl(response.data.memWorkPictureId).then(imgRes => {
this.memWorkUrl = 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