Commit 6e4b1a37 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化办理事项评价报表详情展示

parent af924f42
......@@ -368,24 +368,35 @@
>
</a-col>
<a-col :span="12">
<span>
<span class="flex">
<span class="lable">评价人照片:</span>
<a-avatar
v-if="!detailsInfo.picture"
shape="square"
:size="40"
icon="user"
/>
<img
v-else
:src="baseurl + '/' + detailsInfo.picture"
@click="
$viewerApi({
images: [baseurl + '/' + detailsInfo.picture],
})
"
class="cursor-pointer w-[50px] max-h-[50px] rounded-[4px]"
/>
<span v-if="detailsInfo.picture || detailsInfo.process">
<img
v-if="detailsInfo.picture"
:src="baseurl + '/' + detailsInfo.picture"
class="cursor-pointer w-[50px] max-h-[50px] rounded-[4px]"
@click="
$viewerApi({
images: [baseurl + '/' + detailsInfo.picture],
})
"
/>
<video
v-else-if="
detailsInfo.process &&
estimateVideo(detailsInfo.process)
"
class="cursor-pointer w-[50px] max-h-[50px] rounded-[4px]"
:src="baseurl + '/' + detailsInfo.process"
@click="checkMultimedia(detailsInfo.process)"
></video>
<a-icon
v-else
type="sound"
@click="checkMultimedia(detailsInfo.process)"
/>
</span>
<a-avatar v-else shape="square" :size="40" icon="user" />
</span>
</a-col>
</a-row>
......
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