Ver código fonte

init

newStyle
wangxiaohua 3 anos atrás
pai
commit
bde1fb34b7
2 arquivos alterados com 18 adições e 2 exclusões
  1. +16
    -0
      src/views/Statistics/index.vue
  2. +2
    -2
      vue.config.js

+ 16
- 0
src/views/Statistics/index.vue Ver arquivo

@@ -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 Ver arquivo

@@ -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')


Carregando…
Cancelar
Salvar