diff --git a/manifest.json b/manifest.json
index 4735546..f333ea6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name" : "去房智控管家",
+ "name" : "数智工牌",
"appid" : "__UNI__7A1611D",
"description" : "去房智控管家",
"versionName" : "1.1.0",
@@ -91,7 +91,7 @@
},
"quickapp" : {},
"mp-weixin" : {
- "appid" : "wx8f883dca5ecc5510",
+ "appid" : "wxe044603515ff2cb5",
"setting" : {
"urlCheck" : false,
"es6" : true,
diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue
index f5915c3..0daff7b 100644
--- a/pages/center/Piabodata/TrendAnalysis.vue
+++ b/pages/center/Piabodata/TrendAnalysis.vue
@@ -76,11 +76,14 @@
对比:{{index==1?item.num1+'%':item.num1}}
{{item.num2+'%'}}{{item.num2*1 > 0 ? '↑':'↓'}}
+ :style="{color:item.num2*1>0?'red':'green'}">
+
+ {{item.num2}}{{ item.name == '平均执行率' ? "%" : "" }}{{item.num2*1 > 0 ? '↑':'↓'}}
+
{{item.num2+'%'}}
+ :style="{color:item.num2*1>0?'red':'green'}">{{item.num2}}{{ item.name == '平均执行率' ? "%" : "" }}
diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index 492af18..afb4f3b 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -1405,12 +1405,12 @@
}
.pon-foot {
- position: fixed;
+ position: sticky;
+ bottom: 0;
width: 750rpx;
height: 100rpx;
background: #FFFFFF;
box-shadow: 0px -2rpx 8rpx 0rpx rgba(224, 224, 224, 0.5);
- bottom: 0;
display: flex;
justify-content: space-around;
align-items: center;
diff --git a/pages/learning/Equinoctial/index.vue b/pages/learning/Equinoctial/index.vue
index 30bd3ac..2179ed4 100644
--- a/pages/learning/Equinoctial/index.vue
+++ b/pages/learning/Equinoctial/index.vue
@@ -17,18 +17,17 @@
-
+
录音文件
-
+
{{ item.speaker | toCapital }}
@@ -208,23 +207,23 @@
startFile: '',
num: 0, //上拉 转写文件下标
Bnum: 0, //下拉 转写文件下标
-
-
+
+
ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
isPageHide: false, // 是否息屏
duration: '',
};
},
onLoad(options) {
- this.startTime=options.startTime
- this.customerId=options.customerId,
- this.biaoqian=options.biaoqian;
- this.startFile=options.startFile;
-
+ this.startTime = options.startTime
+ this.customerId = options.customerId;
+ this.biaoqian = options.biaoqian;
+ this.startFile = options.startFile;
+
this.getdianzan()
this.getCommentList();
-
-
+
+
//注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响;
this.$zaudio.on('stop', this.ACTION, () => {
console.log('我是强制暂停或关闭小程序音频浮窗触发的')
@@ -241,14 +240,16 @@
})
},
onShow() {
+ //实时渲染当前的播放状态
+ this.$zaudio.syncRender()
this.initRecord();
!this.isPageHide && this.getluyinList();
},
onHide() {
this.isPageHide = true
},
-
- onUnload(){
+
+ onUnload() {
//卸载不需要的业务和获取播放状态的业务,提高页面性能
this.$zaudio.off('seek', this.ACTION);
this.$zaudio.off('stop', this.ACTION);
@@ -264,11 +265,13 @@
const message = this.dialogList[0].message;
if (!message) return
for (let i = 0; i < message.length; i++) {
- if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed / 1000))) {
+ if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
+ 1000))) {
this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
break;
}
- if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow < Math.floor(message[i + 1].bg / 1000)) {
+ if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
+ Math.floor(message[i + 1].bg / 1000)) {
this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
break;
}
@@ -286,8 +289,8 @@
duration: 2000
});
return
- }else {
- this.num=this.num+1;
+ } else {
+ this.num = this.num + 1;
uni.request({
url: config.service.getCorpusAnalysis + '?corpusId=' + this.luyinList[this.num].id +
"&customerId=" + this.customerId, //仅为示例,并非真实接口地址。
@@ -298,8 +301,7 @@
},
success: (data) => {
if (data.data.code == 10000) {
- if (data.data.data.audioContent.length == 0) {
- } else {
+ if (data.data.data.audioContent.length == 0) {} else {
const jsonInfo = JSON.parse(data.data.data.audioContent);
this.dialogList.push({
message: jsonInfo
@@ -386,9 +388,9 @@
if (cet.id == this.startFile) {
this.csdFileindex = index;
this.recordPath = res[index].recordPath
- this.date=res[index].receptionTime
- this.num=index;//下拉起始位置
- this.Bnum=index;
+ this.date = res[index].receptionTime
+ this.num = index; //下拉起始位置
+ this.Bnum = index;
this.luyinList = res;
this.zyAudio();
this.getCorpusAnalysis()
@@ -455,7 +457,7 @@
uni.hideLoading();
}
},
-
+
//音频前进回退
sliderChangeComplate(currentTime) {},
// 获取转义后的对话结果
@@ -477,11 +479,11 @@
});
setTimeout(function() {
uni.hideLoading();
- }, 2000);
- }else{}
- },
+ }, 2000);
+ } else {}
+ },
fail(error) {
- return false;
+ return false;
}
});
},
@@ -490,12 +492,12 @@
},
// 文件切换播放
filechange(item, i) {
- this.num=i;//下拉起始位置
- this.Bnum=i;
- this.csdFileindex=i;
+ this.num = i; //下拉起始位置
+ this.Bnum = i;
+ this.csdFileindex = i;
this.recordPath = item.recordPath;
- this.date=item.receptionTime;
- this.isshowFile=false;
+ this.date = item.receptionTime;
+ this.isshowFile = false;
setTimeout(() => {
this.$zaudio.operate(i)
}, 50)
@@ -663,7 +665,7 @@
})
})
},
-
+
//录音实例
zyAudio() {
let data = this.luyinList.map((item, index) => {
@@ -677,10 +679,17 @@
this.$zaudio.setAudio(data)
//渲染第一首音频
this.$zaudio.setRender(0)
+ if (this.startTime) {
+ setTimeout(() => {
+ this.stepPlay(parseInt(this.startTime / 1000))
+ })
+ }
+
},
-
+
// 跳转指定位置播放
stepPlay(t) {
+ console.log(t)
this.$zaudio.seek(t)
if (this.$zaudio.paused) {
this.$zaudio.operate()
diff --git a/pages/login/index.vue b/pages/login/index.vue
index ef77ae6..2d15bed 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -8,15 +8,15 @@
-
+
-
-
+
+
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index 1e139f0..eb7cb8d 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -9,12 +9,6 @@
-
-
录音文件
+ v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker" @click.stop>
+
+
+
+
+
+
+
{{ item.speaker | toCapital }}
@@ -73,14 +74,14 @@
-
-
+
@@ -106,13 +107,27 @@
mode="">
更多
- 设备日志
+ 设备日志
+
接待信息
- {{userlistobj.validInvalidName}}
+
+ {{userlistobj.validInvalidName}}
+
+
+
+ 接待信息
+
+
+
+ 确定
+ 取消
+
+
@@ -230,9 +245,12 @@
- 销讲总执行率{{totalRate||0}}%
- 禁忌执行
- 需求挖掘率{{KeyWordsfraction||0}}%
+
+ 销讲总执行率{{totalRate||0}}%
+ 禁忌执行
+
+ 需求挖掘率{{KeyWordsfraction||0}}%
话术内容
-
{{inc+1}}.{{che.name}}
-
+
@@ -303,7 +320,8 @@
{{item.name}}
-
+
+
{{item.selected==0?item.fraction:0}}%
@@ -313,18 +331,16 @@
-
+
话术内容
-
+
{{inc+1}}.{{che.question}}
-
+
-
+
@@ -346,14 +362,12 @@
话术内容
-
+
{{inc+1}}.{{che.question}}
-
-
+
+
@@ -486,9 +500,9 @@
-
+
-
+
diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue
index a7ad9f5..baed58d 100644
--- a/pages/reportExcel/dayReport.vue
+++ b/pages/reportExcel/dayReport.vue
@@ -454,7 +454,9 @@
}
if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) {
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) {
this.recording = this.weekObj.avgJdsList.reverse().slice(0, 3)
diff --git a/utils/domain.js b/utils/domain.js
index 3dd5e94..f44ea30 100644
--- a/utils/domain.js
+++ b/utils/domain.js
@@ -1,10 +1,10 @@
// http.js使用域名
// const baseUrl = 'http://81.70.55.170:9090/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 = '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营销辅助 普强使用