From 79c67edac2ffaed1e7e01ab2333185d530e3d3bb Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 05 三月 2025 09:20:56 +0800 Subject: [PATCH] 原材料季度检验查看报告,页面接口都无响应 --- src/views/business/reportPreparation/index.vue | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue index a64b543..105e4b8 100644 --- a/src/views/business/reportPreparation/index.vue +++ b/src/views/business/reportPreparation/index.vue @@ -85,7 +85,7 @@ @click="fullscreen = true;"></i> <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen = false;"> </div> - <div v-if="issuedVisible" style="height: 80vh;"> + <div v-if="issuedVisible" style="height: 70vh;"> <onlyoffice ref="onlyoffice" :options="option" style="width: 100%;height: 100%;" /> </div> <span slot="footer" class="dialog-footer"> @@ -110,7 +110,7 @@ @click="fullscreen = true;"></i> <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen = false;"> </div> - <div v-if="approveVisible" style="height: 80vh;"> + <div v-if="approveVisible" style="height: 70vh;"> <onlyoffice ref="onlyoffice" :options="option" style="width: 100%;height: 100%;" /> </div> <span slot="footer" class="dialog-footer"> @@ -403,15 +403,19 @@ formatData: (params) => { if (params == 0) { return "涓嶉�氳繃"; - } else { + } else if (params == 1) { return "閫氳繃"; + } else { + return null } }, formatType: (params) => { if (params == 0) { return "danger"; - } else { + } else if (params == 1) { return "success"; + } else { + return null } }, }, @@ -426,15 +430,19 @@ formatData: (params) => { if (params == 0) { return "涓嶆壒鍑�"; - } else { + } else if (params == 1) { return "鎵瑰噯"; + } else { + return null } }, formatType: (params) => { if (params == 0) { return "danger"; - } else { + } else if (params == 1) { return "success"; + } else { + return null } }, }, @@ -863,6 +871,8 @@ this.refreshTable('page') this.currentInfo = null; this.approveVisible = false; + }).catch(() => { + this.loadingApprove = false; }) }, handle(row) { -- Gitblit v1.9.3