From 4cfbfd1b425f7b22b876ae6cae95c4fc29ae6bfb Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 23 二月 2024 09:25:33 +0800
Subject: [PATCH] 盘库修改

---
 src/views/trouble/selfexam.vue |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/views/trouble/selfexam.vue b/src/views/trouble/selfexam.vue
index 7300c15..9db8107 100644
--- a/src/views/trouble/selfexam.vue
+++ b/src/views/trouble/selfexam.vue
@@ -264,6 +264,13 @@
         },
 
         async exportToExcel(){
+            if( this.validTime !== null ){
+                this.listQuery.filter.starttime = this.validTime[0]
+                this.listQuery.filter.endtime = this.validTime[1]
+            }else{
+                this.listQuery.filter.starttime = ''
+                this.listQuery.filter.endtime = ''
+            }
             let res = await exportSelfExam(this.listQuery)
             if(res.data.code === '200'){
                 if(res.data.result === null || res.data.result === []){

--
Gitblit v1.9.2