|
|
|
@ -261,6 +261,7 @@ import ReviewFormDialog from "./components/ReviewFormDialog.vue";
|
|
|
|
import TaskDetailDialog from "./components/TaskDetailDialog.vue";
|
|
|
|
import TaskDetailDialog from "./components/TaskDetailDialog.vue";
|
|
|
|
import DocPreviewDialog from "./components/DocPreviewDialog.vue";
|
|
|
|
import DocPreviewDialog from "./components/DocPreviewDialog.vue";
|
|
|
|
import LogDrawer from "./components/LogDrawer.vue";
|
|
|
|
import LogDrawer from "./components/LogDrawer.vue";
|
|
|
|
|
|
|
|
import { getFileUrl } from "@/utils/file";
|
|
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: "EnergyReportReviewList" });
|
|
|
|
defineOptions({ name: "EnergyReportReviewList" });
|
|
|
|
|
|
|
|
|
|
|
|
@ -430,7 +431,7 @@ function handleDetail(row: ReviewTaskItem) {
|
|
|
|
function handlePreviewDoc(row: ReviewTaskItem) {
|
|
|
|
function handlePreviewDoc(row: ReviewTaskItem) {
|
|
|
|
if (!row.file_url) return;
|
|
|
|
if (!row.file_url) return;
|
|
|
|
currentPreviewFile.value = {
|
|
|
|
currentPreviewFile.value = {
|
|
|
|
url: row.file_url,
|
|
|
|
url: getFileUrl(row?.file?.bucket_name! + '/' + row?.file?.file_path! || ''),
|
|
|
|
name: row.original_name || "审核文档",
|
|
|
|
name: row.original_name || "审核文档",
|
|
|
|
};
|
|
|
|
};
|
|
|
|
docPreviewVisible.value = true;
|
|
|
|
docPreviewVisible.value = true;
|
|
|
|
|