WXL (wul)
8 天以前 58cd24c6664429e2a28eef6f7ee2e76c0e9c2d90
src/views/index.vue
@@ -20,7 +20,7 @@
            <el-row :gutter="20">
              <el-col :span="10">
                <div class="home-user-task-stats">
                  <p>{{ OutpatientData.rs }}</p>
                  <p>{{ OutpatientData.rc }}</p>
                  <div class="text-color2">
                    <p>门诊就诊量(人次)</p>
                  </div>
@@ -28,7 +28,7 @@
              </el-col>
              <el-col :span="10">
                <div class="home-user-task-stats">
                  <p>{{ OutpatientData.rc }}</p>
                  <p>{{ OutpatientData.rs }}</p>
                  <div class="text-color2">
                    <p>门诊服务量(人次)</p>
                  </div>
@@ -62,7 +62,7 @@
            <el-row :gutter="20">
              <el-col :span="10">
                <div class="home-user-task-stats">
                  <p style="color: red">{{ DischargeData.rs }}</p>
                  <p style="color: red">{{ DischargeData.rc }}</p>
                </div>
                <div class="text-color2">
                  <p>出院就诊量(人次)</p>
@@ -70,7 +70,7 @@
              </el-col>
              <el-col :span="10">
                <div class="home-user-task-stats">
                  <p style="color: red">{{ DischargeData.rc }}</p>
                  <p style="color: red">{{ DischargeData.rs }}</p>
                  <div class="text-color2">
                    <p>出院服务量(人次)</p>
                  </div>
@@ -306,7 +306,7 @@
      mypPieCharts: null,
      lastWidth: window.innerWidth,
      lastHeight: window.innerHeight,
      radio1: "月",
      radio1: "周",
      ticketStatistics: {},
      timeTypeMap: {
        周: "day",
@@ -330,7 +330,7 @@
      SkuTop: [],
      cylinderSeries: [],
      cylinderXAxis: [],
      dyat: 30,
      dyat: 6,
      intervalId: null,
    };
  },
@@ -373,11 +373,11 @@
    // 改变时间事件
    changes() {
      if (this.radio1 == "周") {
        this.dyat = 7;
        this.dyat = 6;
      } else if (this.radio1 == "月") {
        this.dyat = 30;
      } else {
        this.dyat = 360;
        this.dyat = 364;
      }
      this.getgraphdata();
      this.getranking();
@@ -623,7 +623,7 @@
          },
        },
        legend: {
          data: ["出院随访量", "门诊随访量", "出院服务人次", "门诊服务人次"],
          data: ["出院服务量", "门诊服务量", "出院就诊人次", "门诊就诊人次"],
        },
        xAxis: [
          {
@@ -655,7 +655,7 @@
        grid: { top: "35%" },
        series: [
          {
            name: "出院随访量",
            name: "出院服务量",
            type: "bar",
            tooltip: {
              valueFormatter: function (value) {
@@ -665,7 +665,7 @@
            data: [], // 初始为空,将通过API数据填充
          },
          {
            name: "门诊随访量",
            name: "门诊服务量",
            type: "bar",
            tooltip: {
              valueFormatter: function (value) {
@@ -675,7 +675,7 @@
            data: [], // 初始为空,将通过API数据填充
          },
          {
            name: "出院服务人次",
            name: "出院就诊人次",
            type: "line",
            smooth: 0.3,
            yAxisIndex: 1,
@@ -687,7 +687,7 @@
            data: [], // 初始为空,将通过API数据填充
          },
          {
            name: "门诊服务人次",
            name: "门诊就诊人次",
            type: "line",
            smooth: 0.3,
            yAxisIndex: 1,