From 636ad750419ea9915cef7435a1506c01f9035a80 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 05 九月 2024 21:52:17 +0800
Subject: [PATCH] 考核结果导出优化

---
 src/views/system/check/result/detail/detail.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/system/check/result/detail/detail.vue b/src/views/system/check/result/detail/detail.vue
index bbc321e..be73a32 100644
--- a/src/views/system/check/result/detail/detail.vue
+++ b/src/views/system/check/result/detail/detail.vue
@@ -345,7 +345,8 @@
         id: null,
         date: null,
         quarter: null,
-        examineTag: null
+        examineTag: null,
+        deptId: null
       },
       // 琛ㄥ崟鏍¢獙
       rules: {},
@@ -363,6 +364,9 @@
     //鑰冩牳鎴愮哗璇︽儏璺宠浆鍙傛暟鎺ユ敹
     if (this.$route.query.id) {
       this.queryParams.id = this.$route.query.id;
+    }
+    if(this.$route.query.deptId){
+      this.queryParams.deptId = this.$route.query.deptId;
     }
     let examineTag = this.$route.query.examineTag;
     this.activeIndex = examineTag;
@@ -497,7 +501,7 @@
     /** 瀵煎嚭鎸夐挳鎿嶄綔 */
     handleExport() {
       this.download(
-        "/check/score/export",
+        "/check/score/detailExport",
         {
           ...this.queryParams,
         },

--
Gitblit v1.8.0