diff --git a/src/api/tblist/ecganalysisparas/index.ts b/src/api/tblist/ecganalysisparas/index.ts index 66845872..e9b69535 100644 --- a/src/api/tblist/ecganalysisparas/index.ts +++ b/src/api/tblist/ecganalysisparas/index.ts @@ -86,7 +86,7 @@ export const EcganalysisparasApi = { return await request.get({ url: `/tblist/ecganalysisparas/getDateStaAndEndData?doctorName=${doctorName}&TimeSta=${startDate}&TimeEnd=${endDate}` }) }, // 添加导出Excel的方法 - exportWorkloadExcel: async (startTime:String,endTime:String) => { - return await request.download({ url: `/tblist/ecganalysisparas/export-workload-excel?startTime=${startTime}&endTime=${endTime} ` }) + exportWorkloadExcel: async (doctorName:string,startTime:string,endTime:string) => { + return await request.download({ url: `/tblist/ecganalysisparas/export-workload-excel?doctorName=${doctorName}&startTime=${startTime}&endTime=${endTime} ` }) }, } diff --git a/src/views/ECG/ECGStat/statdiagnosis.vue b/src/views/ECG/ECGStat/statdiagnosis.vue index 10f24ead..81495aca 100644 --- a/src/views/ECG/ECGStat/statdiagnosis.vue +++ b/src/views/ECG/ECGStat/statdiagnosis.vue @@ -16,6 +16,23 @@ 查询 导出 + 导出{{ Profilevo.doctorname }}工作量 + 导出全部 + + + @@ -28,9 +45,12 @@