|
@@ -179,6 +179,20 @@ function del(type, row) {
|
|
|
.catch(() => { });
|
|
|
|
|
|
}
|
|
|
+const router = useRouter()
|
|
|
+function voiceDetail(row) {
|
|
|
+ router.push({
|
|
|
+ path: '/home/szrdzgl/voiceDetail', query: {
|
|
|
+ axa_id: row.axa_id
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
+let imageVisableDialog = $ref(false)
|
|
|
+let videoUrl = $ref('')
|
|
|
+function viewImageDetail(row) {
|
|
|
+ videoUrl = row.axi_rxcj_spwj_v2
|
|
|
+ imageVisableDialog = true
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
@@ -226,7 +240,8 @@ function del(type, row) {
|
|
|
<el-table-column prop="opeation" label="操作">
|
|
|
<template #default="scope">
|
|
|
<div style="display: flex;">
|
|
|
- <img src="../../../assets/szrdzgl-detail.png" style="cursor: pointer;" />
|
|
|
+ <img src="../../../assets/szrdzgl-detail.png" style="cursor: pointer;"
|
|
|
+ @click="voiceDetail(scope.row)" />
|
|
|
<img src="../../../assets/szrdzgl-audit.png" style="cursor: pointer;margin-left: 10px;"
|
|
|
@click="openAuditDialog('voice', scope.row)" />
|
|
|
<img src="../../../assets/szrdzgl-delete.png" style="cursor: pointer;margin-left: 10px;"
|
|
@@ -261,7 +276,8 @@ function del(type, row) {
|
|
|
<el-table-column prop="opeation" label="操作">
|
|
|
<template #default="scope">
|
|
|
<div style="display: flex;">
|
|
|
- <img src="../../../assets/szrdzgl-detail.png" style="cursor: pointer;" />
|
|
|
+ <img src="../../../assets/szrdzgl-detail.png" style="cursor: pointer;"
|
|
|
+ @click="viewImageDetail(scope.row)" />
|
|
|
<img src="../../../assets/szrdzgl-audit.png" style="cursor: pointer;margin-left: 10px;"
|
|
|
@click="openAuditDialog('image', scope.row)" />
|
|
|
<img src="../../../assets/szrdzgl-delete.png" style="cursor: pointer;margin-left: 10px;"
|
|
@@ -293,6 +309,9 @@ function del(type, row) {
|
|
|
<el-button type="primary" class="w-full" size="large" @click="checkSubmit(ruleFormRef)">确认</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog v-model="imageVisableDialog" width="1000px" style="height: 600px;">
|
|
|
+ <video v-if="imageVisableDialog" :src="videoUrl" controls style="width: 100%;height: 500px;"></video>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|