ssu
su1124
2024-08-05 8096418ded7947ef21988df134c4dd20617169c3
ssu
1个文件已修改
21 ■■■■■ 已修改文件
src/views/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index.vue
@@ -1,5 +1,8 @@
<template>
  <div class="centre">
    <div style="display:flex;justify-content: center;align-items: center;">
      <h4>今日统计</h4>
    </div>
    <div class="top">
      <div class="add">
        <div class="img">
@@ -33,6 +36,9 @@
          <div class="day">今日待检 {{ TobeToday }}</div>
        </div>
      </div>
    </div>
     <div style="display:flex;justify-content: center;align-items: center;">
      <h4>近一月统计</h4>
    </div>
    <div class="data-view">
      <div id="main" style="width:95%;height:330px"></div>
@@ -110,8 +116,8 @@
      getChart().then((response) => {
        response.data.forEach(item => {
          this.LineChart.push(item.date)
          this.personYYNum.push(item.tdcoun);
          this.reportNum.push(item.grcoun);
          this.reportNum.push(item.tdcoun);
          this.personYYNum.push(item.grcoun);
          this.teamYYNum.push(item.bgcoun);
        });
@@ -152,7 +158,7 @@
          yAxis: {
            type: 'value',
            min: 0,
            max: 50,
            max: 100,
            interval: 5
          },
          series: [
@@ -262,7 +268,7 @@
              {
                "name": "体检结果异常人数分布",
                "count": 1,
                "value": 10
                "value": 0
              },
            ]
@@ -272,7 +278,7 @@
              {
                "name": "体检结果异常人数分布",
                "count": 1,
                "value": 10
                "value": 0
              },
            ]
@@ -344,9 +350,10 @@
<style>
.centre {
  height: 820px;
  min-height: 820px;
  margin: 15px 15px;
  background-color: #f3f3f3;
  padding: 10px 10px 10px 10px;
}
.top {
@@ -403,7 +410,7 @@
.view {
  margin: 0px 15px;
  padding-top: 15px;
  height: 350px;
  min-height: 350px;
  display: flex;
}