From 212bd65bc1d79883fb15d534fbfd90bec6caaad8 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 30 Apr 2026 14:25:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=85=E7=89=87=E6=9C=9F=E4=B8=B4=E5=BA=8A?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=B7=BB=E5=8A=A0=E6=9B=B4=E6=96=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/trials.js | 9 ++++ .../components/ClinicalData.vue | 41 +++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/src/api/trials.js b/src/api/trials.js index 3c367114..717ce7c0 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -4457,4 +4457,13 @@ export function amendmentPatientInfo(data) { method: 'post', data }) +} + +//修改临床数据后 将签名状态变更为未签名 +export function updateReadModuleClinicalData(data) { + return request({ + url: `/ReadingClinicalData/updateReadModuleClinicalData`, + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/trials/trials-panel/subject/reading-period/components/ClinicalData.vue b/src/views/trials/trials-panel/subject/reading-period/components/ClinicalData.vue index 7c2a0024..97d6ea6e 100644 --- a/src/views/trials/trials-panel/subject/reading-period/components/ClinicalData.vue +++ b/src/views/trials/trials-panel/subject/reading-period/components/ClinicalData.vue @@ -143,6 +143,15 @@ scope.row.IsSign || scope.row.UploadRole === 0 " @click="handleDelete(scope.row)" /> + + @@ -285,6 +294,15 @@ scope.row.IsSign || scope.row.UploadRole === 0 " @click="handleDelete(scope.row)" /> + + @@ -328,6 +346,7 @@ import { getTrialClinicalDataSelect, getConsistencyAnalysisReadingClinicalDataList, signConsistencyAnalysisReadingClinicalData, + updateReadModuleClinicalData } from '@/api/trials' import AddOrEditCD from './AddOrEditCD' import Verification from './Verification' @@ -658,6 +677,28 @@ export default { }) .catch(() => { }) }, + async handleUpdateStatus(row) { + try { + const confirm = await this.$confirm(this.$t('trials:readingPeriod:cd:message:updateCDStatus'), { + type: 'warning', + distinguishCancelAndClose: true, + }) + if (confirm === 'confirm') { + this.loading = true + let res = await updateReadModuleClinicalData({readingClinicalDataId: row.Id}) + this.loading = false + if (res.IsSuccess) { + this.getList() + this.$message.success(this.$t('common:message:savedSuccessfully')) + } + } else { + this.subjectPeriod.visible = true + } + } catch(e) { + this.loading = false + console.log(e) + } + }, handleSign(from) { // this.currentData = { ...row } this.currentData.IsBlind = from.IsBlind