部位信息显示异常修复
continuous-integration/drone/push Build is running Details

uat_us
caiyiling 2024-06-19 18:50:01 +08:00
parent 179d030f76
commit b0277d0ccf
6 changed files with 19 additions and 11 deletions

View File

@ -1364,9 +1364,9 @@ export function getForwardList(param) {
}) })
} }
export function getNoneDicomStudyList(subjectVisitId, sudyId = '') { export function getNoneDicomStudyList(subjectVisitId, sudyId = '', isFilterZip) {
return request({ return request({
url: `/NoneDicomStudy/getNoneDicomStudyList?subjectVisitId=${subjectVisitId}&nonedicomStudyId=${sudyId}`, url: `/NoneDicomStudy/getNoneDicomStudyList?subjectVisitId=${subjectVisitId}&nonedicomStudyId=${sudyId}&isFilterZip=${isFilterZip}`,
method: 'get' method: 'get'
}) })
} }

View File

@ -100,7 +100,8 @@ export default {
// //
}, },
methods: { methods: {
async 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) {
@ -114,12 +115,13 @@ export default {
var newArr = arr.map(i => { var newArr = arr.map(i => {
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name') return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
}) })
console.log(newArr,this.bp)
return newArr.join(' | ') return newArr.join(' | ')
}, },
// Dicom // Dicom
getNoneDicomList() { getNoneDicomList() {
this.loading = true this.loading = true
getNoneDicomStudyList(this.subjectVisitId, this.studyId).then(res => { getNoneDicomStudyList(this.subjectVisitId, this.studyId, true).then(res => {
this.studyList = res.Result this.studyList = res.Result
this.loading = false this.loading = false
const studyIndex = this.studyList.findIndex(item => { const studyIndex = this.studyList.findIndex(item => {

View File

@ -62,7 +62,7 @@ export default {
// Dicom // Dicom
getNoneDicomList() { getNoneDicomList() {
this.loading = true this.loading = true
getNoneDicomStudyList(this.subjectVisitId).then(res => { getNoneDicomStudyList(this.subjectVisitId, '', true).then(res => {
this.noneDicomStudyList = res.Result this.noneDicomStudyList = res.Result
this.loading = false this.loading = false
const study = this.noneDicomStudyList.find((item, index) => { const study = this.noneDicomStudyList.find((item, index) => {

View File

@ -406,8 +406,9 @@ export default {
} else { } else {
// this.rowData = { ...row } // this.rowData = { ...row }
// this.previewNonDicomVisible = true // this.previewNonDicomVisible = true
let trialId = this.$route.query.trialId
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showNoneDicoms?subjectVisitId=${row.SubjectVisitId}&studyId=${row.Id}&TokenKey=${this.tokenKey}` path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${row.SubjectVisitId}&studyId=${row.Id}&TokenKey=${this.tokenKey}`
}) })
this.openWindow = window.open(routeData.href, '_blank') this.openWindow = window.open(routeData.href, '_blank')
} }
@ -416,8 +417,9 @@ export default {
if (this.openWindow) { if (this.openWindow) {
this.openWindow.close() this.openWindow.close()
} }
let trialId = this.$route.query.trialId
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showNoneDicoms?subjectVisitId=${row.SubjectVisitId}&studyId=${row.Id}&TokenKey=${this.tokenKey}` path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${row.SubjectVisitId}&studyId=${row.Id}&TokenKey=${this.tokenKey}`
}) })
this.openWindow = window.open(routeData.href, '_blank') this.openWindow = window.open(routeData.href, '_blank')
}, },

View File

@ -884,17 +884,19 @@ export default {
// 访DICOM // 访DICOM
handlePreviewAllVisitFiles() { handlePreviewAllVisitFiles() {
// Dicom // Dicom
let trialId = this.$route.query.trialId
var token = getToken() var token = getToken()
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showNoneDicoms?subjectVisitId=${this.subjectVisitId}&TokenKey=${token}` path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.subjectVisitId}&TokenKey=${token}`
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
}, },
handlePreviewAllFiles(row) { handlePreviewAllFiles(row) {
this.currentRow = { ...row } this.currentRow = { ...row }
let trialId = this.$route.query.trialId
var token = getToken() var token = getToken()
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showNoneDicoms?subjectVisitId=${this.subjectVisitId}&studyId=${row.Id}&TokenKey=${token}` path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.subjectVisitId}&studyId=${row.Id}&TokenKey=${token}`
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
}, },

View File

@ -2193,9 +2193,10 @@ export default {
this.open.close(); this.open.close();
} }
// this.previewAllNoneDicomVisible = true // this.previewAllNoneDicomVisible = true
let trialId = this.$route.query.trialId
var token = getToken(); var token = getToken();
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showNoneDicoms?subjectVisitId=${this.data.Id}&TokenKey=${token}`, path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}`,
}); });
this.open = window.open(routeData.href, "_blank"); this.open = window.open(routeData.href, "_blank");
}, },
@ -2204,9 +2205,10 @@ export default {
if (this.open) { if (this.open) {
this.open.close(); this.open.close();
} }
let trialId = this.$route.query.trialId
var token = getToken(); var token = getToken();
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showNoneDicoms?subjectVisitId=${this.data.Id}&studyId=${row.Id}&TokenKey=${token}`, path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&studyId=${row.Id}&TokenKey=${token}`,
}); });
this.open = window.open(routeData.href, "_blank"); this.open = window.open(routeData.href, "_blank");
}, },