feat(approve): refactor list display and integrate API data fetching
- Replace separate pending and done list views with unified list component using computed property - Update field mappings to match API response schema (applicant_name, customer_name, order_sn, create_time_cn, relief_detail, status_cn) - Remove static mock data and implement dynamic data fetching via API.feeApproveList - Add getData method to fetch approval lists based on tab status (0 for pending, 1,2 for completed) - Simplify tab labels by removing hardcoded counts - Consolidate card rendering logic to reduce code duplication - Add onShow lifecycle hook to refresh data when page becomes visible - Update status display logic to use numeric status values (1 for approved, others for rejected) - Improve empty state messaging with dynamic text based on current tab
Showing
with
50 additions
and
91 deletions
Please
register
or
sign in
to comment