首页改版

dev
zhangqun 3 years ago
parent 0dbafaf53a
commit 112ae6ffeb
  1. 2
      src/api/source/total.js
  2. 10
      src/views/garden/generalizePatternNew.vue
  3. 11
      vue.config.js

@ -340,7 +340,7 @@ export const getWeather = () => {
//业务区及塔台总人数 - 业务区(封闭运行) //业务区及塔台总人数 - 业务区(封闭运行)
export const getAllJZByDate = (date) => { export const getAllJZByDate = (date) => {
return request({ return request({
url: "/epiHome/epidemicback/getAllJZByDate", url: "/getAllJZByDate",
method: "get", method: "get",
params: {date}, params: {date},
}); });

@ -411,7 +411,7 @@ export default {
this.getGxzy(); this.getGxzy();
this.getJiuCan(); this.getJiuCan();
this.getDoor(); this.getDoor();
this.getBaseData(); this.getBaseData();//
}, },
methods: { methods: {
// //
@ -469,9 +469,9 @@ export default {
}) })
// //
isHolidays(this.currentDate).then((res) => { // isHolidays(this.currentDate).then((res) => {
}) // })
}, },
// //
getGxzy() { getGxzy() {
@ -617,6 +617,9 @@ export default {
}, },
// //
getJiuCan() { getJiuCan() {
getGardenEat(this.currentDate).then((res) => {
})
var myChart = this.$echarts.init(document.getElementById("rightBar3")); var myChart = this.$echarts.init(document.getElementById("rightBar3"));
myChart.setOption({ myChart.setOption({
tooltip: { tooltip: {
@ -3300,7 +3303,6 @@ export default {
} }
} }
} }
this.getLZBar(this.yqPeopleData);
} }
}); });
}, },

@ -26,6 +26,13 @@ module.exports = {
devServer: { devServer: {
port: 1888, port: 1888,
proxy: { proxy: {
"/epiHome": {
target: 'http://10.90.100.201:8116',
ws: true,
pathRewrite: {
"^/epiHome": "/",
},
},
"/api": { "/api": {
//本地服务接口地址 //本地服务接口地址
// target: 'http://180.76.231.175:8000', // target: 'http://180.76.231.175:8000',
@ -41,10 +48,6 @@ module.exports = {
"^/api": "/", "^/api": "/",
}, },
}, },
"/epiHome": {
target: 'http://10.90.100.201:8093',
ws: true,
},
}, },
}, },
}; };

Loading…
Cancel
Save