軟件工程開發日報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號