diff --git a/src/view/analyze.vue b/src/view/analyze.vue index 2516032..f609f8f 100644 --- a/src/view/analyze.vue +++ b/src/view/analyze.vue @@ -906,12 +906,15 @@ const data = reactive({ }, }, push: [ - { name: "小奔通", num: 4196 }, - { name: "交通", num: 4026 }, - { name: "两慢病", num: 2 }, - { name: "天气", num: 102 }, - { name: "低保低边医疗救助政策", num: 87 }, - { name: "孕妇生育津贴申领", num: 19 }, + { name: "小奔通", num: 60313 }, + { name: "失业", num: 3336 }, + { name: "两慢病", num: 8166 }, + { name: "低保低边人员", num: 84 }, + { name: "孕产妇", num: 172 }, + { name: "出行温馨提示", num: 406223 }, + { name: "气象预警", num: 620745 }, + { name: "龙游龙游活动", num: 64563 }, + { name: "公交出行信息推送", num: 731 }, ], }, }); @@ -973,7 +976,7 @@ const getData = async () => { // console.log(res.data, "信息推送"); // data.analysis = res.data; data.analysis.lnr = res.data.lnr; - data.analysis.push[0].num = res.data.push[0].num; + // data.analysis.push[0].num = res.data.push[0].num; const ageBt = ["nl6170", "nl7180", "nl8190", "nl91100", "nl100"]; ageBt.forEach((key, index) => { diff --git a/vite.config.js b/vite.config.js index 99753df..7708875 100644 --- a/vite.config.js +++ b/vite.config.js @@ -15,8 +15,8 @@ export default defineConfig({ // 第一个代理 "/api": { // 匹配到啥来进行方向代理 - // target: "http://10.0.0.65:8095/", //刘进 - target: "http://220.191.238.50:996/", //线上 + target: "http://10.0.0.65:8095/", //刘进 + // target: "http://220.191.238.50:996/", //线上 changeOrigin: true, //是否支持跨域 //rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个 },