diff --git a/src/api/inspection.js b/src/api/inspection.js index 227f4f4..5c23614 100644 --- a/src/api/inspection.js +++ b/src/api/inspection.js @@ -119,9 +119,9 @@ export function submitVisitStudyBinding(data) { } // 清除数据 -export function DeletePatientStudyAllData(params) { +export function deletePatientStudyAllData(params) { return request({ - url: '/Patient/DeletePatientStudyAllData', + url: '/Patient/deletePatientStudyAllData', method: 'delete', params }) diff --git a/src/views/trials/trials-inspection/index.vue b/src/views/trials/trials-inspection/index.vue index 33994a9..a8b423e 100644 --- a/src/views/trials/trials-inspection/index.vue +++ b/src/views/trials/trials-inspection/index.vue @@ -289,7 +289,7 @@ import Pagination from "@/components/Pagination"; import researchTrialsList from "./components/research-trials-list"; import addTrialsList from "./components/add-trials-list"; import viewStudyList from "./components/view-study-list"; -import { getPatientList, DeletePatientStudyAllData } from "@/api/inspection.js"; +import { getPatientList, deletePatientStudyAllData } from "@/api/inspection.js"; import { getDicomCalledAEList, getDicomCallingAEList } from "@/api/dicomAE.js"; const defaultSearchData = () => { @@ -344,7 +344,7 @@ export default { }, methods: { // 清除数据 - async DeletePatientStudyAllData(item) { + async deletePatientStudyAllData(item) { try { let confirm = await this.$confirm( this.$t("trials:inspection:message:remove"), @@ -359,7 +359,7 @@ export default { let params = { PatientId: item.PatientId, }; - let res = await DeletePatientStudyAllData(params); + let res = await deletePatientStudyAllData(params); if (res.IsSuccess) { this.getList(); this.$message.success(this.$t("common:message:removedSuccessfully"));