质控非dicom添加预览阅片影像功能
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5b8716f9ae
commit
278c051f51
|
@ -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({
|
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'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,7 +141,6 @@ export default {
|
||||||
async created() {
|
async created() {
|
||||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||||
this.isQcCheck = !!this.$route.query.isQcCheck
|
this.isQcCheck = !!this.$route.query.isQcCheck
|
||||||
console.log(this.isQcCheck)
|
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
if (this.$router.currentRoute.query.TokenKey) {
|
if (this.$router.currentRoute.query.TokenKey) {
|
||||||
|
@ -244,7 +243,6 @@ export default {
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
getBodyPart(bodyPart) {
|
getBodyPart(bodyPart) {
|
||||||
console.log(bodyPart)
|
|
||||||
if (!bodyPart) return ''
|
if (!bodyPart) return ''
|
||||||
var separator = ','
|
var separator = ','
|
||||||
if (bodyPart.indexOf('|') > -1) {
|
if (bodyPart.indexOf('|') > -1) {
|
||||||
|
@ -264,7 +262,6 @@ export default {
|
||||||
'Name'
|
'Name'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
console.log(newArr, this.bp)
|
|
||||||
return newArr.join(' | ')
|
return newArr.join(' | ')
|
||||||
},
|
},
|
||||||
// 获取非Dicom检查信息
|
// 获取非Dicom检查信息
|
||||||
|
@ -274,7 +271,8 @@ export default {
|
||||||
this.subjectVisitId,
|
this.subjectVisitId,
|
||||||
this.studyId,
|
this.studyId,
|
||||||
false,
|
false,
|
||||||
this.$route.query.visitTaskId
|
this.$route.query.visitTaskId,
|
||||||
|
!!this.$route.query.isReading
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.studyList = res.Result
|
this.studyList = res.Result
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<el-tabs v-model="activeName" type="card">
|
<el-tabs v-model="activeName" type="card">
|
||||||
<!-- DICOM影像 data.DicomStudyCount > 0-->
|
<!-- DICOM影像 data.DicomStudyCount > 0-->
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
v-if="studyList.length>0"
|
v-if="studyList.length > 0"
|
||||||
:label="$t('trials:audit:tab:dicoms')"
|
:label="$t('trials:audit:tab:dicoms')"
|
||||||
name="dicom"
|
name="dicom"
|
||||||
>
|
>
|
||||||
|
@ -433,13 +433,23 @@
|
||||||
>
|
>
|
||||||
{{ $t('trials:audit:button:downLoadAllNonDiocms') }}
|
{{ $t('trials:audit:button:downLoadAllNonDiocms') }}
|
||||||
</el-button>
|
</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
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
:disabled="noneDicomStudyList.length === 0"
|
:disabled="noneDicomStudyList.length === 0"
|
||||||
type="primary"
|
type="primary"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
@click="handleViewAllNoneDicoms"
|
@click="handleViewAllNoneDicoms(false)"
|
||||||
>
|
>
|
||||||
{{ $t('trials:audit:tip:nonDicomsPreviewAll') }}
|
{{ $t('trials:audit:tip:nonDicomsPreviewAll') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -2697,16 +2707,20 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 预览所有检查下非Dicom文件
|
// 预览所有检查下非Dicom文件
|
||||||
handleViewAllNoneDicoms() {
|
handleViewAllNoneDicoms(isReading = false) {
|
||||||
if (this.open) {
|
if (this.open) {
|
||||||
this.open.close()
|
this.open.close()
|
||||||
}
|
}
|
||||||
// this.previewAllNoneDicomVisible = true
|
// this.previewAllNoneDicomVisible = true
|
||||||
let trialId = this.$route.query.trialId
|
let trialId = this.$route.query.trialId
|
||||||
var token = getToken()
|
var token = getToken()
|
||||||
const routeData = this.$router.resolve({
|
const routeData = isReading
|
||||||
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`,
|
? 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')
|
this.open = window.open(routeData.href, '_blank')
|
||||||
},
|
},
|
||||||
// 预览单个检查下非Dicom文件
|
// 预览单个检查下非Dicom文件
|
||||||
|
|
Loading…
Reference in New Issue