From 0ac2d43fce4d74f6eea5a51a2e16af4e6a536c7c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 14 八月 2024 14:19:24 +0800
Subject: [PATCH] 11

---
 src/views/project/indexstatistics/index.vue |  114 +++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 90 insertions(+), 24 deletions(-)

diff --git a/src/views/project/indexstatistics/index.vue b/src/views/project/indexstatistics/index.vue
index fe789d4..9cdce92 100644
--- a/src/views/project/indexstatistics/index.vue
+++ b/src/views/project/indexstatistics/index.vue
@@ -61,7 +61,7 @@
       <div style="width: 76%;">
         <el-row
           :gutter="10"
-          style="font-size: 16px; font-weight: bold;  margin-top: 10px"
+          style="font-size: 18px; font-weight: bold;  margin-top: 10px"
         >
           <el-col :span="6">
             <router-link
@@ -171,13 +171,12 @@
           style="margin-top: 10px; font-size: 18px;  font-weight: bold"
         >
           <el-col :span="6">
-           
-              <el-card shadow="always" style="color: #566f94">
-                <svg-icon icon-class="druid" />&nbsp;&nbsp; 瀹屾垚鍣ㄥ畼鍒嗛厤绱锛歿{
-                  donateNumData.numberOfDonatePeople
-                }}&nbsp; 涓�
-                <!-- donateNumData.numberOfOrgans -->
-              </el-card>
+            <el-card shadow="always" style="color: #566f94">
+              <svg-icon icon-class="druid" />&nbsp;&nbsp; 瀹屾垚鍣ㄥ畼鍒嗛厤绱锛歿{
+                donateNumData.numberOfDonatePeople
+              }}&nbsp; 涓�
+              <!-- donateNumData.numberOfOrgans -->
+            </el-card>
           </el-col>
           <el-col :span="6">
             <router-link
@@ -233,7 +232,7 @@
                 params: {
                   starttime: starttime,
                   endtime: endtime,
-                  tempRecordState: 99,
+                  terminationcase: 1,
                   reporterno: reportervalue,
                   shen: searchAddress.shen,
                   shi: searchAddress.shi,
@@ -259,8 +258,27 @@
             >
               <el-row style="margin-bottom: 20px">
                 <span style="font-size: 18px; color: #566f94; font-weight: bold"
-                  >鏈勾搴︽寚鏍囨暟鎹垎鏋�</span
+                  >鎸囨爣鏁版嵁鍒嗘瀽</span
                 >
+                <span style="margin-left: 30px;">
+                  <router-link
+                    :to="{
+                      name: 'DonationProcess',
+                      params: {
+                        starttime: starttime,
+                        endtime: endtime,
+                        terminationcase: 1,
+                        reporterno: reportervalue,
+                        shen: searchAddress.shen,
+                        shi: searchAddress.shi,
+                        qu: searchAddress.qu,
+                        city: city
+                      }
+                    }"
+                  >
+                    <el-button type="primary" round>鎹愮尞杩涚▼</el-button>
+                  </router-link>
+                </span>
               </el-row>
               <el-row :gutter="3">
                 <el-col :span="8" style="text-align: center">
@@ -355,7 +373,7 @@
                   >
                     <span style="font-size: 14px"
                       >鍣ㄥ畼淇濆瓨娑茬梾鍘熻弻鍩瑰吇闃虫�х巼</span
-                    >
+                    ><br />
                     {{ (qualirtData.germPositiveRate * 100).toFixed(2) }}%
                   </el-card>
                 </el-col>
@@ -422,7 +440,7 @@
           </el-col>
           <el-col :span="12">
             <el-card shadow="always" style="height: 640px" ref="organChartCard">
-              <OrganNumChart :cdata="organData" />
+              <OrganNumChart :cdata="organData" :CommonOrgan="CommonOrgan" />
             </el-card>
             <!-- <el-col :span="7">
         <el-card shadow="always" style="height: 640px" ref="orgNumberCard">
@@ -432,10 +450,10 @@
                 >鍚勫湴鍖哄尰闄㈡渚嬫暟鎹�</span
               >
             </el-col>
-           
+
           </el-row>
           <el-row>
-           
+
           </el-row>
           <dv-scroll-board
             :config="config"
@@ -627,12 +645,13 @@
     return {
       city: "",
       reportno: "",
-      selecttime: [],
+      selecttime: [new Date(new Date().getFullYear(), 0), new Date()],
       year: "閫夋嫨骞翠唤",
       isloading: false,
       maxHeight: 0,
+      CommonOrgan: null,
       provinceData: [
-        { label: "鍏ㄩ儴", value: "" },
+        { label: "鍏ㄩ儴鍦板競", value: "" },
         { label: "鏉窞甯�", value: "1" },
         { label: "瀹佹尝甯�", value: "2" },
         { label: "娓╁窞甯�", value: "3" },
@@ -669,84 +688,128 @@
           key: "heart",
           name: "蹇冭剰",
           value: 0,
+          value1: 0,
           code: "C38"
         },
         {
           key: "fullLiver",
-          name: "鍏ㄨ倽",
+          name: "鑲濊剰",
           value: 0,
+          value1: 0,
+
           code: "C22"
         },
         {
-          key: "leftLiver",
-          name: "宸﹁倽",
+          key: "Lefthalfliver",
+          name: "宸﹀崐鑲�",
           value: 0,
+          value1: 0,
+
           code: "C22L"
         },
         {
-          key: "rightLiver",
-          name: "鍙宠倽",
+          key: "Leftouterlobe",
+          name: "宸﹀鍙�",
           value: 0,
+          value1: 0,
+
+          code: "C22L0"
+        },
+        {
+          key: "Righthalfliver",
+          name: "鍙冲崐鑲�",
+          value: 0,
+          value1: 0,
+
           code: "C22R"
         },
+        {
+          key: "RML",
+          name: "鍙充笁鍙�",
+          value: 0,
+          value1: 0,
+
+          code: "C22R0"
+        },
+
         {
           key: "leftRenal",
           name: "宸﹁偩",
           value: 0,
+          value1: 0,
+
           code: "C64L"
         },
         {
           key: "rightRenal",
           name: "鍙宠偩",
           value: 0,
+          value1: 0,
+
           code: "C64R"
         },
         {
           key: "fullLung",
           name: "鍏ㄨ偤",
           value: 0,
+          value1: 0,
+
           code: "C34"
         },
         {
           key: "leftLung",
           name: "宸﹁偤",
           value: 0,
+          value1: 0,
+
           code: "C34L"
         },
         {
           key: "rightLung",
           name: "鍙宠偤",
           value: 0,
+          value1: 0,
+
           code: "C34R"
         },
         {
           key: "",
           name: "灏忚偁",
           value: 0,
+          value1: 0,
+
           code: "C17"
         },
         {
           key: "",
           name: "鑳拌吅",
           value: 0,
+          value1: 0,
+
           code: "C25"
         },
         {
           key: "leftEye",
           name: "宸︾溂鑶�",
           value: 0,
+          value1: 0,
+
           code: "C69L"
         },
         {
           key: "rightEye",
           name: "鍙崇溂鑶�",
           value: 0,
+          value1: 0,
+
           code: "C69R"
         },
         {
           key: "",
           name: "鍏跺畠",
           value: 0,
+          value1: 0,
+
           code: "C01"
         }
         // {
@@ -1009,6 +1072,7 @@
       if (this.reportervalue != "") {
         param.reporterno = this.reportervalue;
       }
+      console.log(param, "param");
       getDonateorganSum(param).then(response => {
         /*
         let list = this.organData.map((item) => item);
@@ -1017,13 +1081,15 @@
         }
         this.organData = list;
       */
-        let list = response.data;
+        let list = response.data.organInfoVOList;
+        this.CommonOrgan = response.data;
         for (let i = 0; i < this.organData.length; i++) {
           let ii = list.findIndex(
             item => item.organNo == this.organData[i].code
           );
           if (ii > -1) {
             this.organData[i].value = list[ii].count;
+            this.organData[i].value1 = list[ii].abandonCount;
           }
         }
       });
@@ -1162,7 +1228,7 @@
       });
 
       //缁堟
-      info.recordstate = "99";
+      info.terminationCase = 1;
       listDonatebaseinfo(info).then(res => {
         this.donateNumData.numberOfTerminated = res.total;
       });
@@ -1170,7 +1236,7 @@
       listDonatebaseinfo({}).then(res => {
         let list = res.rows;
         let reportlist = [];
-        reportlist.push({ reporterno: "", reportername: "鍏ㄩ儴" });
+        reportlist.push({ reporterno: "", reportername: "鍏ㄩ儴浜哄憳" });
         list.forEach(element => {
           reportlist.push({
             reporterno: element.reporterno,

--
Gitblit v1.9.3