From 375a7e7071b062a5d77bdb8ef85b882e50cd283b Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Tue, 19 May 2026 13:32:23 +0800
Subject: [PATCH 1/3] 1
---
src/components/Dicom/DicomCanvas.vue | 4 +---
src/components/TrialsTab/index.vue | 21 ++++++++++++---------
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/components/Dicom/DicomCanvas.vue b/src/components/Dicom/DicomCanvas.vue
index 359d68d1..76a51e54 100644
--- a/src/components/Dicom/DicomCanvas.vue
+++ b/src/components/Dicom/DicomCanvas.vue
@@ -446,9 +446,7 @@ export default {
})
}
this.stack.currentImageIdIndex = e.detail.newImageIdIndex
- this.height =
- (this.stack.currentImageIdIndex * 100) /
- (this.stack.imageIds.length - 1)
+ this.height = this.getStackHeightPercent()
// var priority = new Date(new Date().setHours(23, 59, 59, 999)).getTime()
// requestPoolManager.loadAndCacheImagePlus(this.stack.imageIds[this.stack.currentImageIdIndex], this.stack.seriesId, priority)
diff --git a/src/components/TrialsTab/index.vue b/src/components/TrialsTab/index.vue
index 7de46957..f8955262 100644
--- a/src/components/TrialsTab/index.vue
+++ b/src/components/TrialsTab/index.vue
@@ -83,6 +83,7 @@ export default {
// document.cookie = 'TrialId=' + this.$route.query.trialId + ';path=/'
},
trialId(v) {
+ if (!this.$route.query.trialId) return
getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => {
var total = res.OtherInfo.NeedSignCount
var TrialStatusStr = res.OtherInfo.TrialStatusStr
@@ -100,15 +101,17 @@ export default {
if (~url.indexOf('?')) {
query = url.split('?')[1]
}
- getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => {
- var total = res.OtherInfo.NeedSignCount
- var TrialStatusStr = res.OtherInfo.TrialStatusStr
- this.IsAdditionalAssessment = res.OtherInfo.IsAdditionalAssessment
- this.TrialStatusStr = TrialStatusStr
- await store.dispatch('user/setTotalNeedSignTrialDocCount', total)
- await store.dispatch('user/setTrialStatusStr', TrialStatusStr)
- this.TrialConfig = res.OtherInfo.TrialConfig
- })
+ if (this.$route.query.trialId) {
+ getUserDocumentList({ TrialId: this.$route.query.trialId }).then(async res => {
+ var total = res.OtherInfo.NeedSignCount
+ var TrialStatusStr = res.OtherInfo.TrialStatusStr
+ this.IsAdditionalAssessment = res.OtherInfo.IsAdditionalAssessment
+ this.TrialStatusStr = TrialStatusStr
+ await store.dispatch('user/setTotalNeedSignTrialDocCount', total)
+ await store.dispatch('user/setTrialStatusStr', TrialStatusStr)
+ this.TrialConfig = res.OtherInfo.TrialConfig
+ })
+ }
this.selectedTab()
this.getTrialList()
var firstGoIn = this.trialsRouter.children.find(v => { return v.name === 'TrialsPanel' }).children[0]
From 04014ab524ca52ebe0a95504051fcda00c69af1d Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Tue, 19 May 2026 15:26:06 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=85=B6=E4=BB=96=E7=B1=BB=E5=9E=8B?=
=?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=E6=9B=B4?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../trial-summary/data-sync/components/TaskList.vue | 4 +++-
.../trials/trials-panel/trial-summary/data-sync/index.vue | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue
index 2ebac8b2..0356b741 100644
--- a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue
+++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue
@@ -136,7 +136,9 @@ export default {
},
rowInfo: {
type: Object,
- required: true,
+ default() {
+ return {}
+ }
},
},
data() {
diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue
index 8fa642f3..d269e1fa 100644
--- a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue
@@ -44,7 +44,7 @@ export default {
activeTab: 'study',
tabInfo: {
activeTab: 'file',
- currentRow: null
+ currentRow: {}
},
fileUploadRecordId: '',
path: ''
@@ -52,7 +52,7 @@ export default {
},
methods: {
openTaskTable(obj) {
- this.tabInfo.currentRow = obj || null
+ this.tabInfo.currentRow = obj || {}
this.fileUploadRecordId = obj.Id
this.path = obj.Path
this.tabInfo.activeTab = 'task'
From a9d62cf28ddfdf2b4a9c00aaab532647c5f272e2 Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Wed, 20 May 2026 09:01:43 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=BA=A7=E5=88=AB?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../trial-summary/data-sync/components/TaskList.vue | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue
index 0356b741..0ad6bcc4 100644
--- a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue
+++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue
@@ -64,16 +64,13 @@
-
- {{ $fd('JobState', scope.row.JobState) }}
-
-
+
{{ $fd('JobState', scope.row.JobState) }}
{{ $fd('JobState', scope.row.JobState) }}
-
+
{{ $fd('JobState', scope.row.JobState) }}
{{ $fd('JobState', scope.row.JobState) }}
@@ -200,7 +197,7 @@ export default {
try {
this.loading = true
let params = {
- fileUploadRecordIdList: [row.Id]
+ fileUploadRecordIdList: [row.FileUploadRecordId]
}
let res = await batchAddSyncFileTask(params)
if (res.IsSuccess) {