diff --git a/src/api/trials.js b/src/api/trials.js
index 2e79d92f..bd16e812 100644
--- a/src/api/trials.js
+++ b/src/api/trials.js
@@ -4448,4 +4448,13 @@ export function editPatientInfo(data) {
method: 'post',
data
})
+}
+
+//修正患者基本信息
+export function amendmentPatientInfo(data) {
+ return request({
+ url: `/Study/amendmentPatientInfo`,
+ method: 'post',
+ data
+ })
}
\ No newline at end of file
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadPetClinicalData.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadPetClinicalData.vue
index d3ed41c5..d6da6e43 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadPetClinicalData.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadPetClinicalData.vue
@@ -307,7 +307,14 @@
style="width: 100%"
>
-
+
+
+
{{ $t('trials:ptData:button:submit') }}
@@ -362,7 +369,8 @@ import {
getCRCClinicalData,
addOrUpdateReadingClinicalData,
getPatientInfo,
- editPatientInfo
+ editPatientInfo,
+ amendmentPatientInfo
} from '@/api/trials'
import PreviousRadiotherapy from './previousRadiotherapy'
import PreviousSurgery from './previousSurgery'
@@ -410,6 +418,10 @@ export default {
isPatientFormAllowEdit: {
type: Boolean,
default: false,
+ },
+ isAudit: {
+ type: Boolean,
+ default: false
}
},
data() {
@@ -443,7 +455,8 @@ export default {
RadionuclideHalfLife: null,
RadiopharmaceuticalStartTime: null,
AcquisitionTime: null,
- TimeCheck: ''
+ TimeCheck: '',
+ Reason: ''
},
rules: {
PatientSex: [
@@ -470,7 +483,10 @@ export default {
{ type: 'number', message: this.$t('trials:ptData:ruleMessage:number2'), trigger: 'blur' },//请输入数字
// 自定义校验:确保成像时间不早于注射时间
{ validator: this.validateTime, trigger: 'blur' }
- ]
+ ],
+ Reason: [
+ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }
+ ],
},
formLoading: false,
isPatientFormCanEdit: false
@@ -814,7 +830,8 @@ export default {
RadionuclideHalfLife: parseFloat(res.Result.RadionuclideHalfLife) || null,
RadiopharmaceuticalStartTime: parseFloat(res.Result.RadiopharmaceuticalStartTime) || '',
AcquisitionTime: parseFloat(res.Result.AcquisitionTime) || '',
- TimeCheck: ''
+ TimeCheck: '',
+ Reason: res.Result.Reason
}
this.computeTimeRelation()
this.formLoading = false
@@ -829,9 +846,14 @@ export default {
let valid = await this.$refs.patientForm.validate()
if (!valid) return
this.formLoading = true
- let res = await editPatientInfo(this.formData)
+ let res = null
+ if (this.isAudit) {
+ res = await amendmentPatientInfo(this.formData)
+ } else {
+ res = await editPatientInfo(this.formData)
+ }
this.formLoading = false
- if (res.IsSuccess) {
+ if (res && res.IsSuccess) {
this.$message.success(this.$t('common:message:savedSuccessfully'))
}
} catch(e) {
diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue
index be5dce29..b8a6304a 100644
--- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue
+++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue
@@ -158,7 +158,7 @@
:disabled="isAudit || scope.row.IsDeleted || SecondReviewState > 0"
@click="handleEditStudy(scope.row)" />
-
-
+