diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0a46262..e97b22b 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -143,7 +143,7 @@ - + @@ -170,7 +170,7 @@ { name: '综保区工业海绵化片区', value: '2', lonlat: [114.209, 34.782] }, { name: '金明品质提升示范片区', value: '3', lonlat: [114.285, 34.799] }, ]); -const projectFx = ref(0); +const projectFx = ref(); const undergroundPipeline = ref(true); // 典型项目 const XmList = ref([ diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0a46262..e97b22b 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -143,7 +143,7 @@ - + @@ -170,7 +170,7 @@ { name: '综保区工业海绵化片区', value: '2', lonlat: [114.209, 34.782] }, { name: '金明品质提升示范片区', value: '3', lonlat: [114.285, 34.799] }, ]); -const projectFx = ref(0); +const projectFx = ref(); const undergroundPipeline = ref(true); // 典型项目 const XmList = ref([ diff --git a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue index 4cdb097..4fa2e26 100644 --- a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue +++ b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue @@ -1,11 +1,24 @@ - diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0a46262..e97b22b 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -143,7 +143,7 @@ - + @@ -170,7 +170,7 @@ { name: '综保区工业海绵化片区', value: '2', lonlat: [114.209, 34.782] }, { name: '金明品质提升示范片区', value: '3', lonlat: [114.285, 34.799] }, ]); -const projectFx = ref(0); +const projectFx = ref(); const undergroundPipeline = ref(true); // 典型项目 const XmList = ref([ diff --git a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue index 4cdb097..4fa2e26 100644 --- a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue +++ b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue @@ -1,11 +1,24 @@ - diff --git a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue index c93af49..d549432 100644 --- a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue +++ b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue @@ -55,7 +55,8 @@ - 查询 + 查询 + AI分析建议 @@ -102,6 +103,13 @@ const stationIndex = ref(0); const equipArr = ref([]); +// AI分析建议 +function aiSearchData() { + setTimeout(() => { + dataStatus.value.showDialogAI(); + }); +} + // 切换站点 function changeSite() { typicalLandInfo.value = equipArr.value[stationIndex.value]; diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0a46262..e97b22b 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -143,7 +143,7 @@ - + @@ -170,7 +170,7 @@ { name: '综保区工业海绵化片区', value: '2', lonlat: [114.209, 34.782] }, { name: '金明品质提升示范片区', value: '3', lonlat: [114.285, 34.799] }, ]); -const projectFx = ref(0); +const projectFx = ref(); const undergroundPipeline = ref(true); // 典型项目 const XmList = ref([ diff --git a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue index 4cdb097..4fa2e26 100644 --- a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue +++ b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue @@ -1,11 +1,24 @@ - diff --git a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue index c93af49..d549432 100644 --- a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue +++ b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue @@ -55,7 +55,8 @@ - 查询 + 查询 + AI分析建议 @@ -102,6 +103,13 @@ const stationIndex = ref(0); const equipArr = ref([]); +// AI分析建议 +function aiSearchData() { + setTimeout(() => { + dataStatus.value.showDialogAI(); + }); +} + // 切换站点 function changeSite() { typicalLandInfo.value = equipArr.value[stationIndex.value]; diff --git a/src/views/sponeScreen/waterFlood/rainFutureHour.vue b/src/views/sponeScreen/waterFlood/rainFutureHour.vue index c1f59ab..65d036c 100644 --- a/src/views/sponeScreen/waterFlood/rainFutureHour.vue +++ b/src/views/sponeScreen/waterFlood/rainFutureHour.vue @@ -22,7 +22,7 @@ - + @@ -164,6 +164,10 @@ ], }); +function closeModal() { + dialogShowYJ.value = false; +} + // 获取天气信息 const getWeather = () => { let chartDom = echarts.init(document.getElementById('rainFH')); diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0a46262..e97b22b 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -143,7 +143,7 @@ - + @@ -170,7 +170,7 @@ { name: '综保区工业海绵化片区', value: '2', lonlat: [114.209, 34.782] }, { name: '金明品质提升示范片区', value: '3', lonlat: [114.285, 34.799] }, ]); -const projectFx = ref(0); +const projectFx = ref(); const undergroundPipeline = ref(true); // 典型项目 const XmList = ref([ diff --git a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue index 4cdb097..4fa2e26 100644 --- a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue +++ b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue @@ -1,11 +1,24 @@ - diff --git a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue index c93af49..d549432 100644 --- a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue +++ b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue @@ -55,7 +55,8 @@ - 查询 + 查询 + AI分析建议 @@ -102,6 +103,13 @@ const stationIndex = ref(0); const equipArr = ref([]); +// AI分析建议 +function aiSearchData() { + setTimeout(() => { + dataStatus.value.showDialogAI(); + }); +} + // 切换站点 function changeSite() { typicalLandInfo.value = equipArr.value[stationIndex.value]; diff --git a/src/views/sponeScreen/waterFlood/rainFutureHour.vue b/src/views/sponeScreen/waterFlood/rainFutureHour.vue index c1f59ab..65d036c 100644 --- a/src/views/sponeScreen/waterFlood/rainFutureHour.vue +++ b/src/views/sponeScreen/waterFlood/rainFutureHour.vue @@ -22,7 +22,7 @@ - + @@ -164,6 +164,10 @@ ], }); +function closeModal() { + dialogShowYJ.value = false; +} + // 获取天气信息 const getWeather = () => { let chartDom = echarts.init(document.getElementById('rainFH')); diff --git a/src/views/sponeScreen/waterFlood/responseYJ.vue b/src/views/sponeScreen/waterFlood/responseYJ.vue index 5926dcd..e97c2ff 100644 --- a/src/views/sponeScreen/waterFlood/responseYJ.vue +++ b/src/views/sponeScreen/waterFlood/responseYJ.vue @@ -23,13 +23,15 @@ diff --git a/src/api/sponeScreen/syntherticData.js b/src/api/sponeScreen/syntherticData.js index e8a85cd..3137b65 100644 --- a/src/api/sponeScreen/syntherticData.js +++ b/src/api/sponeScreen/syntherticData.js @@ -236,8 +236,17 @@ // 天气效果——降雨量判断 export function querySiteFiveMinuteRain(query) { return request({ - url: '/business//preventFlood/oneMap/querySiteFiveMinuteRain', + url: '/business/preventFlood/oneMap/querySiteFiveMinuteRain', method: 'get', params: query, }); } + +// AI生成建议 +export function aiToGetSuggest(data) { + return request({ + url: '/ai/tongyi/string-picture-message', + method: 'post', + data: data, + }); +} diff --git a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue index 0a46262..e97b22b 100644 --- a/src/views/sponeScreen/projectHM/ProjectEvaluation.vue +++ b/src/views/sponeScreen/projectHM/ProjectEvaluation.vue @@ -143,7 +143,7 @@ - + @@ -170,7 +170,7 @@ { name: '综保区工业海绵化片区', value: '2', lonlat: [114.209, 34.782] }, { name: '金明品质提升示范片区', value: '3', lonlat: [114.285, 34.799] }, ]); -const projectFx = ref(0); +const projectFx = ref(); const undergroundPipeline = ref(true); // 典型项目 const XmList = ref([ diff --git a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue index 4cdb097..4fa2e26 100644 --- a/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue +++ b/src/views/sponeScreen/projectHM/ZhongheFenXi_component/typicalLandSiteShuJuQuShi.vue @@ -1,11 +1,24 @@ - diff --git a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue index c93af49..d549432 100644 --- a/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue +++ b/src/views/sponeScreen/projectHM/typicalLandDiaLogDetail.vue @@ -55,7 +55,8 @@ - 查询 + 查询 + AI分析建议 @@ -102,6 +103,13 @@ const stationIndex = ref(0); const equipArr = ref([]); +// AI分析建议 +function aiSearchData() { + setTimeout(() => { + dataStatus.value.showDialogAI(); + }); +} + // 切换站点 function changeSite() { typicalLandInfo.value = equipArr.value[stationIndex.value]; diff --git a/src/views/sponeScreen/waterFlood/rainFutureHour.vue b/src/views/sponeScreen/waterFlood/rainFutureHour.vue index c1f59ab..65d036c 100644 --- a/src/views/sponeScreen/waterFlood/rainFutureHour.vue +++ b/src/views/sponeScreen/waterFlood/rainFutureHour.vue @@ -22,7 +22,7 @@ - + @@ -164,6 +164,10 @@ ], }); +function closeModal() { + dialogShowYJ.value = false; +} + // 获取天气信息 const getWeather = () => { let chartDom = echarts.init(document.getElementById('rainFH')); diff --git a/src/views/sponeScreen/waterFlood/responseYJ.vue b/src/views/sponeScreen/waterFlood/responseYJ.vue index 5926dcd..e97c2ff 100644 --- a/src/views/sponeScreen/waterFlood/responseYJ.vue +++ b/src/views/sponeScreen/waterFlood/responseYJ.vue @@ -23,13 +23,15 @@ diff --git a/vite.config.js b/vite.config.js index f4b11ac..5c5dc0d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -70,6 +70,11 @@ changeOrigin: true, rewrite: path => path.replace(/^\/sponge/, '/sponge'), }, + '/ai': { + target: targetUrl, + changeOrigin: true, + rewrite: p => p.replace(/^\/ai/, '/ai/'), + }, '/amap': { target: 'https://restapi.amap.com', //geocode服务 changeOrigin: true,