diff --git a/src/api/index.ts b/src/api/index.ts index 4d04bc9..6c29675 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -24,6 +24,10 @@ export const cancelAppointment = (id: number) => export const getReportList = (params: Record = {}) => apiGet('/report/list', params) +/** 员工在真实发送完成后显式确认;复制链接或打开 H5 不会自动确认。 */ +export const confirmReportSent = (reportId: number, channel: 'wechat' | 'qr' | 'other') => + apiPost('/report/confirm-sent', { reportId, channel }) + export const startHighlight = (reportId: number) => apiPost('/report/highlight/start', { reportId }) diff --git a/src/views/ReportsView.vue b/src/views/ReportsView.vue index 1ad962d..6bbdca2 100644 --- a/src/views/ReportsView.vue +++ b/src/views/ReportsView.vue @@ -8,6 +8,11 @@ + + + + + 查询 @@ -22,10 +27,34 @@
{{ row.highlightFailReasonLabel }}
- + + + +