|
@@ -1036,6 +1036,7 @@
|
|
v-if="mapDisplay"
|
|
v-if="mapDisplay"
|
|
:mapDisplay="mapDisplay"
|
|
:mapDisplay="mapDisplay"
|
|
:center="mapCenter"
|
|
:center="mapCenter"
|
|
|
|
+ :polylines="mapPolylines"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -1250,6 +1251,7 @@ const steps = ref([]);
|
|
// 地图相关状态
|
|
// 地图相关状态
|
|
const mapDisplay = ref(false);
|
|
const mapDisplay = ref(false);
|
|
const mapCenter = ref({ });
|
|
const mapCenter = ref({ });
|
|
|
|
+const mapPolylines = ref([]);
|
|
|
|
|
|
// 进度条弹窗相关状态
|
|
// 进度条弹窗相关状态
|
|
const showProgressModal = ref(false);
|
|
const showProgressModal = ref(false);
|
|
@@ -2292,7 +2294,7 @@ const summaryHtml=ref('')
|
|
const messageContent = enableWebSearch.value ? responseData.answer : responseData.choices[0].message.content;
|
|
const messageContent = enableWebSearch.value ? responseData.answer : responseData.choices[0].message.content;
|
|
const audioInfo = enableWebSearch.value ? responseData.audio_info?.audio : responseData.audio_info?.audio;
|
|
const audioInfo = enableWebSearch.value ? responseData.audio_info?.audio : responseData.audio_info?.audio;
|
|
const sessionId = enableWebSearch.value ? responseData.session_id : responseData.session_id;
|
|
const sessionId = enableWebSearch.value ? responseData.session_id : responseData.session_id;
|
|
- // 处理地图数据
|
|
|
|
|
|
+ // 处理地图数据
|
|
if (responseData.map_display) {
|
|
if (responseData.map_display) {
|
|
rightMenuWidth.value = 800;
|
|
rightMenuWidth.value = 800;
|
|
isRightMenuCollapsed.value = false;
|
|
isRightMenuCollapsed.value = false;
|
|
@@ -2304,6 +2306,10 @@ const summaryHtml=ref('')
|
|
if (responseData.map_display.center) {
|
|
if (responseData.map_display.center) {
|
|
mapCenter.value = responseData.map_display.center;
|
|
mapCenter.value = responseData.map_display.center;
|
|
}
|
|
}
|
|
|
|
+ // 处理路线数据
|
|
|
|
+ if (responseData.map_display.polylines) {
|
|
|
|
+ mapPolylines.value = responseData.map_display.polylines;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// 更新 session_id
|
|
// 更新 session_id
|
|
if (sessionId) {
|
|
if (sessionId) {
|