qinxianzhangyao
2024-03-15 ac6766c11f8a2b8de903b58c13a8f206fa01dccd
src/views/hosp/order/index.vue
@@ -888,7 +888,7 @@
  },
  created() {
    // this.getNowTime();
    this.getList();
    this.getdate();
  },
  mounted() {
@@ -899,10 +899,14 @@
  methods: {
    getdate() {
      getNewDateList().then((res) => {
        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")
          ];;
          ];
          this.getList();
        }
      });
    },
    filterNode(value, data) {
@@ -1060,6 +1064,7 @@
    },
    // 表单重置
    reset() {
      this.form = {
        orderId: null,
        userId: null,
@@ -1097,6 +1102,9 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.startTime = []
      this.startTime1 = []
      this.createTimeList = []
      this.resetForm("queryForm");
      this.handleQuery();
    },