diff --git a/src/i18n/lang/zh-CN.js b/src/i18n/lang/zh-CN.js index 55a9ab3..2e7117e 100644 --- a/src/i18n/lang/zh-CN.js +++ b/src/i18n/lang/zh-CN.js @@ -246,7 +246,7 @@ export default { type: "服务类型", status: "状态", time: "提交时间", - submitter: "提交人", + submitter: "提出人员", feedbackchannel: "反馈渠道", action: "操作", hospital: "医院名称", diff --git a/src/service/modular/admin/index.js b/src/service/modular/admin/index.js index f5ae4f3..b02eb00 100644 --- a/src/service/modular/admin/index.js +++ b/src/service/modular/admin/index.js @@ -82,6 +82,10 @@ export const getAdminReportDetail = (id) => { export const generateAdminReport = (data) => { return kcRequest.request(`/admin/reports/generate`, "post", data); }; +// 重新计算报告数据(重新生成) +export const recalculateAdminReport = (id) => { + return kcRequest.request(`/admin/reports/${id}/recalculate`, "put"); +}; // 更新备注 export const updateAdminReportRemark = (id, data) => { return kcRequest.request(`/admin/reports/${id}/remark`, "put", data); @@ -94,6 +98,10 @@ export const toggleAdminReportSendStatus = (id) => { export const downloadAdminReport = (id, format) => { return kcRequest.downloadFile(`/admin/reports/${id}/download?format=${format}`); }; +// 删除报告文件 +export const deleteAdminReport = (id) => { + return kcRequest.request(`/admin/reports/${id}`, "delete"); +}; // ============== 客户服务(1.6) ============== // 维保列表 diff --git a/src/views/admin/hospitals/components/ServiceRecordDialog.vue b/src/views/admin/hospitals/components/ServiceRecordDialog.vue index 8976223..58daf50 100644 --- a/src/views/admin/hospitals/components/ServiceRecordDialog.vue +++ b/src/views/admin/hospitals/components/ServiceRecordDialog.vue @@ -25,12 +25,15 @@ - - + + + + + - + @@ -48,8 +51,10 @@ - - + + + + @@ -104,8 +109,10 @@ - - + + + + @@ -162,11 +169,11 @@