wangzhihui 4 лет назад
Родитель
Сommit
65a242a370
1 измененных файлов с 4 добавлено и 11 удалено
  1. 4 11
      src/views/voyage/voyageDetail.vue

+ 4 - 11
src/views/voyage/voyageDetail.vue

@@ -294,16 +294,6 @@
           style="width: 100%; height: 100%"
           :src="currentUrl"
         ></video>
-        <template #footer>
-          <span class="dialog-footer">
-            <el-button type="primary" @click="dialogAuditVideo(1)">
-              通过
-            </el-button>
-            <el-button type="warning" @click="dialogAuditVideo(2)">
-              未通过
-            </el-button>
-          </span>
-        </template>
       </el-dialog>
     </div>
     <div class="df aic jcfe mt20" v-if="voyage.voyageStatus == 1">
@@ -467,7 +457,8 @@ export default {
         console.log(res);
       }
     }
-
+    let currentUrl = ref("");
+    let videoModal = ref(false);
     function openVideoModal(url) {
       currentUrl.value = url;
       videoModal.value = true;
@@ -503,6 +494,8 @@ export default {
       previewSrcList,
       router,
       auditMedia,
+      currentUrl,
+      videoModal,
     };
   },
 };