@@ -65,7 +65,7 @@ | |||||
<view class="zuoimg">顾</view> | <view class="zuoimg">顾</view> | ||||
<view class="zuoname">{{item.agentName || '--'}}</view> | <view class="zuoname">{{item.agentName || '--'}}</view> | ||||
</view> | </view> | ||||
<view class="cen" v-if="timestamp(item.createTime)<30"> | |||||
<view class="cen" v-if="timestamp(item.createTime) < 60*30"> | |||||
<view v-if="item.status!=0"> | <view v-if="item.status!=0"> | ||||
自动结束 <u-count-down :timestamp="timestamp(item.createTime)" color="#E7483C"></u-count-down> | 自动结束 <u-count-down :timestamp="timestamp(item.createTime)" color="#E7483C"></u-count-down> | ||||
</view> | </view> | ||||
@@ -75,7 +75,7 @@ | |||||
<view class="youimg1-1" v-if="item.status==0"></view> | <view class="youimg1-1" v-if="item.status==0"></view> | ||||
<view class="youtext">{{item.status==0?"排队中":item.status==1?"接待中":"已完成"}}</view> --> | <view class="youtext">{{item.status==0?"排队中":item.status==1?"接待中":"已完成"}}</view> --> | ||||
<view class="" v-if="item.status!=0" style="display: flex;"> | <view class="" v-if="item.status!=0" style="display: flex;"> | ||||
<block v-if="item.imei!=null || item.imei==''"> | |||||
<block v-if="item.imei!=null"> | |||||
<!-- 接待中 --> | <!-- 接待中 --> | ||||
<view class=""> | <view class=""> | ||||
<!-- 工牌标示 --> | <!-- 工牌标示 --> | ||||
@@ -397,7 +397,7 @@ | |||||
method:"GET", | method:"GET", | ||||
header: { | header: { | ||||
'content-type': 'application/json', | 'content-type': 'application/json', | ||||
'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||||
'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token | |||||
}, | }, | ||||
success: (data) => { | success: (data) => { | ||||
if(data.data.code==10000){ | if(data.data.code==10000){ | ||||
@@ -446,7 +446,7 @@ | |||||
if (res && res.length) { | if (res && res.length) { | ||||
let alltime=1; | let alltime=1; | ||||
res.forEach(item=>{ | res.forEach(item=>{ | ||||
alltime+=item.recordDuration | |||||
alltime = item.recordDuration | |||||
}) | }) | ||||
this.alltimeStr=this.getTime(alltime) | this.alltimeStr=this.getTime(alltime) | ||||
res.forEach((cet,index)=>{ | res.forEach((cet,index)=>{ | ||||
@@ -448,7 +448,7 @@ | |||||
} | } | ||||
this.$u.post("/corpus/fendianFindByPage", parames).then(res => { | this.$u.post("/corpus/fendianFindByPage", parames).then(res => { | ||||
if (res && res.length) { | if (res && res.length) { | ||||
let alltime = 1+res[0].recordDuration; | |||||
let alltime = res[0].recordDuration; | |||||
this.alltimeStr = this.getTime(alltime) | this.alltimeStr = this.getTime(alltime) | ||||
this.luyinList = res; | this.luyinList = res; | ||||
this.recordPath = res[0].recordPath | this.recordPath = res[0].recordPath | ||||
@@ -515,7 +515,7 @@ | |||||
let alltime = 1; | let alltime = 1; | ||||
res.forEach(item => { | res.forEach(item => { | ||||
alltime += item.recordDuration | |||||
alltime = item.recordDuration | |||||
}) | }) | ||||
this.alltimeStr = this.getTime(alltime) | this.alltimeStr = this.getTime(alltime) | ||||
if(info){ | if(info){ | ||||
@@ -489,7 +489,7 @@ | |||||
} | } | ||||
this.$u.post("/corpus/findByPage", parames).then(res => { | this.$u.post("/corpus/findByPage", parames).then(res => { | ||||
if (res && res.length) { | if (res && res.length) { | ||||
let alltime = 1+res[0].recordDuration; | |||||
let alltime = res[0].recordDuration; | |||||
this.alltimeStr = this.getTime(alltime) | this.alltimeStr = this.getTime(alltime) | ||||
if(info.bg!=0){ | if(info.bg!=0){ | ||||
this.luyinList = res; | this.luyinList = res; | ||||
@@ -206,9 +206,7 @@ | |||||
}) | }) | ||||
}, | }, | ||||
baochunfun(){ | baochunfun(){ | ||||
const { | |||||
dataCode | |||||
} = uni.getStorageSync("weapp_session_userInfo_data"); | |||||
const { dataCode } = uni.getStorageSync("weapp_session_userInfo_data"); | |||||
if(this.parames.phone.length==0){ | if(this.parames.phone.length==0){ | ||||
this.parames.phone=null | this.parames.phone=null | ||||
} | } | ||||