pacs拉取批量
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2024-12-13 16:38:07 +08:00
parent 46c64369d8
commit beb96f272f
1 changed files with 23 additions and 2 deletions

View File

@ -180,6 +180,14 @@
> >
{{ $t('common:button:reset') }} {{ $t('common:button:reset') }}
</el-button> </el-button>
<!-- 拉取 -->
<el-button
type="primary"
:disabled="!multipleSelection || multipleSelection.length <= 0"
@click="pullImage()"
>
{{ $t('trials:inspection:button:pull') }}
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -193,8 +201,10 @@
height="100" height="100"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
:default-sort="{ prop: 'StartTime', order: 'descending' }" :default-sort="{ prop: 'StartTime', order: 'descending' }"
@selection-change="handleSelectionChange"
> >
<el-table-column type="index" width="40" /> <el-table-column type="selection" width="55" />
<!-- <el-table-column type="index" width="40" /> -->
<!--patientID--> <!--patientID-->
<el-table-column <el-table-column
prop="PatientID" prop="PatientID"
@ -353,6 +363,7 @@ export default {
list: [], list: [],
total: 0, total: 0,
AElist: [], AElist: [],
multipleSelection: [],
} }
}, },
created() { created() {
@ -473,7 +484,14 @@ export default {
if (!confirm) return false if (!confirm) return false
let data = { let data = {
PacsDicomAEId: this.searchData.PacsDicomAEId, PacsDicomAEId: this.searchData.PacsDicomAEId,
studyIDList: [row.StudyID], // studyIDList: [row.StudyID],
}
if (row) {
data.StudyInstanceUIDList = [row.StudyInstanceUID]
} else {
data.StudyInstanceUIDList = this.multipleSelection.map(
(item) => item.StudyInstanceUID
)
} }
this.loading = true this.loading = true
let res = await cmoveStudyList(data) let res = await cmoveStudyList(data)
@ -488,6 +506,9 @@ export default {
console.log(err) console.log(err)
} }
}, },
handleSelectionChange(val) {
this.multipleSelection = val
},
}, },
} }
</script> </script>