hookehuyr

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

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