hookehuyr

fix: 更新活动统计字段名称为jh_payment_qty和jh_volunteers_qty

......@@ -176,8 +176,8 @@ onMounted(async () => {
idcard: userInfo.value.idCard
})
if (res.code) {
activityCount.value = res.data?.payment_qty || 0
volunteerCount.value = res.data?.volunteers_qty || 0
activityCount.value = res.data?.jh_payment_qty || 0
volunteerCount.value = res.data?.jh_volunteers_qty || 0
recordDate.value = res.data?.record_date || ''
lastActivityDate.value = res.data?.last_activity_date || ''
}
......@@ -186,8 +186,8 @@ onMounted(async () => {
// 如果是收集完成没有缓存字段的情况, 直接查接口
const res = await searchOldActivityAPI()
if (res.code) {
activityCount.value = res.data?.payment_qty || 0
volunteerCount.value = res.data?.volunteers_qty || 0
activityCount.value = res.data?.jh_payment_qty || 0
volunteerCount.value = res.data?.jh_volunteers_qty || 0
recordDate.value = res.data?.record_date || ''
lastActivityDate.value = res.data?.last_activity_date || ''
}
......