Browse Source

init

newStyle
wangxiaohua 2 years ago
parent
commit
bde1fb34b7
2 changed files with 18 additions and 2 deletions
  1. +16
    -0
      src/views/Statistics/index.vue
  2. +2
    -2
      vue.config.js

+ 16
- 0
src/views/Statistics/index.vue View File

@@ -230,12 +230,28 @@ export default {
},
],
houseId: "",
options:{},
value:''
};
},
mounted() {
this.myChartinit();
// this.zkhousePage()
},
methods: {
 zkhousePage() {
      let obj = {
        current: 1,
        size: 100,
      };
      this.$api.api.zkhousePage(obj).then((res) => {
        console.log(res)
//         this.tableData = res.data.records;
//         this.total = res.data.total;
      });
    },


tabtimetap(index) {
this.TimetoAhoose = index;
this.fromobj.starttime = "";


+ 2
- 2
vue.config.js View File

@@ -3,8 +3,8 @@
* https://cli.vuejs.org/zh/config/
*/
// const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
const url = 'http://192.168.31.160:9999' //长龙
const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.160:9999' //长龙
// const url = 'http://192.168.31.128:9999' //嘉豪

const CompressionWebpackPlugin = require('compression-webpack-plugin')


Loading…
Cancel
Save