yxh
yxh
9 天以前 8022f7036945b75f82f2dfc43055623f81ed98f6
src/views/project/indexstatistics/index.vue
@@ -602,6 +602,7 @@
import { listOrganallocation } from "@/api/project/organallocation";
import RankChart from "./components/rankbarchart";
import request from '@/utils/request'
import OrganNumChart from "./components/organnumchart";
import { listDonatebaseinfo } from "@/api/project/donatebaseinfo";
import dayjs from "dayjs";
@@ -649,6 +650,7 @@
      year: "选择年份",
      isloading: false,
      maxHeight: 0,
      areaJson: "/project/dict/treeselect", // 提前存储地址数据接口
      CommonOrgan: null,
      provinceData: [
        { label: "全部地市", value: "" },
@@ -698,6 +700,38 @@
          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"
        },
        {
@@ -882,6 +916,7 @@
      this.value = "杭州市";
      this.GetOrgDonateNumNew();
      this.GetOrgDonateNum();
      this.getAddressData();
    });
  },
  methods: {
@@ -906,6 +941,20 @@
        }
      });
    },
    // 提前缓存数据
    getAddressData() {
      var that = this;
      request({
        url: that.areaJson,
        method: "get",
      }).then(function (response) {
        if (response.code === 200) {
          //获取地址
          let addressArray = response.data;
          this.$store.commit('updateMyData', addressArray);
        }
      });
    },
    // 确定已读
    clickMessageDetailed(item) {
      let data = item;