qinxianzhangyao
2024-03-08 2d1cc07e5be9d226d23dc172031a3971ea43528f
src/views/team/reportresults/index.vue
@@ -12,8 +12,9 @@
          clearable
          v-model="createTimeList"
          @change="dateChangebirthday1"
          style="width: 240px"
          value-format="yyyy-MM-dd"
          :default-time="['00:00:00', '23:00:00']"
              format="yyyy-MM-dd HH:mm:ss"
              value-format="yyyy-MM-dd HH:mm:ss"
          type="daterange"
          range-separator="-"
          start-placeholder="开始日期"
@@ -307,6 +308,8 @@
require("echarts/lib/component/tooltip");
require("echarts/lib/component/legend");
require("echarts/lib/chart/pie");
import { getNewDateList } from "@/api/hosp/order";
import moment from "moment";
import VTreeTransfer from "../../system/tijian/TreeTransfer.vue";
import { projectGetList } from "@/api/system/tijian";
import {
@@ -398,6 +401,7 @@
    };
  },
  created() {
    this.getdate();
    this.getNowTime();
    this.getList();
    this.getcomp();
@@ -410,6 +414,14 @@
    },
  },
  methods: {
    getdate() {
      getNewDateList().then((res) => {
        this.createTimeList = [
          moment(res.data).format("YYYY-MM-DD 00:00:00"),
          moment(res.data).format("YYYY-MM-DD 23:59:00"),
        ];
      });
    },
    filterNode(value, data) {
      if (!value) return true;
      return data.proName.indexOf(value) !== -1;
@@ -612,6 +624,8 @@
// }
.outside1 {
  width: 500px;
  max-height: 500px;
  overflow-y:auto;
  display: flex;
  margin-top: 8px;
  flex-direction: column;