From 613d434af920c695ef485edacb85ec5476687262 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 10 Jun 2025 18:02:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/trials.js | 24 ++ .../trial-summary/image-summary/index.vue | 289 ++++++++++++++++ .../trial-summary/upload-monitor/index.vue | 320 +++++------------- 3 files changed, 399 insertions(+), 234 deletions(-) create mode 100644 src/views/trials/trials-panel/trial-summary/image-summary/index.vue diff --git a/src/api/trials.js b/src/api/trials.js index 2ab75d4e..2464000d 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -4173,4 +4173,28 @@ export function setTrialShowInspection(data) { method: 'post', data }) +} +// 影像汇总-获取列表 +export function getTrialVisitImageStatList(data) { + return request({ + url: `/DownloadAndUpload/getTrialVisitImageStatList`, + method: 'post', + data + }) +} +// 影像汇总-获取统计 +export function getTrialVisitImageStatInfo(params) { + return request({ + url: `/DownloadAndUpload/getTrialVisitImageStatInfo`, + method: 'get', + params + }) +} +// 影像汇总-影像下载 +export function getExportSubjectVisitImageList(data) { + return request({ + url: `/DownloadAndUpload/getExportSubjectVisitImageList`, + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/trials/trials-panel/trial-summary/image-summary/index.vue b/src/views/trials/trials-panel/trial-summary/image-summary/index.vue new file mode 100644 index 00000000..f65e1c41 --- /dev/null +++ b/src/views/trials/trials-panel/trial-summary/image-summary/index.vue @@ -0,0 +1,289 @@ + + + \ No newline at end of file diff --git a/src/views/trials/trials-panel/trial-summary/upload-monitor/index.vue b/src/views/trials/trials-panel/trial-summary/upload-monitor/index.vue index 572734d5..e551c524 100644 --- a/src/views/trials/trials-panel/trial-summary/upload-monitor/index.vue +++ b/src/views/trials/trials-panel/trial-summary/upload-monitor/index.vue @@ -5,45 +5,20 @@ - - + + - + - - - + + + {{ item.VisitName }} @@ -54,50 +29,25 @@ - - + + - + - - + + - + :end-placeholder="$t('trials:loginLog:table:endTime')" value-format="yyyy-MM-dd HH:mm:ss" + @change="handleDatetimeChange" /> @@ -105,234 +55,119 @@ {{ $t('common:button:search') }} - + {{ $t('common:button:reset') }} - + {{ $t('common:button:export') }} - +
-
- {{ $t('trials:uploadDicomList:table:FailedNumber') }}: - {{ lookText.Failed.length }} - {{ $t('trials:uploadDicomList:table:ExistedNumber') }}: - {{ lookText.Existed.length }} - {{ $t('trials:uploadDicomList:table:UploadedNumber') }}: - {{ lookText.Uploaded.length }} + "> + {{ $t('trials:uploadDicomList:table:FailedNumber') }}: + {{ lookText.Failed.length }} + {{ $t('trials:uploadDicomList:table:ExistedNumber') }}: + {{ lookText.Existed.length }} + {{ $t('trials:uploadDicomList:table:UploadedNumber') }}: + {{ lookText.Uploaded.length }}
@@ -379,6 +214,7 @@ import { getStudyUploadMonitor_Export } from '@/api/export' import Pagination from '@/components/Pagination' import BaseContainer from '@/components/BaseContainer' import BaseModel from '@/components/BaseModel' +import { changeURLStatic } from '@/utils/history.js' import axios from 'axios' const searchDataDefault = () => { return { @@ -421,10 +257,26 @@ export default { if (this.$route.query.studyCode) { this.searchData.StudyCode = this.$route.query.studyCode } + if (this.$route.query.siteId) { + this.searchData.TrialSiteId = this.$route.query.siteId + } + if (this.$route.query.subjectCode) { + this.searchData.SubjectInfo = this.$route.query.subjectCode + } + if (this.$route.query.visitNum || this.$route.query.visitNum === 0) { + this.searchData.VisitPlanArray = [Number(this.$route.query.visitNum)] + } this.getList() this.getVisitPlanOptions() + this.clearnUrl() }, methods: { + clearnUrl() { + changeURLStatic('siteId', '') + changeURLStatic('subjectCode', '') + changeURLStatic('visitNum', '') + + }, async handleLook(row) { this.lookVisible = true var htmlUrl = this.OSSclientConfig.basePath + row.RecordPath @@ -482,8 +334,8 @@ export default { }, handleExport() { getStudyUploadMonitor_Export(this.searchData) - .then((res) => {}) - .catch(() => {}) + .then((res) => { }) + .catch(() => { }) }, handleDatetimeChange(val) { if (val) {