| @@ -556,17 +556,17 @@ | |||||
| <div class="pagechen"> | <div class="pagechen"> | ||||
| <div class="pageboxtitle1">录音总时长(小时)</div> | <div class="pageboxtitle1">录音总时长(小时)</div> | ||||
| <div class="pageboxtitle2"> | <div class="pageboxtitle2"> | ||||
| <div class="span1">{{sysSec.receptionTimeCount || 0}}</div> | |||||
| <div class="span1">{{sysSec.receptionTime || 0}}</div> | |||||
| <div class="span2"> | <div class="span2"> | ||||
| <span class="span2-1"> 环比:{{sysCompare.receptionTimeCount || 0}}</span> | |||||
| <span class="span2-1"> 环比:{{sysCompare.receptionTime || 0}}</span> | |||||
| <!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> | <!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> | ||||
| <span class="span2-2" v-if="orderBy.receptionTimeCount>0"> | |||||
| <span class="span2-2" v-if="orderBy.receptionTime>0"> | |||||
| <i class="el-icon-top" style="color: red;"></i> | <i class="el-icon-top" style="color: red;"></i> | ||||
| {{orderBy.receptionTimeCount || 0}}% | |||||
| {{orderBy.receptionTime || 0}}% | |||||
| </span> | </span> | ||||
| <span class="span2-3" v-if="orderBy.receptionTimeCount<0"> | |||||
| <span class="span2-3" v-if="orderBy.receptionTime<0"> | |||||
| <i class="el-icon-bottom" style="color: #25CEBA;"></i> | <i class="el-icon-bottom" style="color: #25CEBA;"></i> | ||||
| {{orderBy.receptionTimeCount || 0}}% | |||||
| {{orderBy.receptionTime || 0}}% | |||||
| </span> | </span> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -57,23 +57,29 @@ axios.interceptors.request.use(config => { | |||||
| }, error => { | }, error => { | ||||
| return Promise.reject(error) | return Promise.reject(error) | ||||
| }) | }) | ||||
| let idx=0 | |||||
| // HTTPresponse拦截 | // HTTPresponse拦截 | ||||
| axios.interceptors.response.use(res => { | axios.interceptors.response.use(res => { | ||||
| NProgress.done() | NProgress.done() | ||||
| const status = Number(res.status) || 200 | const status = Number(res.status) || 200 | ||||
| const message = res.data.msg || errorCode[status] || errorCode['default'] | const message = res.data.msg || errorCode[status] || errorCode['default'] | ||||
| if (status === 401) { | if (status === 401) { | ||||
| Message({ | |||||
| message: message, | |||||
| type: 'error' | |||||
| }) | |||||
| idx++ | |||||
| if(idx==1){ | |||||
| Message({ | |||||
| message: message, | |||||
| type: 'error' | |||||
| }) | |||||
| } | |||||
| store.dispatch('LogOut').then(() => { | store.dispatch('LogOut').then(() => { | ||||
| router.push({ path: '/login' }) | router.push({ path: '/login' }) | ||||
| }) | }) | ||||
| return | return | ||||
| }else{ | |||||
| idx=0 | |||||
| } | } | ||||
| // console.log(idx); | |||||
| if (status !== 200 || res.data.code === 1) { | if (status !== 200 || res.data.code === 1) { | ||||
| Message({ | Message({ | ||||
| message: message, | message: message, | ||||
| @@ -5,7 +5,7 @@ | |||||
| <div class="app-titel" v-if="role!=3" style="margin-bottom:10px;"> | <div class="app-titel" v-if="role!=3" style="margin-bottom:10px;"> | ||||
| <div class="titel-text">楼盘选择:</div> | <div class="titel-text">楼盘选择:</div> | ||||
| <div style="margin-left: 26px"> | <div style="margin-left: 26px"> | ||||
| <el-select v-model="houseId" placeholder="请选择" @change="houseChange"> | |||||
| <el-select v-model="houseId" filterable placeholder="请选择" @change="houseChange"> | |||||
| <el-option | <el-option | ||||
| v-for="item in houseList" | v-for="item in houseList" | ||||
| :key="item.id" | :key="item.id" | ||||
| @@ -415,7 +415,7 @@ export default { | |||||
| houseId: row.id, | houseId: row.id, | ||||
| startDate: this.searchForm.startDate, | startDate: this.searchForm.startDate, | ||||
| endDate: this.searchForm.endDate, | endDate: this.searchForm.endDate, | ||||
| dateType: this.searchForm.dateType, | |||||
| timeType:this.searchForm.dateType | |||||
| }, | }, | ||||
| }); | }); | ||||
| }, | }, | ||||
| @@ -432,7 +432,7 @@ export default { | |||||
| // 公司 | // 公司 | ||||
| this.selflag='1' | this.selflag='1' | ||||
| this.changeValue=row.orgName | this.changeValue=row.orgName | ||||
| this.searchForm.agentName=row.orgName | |||||
| this.searchForm.orgName=row.orgName | |||||
| this.houseStatistics(); | this.houseStatistics(); | ||||
| } | } | ||||
| }, | }, | ||||
| @@ -3,8 +3,8 @@ | |||||
| * https://cli.vuejs.org/zh/config/ | * https://cli.vuejs.org/zh/config/ | ||||
| */ | */ | ||||
| // const url = 'http://pigx-gateway' | // 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.169:9999' //长龙 | |||||
| // const url = 'http://192.168.31.134:9999' //嘉豪 | // const url = 'http://192.168.31.134:9999' //嘉豪 | ||||
| // const url = 'http://192.168.31.100:9999' //王笑 | // const url = 'http://192.168.31.100:9999' //王笑 | ||||
| // const url = 'http://nitu5e.natappfree.cc' //王笑 | // const url = 'http://nitu5e.natappfree.cc' //王笑 | ||||