导出radionuclide Activity接口 增加日期参数
This commit is contained in:
parent
2f147ed144
commit
320dab11f0
|
@ -10,10 +10,10 @@
|
||||||
<a-form-model class="search-form">
|
<a-form-model class="search-form">
|
||||||
<div class="time-pickers">
|
<div class="time-pickers">
|
||||||
<a-form-model-item label="Activity reference time">
|
<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>
|
||||||
<a-form-model-item label="Concentration reference time">
|
<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>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
<a-space class="operators" :size="20">
|
<a-space class="operators" :size="20">
|
||||||
|
@ -112,6 +112,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
arDateChange(mont, date) {
|
||||||
|
this.queryParam.activityReferenceTime = date
|
||||||
|
},
|
||||||
|
crDateChange(mont, date) {
|
||||||
|
this.queryParam.concentrationReferenceTime = date
|
||||||
|
},
|
||||||
// 切换比较
|
// 切换比较
|
||||||
handleComparision() {
|
handleComparision() {
|
||||||
this.compareVisible = !this.compareVisible
|
this.compareVisible = !this.compareVisible
|
||||||
|
@ -176,6 +182,8 @@ export default {
|
||||||
let params = {
|
let params = {
|
||||||
sampleId,
|
sampleId,
|
||||||
fileName,
|
fileName,
|
||||||
|
arTime: this.queryParam.activityReferenceTime,
|
||||||
|
crTime: this.queryParam.concentrationReferenceTime,
|
||||||
}
|
}
|
||||||
getFileAction('/gamma/exportRadionuclideActivity', params).then((res) => {
|
getFileAction('/gamma/exportRadionuclideActivity', params).then((res) => {
|
||||||
if (res.code && res.code == 500) {
|
if (res.code && res.code == 500) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user