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