Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 26914c2b2b | |||
| 98ce2b27da | |||
| 5805ea0778 |
+4
-3
@@ -75,10 +75,11 @@ export function getRelationVisitList(visitNum, tpCode) {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export function getAllRelationStudyList(studyId) {
|
||||
export function getAllRelationStudyList(studyId, params) {
|
||||
return request({
|
||||
url: `/study/getAllRelationStudyList/${studyId}`,
|
||||
method: 'get'
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function getTrialListByReviewer(param) {
|
||||
@@ -134,7 +135,7 @@ export function AddAdjudicationReport(param) {
|
||||
}
|
||||
|
||||
export function getVisitStudyList(trialId, subjectVisitId, isReading, visitTaskId) {
|
||||
let url = `/SubjectVisit/getVisitStudyList/${trialId}/${subjectVisitId}/${isReading}`
|
||||
let url = `/SubjectVisit/getVisitStudyList/${trialId}/${subjectVisitId}/${isReading}`
|
||||
url = visitTaskId ? `${url}?visitTaskId=${visitTaskId}` : url
|
||||
return request({
|
||||
url: url,
|
||||
|
||||
@@ -123,7 +123,7 @@ export default {
|
||||
components: { DicomTags },
|
||||
computed: {
|
||||
NSTip() {
|
||||
return `${this.$store.state.trials.uploadSize},NS: ${this.$store.state.trials.uploadTip}`
|
||||
return `${this.$store.state.trials.uploadSize}, NS: ${this.$store.state.trials.uploadTip}`
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -1076,7 +1076,7 @@ const actions = {
|
||||
let file = series.instanceInfoList.find(item => item.ImageId === obj.imageId)
|
||||
if (file) {
|
||||
getNetWorkSpeed()
|
||||
setNetWorkSpeedSizeAll(obj.percentComplete, file.FileSize, obj.imageId)
|
||||
setNetWorkSpeedSizeAll(obj.percentComplete, obj.FileTotal, obj.imageId)
|
||||
}
|
||||
if (prefetchInstanceCount >= instanceCount * 100) {
|
||||
series.prefetchInstanceCount = instanceCount * 100
|
||||
|
||||
@@ -861,7 +861,7 @@ export default {
|
||||
let file = this.seriesList[seriesIndex].instanceInfoList.find(item => item.ImageId === imageId)
|
||||
if (file && this.activeSeriesId === this.seriesList[seriesIndex].seriesId) {
|
||||
getNetWorkSpeed()
|
||||
setNetWorkSpeedSize(percentComplete, file.FileSize, imageId)
|
||||
setNetWorkSpeedSize(percentComplete, e.detail.total, imageId)
|
||||
}
|
||||
if (prefetchInstanceCount >= instanceCount * 100) {
|
||||
this.seriesList[seriesIndex].prefetchInstanceCount = instanceCount * 100
|
||||
|
||||
@@ -704,7 +704,10 @@ export default {
|
||||
spinner: 'el-icon-loading'
|
||||
})
|
||||
try {
|
||||
const res = await getAllRelationStudyList(this.subjectVisitId)
|
||||
let params = {
|
||||
IsReading: !!this.isReading
|
||||
}
|
||||
const res = await getAllRelationStudyList(this.subjectVisitId, params)
|
||||
loading.close()
|
||||
this.relationStudyList = res.Result
|
||||
this.relationStudyListByVisitName = []
|
||||
@@ -749,7 +752,8 @@ export default {
|
||||
spinner: 'el-icon-loading'
|
||||
})
|
||||
try {
|
||||
const data = await getSeriesList(`/series/list/${studyId}`)
|
||||
let isReading = !!this.isReading ? `?IsReading=true` : ''
|
||||
const data = await getSeriesList(`/series/list/${studyId}${isReading}`)
|
||||
loading.close()
|
||||
if (data.Result != null && data.Result.length > 0) {
|
||||
var seriesList = []
|
||||
@@ -917,7 +921,7 @@ export default {
|
||||
let file = series.instanceInfoList.find(item => item.ImageId === imageId)
|
||||
if (file && this.activeSeriesId === series.seriesId) {
|
||||
getNetWorkSpeed()
|
||||
setNetWorkSpeedSize(percentComplete, file.FileSize, imageId)
|
||||
setNetWorkSpeedSize(percentComplete, e.detail.total, imageId)
|
||||
}
|
||||
if (prefetchInstanceCount >= instanceCount * 100) {
|
||||
series.prefetchInstanceCount = instanceCount * 100
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
|
||||
<div v-if="(visitTaskList.length > 0)" style="display: flex;flex-direction: row;">
|
||||
<div v-for="s in visitTaskList" :key="s.VisitTaskId" class="visit-item"
|
||||
:class="{ 'visit-item-active': activeTaskVisitId == s.VisitTaskId }" @click.prevent="handleClick(s)">{{
|
||||
:class="{ 'visit-item-active': activeTaskVisitId == s.VisitTaskId }" @click.prevent="handleClick(s)">
|
||||
{{
|
||||
s.TaskBlindName }}</div>
|
||||
|
||||
</div>
|
||||
@@ -510,13 +511,13 @@ export default {
|
||||
},
|
||||
cornerstoneimageloadprogress(e) {
|
||||
const imageId = e.detail.imageId
|
||||
console.log(imageId,'imageId')
|
||||
const params = {}
|
||||
const searchParams = new URLSearchParams(imageId.split('?')[1])
|
||||
for (const [key, value] of searchParams.entries()) {
|
||||
params[key] = value
|
||||
}
|
||||
params.percentComplete = e.detail.percentComplete
|
||||
params.FileTotal = e.detail.total
|
||||
params.imageId = imageId
|
||||
store.dispatch('reading/setImageLoadedProgress', params)
|
||||
}
|
||||
|
||||
@@ -663,6 +663,7 @@ export default {
|
||||
params[key] = value
|
||||
}
|
||||
params.percentComplete = e.detail.percentComplete
|
||||
params.FileTotal = e.detail.total
|
||||
params.imageId = imageId
|
||||
store.dispatch('reading/setImageLoadedProgress', params)
|
||||
}
|
||||
|
||||
@@ -1326,7 +1326,7 @@ export default {
|
||||
let file = series.find(item => item.ImageId === imageId)
|
||||
if (file) {
|
||||
getNetWorkSpeed()
|
||||
setNetWorkSpeedSizeAll(percentComplete, file.FileSize, imageId)
|
||||
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
|
||||
}
|
||||
if (percentComplete === 100) {
|
||||
workSpeedclose()
|
||||
|
||||
@@ -824,7 +824,8 @@
|
||||
{{ $t('trials:audit:button:reviewTask') }}
|
||||
</el-button>
|
||||
<!-- 指派 -->
|
||||
<el-button :disabled="isAudit" size="small" type="primary" round @click="handleAssign">
|
||||
<el-button :disabled="isAudit" v-if="SecondReviewState <= 0" size="small" type="primary" round
|
||||
@click="handleAssign">
|
||||
{{ $t('trials:audit:button:assign') }}
|
||||
</el-button>
|
||||
<!-- 保存 -->
|
||||
|
||||
Reference in New Issue
Block a user