部分问题修复
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
7802dd30a2
commit
f9cbfcfc70
|
@ -119,9 +119,9 @@ export function submitVisitStudyBinding(data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 清除数据
|
// 清除数据
|
||||||
export function DeletePatientStudyAllData(params) {
|
export function deletePatientStudyAllData(params) {
|
||||||
return request({
|
return request({
|
||||||
url: '/Patient/DeletePatientStudyAllData',
|
url: '/Patient/deletePatientStudyAllData',
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
params
|
params
|
||||||
})
|
})
|
||||||
|
|
|
@ -289,7 +289,7 @@ import Pagination from "@/components/Pagination";
|
||||||
import researchTrialsList from "./components/research-trials-list";
|
import researchTrialsList from "./components/research-trials-list";
|
||||||
import addTrialsList from "./components/add-trials-list";
|
import addTrialsList from "./components/add-trials-list";
|
||||||
import viewStudyList from "./components/view-study-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";
|
import { getDicomCalledAEList, getDicomCallingAEList } from "@/api/dicomAE.js";
|
||||||
|
|
||||||
const defaultSearchData = () => {
|
const defaultSearchData = () => {
|
||||||
|
@ -344,7 +344,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 清除数据
|
// 清除数据
|
||||||
async DeletePatientStudyAllData(item) {
|
async deletePatientStudyAllData(item) {
|
||||||
try {
|
try {
|
||||||
let confirm = await this.$confirm(
|
let confirm = await this.$confirm(
|
||||||
this.$t("trials:inspection:message:remove"),
|
this.$t("trials:inspection:message:remove"),
|
||||||
|
@ -359,7 +359,7 @@ export default {
|
||||||
let params = {
|
let params = {
|
||||||
PatientId: item.PatientId,
|
PatientId: item.PatientId,
|
||||||
};
|
};
|
||||||
let res = await DeletePatientStudyAllData(params);
|
let res = await deletePatientStudyAllData(params);
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.$message.success(this.$t("common:message:removedSuccessfully"));
|
this.$message.success(this.$t("common:message:removedSuccessfully"));
|
||||||
|
|
Loading…
Reference in New Issue