qinxianzhangyao
2024-03-15 ac6766c11f8a2b8de903b58c13a8f206fa01dccd
src/views/hosp/order/index.vue
@@ -754,11 +754,8 @@
<script>
import {
  listOrder,
  getNumber,
  hasReportEnd,
  hasReport,
  gettoPdf,
  getPdf,
  getOrderList,
  getNewDateList,
@@ -891,7 +888,7 @@
  },
  created() {
    // this.getNowTime();
    this.getList();
    this.getdate();
  },
  mounted() {
@@ -902,11 +899,14 @@
  methods: {
    getdate() {
      getNewDateList().then((res) => {
        this.createTimeList = [
        if(res.data){
          this.createTimeList = [
            moment(res.data).format("YYYY-MM-DD 00:00:00"),
            moment(res.data).format("YYYY-MM-DD 23:59:00")
          ];;
        console.log(this.createTimeList,111);
          ];
          this.getList();
        }
      });
    },
    filterNode(value, data) {
@@ -1064,6 +1064,7 @@
    },
    // 表单重置
    reset() {
      this.form = {
        orderId: null,
        userId: null,
@@ -1101,6 +1102,9 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.startTime = []
      this.startTime1 = []
      this.createTimeList = []
      this.resetForm("queryForm");
      this.handleQuery();
    },