+2
-2
@@ -1378,9 +1378,9 @@ export function getForwardList(param) {
|
||||
})
|
||||
}
|
||||
|
||||
export function getNoneDicomStudyList(subjectVisitId, sudyId = '', isFilterZip = false, visitTaskId = '') {
|
||||
export function getNoneDicomStudyList(subjectVisitId, sudyId = '', isFilterZip = false, visitTaskId = '', IsReading) {
|
||||
return request({
|
||||
url: `/NoneDicomStudy/getNoneDicomStudyList?subjectVisitId=${subjectVisitId}&nonedicomStudyId=${sudyId}&isFilterZip=${isFilterZip}&visitTaskId=${visitTaskId}`,
|
||||
url: `/NoneDicomStudy/getNoneDicomStudyList?subjectVisitId=${subjectVisitId}&nonedicomStudyId=${sudyId}&isFilterZip=${isFilterZip}&visitTaskId=${visitTaskId}&IsReading=${IsReading}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -141,7 +141,6 @@ export default {
|
||||
async created() {
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
this.isQcCheck = !!this.$route.query.isQcCheck
|
||||
console.log(this.isQcCheck)
|
||||
},
|
||||
async mounted() {
|
||||
if (this.$router.currentRoute.query.TokenKey) {
|
||||
@@ -244,7 +243,6 @@ export default {
|
||||
.catch(() => {})
|
||||
},
|
||||
getBodyPart(bodyPart) {
|
||||
console.log(bodyPart)
|
||||
if (!bodyPart) return ''
|
||||
var separator = ','
|
||||
if (bodyPart.indexOf('|') > -1) {
|
||||
@@ -264,7 +262,6 @@ export default {
|
||||
'Name'
|
||||
)
|
||||
})
|
||||
console.log(newArr, this.bp)
|
||||
return newArr.join(' | ')
|
||||
},
|
||||
// 获取非Dicom检查信息
|
||||
@@ -274,7 +271,8 @@ export default {
|
||||
this.subjectVisitId,
|
||||
this.studyId,
|
||||
false,
|
||||
this.$route.query.visitTaskId
|
||||
this.$route.query.visitTaskId,
|
||||
!!this.$route.query.isReading
|
||||
)
|
||||
.then((res) => {
|
||||
this.studyList = res.Result
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<el-tabs v-model="activeName" type="card">
|
||||
<!-- DICOM影像 data.DicomStudyCount > 0-->
|
||||
<el-tab-pane
|
||||
v-if="studyList.length>0"
|
||||
v-if="studyList.length > 0"
|
||||
:label="$t('trials:audit:tab:dicoms')"
|
||||
name="dicom"
|
||||
>
|
||||
@@ -433,13 +433,23 @@
|
||||
>
|
||||
{{ $t('trials:audit:button:downLoadAllNonDiocms') }}
|
||||
</el-button>
|
||||
<!-- 预览阅片 -->
|
||||
<el-button
|
||||
size="small"
|
||||
:disabled="noneDicomStudyList.length === 0"
|
||||
type="primary"
|
||||
style="margin-left: 10px"
|
||||
@click="handleViewAllNoneDicoms(true)"
|
||||
>
|
||||
{{ $t('trials:audit:tip:nonDicomsPreviewAllReading') }}
|
||||
</el-button>
|
||||
<!-- 预览 -->
|
||||
<el-button
|
||||
size="small"
|
||||
:disabled="noneDicomStudyList.length === 0"
|
||||
type="primary"
|
||||
style="margin-left: 10px"
|
||||
@click="handleViewAllNoneDicoms"
|
||||
@click="handleViewAllNoneDicoms(false)"
|
||||
>
|
||||
{{ $t('trials:audit:tip:nonDicomsPreviewAll') }}
|
||||
</el-button>
|
||||
@@ -2697,16 +2707,20 @@ export default {
|
||||
}
|
||||
},
|
||||
// 预览所有检查下非Dicom文件
|
||||
handleViewAllNoneDicoms() {
|
||||
handleViewAllNoneDicoms(isReading = false) {
|
||||
if (this.open) {
|
||||
this.open.close()
|
||||
}
|
||||
// this.previewAllNoneDicomVisible = true
|
||||
let trialId = this.$route.query.trialId
|
||||
var token = getToken()
|
||||
const routeData = this.$router.resolve({
|
||||
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`,
|
||||
})
|
||||
const routeData = isReading
|
||||
? this.$router.resolve({
|
||||
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isReading=1`,
|
||||
})
|
||||
: this.$router.resolve({
|
||||
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`,
|
||||
})
|
||||
this.open = window.open(routeData.href, '_blank')
|
||||
},
|
||||
// 预览单个检查下非Dicom文件
|
||||
|
||||
Reference in New Issue
Block a user