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/components/Dicom/DicomViewer.vue b/src/components/Dicom/DicomViewer.vue
index 8eefb5dd..9b916af2 100644
--- a/src/components/Dicom/DicomViewer.vue
+++ b/src/components/Dicom/DicomViewer.vue
@@ -1218,7 +1218,7 @@ export default {
-.btnBox {
+.dicom-tools .btnBox {
display: inline-block;
width: 80px;
text-align: center;
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