From d90b45d7e9e38e34c044b772006004f2a4cb8b8e Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 26 六月 2026 13:51:50 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/outpatient/index.vue            |    2 
 src/views/followvisit/zbAgain/index.vue               |    2 
 src/views/patient/patient/outpatient.vue              |    2 
 src/views/patient/patient/index.vue                   |    2 
 src/components/optionalModule/index.vue               |    2 
 src/views/patient/subsequent/index.vue                |    2 
 src/views/followvisit/zysatisfaction/index.vue        |    2 
 src/views/followvisit/mzsatisfaction/index.vue        |    2 
 src/views/patient/propaganda/index.vue                |    2 
 src/views/followvisit/record/detailpage/index.vue     |   89 ++++++++++++++-------
 src/views/patient/patient/behospitalized.vue          |    2 
 src/views/followvisit/discharge/outpatientService.vue |    2 
 src/views/followvisit/complaint/index.vue             |    2 
 src/views/followvisit/technology/index.vue            |    2 
 src/views/patient/physical/index.vue                  |    2 
 src/views/followvisit/SpecificDisease/index.vue       |    2 
 src/views/followvisit/again/index.vue                 |    2 
 src/views/followvisit/operation/index.vue             |    2 
 src/views/followvisit/Tracking/index.vue              |    2 
 src/views/followvisit/beHospitalized/followUp.vue     |    2 
 src/views/patient/questionnaire/index.vue             |    2 
 src/views/followvisit/record/index.vue                |    2 
 src/views/followvisit/Continue/index.vue              |    2 
 src/views/followvisit/OutpatientAgain/index.vue       |    2 
 src/views/sfstatistics/percentage/index.vue           |   21 +++++
 src/views/patient/patient/hospital.vue                |    2 
 src/views/patient/shadow/index.vue                    |    2 
 src/api/AiCentre/EChartsdata.js                       |    7 +
 src/views/followvisit/beHospitalized/publicity.vue    |    2 
 src/views/followvisit/discharge/index.vue             |   20 ++++-
 30 files changed, 153 insertions(+), 36 deletions(-)

diff --git a/src/api/AiCentre/EChartsdata.js b/src/api/AiCentre/EChartsdata.js
index 6a193bd..68c6352 100644
--- a/src/api/AiCentre/EChartsdata.js
+++ b/src/api/AiCentre/EChartsdata.js
@@ -76,6 +76,13 @@
   });
 }
 // 鍙戦�佺煭淇�
+export function smsSubTask(Id) {
+  return request({
+    url: "/smartor/serviceSubtask/smsSubTask/" + Id,
+    method: "get",
+  });
+}
+// 鍙戦�佺煭淇�
 export function getCurrentUserServiceSubtaskCount(data) {
   return request({
     url: "/smartor/serviceSubtask/getCurrentUserServiceSubtaskCount",
diff --git a/src/components/optionalModule/index.vue b/src/components/optionalModule/index.vue
index be43f16..e5af730 100644
--- a/src/components/optionalModule/index.vue
+++ b/src/components/optionalModule/index.vue
@@ -55,6 +55,8 @@
               v-model="scopetype"
               placeholder="榛樿鍏ㄩ儴"
               :options="sourcetype"
+            filterable
+            clearable
               :props="{ expandTrigger: 'hover' }"
               @change="handleChange"
             ></el-cascader>
diff --git a/src/views/followvisit/Continue/index.vue b/src/views/followvisit/Continue/index.vue
index a0657b9..3abc5f4 100644
--- a/src/views/followvisit/Continue/index.vue
+++ b/src/views/followvisit/Continue/index.vue
@@ -167,6 +167,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/OutpatientAgain/index.vue b/src/views/followvisit/OutpatientAgain/index.vue
index d8034c3..81263e3 100644
--- a/src/views/followvisit/OutpatientAgain/index.vue
+++ b/src/views/followvisit/OutpatientAgain/index.vue
@@ -64,6 +64,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/SpecificDisease/index.vue b/src/views/followvisit/SpecificDisease/index.vue
index a71f265..24f2062 100644
--- a/src/views/followvisit/SpecificDisease/index.vue
+++ b/src/views/followvisit/SpecificDisease/index.vue
@@ -103,6 +103,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/Tracking/index.vue b/src/views/followvisit/Tracking/index.vue
index 2256578..4eb03b0 100644
--- a/src/views/followvisit/Tracking/index.vue
+++ b/src/views/followvisit/Tracking/index.vue
@@ -59,6 +59,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/again/index.vue b/src/views/followvisit/again/index.vue
index 902ee73..0ebe8f4 100644
--- a/src/views/followvisit/again/index.vue
+++ b/src/views/followvisit/again/index.vue
@@ -64,6 +64,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/beHospitalized/followUp.vue b/src/views/followvisit/beHospitalized/followUp.vue
index baaf539..990e08f 100644
--- a/src/views/followvisit/beHospitalized/followUp.vue
+++ b/src/views/followvisit/beHospitalized/followUp.vue
@@ -167,6 +167,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/beHospitalized/publicity.vue b/src/views/followvisit/beHospitalized/publicity.vue
index 110edf5..c73f622 100644
--- a/src/views/followvisit/beHospitalized/publicity.vue
+++ b/src/views/followvisit/beHospitalized/publicity.vue
@@ -56,6 +56,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/complaint/index.vue b/src/views/followvisit/complaint/index.vue
index 8cc960f..0bd80d5 100644
--- a/src/views/followvisit/complaint/index.vue
+++ b/src/views/followvisit/complaint/index.vue
@@ -72,6 +72,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 0e25341..8725d92 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -94,6 +94,8 @@
             :options="sourcetype"
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
+            filterable
+            clearable
           ></el-cascader>
         </el-form-item>
 
@@ -1477,7 +1479,7 @@
             Number(response.rows[0].wxsf) + Number(response.rows[0].xsf) || 0;
           // this.cardlist[1].value = response.rows[0].wzx;
           this.cardlist[1].value = response.rows[0].wxsf || 0;
-          this.ycvalue = Number(response.rows[0].yc) || 0
+          this.ycvalue = Number(response.rows[0].yc) || 0;
           this.jgvalue = response.rows[0].jg;
           this.cardlist[2].value = response.rows[0].xsf || 0;
           this.cardlist[3].value = response.rows[0].dsf || 0;
@@ -1588,7 +1590,7 @@
           Number(response.rows[0].wxsf) + Number(response.rows[0].xsf) || 0;
         this.cardlist[1].value = response.rows[0].wzx;
         this.cardlist[2].value = response.rows[0].ysf;
-        this.ycvalue = Number(response.rows[0].yc) || 0
+        this.ycvalue = Number(response.rows[0].yc) || 0;
         this.jgvalue = response.rows[0].jg;
         this.cardlist[3].value = response.rows[0].fssb;
         this.cardlist[4].value = response.rows[0].dsf;
@@ -1693,10 +1695,20 @@
     },
     // 鎮h�呰寖鍥村鐞�
     handleChange(value) {
-      let type = value[0];
-      let code = value.slice(-1)[0];
+      console.log("閫夋嫨鐨勬偅鑰呰寖鍥�:", value);
+
+      // 娓呯┖涔嬪墠鐨勬煡璇㈠弬鏁�
       this.topqueryParams.leavehospitaldistrictcodes = [];
       this.topqueryParams.leaveldeptcodes = [];
+      this.topqueryParams.searchscope = null;
+
+      if (!value || value.length === 0) {
+        return;
+      }
+
+      let type = value[0];
+      let code = value.slice(-1)[0];
+
       if (type == 1) {
         this.topqueryParams.leaveldeptcodes.push(code);
         this.topqueryParams.leavehospitaldistrictcodes = [];
diff --git a/src/views/followvisit/discharge/outpatientService.vue b/src/views/followvisit/discharge/outpatientService.vue
index 0f286b3..c825a68 100644
--- a/src/views/followvisit/discharge/outpatientService.vue
+++ b/src/views/followvisit/discharge/outpatientService.vue
@@ -70,6 +70,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/mzsatisfaction/index.vue b/src/views/followvisit/mzsatisfaction/index.vue
index 9ec17af..b0f7cb0 100644
--- a/src/views/followvisit/mzsatisfaction/index.vue
+++ b/src/views/followvisit/mzsatisfaction/index.vue
@@ -71,6 +71,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/operation/index.vue b/src/views/followvisit/operation/index.vue
index d0d9125..3386dbd 100644
--- a/src/views/followvisit/operation/index.vue
+++ b/src/views/followvisit/operation/index.vue
@@ -173,6 +173,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 561ecfd..af22d65 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -47,6 +47,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 6bc4606..ed5040e 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -362,7 +362,14 @@
                   ><i class="el-icon-notebook-1"></i> 闂嵎闅忚缁撴灉</span
                 >
                 <div class="CONTENT">
-                  <div class="title">{{ taskname ? taskname : "闂嵎" }}</div>
+                  <div class="title">
+                    {{ taskname ? taskname : "闂嵎" }}
+                    <span style="margin-left: 50px">
+                      <el-button type="primary" round @click="smsSubTask">
+                        闂嵎鐭俊鎺ㄩ��
+                      </el-button>
+                    </span>
+                  </div>
 
                   <div class="preview-left" v-if="!Voicetype">
                     <div
@@ -1253,6 +1260,7 @@
   updateTemplate,
   query360PatInfonh,
   sendMsg,
+  smsSubTask,
   getconfigKey,
 } from "@/api/AiCentre/index";
 import {
@@ -2143,6 +2151,25 @@
     handleTemplateClear() {
       console.log("娓呴櫎浜嗘ā鏉块�夋嫨");
     },
+    smsSubTask() {
+      this.$modal
+        .confirm("鏄惁鍚戞偅鑰呴�氳繃鐭俊鎺ㄩ�佹枃浠跺唴瀹癸紵")
+        .then(() => {
+          console.log(11, this.id);
+
+          smsSubTask(this.id).then((res) => {
+            console.log(11);
+
+            if (res.code) {
+              this.$modal.msgSuccess("鏂囦欢宸查�氳繃鐭俊鎺ㄩ�佺粰鎮h��");
+            } else {
+            }
+          });
+        })
+        .catch((err) => {
+          console.log(err);
+        });
+    },
     handleConfirmReplace() {
       // 閬嶅巻鎵�鏈夐鐩紙tableDatatop锛�
       this.tableDatatop.forEach((item) => {
@@ -2468,7 +2495,7 @@
       });
     },
     alterpatient(sendstate) {
-      this.Editsingletasksonyic(this.serviceStates)
+      this.Editsingletasksonyic(this.serviceStates);
       // alterpatient(this.userform).then((res) => {
       //   if (res.code == 200) {
       //     this.$modal.msgSuccess("鍩虹淇℃伅淇濆瓨鎴愬姛");
@@ -2867,38 +2894,38 @@
   //   console.log(11);
   // },
   beforeRouteLeave(to, from, next) {
-  const callButton = this.$refs.callButton;
+    const callButton = this.$refs.callButton;
 
-  // 濡傛灉瀛樺湪鍛煎彨缁勪欢涓旀鍦ㄩ�氳瘽涓�
-  if (callButton && callButton.isCalling) {
-    this.$confirm('褰撳墠姝e湪閫氳瘽涓紝纭畾瑕佺寮�姝ら〉闈㈠悧锛�', '鎻愮ず', {
-      confirmButtonText: '鎸傛柇骞剁寮�',
-      cancelButtonText: '缁х画閫氳瘽',
-      type: 'warning'
-    })
-      .then(() => {
-        // 鐢ㄦ埛纭绂诲紑锛屼富鍔ㄦ寕鏂苟娓呯悊
-        callButton.cleanupResources();
-        if (this.$refs.CallCenterLs) {
-          this.$refs.CallCenterLs.handleSeatLogout();
-        }
-        next();
+    // 濡傛灉瀛樺湪鍛煎彨缁勪欢涓旀鍦ㄩ�氳瘽涓�
+    if (callButton && callButton.isCalling) {
+      this.$confirm("褰撳墠姝e湪閫氳瘽涓紝纭畾瑕佺寮�姝ら〉闈㈠悧锛�", "鎻愮ず", {
+        confirmButtonText: "鎸傛柇骞剁寮�",
+        cancelButtonText: "缁х画閫氳瘽",
+        type: "warning",
       })
-      .catch(() => {
-        // 鐢ㄦ埛鍙栨秷锛岄樆姝㈣矾鐢辫烦杞�
-        next(false);
-      });
-  } else {
-    // 鏈�氳瘽鎴栧懠鍙粍浠朵笉瀛樺湪锛屾甯告竻鐞�
-    if (callButton) {
-      callButton.cleanupResources();
+        .then(() => {
+          // 鐢ㄦ埛纭绂诲紑锛屼富鍔ㄦ寕鏂苟娓呯悊
+          callButton.cleanupResources();
+          if (this.$refs.CallCenterLs) {
+            this.$refs.CallCenterLs.handleSeatLogout();
+          }
+          next();
+        })
+        .catch(() => {
+          // 鐢ㄦ埛鍙栨秷锛岄樆姝㈣矾鐢辫烦杞�
+          next(false);
+        });
+    } else {
+      // 鏈�氳瘽鎴栧懠鍙粍浠朵笉瀛樺湪锛屾甯告竻鐞�
+      if (callButton) {
+        callButton.cleanupResources();
+      }
+      if (this.$refs.CallCenterLs) {
+        this.$refs.CallCenterLs.handleSeatLogout();
+      }
+      next();
     }
-    if (this.$refs.CallCenterLs) {
-      this.$refs.CallCenterLs.handleSeatLogout();
-    }
-    next();
-  }
-}
+  },
   // beforeRouteUpdate() {
   //   console.log(33);
   // },
diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index be90560..c485cfd 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -47,6 +47,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue
index 2040192..710c447 100644
--- a/src/views/followvisit/technology/index.vue
+++ b/src/views/followvisit/technology/index.vue
@@ -47,6 +47,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/zbAgain/index.vue b/src/views/followvisit/zbAgain/index.vue
index 5e85030..1552bb4 100644
--- a/src/views/followvisit/zbAgain/index.vue
+++ b/src/views/followvisit/zbAgain/index.vue
@@ -64,6 +64,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/followvisit/zysatisfaction/index.vue b/src/views/followvisit/zysatisfaction/index.vue
index 9cdf105..a0b932b 100644
--- a/src/views/followvisit/zysatisfaction/index.vue
+++ b/src/views/followvisit/zysatisfaction/index.vue
@@ -71,6 +71,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index f17a2ee..f7e42d2 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -49,6 +49,8 @@
               v-model="queryParams.scopetype"
               placeholder="榛樿鍏ㄩ儴绉戝"
               :options="sourcetype"
+            filterable
+            clearable
               :props="{ expandTrigger: 'hover' }"
               @change="handleChange"
             ></el-cascader>
diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue
index e85bd9a..560b7a6 100644
--- a/src/views/patient/patient/hospital.vue
+++ b/src/views/patient/patient/hospital.vue
@@ -60,6 +60,8 @@
               v-model="queryParams.scopetype"
               placeholder="榛樿鍏ㄩ儴绉戝"
               :options="sourcetype"
+            filterable
+            clearable
               :props="{ expandTrigger: 'hover' }"
               @change="handleChange"
             ></el-cascader>
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index ce272ca..88aa5db 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -127,6 +127,8 @@
                   v-model="queryParams.scopetype"
                   placeholder="榛樿鍏ㄩ儴"
                   :options="sourcetype"
+            filterable
+            clearable
                   :props="{ expandTrigger: 'hover' }"
                   @change="handleChange"
                 ></el-cascader>
diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index 2759dff..e691434 100644
--- a/src/views/patient/patient/outpatient.vue
+++ b/src/views/patient/patient/outpatient.vue
@@ -62,6 +62,8 @@
               v-model="queryParams.scopetype"
               placeholder="榛樿鍏ㄩ儴"
               :options="sourcetype"
+            filterable
+            clearable
               :props="{ expandTrigger: 'hover' }"
               @change="handleChange"
             ></el-cascader>
diff --git a/src/views/patient/physical/index.vue b/src/views/patient/physical/index.vue
index 448a03b..b298216 100644
--- a/src/views/patient/physical/index.vue
+++ b/src/views/patient/physical/index.vue
@@ -47,6 +47,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue
index e0f1086..1a2a831 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -56,6 +56,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue
index 7a084eb..25db075 100644
--- a/src/views/patient/questionnaire/index.vue
+++ b/src/views/patient/questionnaire/index.vue
@@ -103,6 +103,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/patient/shadow/index.vue b/src/views/patient/shadow/index.vue
index 2233f76..e6136d4 100644
--- a/src/views/patient/shadow/index.vue
+++ b/src/views/patient/shadow/index.vue
@@ -103,6 +103,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index 18d3ce2..b6354f3 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -47,6 +47,8 @@
             v-model="topqueryParams.scopetype"
             placeholder="榛樿鍏ㄩ儴"
             :options="sourcetype"
+            filterable
+            clearable
             :props="{ expandTrigger: 'hover' }"
             @change="handleChange"
           ></el-cascader>
diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index 713e2a2..ca39454 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -83,6 +83,19 @@
             :picker-options="pickerOptions"
           />
         </el-form-item>
+        <el-form-item label-width="200" label="鍑洪櫌鏃堕棿鑼冨洿" prop="userName">
+          <el-date-picker
+            v-model="queryParams.dateRangecy"
+            value-format="yyyy-MM-dd HH:mm:ss"
+            type="daterange"
+            unlink-panels
+            range-separator="鑷�"
+            start-placeholder="寮�濮嬫棩鏈�"
+            end-placeholder="缁撴潫鏃ユ湡"
+            :default-time="['00:00:00', '23:59:59']"
+            :picker-options="pickerOptions"
+          />
+        </el-form-item>
 
         <el-form-item>
           <el-button
@@ -225,6 +238,7 @@
       queryParams: {
         serviceType: [2],
         dateRange: this.getLastMonthRange(),
+        dateRangecy: [],
         statisticaltype: 1,
         leavehospitaldistrictcodes: ["all"],
         deptcodes: [],
@@ -361,7 +375,12 @@
         this.queryParams.dateRange[0]
       );
       this.queryParams.endTime = this.parseTime(this.queryParams.dateRange[1]);
-
+      this.queryParams.hospitalStartTime = this.parseTime(
+        this.queryParams.dateRangecy[0]
+      );
+      this.queryParams.hospitalEndTime = this.parseTime(
+        this.queryParams.dateRangecy[1]
+      );
       if (this.queryParams.statisticaltype == 1) {
         this.queryParams.deptcodes = [];
       } else if (this.queryParams.statisticaltype == 2) {

--
Gitblit v1.9.3