From ccf28d1fed1aa2e5437dbe64b5133ba1cbde6ec7 Mon Sep 17 00:00:00 2001 From: renkang <8417338+k94314517@user.noreply.gitee.com> Date: 星期五, 03 一月 2025 15:30:52 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- admin/src/views/Inspection/components/taskDetail.vue | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/admin/src/views/Inspection/components/taskDetail.vue b/admin/src/views/Inspection/components/taskDetail.vue index 54b30a5..a357861 100644 --- a/admin/src/views/Inspection/components/taskDetail.vue +++ b/admin/src/views/Inspection/components/taskDetail.vue @@ -1,5 +1,5 @@ <template> - <GlobalWindow title="宸℃浠诲姟璇︽儏" :showConfirm="false" :visible.sync="isShowModal"> + <GlobalWindow title="宸℃浠诲姟璇︽儏" width="800px" :showConfirm="false" :visible.sync="isShowModal"> <QueryForm v-model="filters" :query-form-config="queryFormConfig" @handleQuery="getDetail(1)" @clear="clear" /> <el-table v-loading="loading" :data="list" stripe> <el-table-column prop="pointName" label="宸℃鐐瑰悕绉�" min-width="100" show-overflow-tooltip /> @@ -11,12 +11,25 @@ </el-table-column> <el-table-column prop="realname" label="宸℃浜�" min-width="100" show-overflow-tooltip /> <el-table-column prop="editDate" label="宸℃鏃堕棿" min-width="100" show-overflow-tooltip /> - <el-table-column prop="" label="宸℃缁撴灉" min-width="100" show-overflow-tooltip> + <el-table-column prop="files" label="宸℃缁撴灉" min-width="100" show-overflow-tooltip > <template v-slot="{ row }"> <span class="gray" v-if="row.dealStatus == 0">姝e父</span> <span class="red" v-if="row.dealStatus == 1">寮傚父</span> </template> </el-table-column> + <el-table-column prop="" label="宸℃闄勪欢" min-width="100" show-overflow-tooltip> + <template v-slot="{ row }"> + <div class="value" v-if="row.multifileList != null && row.multifileList.length"> + <div v-for="item in row.multifileList" :key="item.id" style="display: inline;margin-right: 20px"> + <video v-if="item.fileurlFull && item.fileurlFull.endsWith('.mp4')" ref="videoRef" controls preload="auto" + style="width: 60px;height: 60px;object-fit: contain;" :src="item.fileurlFull" /> + <el-image v-else-if="item.fileurlFull" style="width:60px; height: 60px" :src="item.fileurlFull" + :preview-src-list="[item.fileurlFull]"> + </el-image> + </div> + </div> + </template> + </el-table-column> <el-table-column prop="dealInfo" label="宸℃璇存槑" min-width="100" show-overflow-tooltip /> </el-table> <div class="mt20"> -- Gitblit v1.9.3