From f9cbfcfc7075bc3ab026b161323f40ada4801340 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 29 Apr 2024 11:10:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inspection.js | 4 ++-- src/views/trials/trials-inspection/index.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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"));