qinxianzhangyao
2024-03-18 e3a63203c823a4b7fcb12a52769c34acdc0b7a19
src/views/system/visit/index.vue
@@ -258,9 +258,10 @@
  getPdf,
  getOrderList,
  printCode,
  getNewDateList
} from "@/api/hosp/order";
import { getsendEmail, getsendMessage } from "@/api/hosp/order";
import moment from "moment";
import { addSurveyRecord } from "@/api/hosp/surveyRecord";
import { getDictEmerList, listEmer } from "@/api/system/emer";
import ViewPdf from "@/components/ViewPdf";
@@ -427,10 +428,11 @@
    },
  },
  created() {
    this.getNowTime();
    this.getList();
    // this.getNowTime();
    this.Company();
    this.getListEmer();
    this.getdate();
  },
  mounted() {
    this.$nextTick(() => {
@@ -438,6 +440,15 @@
    });
  },
  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")
          ];;
          this.getList();
      });
    },
    dialogVisibles() {
      this.$message.error("请连接拨号器!");
    },
@@ -605,6 +616,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.createTimeList = []
      this.resetForm("queryForm");
      this.handleQuery();
    },