pacs拉取批量
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
46c64369d8
commit
beb96f272f
|
@ -180,6 +180,14 @@
|
|||
>
|
||||
{{ $t('common:button:reset') }}
|
||||
</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>
|
||||
</div>
|
||||
|
@ -193,8 +201,10 @@
|
|||
height="100"
|
||||
@sort-change="handleSortByColumn"
|
||||
: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-->
|
||||
<el-table-column
|
||||
prop="PatientID"
|
||||
|
@ -353,6 +363,7 @@ export default {
|
|||
list: [],
|
||||
total: 0,
|
||||
AElist: [],
|
||||
multipleSelection: [],
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -473,7 +484,14 @@ export default {
|
|||
if (!confirm) return false
|
||||
let data = {
|
||||
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
|
||||
let res = await cmoveStudyList(data)
|
||||
|
@ -488,6 +506,9 @@ export default {
|
|||
console.log(err)
|
||||
}
|
||||
},
|
||||
handleSelectionChange(val) {
|
||||
this.multipleSelection = val
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue