diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 91dee69..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/page/wel.vue b/src/page/wel.vue index 6100552..6690547 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -556,17 +556,17 @@
录音总时长(小时)
-
{{sysSec.receptionTimeCount || 0}}
+
{{sysSec.receptionTime || 0}}
- 环比:{{sysCompare.receptionTimeCount || 0}} + 环比:{{sysCompare.receptionTime || 0}} - + - {{orderBy.receptionTimeCount || 0}}% + {{orderBy.receptionTime || 0}}% - + - {{orderBy.receptionTimeCount || 0}}% + {{orderBy.receptionTime || 0}}%
diff --git a/src/router/axios.js b/src/router/axios.js index a5beb98..d8ecc09 100644 --- a/src/router/axios.js +++ b/src/router/axios.js @@ -57,23 +57,29 @@ axios.interceptors.request.use(config => { }, error => { return Promise.reject(error) }) - +let idx=0 // HTTPresponse拦截 axios.interceptors.response.use(res => { NProgress.done() const status = Number(res.status) || 200 const message = res.data.msg || errorCode[status] || errorCode['default'] + if (status === 401) { - Message({ - message: message, - type: 'error' - }) + idx++ + if(idx==1){ + Message({ + message: message, + type: 'error' + }) + } store.dispatch('LogOut').then(() => { router.push({ path: '/login' }) }) return + }else{ + idx=0 } - + // console.log(idx); if (status !== 200 || res.data.code === 1) { Message({ message: message, diff --git a/src/views/Statistics/ReceptionOverview.vue b/src/views/Statistics/ReceptionOverview.vue index 83aabba..eb861cf 100644 --- a/src/views/Statistics/ReceptionOverview.vue +++ b/src/views/Statistics/ReceptionOverview.vue @@ -5,7 +5,7 @@
楼盘选择:
- +