Browse Source

init

newStyle
lancer 2 years ago
parent
commit
f79e66cf27
2 changed files with 9 additions and 6 deletions
  1. +7
    -4
      src/views/houseData/analyse.vue
  2. +2
    -2
      vue.config.js

+ 7
- 4
src/views/houseData/analyse.vue View File

@@ -426,10 +426,10 @@ export default {
console.log("趋势图");
let timeDate = ["六月", "七月", "八月", "九月", "十月", "十一月"];
let Strname = ["平均执行率", "对比上月", "目标执行率", "目标完成率"];
let arr0 = [1, 2, 3, 4, 5, -7];
let arr1 = [1, 2, -10, 4, 5, -7];
let arr2 = [1, 5, 3, 7, 5, 7];
let arr3 = [1, 2, 3, -16, 5, 7];
let arr0 = [99, 2, 3, 4, 5, -7];
let arr1 = [66, 2, -10, 4, 5, -7];
let arr2 = [55, 5, 3, 7, 5, 7];
let arr3 = [-33, 2, 3, -16, 5, 7];
let arr = [];
Strname.map((item, idx) => {
// console.log(eval('arr'+idx));
@@ -598,6 +598,7 @@ export default {
.findMyOrg({
orgType: localStorage.getItem("orgType"),
agentId: localStorage.getItem("agentId"),
houseTypes:'0,1'
})
.then((res) => {
this.houseList = res.data;
@@ -607,6 +608,7 @@ export default {
.findHouseByUser({
orgType: localStorage.getItem("orgType"),
houseId: localStorage.getItem("houseId"),
houseTypes:'0,1'
})
.then((res) => {
this.houseList = res.data;
@@ -615,6 +617,7 @@ export default {
this.$api.api
.findMyAgent({
orgType: localStorage.getItem("orgType"),
houseTypes:'0,1'
})
.then((res) => {
this.houseList = res.data;


+ 2
- 2
vue.config.js View File

@@ -5,9 +5,9 @@
// const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
const url = 'http://62.234.122.43:9999' //正式
// const url = 'http://62.234.122.43:9999' //正式

const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']


Loading…
Cancel
Save