11
WXL
2024-08-14 0ac2d43fce4d74f6eea5a51a2e16af4e6a536c7c
src/views/project/indexstatistics/index.vue
@@ -232,7 +232,7 @@
                params: {
                  starttime: starttime,
                  endtime: endtime,
                  tempRecordState: 99,
                  terminationcase: 1,
                  reporterno: reportervalue,
                  shen: searchAddress.shen,
                  shi: searchAddress.shi,
@@ -258,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">
@@ -421,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">
@@ -431,10 +450,10 @@
                >各地区医院案例数据</span
              >
            </el-col>
          </el-row>
          <el-row>
          </el-row>
          <dv-scroll-board
            :config="config"
@@ -626,12 +645,13 @@
    return {
      city: "",
      reportno: "",
      selecttime: [ new Date(new Date().getFullYear(), 0),new Date()],
      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" },
@@ -668,73 +688,128 @@
          key: "heart",
          name: "心脏",
          value: 0,
          value1: 0,
          code: "C38"
        },
        {
          key: "fullLiver",
          name: "肝脏",
          value: 0,
          value1: 0,
          code: "C22"
        },
        {
          key: "Lefthalfliver",
          name: "左半肝",
          value: 0,
          value1: 0,
          code: "C22L"
        },
        {
          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"
        }
        // {
@@ -997,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);
@@ -1005,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;
          }
        }
      });
@@ -1158,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,