zhanghua
2022-11-04 5f33acc112f6247ec487406800091eb4f47ce89a
bug修改
12个文件已修改
11873 ■■■■■ 已修改文件
package-lock.json 11747 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/intelligentPatrol/statistics.js 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/operate/management.js 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/http/interceptor-handler.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/area/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/point/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/shop/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/time/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/statistics/unlawful/type/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layout/components/Menu/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/device/handheldTerminal/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/device/loudspeaker/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package-lock.json
Diff too large
src/api/intelligentPatrol/statistics.js
@@ -1,47 +1,25 @@
import http from '@/http'
const baseUrl = '/sccg/intelligentPatrol/statistics'
export default {
    // 按违规类型统计
    searchByType: (params) => {
        return http.get('/sccg/intelligentPatrol/statistics/unlawful/type', params);
    },
    // 按点位统计
    searchByPoint: (data) => axios({
        method: 'get',
        url: baseUrl + '/unlawful/point',
        headers: {
            ...token
        },
        params: data
    }),
    searchByPoint: (params) => {
        return http.get('/sccg/intelligentPatrol/statistics/unlawful/point', params);
    },
    // 按时间统计
    searchByTime: (data) => axios({
        method: 'get',
        url: baseUrl + '/unlawful/time',
        headers: {
            ...token
        },
        params: data
    }),
    searchByTime: (params) => {
        return http.get('/sccg/intelligentPatrol/statistics/unlawful/time', params);
    },
    // 按区域统计
    searchByArea: (data) => axios({
        method: 'get',
        url: baseUrl + '/unlawful/area',
        headers: {
            ...token
        },
        params: data
    }),
    searchByArea: (params) => {
        return http.get('/sccg/intelligentPatrol/statistics/unlawful/area', params);
    },
    // 门前三包统计
    searchByShop: (data) => axios({
        method: 'get',
        url: baseUrl + '/unlawful/shop',
        headers: {
            ...token
        },
        params: data
    }),
    searchByShop: (params) => {
        return http.get('/sccg/intelligentPatrol/statistics/unlawful/shop', params);
    },
};
src/api/operate/management.js
@@ -1,16 +1,8 @@
import axios from "axios";
import {getToken} from '@/utils/helper'
const baseUrl = '/sccg/message_audit'
const token = {
    'Authorization':getToken()
}
import http from '@/http'
export default {
    // 获取短信审核列表
    getMessageAuditList: (data) => axios({
        method: 'post',
        url: baseUrl+'/list',
        headers:{...token},
        data: data
    }),
    //
};
    getMessageAuditList: (params) => {
        return http.post('/sccg/message_audit/list', params);
    },
};
src/http/interceptor-handler.js
@@ -10,7 +10,6 @@
 * @returns {Promise}
 */
export function handleResponseSuccess(response) {
  debugger
  tryHideFullScreenLoading()
  urlRecorder.remove(response.config)
  const result = response.data
src/views/intelligentPatrol/statistics/unlawful/area/index.vue
@@ -161,10 +161,8 @@
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    // 当前页改变触发事件
src/views/intelligentPatrol/statistics/unlawful/point/index.vue
@@ -171,10 +171,8 @@
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    // 当前页改变触发事件
src/views/intelligentPatrol/statistics/unlawful/shop/index.vue
@@ -165,10 +165,8 @@
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    // 当前页改变触发事件
src/views/intelligentPatrol/statistics/unlawful/time/index.vue
@@ -161,10 +161,8 @@
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    // 当前页改变触发事件
src/views/intelligentPatrol/statistics/unlawful/type/index.vue
@@ -169,10 +169,8 @@
        beginTime:'2022-05-01 00:00:00',
        endTime:'2022-09-01 00:00:00'
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    // 当前页改变触发事件
src/views/layout/components/Menu/index.vue
@@ -65,6 +65,7 @@
</template>
<script>
let timer = null;
export default {
  data() {
    return {
@@ -78,15 +79,19 @@
  methods: {
    loadMenu() {
      const info = JSON.parse(sessionStorage.getItem("user"));
      var timer;
      if (info && info.menus) {
        clearTimeout(timer);
        console.log("timer--", timer);
        window.clearInterval(timer);
        this.menuList = info.menus;
        console.log(this.menuList)
        console.log(this.menuList);
      } else {
        timer = setInterval(() => {
          this.loadMenu();
        }, 1000);
        if (!timer) {
          timer = window.setInterval(() => {
            this.loadMenu();
          }, 1000);
          console.log("timer++", timer);
        }
      }
    },
    // 获取菜单列表
src/views/systemSetting/device/handheldTerminal/index.vue
@@ -194,10 +194,8 @@
        pageSize,
        state: context,
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    handleStateChange(e) {
src/views/systemSetting/device/loudspeaker/index.vue
@@ -197,10 +197,8 @@
        pageSize,
        state: context,
      }).then((res) => {
        if (res.data.code == 200) {
          this.list = res.data.data.records;
          this.totalNum = res.data.data.total;
        }
          this.list = res.records;
          this.totalNum = res.total;
      });
    },
    handleStateChange(e) {