@@ -8,15 +8,15 @@ | |||||
<view class="cwjs-item center"> | <view class="cwjs-item center"> | ||||
<image src="https://qufang.oss-cn-beijing.aliyuncs.com/channelHelper/user.png" class="logo_input"> | <image src="https://qufang.oss-cn-beijing.aliyuncs.com/channelHelper/user.png" class="logo_input"> | ||||
</image> | </image> | ||||
<input class="cwjs-item cwjs-input" v-model="username" placeholder="请输入账号名" type="number" maxlength="11" placeholder-style="color:#AAAAAA"/> | |||||
<input class="cwjs-item cwjs-input" style="font-size: 36rpx;" v-model="username" placeholder="请输入账号名" type="number" maxlength="11" placeholder-style="color:#AAAAAA"/> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="cwjs-cells item-flex" style="margin-top:13rpx;"> | <view class="cwjs-cells item-flex" style="margin-top:13rpx;"> | ||||
<view class="cwjs-item center"> | <view class="cwjs-item center"> | ||||
<image src="https://qufang.oss-cn-beijing.aliyuncs.com/channelHelper/lock.png" class="logo_input"> | <image src="https://qufang.oss-cn-beijing.aliyuncs.com/channelHelper/lock.png" class="logo_input"> | ||||
</image> | </image> | ||||
<input class="cwjs-item cwjs-input" placeholder="请输入密码" placeholder-style="color:#AAAAAA" type="password" v-model="password" maxlength="16" v-if="passwordType"/> | |||||
<input class="cwjs-item cwjs-input" placeholder="请输入密码" placeholder-style="color:#AAAAAA" maxlength="16" v-model="password" v-else/> | |||||
<input class="cwjs-item cwjs-input" style="font-size: 36rpx;" placeholder="请输入密码" placeholder-style="color:#AAAAAA" type="password" v-model="password" maxlength="16" v-if="passwordType"/> | |||||
<input class="cwjs-item cwjs-input" style="font-size: 36rpx;" placeholder="请输入密码" placeholder-style="color:#AAAAAA" maxlength="16" v-model="password" v-else/> | |||||
</view> | </view> | ||||
<view class="imagesBox" @tap="changeBindPassword"> | <view class="imagesBox" @tap="changeBindPassword"> | ||||
<image v-if="passwordType==false" src="../../static/images/zhengkai.png" class="images" mode="scaleToFill"></image> | <image v-if="passwordType==false" src="../../static/images/zhengkai.png" class="images" mode="scaleToFill"></image> | ||||
@@ -22,7 +22,8 @@ | |||||
</view> | </view> | ||||
<view class="text"> | <view class="text"> | ||||
<view class="name"> | <view class="name"> | ||||
{{item.name}} | |||||
<text class="names">{{item.name}}</text> | |||||
<text :class="item.class">{{ item.label }}</text> | |||||
</view> | </view> | ||||
<view class="num"> | <view class="num"> | ||||
今日接待: {{item.todayNum}} | 今日接待: {{item.todayNum}} | ||||
@@ -142,6 +143,19 @@ | |||||
this.current = res.findIndex(item => item.agentId == this.customerId) | this.current = res.findIndex(item => item.agentId == this.customerId) | ||||
} | } | ||||
this.freeList = res; | this.freeList = res; | ||||
this.freeList.forEach(item => { | |||||
if (item.onLine == 0) { | |||||
item.label = "(离线)"; | |||||
item.class = 'red' | |||||
} else if (item.onLine == 1) { | |||||
item.label = "(在线)"; | |||||
item.class = 'gren' | |||||
} else { | |||||
item.label = "(无设备)"; | |||||
item.class = 'none' | |||||
} | |||||
}) | |||||
this.textcdhSKJ = res[0].name | this.textcdhSKJ = res[0].name | ||||
} | } | ||||
this.LOADING = false | this.LOADING = false | ||||
@@ -307,10 +321,31 @@ | |||||
.text { | .text { | ||||
.name { | .name { | ||||
margin-top: 4rpx; | margin-top: 4rpx; | ||||
font-weight: 600; | |||||
color: #333333; | |||||
line-height: 30rpx; | |||||
margin-bottom: 24rpx; | margin-bottom: 24rpx; | ||||
line-height: 30rpx; | |||||
.names { | |||||
font-weight: 600; | |||||
color: #333333; | |||||
} | |||||
.red { | |||||
margin-left: 10rpx; | |||||
color: #E7483C; | |||||
font-size: 28rpx; | |||||
} | |||||
.gren { | |||||
margin-left: 10rpx; | |||||
color: #43CD80; | |||||
font-size: 28rpx; | |||||
} | |||||
.none { | |||||
margin-left: 10rpx; | |||||
color: #999; | |||||
font-size: 28rpx; | |||||
} | |||||
} | } | ||||
} | } | ||||
@@ -454,7 +454,9 @@ | |||||
} | } | ||||
if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) { | if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) { | ||||
this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3) | this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3) | ||||
this.lowest.push(this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1]) | |||||
if (this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1].value != 100) { | |||||
this.lowest.push(this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1]) | |||||
} | |||||
} | } | ||||
if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) { | if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) { | ||||
this.recording = this.weekObj.avgJdsList.reverse().slice(0, 3) | this.recording = this.weekObj.avgJdsList.reverse().slice(0, 3) | ||||
@@ -1,8 +1,8 @@ | |||||
// http.js使用域名 | // http.js使用域名 | ||||
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||||
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||||
// const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 | // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 | ||||
// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | ||||
const baseUrl = 'http://192.168.31.149:9090/api'; // 盛浩 | |||||
// const baseUrl = 'http://192.168.31.149:9090/api'; // 盛浩 | |||||
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | ||||
// const baseUrl = 'https://hfju.com/api'; // 数智正式 | // const baseUrl = 'https://hfju.com/api'; // 数智正式 | ||||
// const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | // const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | ||||