fix: 修改参数

This commit is contained in:
Xu Zhimeng 2023-11-14 13:46:06 +08:00
parent a071df3b66
commit da2d6acaf3

View File

@ -151,7 +151,7 @@ export default {
}
},
created() {
this.getStationAndDetectorList(this.queryParam.menuTypes)
this.getStationAndDetectorList()
},
methods: {
loadData(arg) {
@ -227,7 +227,7 @@ export default {
},
//
async getStationAndDetectorList(value) {
async getStationAndDetectorList() {
try {
this.stationList = []
this.detectorList = []
@ -235,8 +235,6 @@ export default {
this.queryParam.detectorsName = undefined
const { success, result, message } = await getAction('/spectrumAnalysis/getDBSearchList', {
menuTypes: value,
dbName: this.queryParam.dbName,
AllUsers: this.allUsersValue,
})
if (success) {
@ -349,7 +347,6 @@ export default {
this.queryParam.sampleType = ''
})
}
this.getStationAndDetectorList(event)
},
},
},