From 958ac28a95aec459683f5a6e2f4627660604c03b Mon Sep 17 00:00:00 2001
From: yubo <autumnal_wind@yeah.net>
Date: 星期三, 11 三月 2026 23:53:41 +0800
Subject: [PATCH] feat(dashboard): 添加到期合同导出功能并优化时间范围参数传递

---
 src/views/dashboard/insuranceUser.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/dashboard/insuranceUser.vue b/src/views/dashboard/insuranceUser.vue
index 25b02bf..6539615 100644
--- a/src/views/dashboard/insuranceUser.vue
+++ b/src/views/dashboard/insuranceUser.vue
@@ -84,7 +84,8 @@
         btime: null,
         etime: null,
         index: null,
-        number: null
+        number: null,
+        timeRange: null
       }, // 查询参数
       sort: {}, // 排序
       pagination: { // 分页参数
@@ -154,6 +155,7 @@
       this.queryParams.btime = btime
       this.queryParams.etime = etime
       this.queryParams.index = index
+      this.queryParams.timeRange = index
       this.queryParams.number = number
       this.queryParams.name = null
       this.selectIndex = index !== null ? index : 0 // 保存传入的 index
@@ -188,6 +190,7 @@
       const params = {
         ...this.queryParams,
         index: this.selectIndex, // 使用当前查询的 index
+        timeRange: this.selectIndex, // 使用当前查询的 index
         delFlag: 0,
         empStatus: 0,
         exportField: this.exportConfig.selectedFields.join(',')

--
Gitblit v1.8.0