影像汇总导出表格
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-06-17 16:43:55 +08:00
parent 24ff1772dd
commit a14451b82b
2 changed files with 20 additions and 4 deletions

View File

@ -72,7 +72,14 @@ export function getReadingTaskList_Export(param) {
data: param data: param
}) })
} }
export function getTrialVisitImageStatList_Export(param) {
return requestDownload({
url: '/ExcelExport/getTrialVisitImageStatList_Export',
method: 'post',
responseType: 'blob',
data: param
})
}
export function getReReadingTaskList_Export(param) { export function getReReadingTaskList_Export(param) {
return requestDownload({ return requestDownload({
url: '/ExcelExport/getReReadingTaskList_Export', url: '/ExcelExport/getReReadingTaskList_Export',

View File

@ -66,10 +66,10 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.IsHaveDicom" type="primary">{{ <el-tag v-if="scope.row.IsHaveDicom" type="primary">{{
$fd('IsDicom', true) $fd('IsDicom', true)
}}</el-tag> }}</el-tag>
<el-tag v-if="scope.row.IsHaveNoneDicom" type="primary">{{ <el-tag v-if="scope.row.IsHaveNoneDicom" type="primary">{{
$fd('IsDicom', false) $fd('IsDicom', false)
}}</el-tag> }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<!-- 影像数量 --> <!-- 影像数量 -->
@ -114,6 +114,7 @@ import Pagination from '@/components/Pagination'
import BaseContainer from '@/components/BaseContainer' import BaseContainer from '@/components/BaseContainer'
import { getTrialSiteSelect, getTrialVisitImageStatList, getTrialVisitImageStatInfo, getExportSubjectVisitImageList } from '@/api/trials' import { getTrialSiteSelect, getTrialVisitImageStatList, getTrialVisitImageStatInfo, getExportSubjectVisitImageList } from '@/api/trials'
import { downLoadFile } from '@/utils/stream.js' import { downLoadFile } from '@/utils/stream.js'
import { getTrialVisitImageStatList_Export } from '@/api/export'
const searchDataDefault = () => { const searchDataDefault = () => {
return { return {
SortField: '', SortField: '',
@ -168,7 +169,15 @@ export default {
} }
}, },
// //
handleExport() { }, async handleExport() {
this.loading = true
try {
await getTrialVisitImageStatList_Export(this.searchData)
this.loading = false
} catch (e) {
this.loading = false
}
},
// //
async handleExportImage(IsKeyImage = false) { async handleExportImage(IsKeyImage = false) {
try { try {