This commit is contained in:
wgx 2026-07-30 18:33:12 +08:00
parent e0cc367300
commit 0e2b5316c6
2 changed files with 5 additions and 10 deletions

View File

@ -1,8 +1,8 @@
import axios from "axios";
import router from '@/router'
const requests = axios.create({
baseURL:"/lh-api",
timeout:20000,
baseURL: "/lh-api",
timeout: 45000,
});

View File

@ -175,7 +175,7 @@
</div>
<div class="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>
</div>
<div class="leftBox right baseBoxHjleft" style="width:22.5%">
@ -700,12 +700,7 @@ export default {
stationInfo().then(res => {
this.stationInfoList = res.result
if (this.stationInfoList) {
res.result.map(item => {
this.stationList.push({
stationCode: item.stationCode,
stationName: item.stationName,
})
})
this.stationList = res.result
}
})
},
@ -2410,7 +2405,7 @@ a:hover {
right: 450px;
cursor:pointer;
z-index: 2000;
width: 180px
width: 170px
}
</style>