Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
commit
756750783c
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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]
|
||||||
|
|
|
||||||
|
|
@ -64,16 +64,13 @@
|
||||||
<el-table-column :label="$t('trials:data-sync:table:filePath')" prop="Path" min-width="90" show-overflow-tooltip/>
|
<el-table-column :label="$t('trials:data-sync:table:filePath')" prop="Path" min-width="90" show-overflow-tooltip/>
|
||||||
<el-table-column :label="$t('trials:data-sync:table:jobState')" prop="JobState" min-width="90" show-overflow-tooltip sortable="custom">
|
<el-table-column :label="$t('trials:data-sync:table:jobState')" prop="JobState" min-width="90" show-overflow-tooltip sortable="custom">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.JobState === 1" type="infoinf0">
|
<el-tag v-if="scope.row.JobState === 1" type="info">
|
||||||
{{ $fd('JobState', scope.row.JobState) }}
|
|
||||||
</el-tag>
|
|
||||||
<el-tag v-else-if="scope.row.JobState === 1" type="warning">
|
|
||||||
{{ $fd('JobState', scope.row.JobState) }}
|
{{ $fd('JobState', scope.row.JobState) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag v-else-if="scope.row.JobState === 2" type="success">
|
<el-tag v-else-if="scope.row.JobState === 2" type="success">
|
||||||
{{ $fd('JobState', scope.row.JobState) }}
|
{{ $fd('JobState', scope.row.JobState) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag v-else-if="scope.row.JobState === 3" type="danger">
|
<el-tag v-else-if="scope.row.JobState === 3" type="danger" :title="scope.row.Msg">
|
||||||
{{ $fd('JobState', scope.row.JobState) }}
|
{{ $fd('JobState', scope.row.JobState) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag v-else>{{ $fd('JobState', scope.row.JobState) }}</el-tag>
|
<el-tag v-else>{{ $fd('JobState', scope.row.JobState) }}</el-tag>
|
||||||
|
|
@ -136,7 +133,9 @@ export default {
|
||||||
},
|
},
|
||||||
rowInfo: {
|
rowInfo: {
|
||||||
type: Object,
|
type: Object,
|
||||||
required: true,
|
default() {
|
||||||
|
return {}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
@ -198,7 +197,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
let params = {
|
let params = {
|
||||||
fileUploadRecordIdList: [row.Id]
|
fileUploadRecordIdList: [row.FileUploadRecordId]
|
||||||
}
|
}
|
||||||
let res = await batchAddSyncFileTask(params)
|
let res = await batchAddSyncFileTask(params)
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ export default {
|
||||||
activeTab: 'study',
|
activeTab: 'study',
|
||||||
tabInfo: {
|
tabInfo: {
|
||||||
activeTab: 'file',
|
activeTab: 'file',
|
||||||
currentRow: null
|
currentRow: {}
|
||||||
},
|
},
|
||||||
fileUploadRecordId: '',
|
fileUploadRecordId: '',
|
||||||
path: ''
|
path: ''
|
||||||
|
|
@ -52,7 +52,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openTaskTable(obj) {
|
openTaskTable(obj) {
|
||||||
this.tabInfo.currentRow = obj || null
|
this.tabInfo.currentRow = obj || {}
|
||||||
this.fileUploadRecordId = obj.Id
|
this.fileUploadRecordId = obj.Id
|
||||||
this.path = obj.Path
|
this.path = obj.Path
|
||||||
this.tabInfo.activeTab = 'task'
|
this.tabInfo.activeTab = 'task'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue