探测器按照选择的station进行过滤,例如 选择了台站AUX04,那么探测器里只有AUX04的
This commit is contained in:
parent
d6a234bac5
commit
9d1910e689
|
@ -119,7 +119,7 @@ export default {
|
||||||
endDate: moment().format('YYYY-MM-DD'),
|
endDate: moment().format('YYYY-MM-DD'),
|
||||||
dbName: 'auto',
|
dbName: 'auto',
|
||||||
spectralQualifie: 'FULL',
|
spectralQualifie: 'FULL',
|
||||||
checkboxGroup: 'AcqStartB',
|
checkboxGroup: ['AcqStartB'],
|
||||||
},
|
},
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
selectionRows: [],
|
selectionRows: [],
|
||||||
|
@ -234,7 +234,7 @@ export default {
|
||||||
})
|
})
|
||||||
if (success) {
|
if (success) {
|
||||||
this.stationList = result.stationCode.map((item) => ({ label: item, value: item }))
|
this.stationList = result.stationCode.map((item) => ({ label: item, value: item }))
|
||||||
this.detectorList = result.detectorCode.map((item) => ({ label: item, value: item }))
|
this.detectorList = this.allDetectorList = result.detectorCode.map((item) => ({ label: item, value: item }))
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
}
|
}
|
||||||
|
@ -358,6 +358,13 @@ export default {
|
||||||
style: {
|
style: {
|
||||||
width: '19%',
|
width: '19%',
|
||||||
},
|
},
|
||||||
|
on: {
|
||||||
|
change: (val) => {
|
||||||
|
this.detectorList = this.allDetectorList.filter((item) => {
|
||||||
|
return item.label.includes(val)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Detector',
|
label: 'Detector',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user