MrShi
3 天以前 b314e0bd5dbeef190404c71c045f9c1a2f1295b3
优化
已修改3个文件
17 ■■■■ 文件已修改
admin/.env.development 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/business/admissionStatistics.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/business/carStatistics.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/.env.development
@@ -1,7 +1,7 @@
# 开发环境配置
NODE_ENV = 'development'
# VUE_APP_API_URL  = 'https://atwl.ahzyssl.com/zhyq_interface'
VUE_APP_API_URL  = 'http://192.168.1.45:10010'
VUE_APP_API_URL  = 'https://atwl.ahzyssl.com/zhyq_interface'
# VUE_APP_API_URL  = 'http://192.168.1.45:10010'
# VUE_APP_API_URL  = 'https://atwl.ahzyssl.com/zhyq_interface'
# VUE_APP_API_URL  = 'http://10.50.250.253:8088/gateway_interface'
admin/src/views/business/admissionStatistics.vue
@@ -167,7 +167,11 @@
      getReportLists() {
        getReportList({ dateStr: this.date1, isGroupBy: this.isGroupBy, type: 1 })
          .then(res => {
            if (!res || res.length === 0) {
              this.column = []
              this.list = []
              return
            }
            this.column = res[0]
            this.list = res.slice(1).map(row => {
@@ -177,7 +181,6 @@
              });
              return obj;
            });
            // if (res.length === 0) {
            //   this.column = []
            //   this.list = []
admin/src/views/business/carStatistics.vue
@@ -169,6 +169,12 @@
        getReportList({ dateStr: this.date1, isGroupBy: this.isGroupBy, type: 0 })
            .then(res => {
              if (!res || res.length === 0) {
                this.column = []
                this.list = []
                return
              }
              this.column = res[0]
              this.list = res.slice(1).map(row => {