wangxiaohua před 2 roky
rodič
revize
52e7537b0d
6 změnil soubory, kde provedl 319 přidání a 139 odebrání
  1. +2
    -2
      config.js
  2. +214
    -124
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  3. +1
    -1
      pages/index/customer.vue
  4. +6
    -3
      pages/index/learning.vue
  5. +94
    -6
      pages/mine/details2.vue
  6. +2
    -3
      utils/http.js

+ 2
- 2
config.js Zobrazit soubor

@@ -2,11 +2,11 @@
* 小程序配置文件
*/
// 此处主机域名修改成腾讯云解决方案分配的域名
// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站
var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站
// var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙
// var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
var host = 'https://zkgj.quhouse.com/api'; // 质控正式
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式
// var host = 'https://hfju.com/api'; // 数智正式




+ 214
- 124
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue Zobrazit soubor

@@ -38,45 +38,77 @@
<view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
:class="{active: item.bg < playNow && item.ed > playNow && i==0}"
v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
<view class="avatar">
<view v-if="item.speaker == 1" style="color: #60CBEC;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>A</text>
</view>
<view v-if="item.speaker == 2" style="color: #EC8B47;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>B</text>
</view>
<view v-if="item.speaker == 3" style="color: #4F861E;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>C</text>
</view>
<view v-if="item.speaker == 4" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>D</text>
</view>
<view v-if="item.speaker == 5" style="color: #4980C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>E</text>
</view>
<view v-if="item.speaker == 6" style="color: #60CBEC;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>F</text>
</view>
<view v-if="item.speaker == 7" style="color: #EC8B47;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>G</text>
</view>
<view v-if="item.speaker == 8" style="color: #4F861E;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>H</text>
</view>
<view v-if="item.speaker == 9" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>I</text>
</view>
<view class="avatar">
<view v-if="item.speaker == 1" style="color: #60CBEC;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>A</text>
</view>
<view v-if="item.speaker == 2" style="color: #EC8B47;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>B</text>
</view>
<view v-if="item.speaker == 3" style="color: #4F861E;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>C</text>
</view>
<view v-if="item.speaker == 4" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>D</text>
</view>
<view v-if="item.speaker == 5" style="color: #4980C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>E</text>
</view>
<view v-if="item.speaker == 6" style="color: #60CBEC;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>F</text>
</view>
<view v-if="item.speaker == 7" style="color: #EC8B47;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>G</text>
</view>
<view v-if="item.speaker == 8" style="color: #4F861E;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>H</text>
</view>
<view v-if="item.speaker == 9" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>I</text>
</view>
<view v-if="item.speaker == 10" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>J</text>
</view>
<view v-if="item.speaker == 11" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>K</text>
</view>
<view v-if="item.speaker == 12" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>L</text>
</view>
<view v-if="item.speaker == 13" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>M</text>
</view>
<view v-if="item.speaker == 14" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>N</text>
</view>
<view v-if="item.speaker == 15" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>O</text>
</view>
<view v-if="item.speaker == 16" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>P</text>
</view>
</view>
<view class="content">
<view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
<view class="tankuangcss" v-if="item.isshow">
@@ -695,49 +727,78 @@
success: (data) => {
this.tablist=[];
let jsonInfo = JSON.parse(data.data.data.audioContent);
for(var i=0;i<=data.data.data.speakerNum;i++){
if(i==0){
this.tablist.push({
name:'全部'
})
}else if(i==1){
this.tablist.push({
name:'A'
})
}else if(i==2){
this.tablist.push({
name:'B'
})
}else if(i==3){
this.tablist.push({
name:'C'
})
}else if(i==4){
this.tablist.push({
name:'D'
})
}else if(i==5){
this.tablist.push({
name:'E'
})
}else if(i==6){
this.tablist.push({
name:'F'
})
}else if(i==7){
this.tablist.push({
name:'G'
})
}else if(i==8){
this.tablist.push({
name:'H'
})
}else{
this.tablist.push({
name:'I'
})
}
}
for(var i=0;i<=data.data.data.speakerNum;i++){
if(i==0){
this.tablist.push({
name:'全部'
})
}else if(i==1){
this.tablist.push({
name:'A'
})
}else if(i==2){
this.tablist.push({
name:'B'
})
}else if(i==3){
this.tablist.push({
name:'C'
})
}else if(i==4){
this.tablist.push({
name:'D'
})
}else if(i==5){
this.tablist.push({
name:'E'
})
}else if(i==6){
this.tablist.push({
name:'F'
})
}else if(i==7){
this.tablist.push({
name:'G'
})
}else if(i==8){
this.tablist.push({
name:'H'
})
}else if(i==9){
this.tablist.push({
name:'I'
})
}else if(i==10){
this.tablist.push({
name:'J'
})
}else if(i==11){
this.tablist.push({
name:'K'
})
}else if(i==12){
this.tablist.push({
name:'L'
})
}else if(i==13){
this.tablist.push({
name:'M'
})
}else if(i==14){
this.tablist.push({
name:'N'
})
}else if(i==15){
this.tablist.push({
name:'O'
})
}else{
this.tablist.push({
name:'P'
})
}
}
this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问";
this.roleindexbiaoji=data.data.data.speaker-1;
this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1;
@@ -1032,49 +1093,78 @@
success: (data) => {
this.tablist=[];
let jsonInfo = JSON.parse(data.data.data.audioContent);
for(var i=0;i<=data.data.data.speakerNum;i++){
if(i==0){
this.tablist.push({
name:'全部'
})
}else if(i==1){
this.tablist.push({
name:'A'
})
}else if(i==2){
this.tablist.push({
name:'B'
})
}else if(i==3){
this.tablist.push({
name:'C'
})
}else if(i==4){
this.tablist.push({
name:'D'
})
}else if(i==5){
this.tablist.push({
name:'E'
})
}else if(i==6){
this.tablist.push({
name:'F'
})
}else if(i==7){
this.tablist.push({
name:'G'
})
}else if(i==8){
this.tablist.push({
name:'H'
})
}else{
this.tablist.push({
name:'I'
})
}
}
for(var i=0;i<=data.data.data.speakerNum;i++){
if(i==0){
this.tablist.push({
name:'全部'
})
}else if(i==1){
this.tablist.push({
name:'A'
})
}else if(i==2){
this.tablist.push({
name:'B'
})
}else if(i==3){
this.tablist.push({
name:'C'
})
}else if(i==4){
this.tablist.push({
name:'D'
})
}else if(i==5){
this.tablist.push({
name:'E'
})
}else if(i==6){
this.tablist.push({
name:'F'
})
}else if(i==7){
this.tablist.push({
name:'G'
})
}else if(i==8){
this.tablist.push({
name:'H'
})
}else if(i==9){
this.tablist.push({
name:'I'
})
}else if(i==10){
this.tablist.push({
name:'J'
})
}else if(i==11){
this.tablist.push({
name:'K'
})
}else if(i==12){
this.tablist.push({
name:'L'
})
}else if(i==13){
this.tablist.push({
name:'M'
})
}else if(i==14){
this.tablist.push({
name:'N'
})
}else if(i==15){
this.tablist.push({
name:'O'
})
}else{
this.tablist.push({
name:'P'
})
}
}
this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问";
this.roleindexbiaoji=data.data.data.speaker-1;
this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1;


+ 1
- 1
pages/index/customer.vue Zobrazit soubor

@@ -24,7 +24,7 @@
<view class="centerbox-che">手机号码:<text class="shizai">{{item.phone || "--"}}</text></view>
<view class="centerbox-che">开始时间:<text class="shizai">{{item.createTime}}</text></view>
<view class="centerbox-che">顾问姓名:<text class="shizai" style="color: #333333;">{{item.agentName}}</text></view>
<view class="centerbox-che2" v-if="item.zkEquipmentState.audioStatus!='' && item.zkEquipmentState!=null">
<view class="centerbox-che2" v-if="item.zkEquipmentState!=null && item.zkEquipmentState.onLine!=0">
<view class="Workcard">工牌电量:<text class="shizai" style="color: #333333;">{{item.zkEquipmentState.electricity}}%</text></view>
<view class="Workcard">录音状态:
<text v-if="item.zkEquipmentState.audioStatus=='true'" class="shizai" style="color: #333333;">使用中</text>


+ 6
- 3
pages/index/learning.vue Zobrazit soubor

@@ -10,14 +10,16 @@
</view>
</view>
<view class="cented" v-if="activeClass==0">
<view class="ceninfo" v-for="(item,index) in alllist" :key="index">
<view class="ceninfo" v-for="(item,index) in alllist" @click="quclick(item)" :key="index">
<view class="infoview">
<view class="infozuo">
<view class="infozuochiud1">{{item.jbaName}}</view>
<view class="infozuochiud2">置业顾问</view>
</view>
<view class="infoyou">
<view class="infoyouchiud2" @click="quclick(item)">去学习</view>
<view class="infoyouchiud2" >去学习</view>
</view>
</view>
<view class="footerinfo">
@@ -35,9 +37,10 @@
<!-- 热度 -->
{{item.heat}}
</view>
</view>
</view>
</view>
<view class="biaoqianview" v-if="activeClass==1">
<view class="boxintention">


+ 94
- 6
pages/mine/details2.vue Zobrazit soubor

@@ -73,6 +73,34 @@
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>I</text>
</view>
<view v-if="item.speaker == 10" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>J</text>
</view>
<view v-if="item.speaker == 11" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>K</text>
</view>
<view v-if="item.speaker == 12" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>L</text>
</view>
<view v-if="item.speaker == 13" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>M</text>
</view>
<view v-if="item.speaker == 14" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>N</text>
</view>
<view v-if="item.speaker == 15" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>O</text>
</view>
<view v-if="item.speaker == 16" style="color: #9F61C8;">
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
<text v-else>P</text>
</view>
</view>
<view class="content">
<view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
@@ -630,12 +658,44 @@
this.tablist.push({
name:'H'
})
}else{
}else if(i==9){
this.tablist.push({
name:'I'
})
}
}
}else if(i==10){
this.tablist.push({
name:'J'
})
}else if(i==11){
this.tablist.push({
name:'K'
})
}else if(i==12){
this.tablist.push({
name:'L'
})
}else if(i==13){
this.tablist.push({
name:'M'
})
}else if(i==14){
this.tablist.push({
name:'N'
})
}else if(i==15){
this.tablist.push({
name:'O'
})
}else{
this.tablist.push({
name:'P'
})
}
}
if(data.data.data.speaker==null){
this.roleindexbiaoji=0;
this.dshfkjsdkksodofydwfkhwdfkjh=0;
@@ -1203,12 +1263,40 @@
this.tablist.push({
name:'H'
})
}else{
}else if(i==9){
this.tablist.push({
name:'I'
})
}
}
}else if(i==10){
this.tablist.push({
name:'J'
})
}else if(i==11){
this.tablist.push({
name:'K'
})
}else if(i==12){
this.tablist.push({
name:'L'
})
}else if(i==13){
this.tablist.push({
name:'M'
})
}else if(i==14){
this.tablist.push({
name:'N'
})
}else if(i==15){
this.tablist.push({
name:'O'
})
}else{
this.tablist.push({
name:'P'
})
}
}
if(data.data.data.speaker==null){
this.roleindexbiaoji=0;
this.dshfkjsdkksodofydwfkhwdfkjh=0;


+ 2
- 3
utils/http.js Zobrazit soubor

@@ -1,12 +1,11 @@

// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式


const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({
baseUrl,


Načítá se…
Zrušit
Uložit