小bug
This commit is contained in:
parent
e0cc367300
commit
0e2b5316c6
|
|
@ -1,8 +1,8 @@
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import router from '@/router'
|
import router from '@/router'
|
||||||
const requests = axios.create({
|
const requests = axios.create({
|
||||||
baseURL:"/lh-api",
|
baseURL: "/lh-api",
|
||||||
timeout:20000,
|
timeout: 45000,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="switchStation">
|
<div class="switchStation">
|
||||||
<el-select v-model="stationCode" placeholder="切换站点" @change="switchStation" >
|
<el-select v-model="stationCode" placeholder="切换站点" @change="switchStation" >
|
||||||
<el-option v-for="item in stationList" :key="item.stationCode" :label="item.stationName" :value="item.stationCode"></el-option>
|
<el-option v-for="item in stationList" :key="item.stationCode" :label="item.stationShortName||item.stationName" :value="item.stationCode"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<div class="leftBox right baseBoxHjleft" style="width:22.5%">
|
<div class="leftBox right baseBoxHjleft" style="width:22.5%">
|
||||||
|
|
@ -700,12 +700,7 @@ export default {
|
||||||
stationInfo().then(res => {
|
stationInfo().then(res => {
|
||||||
this.stationInfoList = res.result
|
this.stationInfoList = res.result
|
||||||
if (this.stationInfoList) {
|
if (this.stationInfoList) {
|
||||||
res.result.map(item => {
|
this.stationList = res.result
|
||||||
this.stationList.push({
|
|
||||||
stationCode: item.stationCode,
|
|
||||||
stationName: item.stationName,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -2410,7 +2405,7 @@ a:hover {
|
||||||
right: 450px;
|
right: 450px;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
width: 180px
|
width: 170px
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue