This commit is contained in:
duanxiaohai 2024-09-02 17:31:01 +08:00
parent 33bee093dd
commit f4a5aeff7e
2 changed files with 12 additions and 9 deletions

View File

@ -906,12 +906,15 @@ const data = reactive({
}, },
}, },
push: [ push: [
{ name: "小奔通", num: 4196 }, { name: "小奔通", num: 60313 },
{ name: "交通", num: 4026 }, { name: "失业", num: 3336 },
{ name: "两慢病", num: 2 }, { name: "两慢病", num: 8166 },
{ name: "天气", num: 102 }, { name: "低保低边人员", num: 84 },
{ name: "低保低边医疗救助政策", num: 87 }, { name: "孕产妇", num: 172 },
{ name: "孕妇生育津贴申领", num: 19 }, { name: "出行温馨提示", num: 406223 },
{ name: "气象预警", num: 620745 },
{ name: "龙游龙游活动", num: 64563 },
{ name: "公交出行信息推送", num: 731 },
], ],
}, },
}); });
@ -973,7 +976,7 @@ const getData = async () => {
// console.log(res.data, ""); // console.log(res.data, "");
// data.analysis = res.data; // data.analysis = res.data;
data.analysis.lnr = res.data.lnr; 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"]; const ageBt = ["nl6170", "nl7180", "nl8190", "nl91100", "nl100"];
ageBt.forEach((key, index) => { ageBt.forEach((key, index) => {

View File

@ -15,8 +15,8 @@ export default defineConfig({
// 第一个代理 // 第一个代理
"/api": { "/api": {
// 匹配到啥来进行方向代理 // 匹配到啥来进行方向代理
// target: "http://10.0.0.65:8095/", //刘进 target: "http://10.0.0.65:8095/", //刘进
target: "http://220.191.238.50:996/", //线上 // target: "http://220.191.238.50:996/", //线上
changeOrigin: true, //是否支持跨域 changeOrigin: true, //是否支持跨域
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个 //rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
}, },