From 159121c8b5c18efd8d0f6af7b7148f9da4b603a5 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Wed, 3 Aug 2022 18:21:40 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E7=9B=96bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 6 +--
.../Piabodata/requireminingAnalysis.vue | 28 +++++-----
pages/center/consumer/consumerDetail.vue | 6 +--
pages/center/consumer/index.vue | 6 ++-
pages/mine/details2.vue | 52 ++++++++++++-------
5 files changed, 53 insertions(+), 45 deletions(-)
diff --git a/manifest.json b/manifest.json
index bb483e3..16c8fd4 100644
--- a/manifest.json
+++ b/manifest.json
@@ -99,11 +99,7 @@
"minified" : true
},
"usingComponents" : true,
- "permission" : {
- "scope.userLocation" : {
- "desc" : "获取地址信息"
- }
- },
+ "permission" : {},
"requiredBackgroundModes" : [ "audio" ],
"plugins" : {
"WechatSI" : {
diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue
index 960b0fd..b0c2447 100644
--- a/pages/center/Piabodata/requireminingAnalysis.vue
+++ b/pages/center/Piabodata/requireminingAnalysis.vue
@@ -14,10 +14,6 @@
{{ guwen}}
-
@@ -101,16 +97,19 @@
-
+
+ 全部
+
近7天
-
+
近15天
近30天
-
+
自定义
@@ -118,8 +117,6 @@
:default-value='selindex'>
-
@@ -136,7 +133,6 @@
data() {
return {
selindex: '',
- // huashushow: false,
guwenshow: false,
timeshow: false,
selectshow: false,
@@ -157,7 +153,7 @@
opts: {
rotate: false,
rotateLock: false,
- color: ["#1890FF","#91CB74","#FAC858","#EE6666"],
+ color: ['#F8A12B','#07B79D','#E7483C','#2671E1'],
padding: [5,5,5,5],
dataLabel: true,
legend: {
@@ -188,7 +184,7 @@
}
}
},
- activeTotal: 4,
+ activeTotal: 5,
houseId: '',
// hushuList: [],// 业务话术
staffList: [],// 员工列表
@@ -327,10 +323,10 @@
]}
})
},
- Toview(){
//跳转到接待记录
+ Toview(){
uni.navigateTo({
- url: '/pages/center/records/index?refresh=refresh'
+ url: '/pages/center/records/index?refresh=refresh&activeTotal='+this.activeTotal+'&staTime='+ this.startDate + '&endTime'+this.endDate+'&validInvalid=0'
});
},
// 需求挖掘分析-简报
diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index b033cf6..ad94a0e 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -113,13 +113,13 @@
- 客户:{{item.name || ''}} |
- {{item.visitRecord || '--'}}次到访
+ 客户:{{item.name || '--'}} |
+ {{item.visitRecord || '0'}}次到访
{{item.fraction || '0'}}%
- {{item.createTime}} | {{item.mm || '--'}}min
+ {{item.createTime}} | {{item.mm || 0}}min
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index 8b15141..82ea33e 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -776,6 +776,8 @@ export default {
this.isnorefresh = options.refresh;
},
onShow() {
+ // dataCode: 身份标识 2:项目总、3:客服、4:策划、5:经理、6:置业顾问
+ this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if (this.isnorefresh == "refresh") {
this.buildingID = uni.getStorageSync("buildingID").id;
this.nextPage = 1;
@@ -992,7 +994,6 @@ export default {
orderBy: this.screen.orderBy==''?'': this.screen.orderBy,// 排序
},
};
- this.userInfo = uni.getStorageSync("weapp_session_userInfo_data");
this.$u.post("/customer/customerManagement", parames)
.then((data) => {
this.LOADING = false;
@@ -1070,6 +1071,9 @@ export default {
label: '全部',
value: '',
})
+ if(this.userInfo.dataCode==6){
+ this.freeList = []
+ }
});
},
// 获取客户阶段数据
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index c67c3fe..93675a9 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -149,13 +149,15 @@
-
- 话术分类:
+
+ 话术分类:{{wordBiao.wordBiaoqian}}
- 话术内容:
+ 话术内容:
+
+
@@ -164,12 +166,18 @@
- 常错词:
+ 常错词:
+
+
+
+
-
- 正确词:
+
+ 正确词:
+
+
@@ -518,6 +526,11 @@
data() {
return {
+ customStyle: {
+ 'width': '320rpx',
+ 'font-size':'34rpx',
+ 'border-bottom': '1px solid #ccc'
+ },
wordBiao: {
level: 1,
wordBiaoqian: '',
@@ -759,10 +772,10 @@
icon: 'none',
duration: 2000
});
- this.wajueItem.isshow = true
this.wajueshow = true
return;
}
+ this.wajueshow = true
uni.request({
url: config.service.addWordMining,
method: "post",
@@ -780,17 +793,14 @@
success: (res) => {
// console.log(res)
if(res.data.code==10000){
- this.wajueItem.isshow = false
- this.wajueshow = false
uni.showToast({
title: '添加成功',
duration: 2000
});
+ this.wajueshow = false
}else{
- this.wajueshow = true
- this.wajueItem.isshow = false
uni.showToast({
- title: '添加失败',
+ title: res.data.message,
icon: 'none',
duration: 2000
});
@@ -1623,6 +1633,7 @@
openwajue(item) {
this.wajueItem = item
this.wajueshow = true;
+ item.isshow = false
},
//加精华
Addtheessence() {
@@ -2729,16 +2740,17 @@
font-size: 34rpx;
display: flex;
color: #333;
- }
- .tian-view-t3 {
- width: 100%;
- display: flex;
- font-size: 34rpx;
- .huashu-input{
- flex:1;
- font-size: 34rpx;
+ .word{
+ flex: 1;
border-bottom: 1px solid #ccc;
}
+ .word1{
+ height: 80rpx;
+ flex: 1;
+ /deep/ textarea{
+ max-height: 80rpx !important;
+ }
+ }
}
}