From e2026177a1cbe052001ece3100c24283017e8a94 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Thu, 5 Sep 2024 13:55:09 +0800 Subject: [PATCH] =?UTF-8?q?ir=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8=E9=9D=9E?= =?UTF-8?q?dicom=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uploadDicomAndNonedicom/nonedicomFile.vue | 634 ++++++++++++++++-- 1 file changed, 594 insertions(+), 40 deletions(-) diff --git a/src/components/uploadDicomAndNonedicom/nonedicomFile.vue b/src/components/uploadDicomAndNonedicom/nonedicomFile.vue index 7b2e343c..74cb28b5 100644 --- a/src/components/uploadDicomAndNonedicom/nonedicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/nonedicomFile.vue @@ -9,6 +9,8 @@ style="width: 100%" v-adaptive="{ bottomOffset: 40 }" :loading="loading" + @sort-change="handleSortByColumn" + :default-sort="{ prop: 'TaskBlindName', order: 'descending' }" > - - + - - - - - - - {{ $t('trials:audit:button:nonDicomsPreview') }} - - - - - - - {{ scope.row.FileCount }} - - - - {{ scope.row.FileCount }} + + + + + + + + {{ $t('trials:audit:button:nonDicomsPreview') }} + + + + + + + {{ scope.row.FileCount }} + + + + {{ scope.row.FileCount }} + + > + + + + + + + + + + {{ $t('trials:audit:button:nonDicomsPreview') }} + + + + + + + {{ scope.row.UploadedFileCount }} + + + + {{ scope.row.UploadedFileCount }} + + @@ -112,7 +160,7 @@ @@ -131,10 +179,161 @@ /> + + + + + {{ + $t('trials:uploadNonDicoms:label:fileType') + }} + + + + + {{ $t('trials:uploadNonDicoms:button:selectFolder') }} + + + + + + {{ $t('trials:uploadNonDicoms:button:select') }} + + + {{ + $store.state.trials.uploadTip + }} + + + + + + + + + + + + {{ + scope.row.size && scope.row.size > 0 + ? `${(scope.row.size / 1024 / 1024).toFixed(2)}MB` + : 0 + }} + + + + + + + + {{ $fd('NoneDicomUploadStatus', scope.row.status) }} + + + + + + + + + + + + + + + + + {{ $t('trials:uploadNonDicoms:action:upload') }} + + + @@ -205,4 +720,43 @@ export default { .top { margin: 10px 0; } +.upload { + display: inline-block; + height: 30px; + width: 90px; + padding: 2px 10px; + line-height: 23px; + position: relative; + text-decoration: none; + border-radius: 3px; + overflow: hidden; + text-align: center; + background: #428bca; + border-color: #428bca; + color: #fff; + .select-file { + height: 30px; + width: 90px; + position: absolute; + overflow: hidden; + left: 0; + top: 0; + opacity: 0; + font-size: 0; + } + .btn-select { + //给显示在页面上的按钮写样式 + width: 90px; + height: 30px; + line-height: 30px; + text-align: center; + cursor: pointer; + border-radius: 24px; + overflow: hidden; + position: absolute; + top: 0; + left: 0; + pointer-events: none; //pointer-events:none用来控制该标签的点击穿透事件 + } +} \ No newline at end of file