This commit is contained in:
HuangHai
2026-01-18 16:17:09 +08:00
parent 88d2dbb01f
commit 155d44ff4f
4 changed files with 4 additions and 6 deletions

View File

@@ -47,8 +47,7 @@ async def list_ylt_stations(q: Optional[str] = None):
FROM t_station_profile_scd p FROM t_station_profile_scd p
LEFT JOIN t_station_status_scd s LEFT JOIN t_station_status_scd s
ON p.station_hash = s.station_hash AND s.is_current = 1 ON p.station_hash = s.station_hash AND s.is_current = 1
WHERE p.is_current = 1 WHERE p.operator = '驿来特'
AND p.operator = '驿来特'
""" """
params: Dict[str, Any] = {} params: Dict[str, Any] = {}
if q: if q:

View File

@@ -9,8 +9,6 @@
<div id="app"> <div id="app">
<div class="left-panel"> <div class="left-panel">
<div class="controls"> <div class="controls">
<span class="label">API</span>
<input v-model="apiBase" style="min-width:220px;">
<span class="label">搜索驿来特场站</span> <span class="label">搜索驿来特场站</span>
<input v-model="searchKeyword" placeholder="输入名称或地址关键字" style="min-width:220px;"> <input v-model="searchKeyword" placeholder="输入名称或地址关键字" style="min-width:220px;">
<button @click="loadStations">查询场站</button> <button @click="loadStations">查询场站</button>

View File

@@ -87,6 +87,8 @@ series:series
} }
initChart() initChart()
chartInstance.setOption(option) chartInstance.setOption(option)
}catch(e){
console.error(e)
}finally{ }finally{
loading.value = false loading.value = false
} }
@@ -129,7 +131,6 @@ return v.toFixed(2)
} }
return v return v
} }
return {apiBase,stationHash,aiText,placeholder,loading,aiLoading,stations,searchKeyword,selectedStation,priceTableColumns,priceTableRows,loadStations,loadComparison,selectStation,startAiStream,formatCell} return {stationHash,aiText,placeholder,loading,aiLoading,stations,searchKeyword,selectedStation,priceTableColumns,priceTableRows,loadStations,loadComparison,selectStation,startAiStream,formatCell}
} }
}).mount("#app") }).mount("#app")