caiyiling 2026-05-19 13:32:23 +08:00
parent 730a375509
commit 375a7e7071
2 changed files with 13 additions and 12 deletions

View File

@ -446,9 +446,7 @@ export default {
}) })
} }
this.stack.currentImageIdIndex = e.detail.newImageIdIndex this.stack.currentImageIdIndex = e.detail.newImageIdIndex
this.height = this.height = this.getStackHeightPercent()
(this.stack.currentImageIdIndex * 100) /
(this.stack.imageIds.length - 1)
// var priority = new Date(new Date().setHours(23, 59, 59, 999)).getTime() // var priority = new Date(new Date().setHours(23, 59, 59, 999)).getTime()
// requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, priority) // requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, priority)

View File

@ -83,6 +83,7 @@ export default {
// document.cookie = 'TrialId=' + this.$route.query.trialId + ';path=/' // document.cookie = 'TrialId=' + this.$route.query.trialId + ';path=/'
}, },
trialId(v) { trialId(v) {
if (!this.$route.query.trialId) return
getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => { getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => {
var total = res.OtherInfo.NeedSignCount var total = res.OtherInfo.NeedSignCount
var TrialStatusStr = res.OtherInfo.TrialStatusStr var TrialStatusStr = res.OtherInfo.TrialStatusStr
@ -100,15 +101,17 @@ export default {
if (~url.indexOf('?')) { if (~url.indexOf('?')) {
query = url.split('?')[1] query = url.split('?')[1]
} }
getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => { if (this.$route.query.trialId) {
var total = res.OtherInfo.NeedSignCount getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => {
var TrialStatusStr = res.OtherInfo.TrialStatusStr var total = res.OtherInfo.NeedSignCount
this.IsAdditionalAssessment = res.OtherInfo.IsAdditionalAssessment var TrialStatusStr = res.OtherInfo.TrialStatusStr
this.TrialStatusStr = TrialStatusStr this.IsAdditionalAssessment = res.OtherInfo.IsAdditionalAssessment
await store.dispatch('user/setTotalNeedSignTrialDocCount', total) this.TrialStatusStr = TrialStatusStr
await store.dispatch('user/setTrialStatusStr', TrialStatusStr) await store.dispatch('user/setTotalNeedSignTrialDocCount', total)
this.TrialConfig = res.OtherInfo.TrialConfig await store.dispatch('user/setTrialStatusStr', TrialStatusStr)
}) this.TrialConfig = res.OtherInfo.TrialConfig
})
}
this.selectedTab() this.selectedTab()
this.getTrialList() this.getTrialList()
var firstGoIn = this.trialsRouter.children.find(v => { return v.name === 'TrialsPanel' }).children[0] var firstGoIn = this.trialsRouter.children.find(v => { return v.name === 'TrialsPanel' }).children[0]