From 7f66a227602b703256016486a3828309c1a4fff1 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 27 Mar 2024 11:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E5=8A=A0=E5=85=A5=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E3=80=81=E6=A3=80=E6=9F=A5=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inspection.js | 18 +++ .../components/add-trials-list.vue | 1 - .../components/research-trials-list.vue | 128 +++++++++++++----- .../components/view-study-list.vue | 115 ++++++++++++---- src/views/trials/trials-inspection/index.vue | 10 +- 5 files changed, 212 insertions(+), 60 deletions(-) diff --git a/src/api/inspection.js b/src/api/inspection.js index 09c4f44..02005d6 100644 --- a/src/api/inspection.js +++ b/src/api/inspection.js @@ -44,4 +44,22 @@ export function addSubjectPatientBinding(data) { method: 'post', data }) +} + +// 患者与受试者移除绑定关系 +export function deleteSubjectPatientBinding(params) { + return request({ + url: '/Patient/deleteSubjectPatientBinding', + method: 'delete', + params + }) +} + +// 获取患者检查列表 +export function getPatientStudyList(data) { + return request({ + url: '/Patient/getPatientStudyList', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/trials/trials-inspection/components/add-trials-list.vue b/src/views/trials/trials-inspection/components/add-trials-list.vue index 85f5430..91f614a 100644 --- a/src/views/trials/trials-inspection/components/add-trials-list.vue +++ b/src/views/trials/trials-inspection/components/add-trials-list.vue @@ -324,7 +324,6 @@ export default { Object.keys(this.searchData).forEach((key) => { data[key] = this.searchData[key]; }); - console.log(this.Patient); data.PatientId = this.Patient.PatientId; try { this.loading = true; diff --git a/src/views/trials/trials-inspection/components/research-trials-list.vue b/src/views/trials/trials-inspection/components/research-trials-list.vue index 03cb44a..68ee530 100644 --- a/src/views/trials/trials-inspection/components/research-trials-list.vue +++ b/src/views/trials/trials-inspection/components/research-trials-list.vue @@ -9,13 +9,13 @@
{{ - $t("trials:uploadDicomList:table:patientInfo") - }}(T0001132,ZhangSan){{ $t("trials:uploadDicomList:table:patientInfo") }}({{ + Patient.PatientIdStr + }},{{ Patient.PatientName }})| {{ $t("trials:inspection:research-trials-list:table:joinTrialsNumber") - }}(2)