diff --git a/pages.json b/pages.json
index de534cc..345be75 100644
--- a/pages.json
+++ b/pages.json
@@ -104,7 +104,14 @@
"navigationBarTextStyle": "black"
}
},
-
+ {
+ "path": "details2",
+ "style": {
+ "navigationBarTitleText": "详情",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "navigationBarTextStyle": "black"
+ }
+ },
{
"path": "Myprofile",
"style": {
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index b48eddf..db3bbe8 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -30,92 +30,41 @@
-
-
-
-
- 宋
-
-
- 宋幸运
-
-
- 代接待
-
-
-
-
-
-
- 优秀案例
-
-
-
-
-
-
-
- 客户:王先生 |
-
-
- 首次到访
-
-
-
- 88% | 55分
-
-
-
-
- 2021-07-20 16:00:30 | 80分钟
-
-
-
+
+
-
- 宋
-
-
- 宋幸运
-
-
- 代接待
-
-
-
-
-
-
- 优秀案例
-
+ {{item.agentName.slice(0,1)}}
+ {{item.agentName}}
+ 代接待
+
-
-
- 客户:王先生 |
-
-
- 首次到访
-
+ 客户:{{item.name || '--'}} |
+ 首次到访
- 88% | 55分
+ {{item.fraction || '0'}}% | {{item.fraction || '0'}}分
-
- 2021-07-20 16:00:30 | 80分钟
+ {{item.createTime}} | {{item.mm || '0'}}分钟
+
+
+
-
+
@@ -128,10 +77,8 @@
-
-
- 录音标识
-
+
标记顾问
@@ -184,7 +131,7 @@
-
+
@@ -200,58 +147,136 @@
selectshow:false,
totalTimeShow: false,
screen:{
- counselorName:'',
+ agentId:'',//顾问id
record:'0',
flag:'0',
arriveNum:'0'
},
- list:[
- {
- value:1,
- label:'1'
- },
- {
- value:2,
- label:'2'
- },
- {
- value:3,
- label:'3'
- },
- {
- value:4,
- label:'4'
- },
- ],
- recordList:[],
-
-
+ freeList:[],//顾问
+ recordList:[],
+ buildingID:'',
+ nextPage:1,
+ totalRecord:"",
+ staTime:'',
+ endtime:''
+ }
+ },
+ onShow() {
+ this.buildingID = uni.getStorageSync('buildingID').id;
+ this.getMyCustom()
+ this.getFreeList();
+ },
+ onReachBottom() {
+ if(this.totalRecord==this.nextPage){
+ uni.showToast({
+ icon:'none',
+ title: '到底了',
+ duration: 2000
+ });
+ return
+ }else{
+ this.nextPage+=1;
+ this.getMyCustom();
}
},
methods:{
+ tapThevisiting(item) {
+ if(item.status==0){
+ uni.showToast({
+ icon: "none",
+ title: "排队中"
+ })
+ return
+ }else{
+ const parames = {
+ pageNum: 1,
+ pageSize: 100,
+ query: {
+ customerId: item.id,
+ }
+ }
+ var item={
+ bg:0,
+ customerId:item.id,
+ }
+ this.$u.post("/corpus/findByPage", parames).then(res => {
+ let newobj = res[0];
+ if(res[0].recordDuration>360){
+ uni.navigateTo({
+ url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}`
+ })
+ }else{
+ uni.navigateTo({
+ url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"1"}`
+ })
+ // uni.navigateTo({
+ // url: `/pages/main/details?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(item)}&stateisshow=${"2"}`
+ // })
+ }
+ })
+ }
+
+ },
+ getMyCustom(){
+ var parames = {
+ pageNum: this.nextPage,
+ pageSize: 10,
+ query: {
+ projectId:this.buildingID,
+ time:1,
+ staTime:this.staTime,
+ endtime:this.endtime
+ }
+ };
+ if(this.screen.agentId){
+ parames.query.agentId = this.screen.agentId
+ }
+ this.$u.post("/customer/findbypage", parames).then(data => {
+ var list = data.results || [];
+ this.recordList = [...this.recordList, ...list];
+ this.totalRecord=data.totalPage;
+ })
+ },
+ //获取顾问列表
+ getFreeList() {
+ this.$u.get("/zkAgentPool/freeList?itemId="+this.buildingID).then(res => {
+ this.freeList = res;
+ this.freeList.forEach(item=>{
+ item.label=item.name;
+ item.value=item.agentId
+ })
+ })
+ },
+
tabtimetap(index){
- // console.log(idx)
- // this.activeTotal=idx
if (index == 3) {
this.totalTimeShow = true;
} else {
this.activeTotal = index;
+ this.staTime='';
+ this.endtime='';
}
},
//自定义时间
totalTimeChange(e) {
- console.log(e.startDate, e.endDate)
+ this.staTime=e.startDate;
+ this.endtime=e.endDate;
this.activeTotal=3;
+ this.nextPage=1;
+ this.recordList=[];
+ this.getMyCustom();
},
// 筛选
screenshow(){
this.screenShow=true
},
actionSelectCallback(e){
- console.log(e[0].label)
- // this.value = this.actionSheetList[index].label;
- this.screen.counselorName=e[0].label
+ this.screen.agentId=e[0].value;
+ this.screenShow=false;
+ this.recordList=[];
+ this.nextPage=1;
+ this.getMyCustom();
},
reset(){
this.screen={
@@ -271,9 +296,6 @@
});
},
},
- onLoad() {
- console.log('这里是进入')
- }
}
@@ -325,12 +347,8 @@
}
}
.content{
- // background: #F8F8F8;
- height: 1000rpx;
- overflow: hidden;
.content-tips{
background: #fff;
- // height: 210rpx;
padding: 0 20rpx;
box-sizing: border-box;
overflow: hidden;
@@ -430,6 +448,7 @@
.screen{
// box-sizing: border-box;
// padding: 0 30rpx;
+ position:absolute;
.screen-counselor{
display: flex;
height: 106rpx;
@@ -501,6 +520,9 @@
}
}
.screen-foot{
+ position: relative;
+ left: 0rpx;
+ bottom: 0rpx;
height: 88rpx;
display: flex;
.screen-foot-reset{
diff --git a/pages/center/records/recordSearch.vue b/pages/center/records/recordSearch.vue
index c7abe3f..32b22b9 100644
--- a/pages/center/records/recordSearch.vue
+++ b/pages/center/records/recordSearch.vue
@@ -1,9 +1,37 @@
-
+
+
+ 搜索
+
+
+
+
+
+ {{item.agentName.slice(0,1)}}
+ {{item.agentName}}
+ 代接待
+
+
+
+
+
+ 客户:{{item.name || '--'}} |
+ 首次到访
+
+
+ {{item.fraction || '0'}}% | {{item.fraction || '0'}}分
+
+
+
+ {{item.createTime}} | {{item.mm || '0'}}分钟
+
+
-
@@ -11,8 +39,51 @@
export default{
data(){
return{
- keyword:''
+ keyword:'',
+ recordList:[],
+ buildingID:'',
+ nextPage:1,
+ totalRecord:"",
+ }
+ },
+ onShow() {
+ this.buildingID = uni.getStorageSync('buildingID').id;
+ },
+ onReachBottom() {
+ if(this.totalRecord==this.nextPage){
+ uni.showToast({
+ icon:'none',
+ title: '到底了',
+ duration: 2000
+ });
+ return
+ }else{
+ this.nextPage+=1;
+ this.getMyCustom();
}
+ },
+ methods:{
+ searchinfo(){
+ this.nextPage=1;
+ this.recordList=[];
+ this.getMyCustom();
+ },
+ getMyCustom(){
+ var parames = {
+ pageNum: this.nextPage,
+ pageSize: 10,
+ query: {
+ projectId:this.buildingID,
+ time:1,
+ nameOrPhone:this.keyword
+ }
+ };
+ this.$u.post("/customer/findbypage", parames).then(data => {
+ var list = data.results || [];
+ this.recordList = [...this.recordList, ...list];
+ this.totalRecord=data.totalPage;
+ })
+ },
}
}
@@ -20,7 +91,105 @@
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
new file mode 100644
index 0000000..d916af3
--- /dev/null
+++ b/pages/mine/details2.vue
@@ -0,0 +1,1937 @@
+
+
+
+
+
+ {{date}}
+
+
+
+
+
+
+
+ 请输入或选择
+
+
+
+
+
+
+
+
+
+ 标记
+
+
+
+
+
+
+ 录音文件
+
+
+
+
+ A
+
+
+
+ B
+
+
+
+ C
+
+
+
+ D
+
+
+
+ E
+
+
+
+
+ F
+
+
+
+ G
+
+
+
+ H
+
+
+
+ I
+
+
+
+
+
+ 复制
+
+ 常错词
+
+ 加精华
+
+ 播放
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{currentTimeStr}}
+
+
+
+ {{timeStr}}
+
+
+
+
+
+
+
+ 关键词
+
+
+
+
+ 客户意向
+
+
+
+
+ 销讲执行
+
+
+
+
+ 接待信息
+
+
+
+
+
+
+
+ 标记为顾问
+
+
+ {{item.name}}
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+
+ 常错词:
+
+
+
+
+
+
+ 正确词:
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+ 加精华
+ 选择标签
+
+
+ {{item.name}}
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+
+
+
+
+
+ 接待详情
+
+
+
+
+
+ 接待顾问
+ {{userlistobj.agentName}}
+
+
+ 意向楼盘
+ {{userlistobj.projectName}}
+
+
+ 接待开始时间
+ {{userlistobj.staTime}}
+
+
+ 接待结束时间
+ {{userlistobj.endTime1}}
+
+
+ 录音时长
+ {{userlistobj.mm}}分钟
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 销讲执行
+
+
+
+
+
+
+ 总执行率 {{totalRate}}%
+
+
+
+ {{item.name}}
+
+
+
+
+ {{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%
+
+
+
+
+
+ {{subitem.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 客户意向
+
+
+
+
+
+ 暂无数据
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+ {{chend.text}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/images/Shutdown.png b/static/images/Shutdown.png
new file mode 100644
index 0000000..08ea89a
Binary files /dev/null and b/static/images/Shutdown.png differ
diff --git a/static/images/audioinfo1.png b/static/images/audioinfo1.png
new file mode 100644
index 0000000..5c6e2de
Binary files /dev/null and b/static/images/audioinfo1.png differ
diff --git a/static/images/audioinfo2.png b/static/images/audioinfo2.png
new file mode 100644
index 0000000..0089611
Binary files /dev/null and b/static/images/audioinfo2.png differ
diff --git a/static/images/audioinfo3.png b/static/images/audioinfo3.png
new file mode 100644
index 0000000..8455a8f
Binary files /dev/null and b/static/images/audioinfo3.png differ
diff --git a/static/images/audioinfo4.png b/static/images/audioinfo4.png
new file mode 100644
index 0000000..cd8173b
Binary files /dev/null and b/static/images/audioinfo4.png differ
diff --git a/utils/http.js b/utils/http.js
index 9f3828f..bc6322a 100644
--- a/utils/http.js
+++ b/utils/http.js
@@ -1,5 +1,5 @@
-// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
-const baseUrl = 'http://192.168.31.161:8080/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'; // 质控正式