from db 中 sampleType = all 的时候 默认不勾选 sample
This commit is contained in:
parent
b81d5a9797
commit
dc9664de47
|
@ -114,7 +114,7 @@ export default {
|
|||
return {
|
||||
queryParam: {
|
||||
menuTypes: 'G,B',
|
||||
sampleType: 'P',
|
||||
sampleType: '',
|
||||
startDate: moment().add(-7, 'd').format('YYYY-MM-DD'),
|
||||
endDate: moment().format('YYYY-MM-DD'),
|
||||
dbName: 'auto',
|
||||
|
@ -326,13 +326,19 @@ export default {
|
|||
]
|
||||
if (event == 'B') {
|
||||
this.sampleTypeOption = arr_B
|
||||
this.queryParam.sampleType = 'B'
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.sampleType = 'B'
|
||||
})
|
||||
} else if (event == 'G') {
|
||||
this.sampleTypeOption = arr_G
|
||||
this.queryParam.sampleType = 'P'
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.sampleType = 'P'
|
||||
})
|
||||
} else {
|
||||
this.sampleTypeOption = arr_A
|
||||
this.queryParam.sampleType = 'P'
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.sampleType = ''
|
||||
})
|
||||
}
|
||||
this.getStationAndDetectorList(event)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user