From c75027743ea7c3ecc2d0885f01d11d2ad78679a3 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 23 十月 2026 14:23:26 +0800
Subject: [PATCH] Merge branch 'yxh' of http://116.62.18.175:6699/r/~yxh/opo-web

---
 src/views/project/statistics/caseStatistics/index.vue |   61 +++++++-----------------------
 1 files changed, 15 insertions(+), 46 deletions(-)

diff --git a/src/views/project/statistics/caseStatistics/index.vue b/src/views/project/statistics/caseStatistics/index.vue
index deb1408..7a48431 100644
--- a/src/views/project/statistics/caseStatistics/index.vue
+++ b/src/views/project/statistics/caseStatistics/index.vue
@@ -2,6 +2,7 @@
 <template>
   <div class="app-container">
     <el-form
+      class="opo-query-form"
       :model="queryParams"
       ref="queryForm"
       :inline="true"
@@ -11,7 +12,7 @@
         <el-col :span="6">
           <el-form-item label="涓氬姟浜哄憳" prop="name">
             <el-input
-              v-model="queryParams.name"
+              v-model="queryParams.pausername"
               placeholder="璇疯緭鍏ュ鍚�"
               clearable
               size="small"
@@ -102,7 +103,7 @@
 
       <el-table-column label="涓氬姟缁�" align="center" prop="deptname">
       </el-table-column>
-      <el-table-column label="涓撹亴浜哄憳" align="center" prop="age" />
+      <el-table-column label="涓撹亴浜哄憳" align="center" prop="reportername" />
 
       <el-table-column label="妗堜緥鏁伴噺" align="center" prop="casesum" />
 
@@ -170,7 +171,7 @@
       reportervalue: "",
       reportlist: [
         { label: "姝e父", value: "0" },
-        { label: "涓", value: "1" }
+        { label: "缁堟", value: "1" }
       ],
       //鐪佸競鍖�
       //榛樿鍊艰缃紝鍙负绌�
@@ -271,48 +272,14 @@
         this.queryParams.pabegtime = this.selecttime[0];
         this.queryParams.paendtime = this.selecttime[1];
         // if (this.queryParams.paendtime == this.queryParams.pabegtime) {
-        let num = Number(this.queryParams.paendtime.slice(5, 7));
-        if (num < 9) {
-          let mon = Number(this.queryParams.paendtime.slice(6, 7));
-          this.queryParams.paendtime =
-            this.queryParams.paendtime.slice(0, 5) +
-            "0" +
-            (mon + 1) +
-            "-" +
-            "01" +
-            " " +
-            "00" +
-            ":" +
-            "00" +
-            ":" +
-            "00";
-        }
-        // this.queryParams.paendtime=this.queryParams.paendtime.slice(0,5)骞�
-        else if (num >= 10) {
-          this.queryParams.paendtime =
-            this.queryParams.paendtime.slice(0, 5) +
-            (num + 1) +
-            "-" +
-            "01" +
-            " " +
-            "00" +
-            ":" +
-            "00" +
-            ":" +
-            "00";
-        } else {
-          this.queryParams.paendtime =
-            this.queryParams.paendtime.slice(0, 5) +
-            "10" +
-            "-" +
-            "01" +
-            " " +
-            "00" +
-            ":" +
-            "00" +
-            ":" +
-            "00";
-        }
+        // 缁撴潫鏃堕棿鍙�"鎵�閫夌粨鏉熸湀鐨勬鏈� 1 鍙�"锛屼互鍖呭惈鏁翠釜缁撴潫鏈堛��
+        // 鍘熷疄鐜版妸鏈堜唤 +1 鍚庣洿鎺ユ嫾瀛楃涓诧紝12 鏈堜細寰楀埌 13 鏈堬紙2026-13-01锛夛紝
+        // MySQL 鎶� Incorrect datetime value锛屽瓨鍌ㄨ繃绋嬬洿鎺� 500銆�
+        this.queryParams.paendtime = this.$moment(this.queryParams.paendtime)
+          .startOf("month")
+          .add(1, "month")
+          .format("YYYY-MM")
+          .concat("-01 00:00:00");
         this.queryParams.pabegtime =
           this.queryParams.pabegtime + " " + "00" + ":" + "00" + ":" + "00";
         // }
@@ -398,7 +365,9 @@
 
       this.form.treatmenthospitalno = "";
 
-      this.queryParams = {};
+      this.queryParams = {
+        pacasestate: "0"
+      };
       this.selecttime = [];
       this.getTimeList();
       this.searchAddress = {

--
Gitblit v1.9.3