@@ -602,6 +635,7 @@ export default {
BodyParts: [],
Modality: '',
ImageDate: '',
+ StudyName: '',
},
pickerOption: {
disabledDate: (time) => {
@@ -627,6 +661,7 @@ export default {
moment,
BodyPart: {},
studyMonitorId: null,
+ relationInfo: {},
}
},
async mounted() {
@@ -666,12 +701,22 @@ export default {
store.dispatch('trials/setUnLock', false)
this.OSSclient.close()
},
+ computed: {
+ isEN() {
+ return this.$i18n.locale !== 'zh'
+ },
+ },
methods: {
// 初始化非Dicom列表数据
getNoneDicomList() {
this.loading = true
getNoneDicomStudyList(this.subjectVisitId)
.then((res) => {
+ this.relationInfo = res.OtherInfo
+ this.faccept = []
+ this.relationInfo.ImageFormatList.forEach((item) => {
+ this.faccept.push(`.${item}`)
+ })
this.nonDicomStudyList = res.Result.map((v) => {
if (v.VideoObjectName) {
v.FileCount += 1
@@ -691,6 +736,7 @@ export default {
this.form.CodeView = ''
this.form.BodyPart = ''
this.form.Modality = ''
+ this.form.StudyName = ''
this.form.ImageDate = ''
this.form.BodyParts = []
this.dialogVisible = true
@@ -698,11 +744,14 @@ export default {
// 打开比编辑弹框,并初始化数据
handleEdit(row) {
this.title = this.$t('trials:uploadNonDicoms:dialogTitle:edit')
- const { CodeView, Id, BodyPart, Modality, ImageDate } = { ...row }
+ const { CodeView, Id, BodyPart, Modality, ImageDate, StudyName } = {
+ ...row,
+ }
this.form.CodeView = CodeView
this.form.Id = Id
this.form.BodyPart = BodyPart
this.form.Modality = Modality
+ this.form.StudyName = StudyName
this.form.ImageDate = ImageDate
this.form.BodyParts = this.form.BodyPart.split(', ')
this.dialogVisible = true
@@ -909,6 +958,13 @@ export default {
})
},
handlePreviewImg(row) {
+ if (!!~row.FileType.indexOf('pdf')) {
+ return this.$preview({
+ path: row.Path || row.fullPath,
+ type: 'pdf',
+ title: row.FileName,
+ })
+ }
// this.imgUrl = row.FullFilePath
// this.previewImgVisible = true
// this.imageLoading = true
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 d1262449..88ff4db2 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
@@ -105,6 +105,12 @@
prop="StudyCode"
:label="$t('trials:audit:table:studyId')"
/>
+
+
- {{ getBodyPart(scope.row.BodyPartForEdit) }}
+ {{
+ getBodyPart(scope.row.BodyPartForEdit)
+ }}
@@ -387,6 +395,12 @@
prop="CodeView"
:label="$t('trials:audit:table:nonDicomsStudyId')"
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
0 ? 'dicom' : 'none-dicom',
@@ -1392,6 +1459,7 @@ export default {
BodyParts: [],
Modality: '',
ImageDate: '',
+ StudyName: '',
},
subjectClinicalData: {},
moment,
@@ -2297,6 +2365,7 @@ export default {
type: 1,
modality: this.studyForm.Modality,
bodyPart: this.studyForm.BodyPart,
+ StudyName: this.studyForm.StudyName,
}
updateModality(this.data.TrialId, params)
.then((res) => {
@@ -2328,7 +2397,10 @@ export default {
// 打开非Dicom信息编辑框
handleEditNoneDicomInfo(row) {
- const { CodeView, Id, BodyPart, Modality, ImageDate } = { ...row }
+ const { CodeView, Id, BodyPart, Modality, ImageDate, StudyName } = {
+ ...row,
+ }
+ this.noneDicomForm.StudyName = StudyName
this.noneDicomForm.CodeView = CodeView
this.noneDicomForm.Id = Id
this.noneDicomForm.BodyPart = BodyPart
@@ -2375,6 +2447,13 @@ export default {
},
// 预览文件
previewFile(row) {
+ if (!!~row.FileType.indexOf('pdf')) {
+ return this.$preview({
+ path: row.Path || row.fullPath,
+ type: 'pdf',
+ title: row.FileName,
+ })
+ }
// window.open(row.FullFilePath, '_blank')
// this.imgObj.url = row.FullFilePath
// this.imgObj.loading = true