This commit is contained in:
Teo
2025-09-10 01:11:46 +08:00
parent f006ca5a2b
commit 311623e208
54 changed files with 3724 additions and 1523 deletions

View File

@ -6,7 +6,11 @@
<el-row :gutter="20" justify="space-around">
<el-col :span="12">
<el-form-item label="人脸照">
<el-image :src="userDetail?.pacePhoto" style="width: 150px; height: 150px" />
<el-image
:src="'http://58.17.134.85:8920' + userDetail?.pacePhoto"
:preview-src-list="['http://58.17.134.85:8920' + userDetail?.pacePhoto]"
style="width: 150px; height: 150px"
/>
</el-form-item>
</el-col>
<el-col :span="12">
@ -154,6 +158,7 @@ const userDetail = ref<ConstructionUserVO>();
const getUserDetail = async () => {
loading.value = true;
const res = await getConstructionUser(props.userId);
console.log('🚀 ~ getUserDetail ~ res:', res);
if (res.data && res.code === 0) {
userDetail.value = res.data;
}