MrShi
2025-07-19 edb50cb0dc65061d5ce9f8d4ff26fcee12b09eee
small-program/pages/demand-hall/demand-hall.vue
@@ -213,6 +213,13 @@
         } else {
            this.typeViewId = 0
         }
         if (!this.isOnce) {
            this.commentStatus = ''
            this.orderList = []
            this.next = true
            this.page = 1
            this.getOrderList()
         }
      },
      data() {
         return {
@@ -242,7 +249,8 @@
            
            next: true,
            page: 1,
            orderList: []
            orderList: [],
            isOnce: true
         };
      },
      async onLoad() {
@@ -265,12 +273,15 @@
         startJobs(orderId) {
            this.$u.api.begin({ orderId })
               .then(res => {
                  this.status = ''
                  this.commentStatus = ''
                  this.orderList = []
                  this.next = true
                  this.page = 1
                  this.getOrderList()
                  if (res.code === 200) {
                     this.status = ''
                     this.commentStatus = ''
                     this.orderList = []
                     this.next = true
                     this.page = 1
                     this.getOrderList()
                  }
               })
         },
         jumpDesc(item) {
@@ -302,11 +313,14 @@
            this.$u.api.cancelOrder({
               orderId: this.orderId
            }).then(res => {
               this.show = false
               this.orderList = []
               this.next = true
               this.page = 1
               this.getOrderList()
               if (res.code === 200) {
                  this.show = false
                  this.orderList = []
                  this.next = true
                  this.page = 1
                  this.getOrderList()
               }
            })
         },
         phoneCall(phoneNumber) {
@@ -327,6 +341,8 @@
                  queryLgt: this.longitude
               }
            }).then(res => {
               if (res.code !== 200) return;
               this.isOnce = false
               res.data.records.forEach(item => {
                  // 订餐单
                  if (item.type === 2) {