软件工程开发日报40
今天继续进行团队项目台账模块的开发
实现的通过点击标签页实现不同状态的查询列表,并能够实时展示出每个状态待处理消息的个数

 //获取待处理,待派送,派送中数量
  getOrderListBy4Status() {
    getPurchaseListBy({})
      .then((res) => {
        if (res.data.code === 1) {
          this.orderStatics = res.data.data
        } else {
          this.$message.error(res.data.msg)
        }
      })
      .catch((err) => {
        this.$message.error('请求出错了:' + err.message)
      })
  }
//管理标签页点击事件
  change(activeIndex) {
    if (activeIndex === this.purchaseStatus) return
    this.init(activeIndex)
    this.valueTime = []
    this.dialogPurchaseStatus = 0
    this.$router.push('/purchasingOffer/purchase')
    console.log(activeIndex, '接收到了子组件的index')
  }
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号