导出radionuclide Activity接口 增加日期参数

This commit is contained in:
任珮宇 2024-01-18 17:57:52 +08:00
parent 2f147ed144
commit 320dab11f0

View File

@ -10,10 +10,10 @@
<a-form-model class="search-form">
<div class="time-pickers">
<a-form-model-item label="Activity reference time">
<custom-date-picker show-time v-model="queryParam.activityReferenceTime" />
<custom-date-picker show-time v-model="queryParam.activityReferenceTime" @change="arDateChange" />
</a-form-model-item>
<a-form-model-item label="Concentration reference time">
<custom-date-picker show-time v-model="queryParam.concentrationReferenceTime" />
<custom-date-picker show-time v-model="queryParam.concentrationReferenceTime" @change="crDateChange" />
</a-form-model-item>
</div>
<a-space class="operators" :size="20">
@ -112,6 +112,12 @@ export default {
}
},
methods: {
arDateChange(mont, date) {
this.queryParam.activityReferenceTime = date
},
crDateChange(mont, date) {
this.queryParam.concentrationReferenceTime = date
},
//
handleComparision() {
this.compareVisible = !this.compareVisible
@ -176,6 +182,8 @@ export default {
let params = {
sampleId,
fileName,
arTime: this.queryParam.activityReferenceTime,
crTime: this.queryParam.concentrationReferenceTime,
}
getFileAction('/gamma/exportRadionuclideActivity', params).then((res) => {
if (res.code && res.code == 500) {