|
@@ -201,7 +201,10 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
async getStationCode() {
|
|
|
- await this.$axios({url: '/electricfield/all', method: 'get'}).then(response => {
|
|
|
+ const param = {
|
|
|
+ "type": 'E1',
|
|
|
+ }
|
|
|
+ await this.$axios.get('/electricfield/findByType',{params: param}).then(response => {
|
|
|
this.stationList = response.data
|
|
|
if (this.stationList.length > 0) {
|
|
|
this.stationCode = this.stationList[0].value
|