From 1aec2ba98e856b6c95ead0270ea4229428e815b8 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Sat, 23 Jul 2022 18:03:55 +0800
Subject: [PATCH 1/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BA=8C=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../center/Piabodata/Employeesstatistics.vue | 89 +-
pages/center/Piabodata/StaffAnalysis.vue | 23 +
pages/center/Piabodata/index.vue | 2 +-
pages/center/consumer/index.vue | 2453 ++++++++++-------
pages/center/records/index.vue | 651 +++--
pages/mine/details2.vue | 130 +-
6 files changed, 1997 insertions(+), 1351 deletions(-)
diff --git a/pages/center/Piabodata/Employeesstatistics.vue b/pages/center/Piabodata/Employeesstatistics.vue
index 31d2e73..04697a1 100644
--- a/pages/center/Piabodata/Employeesstatistics.vue
+++ b/pages/center/Piabodata/Employeesstatistics.vue
@@ -22,15 +22,15 @@
接待量排名(TOP10)
-
+
合计
{{newlisttabinfo1.total}}
-
+
顾问
{{newlisttabinfo1.count}}
-
+
人均接待量
{{newlisttabinfo1.avg}}
@@ -61,11 +61,11 @@
销讲执行率排行(TOP10)
-
+
顾问
{{newlisttabinfo3.count}}
-
+
人均执行率
{{newlisttabinfo3.avg}}
@@ -95,15 +95,15 @@
录音时长(TOP10)
-
+
合计
{{newlisttabinfo2.total}}
-
+
顾问
{{newlisttabinfo2.count}}
-
+
人均录音时长
{{newlisttabinfo2.avg}}
@@ -133,15 +133,15 @@
违禁次数排名(TOP10)
-
+
合计
{{newlisttabinfo4.total}}
-
+
顾问
{{newlisttabinfo4.count}}
-
+
人均违禁次数
{{newlisttabinfo4.avg}}
@@ -171,15 +171,15 @@
接待未标顾问(TOP10)
-
+
合计
{{newlisttabinfo5.total}}
-
+
顾问
{{newlisttabinfo5.count}}
-
+
均值
{{newlisttabinfo5.avg}}
@@ -202,6 +202,39 @@
+
+
+
+
+ 平均需求挖掘率排名(TOP10)
+
+
+
+ 楼盘总数
+ {{newlisttabinfo6.total}}
+
+
+ 平均挖掘率
+ {{newlisttabinfo6.avg}}
+
+
+
+
+
+ {{item.name.substring(0,4)}}
+
+
+
+ {{item.zxl==null?0:item.zxl}}
+
+
+
+ 暂无数据
+
+
+
@@ -250,6 +283,12 @@
total: '',
result: [],
},
+ newlisttabinfo6: {
+ avg: '',
+ count: '',
+ total: '',
+ result: [],
+ },
};
},
onLoad(option) {
@@ -292,6 +331,12 @@
total: '',
result: [],
}
+ this.newlisttabinfo4 = {
+ avg: '',
+ count: '',
+ total: '',
+ result: [],
+ }
var activeTotal = 0;
if (this.activeTotal == 3) {
@@ -312,6 +357,7 @@
this.staffStatisticsExecutionRateTop10(promse)
this.staffStatisticsProhibitedTop10(promse)
this.staffStatisticsUnlabeledTop10(promse)
+ this.wordlevelTop10(promse)
},
//接待量排名
staffStatisticsReceptionTop10(promse) {
@@ -369,6 +415,17 @@
this.newlisttabinfo5 = res;
})
},
+ // 平均需求挖掘率排名
+ wordlevelTop10(promse) {
+ this.$u.post('/cusLvStatistics/staffStatisticsUnlabeledTop', promse).then(res => {
+ res.result.forEach(item => {
+ item.zxl = item.tagCustomer
+ item.name = item.accountName
+ })
+ res.result = this.dealData(res.result)
+ this.newlisttabinfo6 = res;
+ })
+ },
//自定义时间
totalTimeChange(e) {
@@ -425,7 +482,6 @@
width: 100%;
height: 100%;
background: #FAFAFA;
- padding-bottom: 60rpx;
}
.single {
@@ -443,6 +499,9 @@
display: flex;
padding-top: 20rpx;
padding-bottom: 20rpx;
+ .sanbox1{
+ text-align: center;
+ }
.text1-1 {
color: #666666;
diff --git a/pages/center/Piabodata/StaffAnalysis.vue b/pages/center/Piabodata/StaffAnalysis.vue
index 0d38586..9d2ee44 100644
--- a/pages/center/Piabodata/StaffAnalysis.vue
+++ b/pages/center/Piabodata/StaffAnalysis.vue
@@ -76,6 +76,29 @@
canvasId="wangxiaouaerlingeryilingwuyibhh" :canvas2d="true" />
+
+
+
+ 平均需求挖掘率趋势
+
+
+
+
+
+ {{staff1.label}}:{{newTeam2||0}}
+ {{staff2.label}}:{{newAvg2||0}}
+
+ 录音时长
+
+
+
+
diff --git a/pages/center/Piabodata/index.vue b/pages/center/Piabodata/index.vue
index 382037d..46bc5e5 100644
--- a/pages/center/Piabodata/index.vue
+++ b/pages/center/Piabodata/index.vue
@@ -54,7 +54,7 @@
简报
- {{item.name}}
+ {{item.name}}
{{item.num}}
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index cd8dc0a..79a48f7 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -1,112 +1,175 @@
-
-
-
-
-
-
-
- 输入客户姓名/手机号
-
-
-
-
-
-
-
- {{ sortFilter }}
-
-
-
- {{ arriveFilter }}
-
-
-
- {{ receptionDuration }}
-
-
-
- 更多筛选
-
-
-
- 筛选结果:{{totalRecords}} 条
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
-
- A
- B
- C
- D
-
- {{item.name}}
-
-
-
-
-
-
- 手机号码:{{item.phone || '--'}}
-
-
+
+
+
+
+
+
+
+ 输入客户姓名/手机号
+
+
+
+
+
+
+
+ {{ sortFilter }}
+
+
+
+ {{ arriveFilter }}
+
+
+
+ {{ receptionDuration }}
+
+
+
+ 画像标签
+
+
+
+ 筛选结果:{{ totalRecords }} 条
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+ A
+ B
+ C
+ D
+ {{ item.name }}
+
+
+ 销讲执行:{{ item.fraction || 0 }}%
+
+
+
+
+ 手机号码:{{ item.phone || "--" }}
+ 到访次数:{{ item.visitRecord || "--" }}次/{{
+ item.mm || 0
+ }}min
+
+
+ 需求挖掘:{{ item.wordFraction || 0 }}%
+ 画像标签:{{
+ item.demand.cusSemanticWordsList.length || 0
+ }}
+
+
- 写跟进
-
-
-
-
-
-
-
-
- 所属顾问
-
-
-
-
-
-
-
+ -->
+
+ 所属顾问:{{ item.agentName || "--" }}
+ 客户阶段:{{ item.agentName || "--" }}
+
+
+ 上次到访:{{ item.createTime || "--" }}
+
+
+
+
+
+
+
+
+
+
+
+ 写跟进
+
+
+
+
+
+
+
+
-
-
- 客户等级
-
-
-
-
- {{item.label}}
-
-
-
-
-
-
-
-
- 到访次数
-
-
-
-
- {{item.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ -->
+
+
+
+ 咨询业务
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 接待时长
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 客户等级
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 客户阶段
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 需求挖掘率
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 销讲执行率
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 到访次数
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全部
+
+ 今天
+
+ 昨天
+
+ 近7天
+
+ 近30天
+
+ 自定义
+
+
+
+
+
+ 咨询业务
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
-
+
-
-
- 全部
-
- 今天
-
- 昨天
-
- 近7天
-
- 近30天
-
- 自定义
-
-
- 全部
-
-
- 0~15min
-
- 15~30min
-
- 30~60min
-
- 60~90min
-
- 90min以上
-
-
-
-
-
-
-
+
+
+
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index 3d2c6f2..83a72f0 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -1,7 +1,7 @@
-
+
-
+
{{ sortFilter }}
-
+
{{ arriveFilter }}
-
- {{ receptionDuration }}
+
+ {{ counselorName }}
-
+
更多筛选
@@ -48,129 +48,165 @@
@click="tapThevisiting(item)">
-
{{item.agentName}}
代接待
- {{item.receptionStatusName || ''}}
+ {{item.receptionStatusName || ''}}
-
-
{{item.validInvalidName||''}}
-
+
违禁接待
|
-
未标记
已标记
无录音
-
-
-
-
- 客户:{{item.name || '--'}} |
- 第{{item.visitRecord || "--"}}次接待
-
-
- {{item.fraction || '0'}}%
-
+
+ {{item.createTime}} | {{item.mm || '0'}}min
-
- 需求挖掘:{{item.wordFraction|| 0}}%
+
+ 客户:{{item.name || '--'}}
+ 咨询业务:一期住宅
- {{item.createTime}} | {{item.mm || '0'}} min
-
+
+ {{item.visitRecord|| 0}}
+ 访问次数
+
+
+ {{item.wordFraction||'--'}}
+ 画像标签
+
+
+ {{item.wordFraction|| 0}}%
+ 需求挖掘
+
+
+ {{item.fraction|| 0}}%
+ 销讲执行率
+
+
-
-
+
+
-
-
-
- 所属顾问
+
+
+
+ 咨询业务
+
-
-
-
+
+
+
+ {{item.label}}
+
+
-
+
+
+ 销讲执行率
+
-
-
-
+
+
+
+ {{item.label}}
+
+
- -->
-
+
+
+
+
+ 需求挖掘率
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
-
- 录音标识
+
+ 接待时长
+
-
-
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+ 录音标识
+
+
+
+
有效接待
-
无效接待
-
无录音
+
-
- 标记顾问
+
+ 标记顾问
+
-
-
+
标记
-
未标记
+
-
- 到访次数
+
+ 到访次数
+
-
+
-
+
{{item.label}}
-
-
-
-
-
-
-
- 常错词:
+
+
+
+
-
+ 话术分类:
-
-
- 正确词:
+
-
+ 话术内容:
+
+
-
+
@@ -494,7 +485,7 @@
-
+
@@ -516,6 +507,31 @@
data() {
return {
+ wordBiaoqian: '',
+ treelist: [{
+ value: 1,
+ label: '中国',
+ children: [
+ {
+ value: 2,
+ label: '广东'
+ },
+ {
+ value: 5,
+ label: '广西'
+ }
+ ]},
+ {
+ value: 8,
+ label: '美国',
+ children: [
+ {
+ value: 9,
+ label: '纽约',
+ }
+ ]
+ }],
+ treeshow: false,
KeyWordsfraction: 0,
KeyWordsfractionList: [],
noClick: true,
@@ -609,12 +625,12 @@
textItself: '',
argtextindex1: 0,
argtextindex2: 0,
-
+ wajueshow: false,
+ wajueword: '',
roleisshaw: false,
roleindexrow: 0,
roletiaoshu: 0,
infos: null,
-
ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
isPageHide: false, // 是否息屏
duration: '', // 总时长
@@ -712,6 +728,13 @@
},
methods: {
+ confirm(){
+
+ },
+ CancelAdd(){
+ this.wajueshow = false
+
+ },
hangeshow2(item,type){
item.show = !item.show;
},
@@ -1016,8 +1039,6 @@
}
},
-
-
//接待详情点击
Receivedetailsabouttab(stringa) {
if (stringa == 'Receivedetailsabout') {
@@ -1492,6 +1513,11 @@
this.reswrongword = "";
this.isshow2 = true;
},
+ //加入挖掘话术
+ openwajue(word) {
+ this.wajueword = word;
+ this.wajueshow = true;
+ },
//加精华
Addtheessence() {
this.isshow3 = true;
@@ -2554,37 +2580,33 @@
.tian-view {
width: 570upx;
background-color: #FFFFFF;
- border-bottom: 1px solid #ededee;
display: flex;
- min-height: 96rpx;
-
- .tian-view-t1 {
- width: 20rpx;
- font-size: 34rpx;
- height: 34rpx;
- line-height: 110rpx;
- letter-spacing: 0px;
- color: red;
- }
+ margin-bottom:30rpx;
.tian-view-t2 {
- width: 30%;
- min-height: 96rpx;
- line-height: 96rpx;
+ width: 100%;
font-size: 34rpx;
- color: #333;
- }
-
- .tian-view-t3 {
- width: 61%;
- padding-top: 31rpx;
- padding-bottom: 31rpx;
display: flex;
-
+ align-items: center;
+ color: #333;
.tian-input {
- width: 98%;
+ width: 300rpx;
font-size: 34rpx;
border: none;
+ border-bottom: 1px solid #eee;
+ }
+ }
+ .tian-view-t3 {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ .huashu-input{
+ width: 300rpx;
+ height: 60rpx;
+ padding: 0 10rpx;
+ font-size: 24rpx;
+ border: 1rpx solid #E0E0E0;
+ border-radius: 4rpx;
}
}
}
From 38f4ba14b591f45c718ed0229868822e20cb93b1 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Mon, 25 Jul 2022 17:04:57 +0800
Subject: [PATCH 2/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BA=8C=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/center/consumer/consumerDetail.vue | 124 +++--
pages/center/consumer/index.vue | 636 ++++++++++++-----------
pages/center/records/index.vue | 60 ++-
pages/mine/details.vue | 125 +++--
pages/mine/details2.vue | 51 +-
5 files changed, 553 insertions(+), 443 deletions(-)
diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index 6f154e0..19f1c02 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -14,18 +14,49 @@
-
+
+ 销讲执行:{{ customerInfo.fraction || 0 }}%
+
- 手机号码:
- {{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.length==11?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone:customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}
+
+ 手机号码:{{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.length==11?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone:customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}
+ 到访次数:{{ customerInfo.visitRecord || "--" }}次/{{
+ customerInfo.mm || 0
+ }}min
-
+
+ 需求挖掘:{{ customerInfo.wordFraction || 0 }}%
+ 画像标签:{{
+ customerInfo.demand.cusSemanticWordsList.length || 0
+ }}
+
+
+ 所属顾问:{{ customerInfo.agentName || "--" }}
+ 客户阶段:{{ customerInfo.agentName || "--" }}
+
+
+ 上次到访:{{ customerInfo.createTime || "--" }}
+
+
@@ -1049,7 +1066,6 @@
display: flex;
justify-content: space-between;
box-sizing: border-box;
- // border-top: 1px solid #E0E0E0;
font-weight: 400;
color: #292929;
height: 90rpx;
@@ -1060,21 +1076,22 @@
display: flex;
.img {
- // margin-top: 19rpx;
- width: 52rpx;
- height: 52rpx;
- border: 1px solid #E0E0E0;
- border-radius: 50%;
- text-align: center;
- line-height: 50rpx;
- margin-right: 20rpx;
- }
-
- .test {
- margin-top: 11rpx;
- font-weight: 500;
- color: #333333;
- }
+ width: 52rpx;
+ height: 52rpx;
+ border-radius: 50%;
+ text-align: center;
+ line-height: 50rpx;
+ margin-right: 20rpx;
+ color: #fff;
+ font-size: 30rpx;
+ background: #9f61c8;
+ }
+
+ .test {
+ margin-top: 11rpx;
+ font-weight: 500;
+ color: #333333;
+ }
.edit {
height: 30rpx;
@@ -1089,22 +1106,18 @@
}
}
- .right {
- display: flex;
-
- .point {
- width: 12rpx;
- height: 12rpx;
- background: #2B6EFF;
- border-radius: 50%;
- margin-right: 9rpx;
- margin-top: 20rpx;
- }
-
- .test {
- margin-top: 11rpx;
- }
- }
+ .right {
+ display: flex;
+ .test {
+ margin-top: 11rpx;
+ .blue {
+ font-size: 32rpx;
+ font-family: PingFangSC-Medium, PingFang SC;
+ font-weight: 500;
+ color: #2671e2;
+ }
+ }
+ }
}
.content-sec {
@@ -1113,8 +1126,9 @@
position: relative;
.content-sec-lab {
- margin-top: 30rpx;
+ margin-top: 28rpx;
display: flex;
+ justify-content: space-between;
font-size: 30rpx;
font-weight: 400;
color: #666666;
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index 79a48f7..e67ea92 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -167,8 +167,227 @@
-
+
+
+
+
+
+ 咨询业务
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 接待时长
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 客户等级
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 客户阶段
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 需求挖掘率
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 销讲执行率
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ 到访次数
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
-
-
-
- 咨询业务
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- 接待时长
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- 客户等级
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- 客户阶段
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- 需求挖掘率
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- 销讲执行率
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- 到访次数
-
-
-
-
-
- {{ item.label }}
-
-
-
-
+
-
-
- 咨询业务
-
-
-
-
-
- {{ item.label }}
-
-
-
-
+
+
+
+ 咨询业务
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
-
+
+
@@ -209,6 +210,7 @@
+
+
+
+
+
+
+ 话术分类:
+
+
+
+
+ 话术内容:
+
+
+
+
+
-
+
选择
@@ -214,6 +242,32 @@
},
data() {
return {
+ wajueshow: false,
+ wordBiaoqian: '',
+ treelist: [{
+ value: 1,
+ label: '中国',
+ children: [
+ {
+ value: 2,
+ label: '广东'
+ },
+ {
+ value: 5,
+ label: '广西'
+ }
+ ]},
+ {
+ value: 8,
+ label: '美国',
+ children: [
+ {
+ value: 9,
+ label: '纽约',
+ }
+ ]
+ }],
+ treeshow: false,
recordPath: "",
customerId: "",
luyinList: [], //录音文件
@@ -342,7 +396,6 @@
!this.isPageHide && this.init(info)
},
-
onHide() {
this.isPageHide = true
},
@@ -373,6 +426,23 @@
}
},
methods: {
+ wajueConfirm(){
+ },
+ // 挖掘话术分类树的选择
+ confirm(e){
+ console.log(e)
+ this.wordBiaoqian = e[0].label + '-' + e[1].label
+ // this.wordBiaoqianId[0] = e[0].value
+ // this.wordBiaoqianId[1] = e[1].value
+ },
+ CancelAdd(){
+ this.wajueshow = false
+ },
+ //加入挖掘话术
+ openwajue(word) {
+ this.wajueword = word;
+ this.wajueshow = true;
+ },
eqLogClick(){
uni.navigateTo({
url:`./equipmentLog?id=${this.customerId}`
@@ -1192,44 +1262,41 @@
// 表单
.tian-view {
- width: 570upx;
+ width: 570rpx;
background-color: #FFFFFF;
- border-bottom: 1px solid #ededee;
display: flex;
- min-height: 96rpx;
-
- .tian-view-t1 {
- width: 20rpx;
- font-size: 34rpx;
- height: 34rpx;
- line-height: 110rpx;
- letter-spacing: 0px;
- color: red;
- }
+ margin-bottom:30rpx;
.tian-view-t2 {
- width: 30%;
- min-height: 96rpx;
- line-height: 96rpx;
+ width: 100%;
font-size: 34rpx;
+ display: flex;
+ align-items: center;
color: #333;
+ .tian-input {
+ width: 384rpx;
+ font-size: 34rpx;
+ border: none;
+ border-bottom: 1px solid #eee;
+ }
}
-
.tian-view-t3 {
- width: 61%;
- padding-top: 31rpx;
- padding-bottom: 31rpx;
+ width: 100%;
display: flex;
-
- .tian-input {
- width: 98%;
+ font-size: 34rpx;
+ align-items: center;
+ .huashu-input{
+ width: 384rpx;
+ height: 60rpx;
+ padding: 0 10rpx;
font-size: 34rpx;
- border: none;
+ border-bottom: 1rpx solid #E0E0E0;
+ border-radius: 4rpx;
}
}
}
- .zhezhoa {
+ .zhezhao {
position: fixed;
top: 0;
left: 0;
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index 0195d46..dd34b42 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -116,7 +116,7 @@
-
+
标记为顾问
-
-
+
+
- 话术分类:
+ 话术分类:
-
- 话术内容:
+
+ 话术内容:
-
+
@@ -162,7 +162,7 @@
-
+
加精华
选择标签
@@ -179,7 +179,7 @@
-
+
-
+
-
+
校准
-
+
选择
@@ -465,7 +465,7 @@
-
+
修改角色
Date: Tue, 26 Jul 2022 10:05:20 +0800
Subject: [PATCH 3/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BA=8C=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 17 -
pages/center/Piabodata/TrendAnalysis1.vue | 1544 +++++++++++++++++++++
pages/center/records/index.vue | 1 +
pages/mine/details.vue | 6 +-
pages/mine/details2.vue | 6 +-
5 files changed, 1551 insertions(+), 23 deletions(-)
create mode 100644 pages/center/Piabodata/TrendAnalysis1.vue
diff --git a/pages.json b/pages.json
index f73a7c3..4a11d57 100644
--- a/pages.json
+++ b/pages.json
@@ -4,23 +4,6 @@
},
//这个pages里只放这五个页面,新增页面时请对应的放到下面的分包里
"pages": [
- // {
- // "path": "pages/mine/registerForm",
- // "style": {
- // "navigationBarTitleText": "访客登记表",
- // "navigationBarBackgroundColor": "#2671E2",
- // "navigationBarTextStyle": "white"
- // }
-
- // },
- // {
- // "path": "pages/mine/registerResult",
- // "style": {
- // "navigationBarTitleText": "访客登记表",
- // "navigationBarBackgroundColor": "#2671E2",
- // "navigationBarTextStyle": "white"
- // }
- // },
{
"path": "pages/index/guide",
"style": {
diff --git a/pages/center/Piabodata/TrendAnalysis1.vue b/pages/center/Piabodata/TrendAnalysis1.vue
new file mode 100644
index 0000000..f5915c3
--- /dev/null
+++ b/pages/center/Piabodata/TrendAnalysis1.vue
@@ -0,0 +1,1544 @@
+
+
+
+
+
+ {{ time }}
+
+
+
+ {{ team }}
+
+
+
+ {{ guwen }}
+
+
+
+ {{huashu}}
+
+
+
+
+
+
+ {{sheartime1}}
+
+
+
+
+
+
+
+
+ 对比
+
+
+ {{sheartime2}}
+
+
+
+
+
+
+
+ 数据起始时间:{{kanbanlist.kaishitime}}
+
+ 数据对比时间:
+ {{kanbanlist.duibitime}}
+
+
+
+
+
+ 简报
+
+
+ {{item.name}}/分
+ {{item.name}}
+
+
+ {{index==1?item.num+'%':item.num}}
+
+
+ 对比:{{index==1?item.num1+'%':item.num1}}
+
+ {{item.num2+'%'}}{{item.num2*1 > 0 ? '↑':'↓'}}
+
+
+ {{item.num2+'%'}}
+
+
+
+
+
+
+
+
+
+
+ 平均执行率
+
+
+ 平均挖掘率
+
+
+ 挖掘场景
+
+
+ 销讲一级
+
+
+ 销讲二级
+
+
+
+
+
+
+
+
+
+ 选择一级:
+
+
+
+
+
+
+
+
+
+
+
+ 选择二级:
+
+
+
+
+
+
+
+
+
+
+
+ {{Selecttuanduiobj.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+ 对比报表
+
+
+
+
+
+ {{item1}}
+
+ {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
+
+
+
+
+
+
+
+
+
+
+
+ {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
+
+
+ {{item1+'%'}}
+
+ {{item1}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全部
+
+ 今天
+
+ 昨天
+
+ 近7天
+
+ 近30天
+
+ 自定义
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index 618e8b8..8302563 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -1127,6 +1127,7 @@
display: flex;
flex-wrap: wrap;
.screen-record-item{
+ min-width: 150rpx;
padding: 0 14rpx;
height: 60rpx;
border-radius: 8rpx;
diff --git a/pages/mine/details.vue b/pages/mine/details.vue
index c617d09..a480622 100644
--- a/pages/mine/details.vue
+++ b/pages/mine/details.vue
@@ -1274,8 +1274,9 @@
.tian-input {
width: 384rpx;
font-size: 34rpx;
+ padding: 0 10rpx;
border: none;
- border-bottom: 1px solid #eee;
+ border-bottom: 1px solid #e0e0e0;
}
}
.tian-view-t3 {
@@ -1288,8 +1289,7 @@
height: 60rpx;
padding: 0 10rpx;
font-size: 34rpx;
- border-bottom: 1rpx solid #E0E0E0;
- border-radius: 4rpx;
+ border-bottom: 1px solid #E0E0E0;
}
}
}
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index cca239f..87a27ca 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -2596,8 +2596,9 @@
.tian-input {
width: 384rpx;
font-size: 34rpx;
+ padding: 0 10rpx;
border: none;
- border-bottom: 1px solid #eee;
+ border-bottom: 1px solid #e0e0e0;
}
}
.tian-view-t3 {
@@ -2610,8 +2611,7 @@
height: 60rpx;
padding: 0 10rpx;
font-size: 34rpx;
- border-bottom: 1rpx solid #E0E0E0;
- border-radius: 4rpx;
+ border-bottom: 1px solid #E0E0E0;
}
}
}
From 3001765f23f89239fb98a69eea927d4a769db5ac Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Tue, 26 Jul 2022 16:59:30 +0800
Subject: [PATCH 4/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BA=8C=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/center/Piabodata/TrendAnalysis.vue | 129 ++++++++++++++++--
...rendAnalysis1.vue => TrendAnalysisold.vue} | 129 ++----------------
pages/center/Piabodata/index.vue | 11 ++
.../Piabodata/requireminingAnalysis.vue | 6 +-
pages/center/consumer/consumerDetail.vue | 40 ++++--
pages/center/consumer/edit.vue | 8 +-
pages/center/consumer/index.vue | 118 +++++++++++++---
pages/index/index.vue | 17 ++-
pages/mine/details.vue | 73 ++++++----
pages/mine/details2.vue | 104 +++++++++-----
10 files changed, 393 insertions(+), 242 deletions(-)
rename pages/center/Piabodata/{TrendAnalysis1.vue => TrendAnalysisold.vue} (91%)
diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue
index 6ac9603..f5915c3 100644
--- a/pages/center/Piabodata/TrendAnalysis.vue
+++ b/pages/center/Piabodata/TrendAnalysis.vue
@@ -1,7 +1,25 @@
-
-
+
+
+
+ {{ time }}
+
+
+
+ {{ team }}
+
+
+
+ {{ guwen }}
+
+
+
+ {{huashu}}
+
+
+
@@ -42,6 +60,7 @@
+
简报
@@ -70,7 +89,7 @@
-
+
+
+ 平均执行率
+
+
+ 平均挖掘率
+
+
+ 挖掘场景
销讲一级
@@ -89,13 +117,13 @@
-
{{lopanobj.name}}
-
+ -->
@@ -161,7 +189,6 @@
暂无数据
-
@@ -222,7 +249,32 @@
-
+
+
+
+ 全部
+
+ 今天
+
+ 昨天
+
+ 近7天
+
+ 近30天
+
+ 自定义
+
+
+
+
+
+
@@ -238,6 +290,13 @@
},
data() {
return {
+ time: '接待时间',
+ team: '部门',
+ guwen: '顾问',
+ huashu: '全部话术',
+ huashuList: false,
+ huashuShow: false,
+ freeList: [], //顾问
selindexList: [0], // 默认选中第一项
selindexList4: [0], // 默认选中第一项
compareFlag: false,
@@ -259,6 +318,12 @@
num1: '0',
num2: '0'
},
+ {
+ name: '有效接待',
+ num: '10',
+ num1: '0',
+ num2: '0'
+ },
],
activeTotal: 0, //时间下标
newactiveTotal: 0, //tab下标
@@ -320,7 +385,6 @@
},
Showhiddenunits4: false,
showCanvas: true,
-
timepickpickisshow: false,
sheartime1: "",
sheartime2: "",
@@ -335,6 +399,7 @@
this.LOADING = true
this.pamect.houseId = uni.getStorageSync('buildingID').id;
this.init()
+ this.getFreeList()
if (option.type == 1) {
this.timepickpickisshow = true
@@ -380,6 +445,31 @@
},
},
methods: {
+ // 顾问
+ actionSelectCallback(e) {
+ // this.screen.agentId = e[0].value;
+ // this.counselorName = e[0].label;
+ },
+ // 话术
+ actionSelectCallback1(e) {
+ // this.screen.agentId = e[0].value;
+ // this.counselorName = e[0].label;
+ },
+ //获取顾问列表
+ getFreeList() {
+ this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
+ houseId: this.pamect.houseId
+ }).then(res => {
+ this.freeList = res;
+ this.huashuList = res;
+ if(this.freeList.length){
+ this.freeList.forEach(item => {
+ item.label = item.name;
+ item.value = item.accountId
+ })
+ }
+ })
+ },
// 时间格式转换
fomatDate(date) {
if (!date) return '--'
@@ -602,6 +692,18 @@
this.guwenshow = false;
this.Selectlevel = false;
this.Selecttuandui = false;
+ // this.tableDate = []
+ // this.pamect.showStatus = 0;
+ // this.pamect.timeType = "4";
+ // this.pamect.firstStartDate = '';
+ // this.pamect.firstEndDate = '';
+ // this.pamect.lastStartDate = '';
+ // this.pamect.lastEndDate = '';
+ // this.pamect.accountId = '';
+ // this.pamect.marketingId = '';
+ // this.pamect.deptId = ""
+ // this.activeTotal = 0;
+ this.timepickpickisshow = false;
this.init()
if (index == 1) {
@@ -758,7 +860,6 @@
arr[1].push(data.thirdList[index].total)
})
that.tableDate = arr
-
console.log(this.lineOptsect, 'console.log(this.lineOptsect)')
}
@@ -1048,7 +1149,7 @@
this.Selecttuanduiobj.id = "";
this.Selecttuanduiobj.name = "全部";
this.pamect.deptId = this.Selecttuanduiobj.id;
- this.TeamCompared()
+ // this.TeamCompared()
}
})
},
@@ -1432,8 +1533,12 @@
border-right: none;
border-bottom: none;
}
+ .grid:nth-child(2) {
+ border-bottom: none;
+ }
.grid:nth-child(3) {
- width: 50.5%;
+ width: 50%;
+ border-right: none;
}
diff --git a/pages/center/Piabodata/TrendAnalysis1.vue b/pages/center/Piabodata/TrendAnalysisold.vue
similarity index 91%
rename from pages/center/Piabodata/TrendAnalysis1.vue
rename to pages/center/Piabodata/TrendAnalysisold.vue
index f5915c3..6ac9603 100644
--- a/pages/center/Piabodata/TrendAnalysis1.vue
+++ b/pages/center/Piabodata/TrendAnalysisold.vue
@@ -1,25 +1,7 @@
-
-
-
- {{ time }}
-
-
-
- {{ team }}
-
-
-
- {{ guwen }}
-
-
-
- {{huashu}}
-
-
-
+
@@ -60,7 +42,6 @@
-
简报
@@ -89,7 +70,7 @@
-
-
- 平均执行率
-
-
- 平均挖掘率
-
-
- 挖掘场景
销讲一级
@@ -117,13 +89,13 @@
-
+
@@ -189,6 +161,7 @@
暂无数据
+
@@ -249,32 +222,7 @@
-
-
-
- 全部
-
- 今天
-
- 昨天
-
- 近7天
-
- 近30天
-
- 自定义
-
-
-
-
-
-
+
@@ -290,13 +238,6 @@
},
data() {
return {
- time: '接待时间',
- team: '部门',
- guwen: '顾问',
- huashu: '全部话术',
- huashuList: false,
- huashuShow: false,
- freeList: [], //顾问
selindexList: [0], // 默认选中第一项
selindexList4: [0], // 默认选中第一项
compareFlag: false,
@@ -318,12 +259,6 @@
num1: '0',
num2: '0'
},
- {
- name: '有效接待',
- num: '10',
- num1: '0',
- num2: '0'
- },
],
activeTotal: 0, //时间下标
newactiveTotal: 0, //tab下标
@@ -385,6 +320,7 @@
},
Showhiddenunits4: false,
showCanvas: true,
+
timepickpickisshow: false,
sheartime1: "",
sheartime2: "",
@@ -399,7 +335,6 @@
this.LOADING = true
this.pamect.houseId = uni.getStorageSync('buildingID').id;
this.init()
- this.getFreeList()
if (option.type == 1) {
this.timepickpickisshow = true
@@ -445,31 +380,6 @@
},
},
methods: {
- // 顾问
- actionSelectCallback(e) {
- // this.screen.agentId = e[0].value;
- // this.counselorName = e[0].label;
- },
- // 话术
- actionSelectCallback1(e) {
- // this.screen.agentId = e[0].value;
- // this.counselorName = e[0].label;
- },
- //获取顾问列表
- getFreeList() {
- this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
- houseId: this.pamect.houseId
- }).then(res => {
- this.freeList = res;
- this.huashuList = res;
- if(this.freeList.length){
- this.freeList.forEach(item => {
- item.label = item.name;
- item.value = item.accountId
- })
- }
- })
- },
// 时间格式转换
fomatDate(date) {
if (!date) return '--'
@@ -692,18 +602,6 @@
this.guwenshow = false;
this.Selectlevel = false;
this.Selecttuandui = false;
- // this.tableDate = []
- // this.pamect.showStatus = 0;
- // this.pamect.timeType = "4";
- // this.pamect.firstStartDate = '';
- // this.pamect.firstEndDate = '';
- // this.pamect.lastStartDate = '';
- // this.pamect.lastEndDate = '';
- // this.pamect.accountId = '';
- // this.pamect.marketingId = '';
- // this.pamect.deptId = ""
- // this.activeTotal = 0;
- this.timepickpickisshow = false;
this.init()
if (index == 1) {
@@ -860,6 +758,7 @@
arr[1].push(data.thirdList[index].total)
})
that.tableDate = arr
+
console.log(this.lineOptsect, 'console.log(this.lineOptsect)')
}
@@ -1149,7 +1048,7 @@
this.Selecttuanduiobj.id = "";
this.Selecttuanduiobj.name = "全部";
this.pamect.deptId = this.Selecttuanduiobj.id;
- // this.TeamCompared()
+ this.TeamCompared()
}
})
},
@@ -1533,12 +1432,8 @@
border-right: none;
border-bottom: none;
}
- .grid:nth-child(2) {
- border-bottom: none;
- }
.grid:nth-child(3) {
- width: 50%;
- border-right: none;
+ width: 50.5%;
}
diff --git a/pages/center/Piabodata/index.vue b/pages/center/Piabodata/index.vue
index 46bc5e5..3016aca 100644
--- a/pages/center/Piabodata/index.vue
+++ b/pages/center/Piabodata/index.vue
@@ -46,6 +46,12 @@
集团对比
+
+
+
+
+ 需求挖掘分析
+
@@ -398,6 +404,11 @@
}, 1000);
},
methods: {
+ towajue(){
+ uni.navigateTo({
+ url: "/pages/center/Piabodata/requireminingAnalysis"
+ })
+ },
queryHaveDept() {
return new Promise((resolve, reject) => {
this.$u.get("/user/queryHaveDept?houseId=" + this.houseId).then(res => {
diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue
index 922a8cf..45e886a 100644
--- a/pages/center/Piabodata/requireminingAnalysis.vue
+++ b/pages/center/Piabodata/requireminingAnalysis.vue
@@ -232,10 +232,10 @@
lineOptsect: {
"categories": [],
"series": [{
- "name": "第一段",
+ "name": "起始时间",
"data": []
},{
- "name": "第二段",
+ "name": "对比时间",
"data": []
}
]
@@ -517,7 +517,7 @@
.tongjiDesc{
width: 80%;
background: #FFFFFF;
- border-radius: 4rpx;
+ border-radius: 12rpx;
padding: 30rpx;
}
.close{
diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index 19f1c02..1bac4cd 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -37,10 +37,10 @@
需求挖掘:{{ customerInfo.wordFraction || 0 }}%
- 画像标签:{{
+ 画像标签:{{
customerInfo.demand.cusSemanticWordsList.length || 0
- }}查看
@@ -353,9 +353,9 @@
-
+
-
+
{{item.name}}
@@ -1136,6 +1136,21 @@
.content-sec-lab1 {
color: #333333;
+ .look{
+ font-size: 32rpx;
+ font-family: PingFangSC-Semibold, PingFang SC;
+ font-weight: 600;
+ color: #2671E2;
+ }
+ .look1{
+ height: 42rpx;
+ font-size: 30rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #2671E2;
+ line-height: 42rpx;
+ margin-left: 60rpx;
+ }
}
.content-sec-tips {
@@ -1418,22 +1433,21 @@
}
.upon-sec-tips {
- // max-width:120rpx ;
+ min-width:96rpx;
height: 46rpx;
background: #F2F2F2;
border-radius: 6rpx;
text-align: center;
- line-height: 26rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
+ line-height: 46rpx;
+ // overflow: hidden;
+ // text-overflow: ellipsis;
+ // white-space: nowrap;
font-size: 26rpx;
font-weight: 400;
color: #333333;
- margin-right: 20rpx;
- margin-top: 20rpx;
+ margin: 0 20rpx 20rpx 0;
+ padding: 0 10rpx;
box-sizing: border-box;
- padding: 10rpx 24rpx;
}
.conmsg-msg-lab-img {
diff --git a/pages/center/consumer/edit.vue b/pages/center/consumer/edit.vue
index 0dd11da..5bfe27c 100644
--- a/pages/center/consumer/edit.vue
+++ b/pages/center/consumer/edit.vue
@@ -465,20 +465,20 @@
.con-msg-con {
display: flex;
flex-wrap: wrap;
- // justify-content: space-around;
border-bottom: 1px solid #E0E0E0;
padding-bottom: 16rpx;
.chebox {
- // width: 20%;
height: 60rpx;
line-height: 60rpx;
- // margin: 10rpx 0;
margin-bottom: 25rpx;
margin-right: 20rpx;
border: 1px solid #E0E0E0;
box-sizing: border-box;
padding: 0 10rpx;
+ border-radius: 12rpx;
+ min-width: 150rpx;
+ text-align: center
}
}
@@ -486,7 +486,7 @@
width: 120rpx;
height: 60rpx;
background: #FFFFFF;
- border-radius: 4rpx;
+ border-radius: 12rpx;
border: 1px solid #E0E0E0;
text-align: center;
line-height: 60rpx;
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index e67ea92..82764f8 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -260,6 +260,36 @@
+
+
+
+ 客户来源
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
-
+ > -->
-
-
- 咨询业务
+
+ {{item.name}}
-
-
+
+
- {{ item.label }}
+ {{ subitem.name }}
@@ -522,7 +552,7 @@
-
+
import loading from "@/components/loading/index.vue";
+const config = require("@/config");
export default {
components: {
loading,
@@ -545,12 +576,14 @@ export default {
huaxiangShow: false,
wajueArrow: false,
jieduanArrow: false,
+ sourceArrow: false,
levelArrow: false,
zixunArrow: true,
jiedaiArrow: false,
luyinArrow: false,
visitArrow: false,
xiaojiangArrow: false,
+ huaxiangList: [],
orderBylist: [
{
label: "全部",
@@ -693,7 +726,7 @@ export default {
value: "",
screenShow: false,
selectshow: false,
- selectTipshow: false,
+ // selectTipshow: false,
selectPhaseShow: false,
buildingID: "",
screen: {
@@ -701,8 +734,8 @@ export default {
agentIdtext: "",
visitRecord: [],
record: [],
- cunsumerTips: "",
- cunsumerTipsid: "",
+ // cunsumerTips: "",
+ // cunsumerTipsid: "",
clientStage: "",
clientStageName: "",
},
@@ -795,6 +828,7 @@ export default {
isShow: false,
},
],
+ sourceList: [],//客户来源
isRefresh: false,
// 筛选文字展示
sortFilter: "排序",
@@ -814,8 +848,10 @@ export default {
this.isRefresh = false;
this.getMyCustom();
this.getFreeList();
- this.getfindKeywordsList();
+ // this.getfindKeywordsList();
+ this.getWordMiningList();
this.getCustomPhase();
+ this.getFromSource();
this.isnorefresh = "";
}
},
@@ -842,7 +878,25 @@ export default {
this.getMyCustom();
}
},
+
methods: {
+ // 获取客户来源
+ getFromSource() {
+ this.$u.get(config.service.sourceList, {
+ houseId: this.buildingID
+ })
+ .then((res) => {
+ console.log(res)
+ if(res.length){
+ res.forEach((item) => {
+ item.label = item.sourceName
+ item.value = item.id
+ item.isShow = false
+ })
+ }
+ this.sourceList = res
+ })
+ },
// 过滤
resetFilter() {
this.sortFilter = "排序";
@@ -976,7 +1030,7 @@ export default {
pageSize: 10,
query: {
projectId: this.buildingID,
- keywordsId: this.screen.cunsumerTipsid,
+ // keywordsId: this.screen.cunsumerTipsid,
clientStage: this.screen.clientStage,
agentId: this.screen.agentId,
dateType: dateType,
@@ -1041,6 +1095,28 @@ export default {
this.LOADING = false;
});
},
+ //获取画像标签
+ getWordMiningList() {
+ this.huaxiangList = [];
+ this.$u.get("/corpus/findSelectedWordMiningTemplate", {
+ houseId: this.buildingID,
+ selected: 1
+ })
+ .then((res) => {
+ // console.log(res)
+ if(res.length){
+ res.forEach(item=>{
+ item.isShow = false;
+ if(item.children.length){
+ item.children.forEach(subitem=>{
+ subitem.isShow = false;
+ })
+ }
+ })
+ }
+ this.huaxiangList = res;
+ });
+ },
//获取顾问列表
getFreeList() {
this.freeList = [];
@@ -1099,10 +1175,10 @@ export default {
this.receptionDuration = e[0].label;
},
//选择标签
- selectCallback(e) {
- this.screen.cunsumerTips = e[0].label;
- this.screen.cunsumerTipsid = e[0].value;
- },
+ // selectCallback(e) {
+ // this.screen.cunsumerTips = e[0].label;
+ // this.screen.cunsumerTipsid = e[0].value;
+ // },
selectPhase(e) {
this.screen.clientStageName = e[0].label;
this.screen.clientStage = e[0].value;
diff --git a/pages/index/index.vue b/pages/index/index.vue
index a828cc4..99e5bf8 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -440,12 +440,15 @@
},
success: (res) => {
- this.first(res.data.data.id)
- this.content = res.data.data.content
- this.tit = res.data.data.title
- this.aid = res.data.data.accountId
- this.id = res.data.data.id
- this.isShowUpdate = res.data.data.readFlag == 0 ? true : false;
+ let data = res.data.data
+ if(data){
+ this.first(data.id)
+ this.content = data.content
+ this.tit = data.title
+ this.aid = data.accountId
+ this.id = data.id
+ this.isShowUpdate = data.readFlag == 0 ? true : false;
+ }
}
})
},
@@ -487,7 +490,7 @@
this.$u.get("/user/getMenu").then(data => {
uni.setStorageSync("weapp_session_Menu_data", data)
this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
- console.log(this.Menulist, 'adasdasds123')
+ // console.log(this.Menulist, 'adasdasds123')
})
},
//自定义时间
diff --git a/pages/mine/details.vue b/pages/mine/details.vue
index a480622..85f7e10 100644
--- a/pages/mine/details.vue
+++ b/pages/mine/details.vue
@@ -72,9 +72,9 @@
加精华
- 挖掘话术
-
+ -->
播放
@@ -190,7 +190,7 @@
- 话术分类:
+ 话术分类:
@@ -242,29 +242,8 @@
return {
wajueshow: false,
wordBiaoqian: '',
- treelist: [{
- value: 1,
- label: '中国',
- children: [
- {
- value: 2,
- label: '广东'
- },
- {
- value: 5,
- label: '广西'
- }
- ]},
- {
- value: 8,
- label: '美国',
- children: [
- {
- value: 9,
- label: '纽约',
- }
- ]
- }],
+ wordBiaoqianId: [],
+ treelist: [],
treeshow: false,
recordPath: "",
customerId: "",
@@ -383,6 +362,7 @@
}
})
this.buildingID = uni.getStorageSync('buildingID').id;
+ this.getWordMiningList()
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if (this.userInfo.dataCode == 6) {
this.jiaoseshow = false
@@ -424,14 +404,49 @@
}
},
methods: {
+ //获取画像标签
+ getWordMiningList() {
+ this.treelist = [];
+ this.$u.get("/corpus/findSelectedWordMiningTemplate", {
+ houseId: this.buildingID,
+ selected: 0
+ })
+ .then((res) => {
+ // console.log(res)
+
+ if(res.length){
+ res.forEach(item=>{
+ item.value = item.id;
+ item.label = item.name;
+ if(item.children.length){
+ item.children.forEach(subitem=>{
+ subitem.value = subitem.id;
+ subitem.label = subitem.name;
+ })
+ }else{
+ item.children=[{
+ value: 'default'+ item.id,
+ label: '--'
+ }]
+ }
+ })
+ }
+ this.treelist = res;
+ });
+ },
wajueConfirm(){
},
// 挖掘话术分类树的选择
confirm(e){
console.log(e)
- this.wordBiaoqian = e[0].label + '-' + e[1].label
- // this.wordBiaoqianId[0] = e[0].value
- // this.wordBiaoqianId[1] = e[1].value
+ if(e[1].label=='--'){
+ this.wordBiaoqian = e[0].label
+ this.wordBiaoqianId[0] = e[0].value
+ }else{
+ this.wordBiaoqian = e[0].label + '-' + e[1].label
+ this.wordBiaoqianId[0] = e[0].value
+ this.wordBiaoqianId[1] = e[1].value
+ }
},
CancelAdd(){
this.wajueshow = false
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index ab9a23c..55790a9 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -62,7 +62,7 @@
常错词
- 挖掘话术
-
+
- 话术分类:
+ 话术分类:
@@ -484,7 +484,7 @@
-
+
@@ -506,30 +506,13 @@
data() {
return {
- wordBiaoqian: '',
- treelist: [{
- value: 1,
- label: '中国',
- children: [
- {
- value: 2,
- label: '广东'
- },
- {
- value: 5,
- label: '广西'
- }
- ]},
- {
- value: 8,
- label: '美国',
- children: [
- {
- value: 9,
- label: '纽约',
- }
- ]
- }],
+ wordBiao: {
+ level: 1,
+ wordBiaoqian: '',
+ wordBiaoqianId: ''
+ },// 添加话术
+ treelist: [],
+ huaxiangList: [],
treeshow: false,
KeyWordsfraction: 0,
KeyWordsfractionList: [],
@@ -633,7 +616,7 @@
isPageHide: false, // 是否息屏
duration: '', // 总时长
isBand: false, // 阻止二次提交
- eqLog:0
+ eqLog:0,
};
},
computed: {
@@ -647,7 +630,6 @@
this.LOADING = true
let menu = uni.getStorageSync('weapp_session_Menu_data');
this.eqLog = menu.findIndex(item=>item.name=='设备日志');
-
this.status = options.status;
this.customerId = options.customerId;
this.KeyWordsfraction = options.wordFraction||0;
@@ -695,6 +677,7 @@
this.intention = false;
this.kehuyixiangcenterindex = 0;
this.buildingID = uni.getStorageSync('buildingID').id;
+ this.getWordMiningList()
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
this.methodsisshow = false;
@@ -726,17 +709,66 @@
},
methods: {
+ //获取画像标签
+ getWordMiningList() {
+ this.treelist = [];
+ this.$u.get("/corpus/findSelectedWordMiningTemplate", {
+ houseId: this.buildingID,
+ selected: 0
+ })
+ .then((res) => {
+ // console.log(res)
+ if(res.length){
+ res.forEach(item=>{
+ item.value = item.id;
+ item.label = item.name;
+ if(item.children.length){
+ item.children.forEach(subitem=>{
+ subitem.value = subitem.id;
+ subitem.label = subitem.name;
+ })
+ }else{
+ item.children=[{
+ value: 'default'+ item.id,
+ label: '--'
+ }]
+ }
+ })
+ }
+ this.treelist = res;
+ });
+ },
+ // 添加挖掘词
wajueConfirm(){
+ this.$u.post("/corpus/addWordMining", {
+ "houseId":this.buildingID,// 楼盘id
+ "cusId":this.customerId, //客户id
+ "question":this.thewrongword,// 问题
+ "keywordsId":this.wordBiao.wordBiaoqianId,// 标签id
+ "level":this.wordBiao.level // 标签等级
+ })
+ .then((res) => {
+ console.log(res)
+ this.wajueItem.isshow = false
+ })
},
// 挖掘话术分类树的选择
- confirm(e){
+ confirmTree(e){
console.log(e)
- this.wordBiaoqian = e[0].label + '-' + e[1].label
- // this.wordBiaoqianId[0] = e[0].value
- // this.wordBiaoqianId[1] = e[1].value
+ if(e[1].label=='--'){
+ this.wordBiao.wordBiaoqian = e[0].label
+ this.wordBiao.wordBiaoqianId = e[0].value
+ this.wordBiao.level = 1
+ }else{
+ this.wordBiao.wordBiaoqian = e[0].label + '/' + e[1].label
+ this.wordBiao.wordBiaoqianId= e[1].value
+ this.wordBiao.level = 2
+ }
+ console.log(this.wordBiao.wordBiaoqian)
},
CancelAdd(){
this.wajueshow = false
+ this.wajueItem.isshow= false
},
hangeshow2(item,type){
item.show = !item.show;
@@ -1517,8 +1549,8 @@
this.isshow2 = true;
},
//加入挖掘话术
- openwajue(word) {
- this.wajueword = word;
+ openwajue(item) {
+ this.wajueItem = item
this.wajueshow = true;
},
//加精华
From 2d406f79fb27c0fb6eb259c35f9da734865f4360 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Wed, 27 Jul 2022 14:24:37 +0800
Subject: [PATCH 5/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BA=8C=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/center/consumer/consumerDetail.vue | 4 ++--
pages/mine/details2.vue | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index 1bac4cd..492af18 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -535,12 +535,12 @@
if (res[0].merge == 0) {
let newobj = res[0];
uni.navigateTo({
- url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
+ url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=2&wordFraction=${this.customerInfo.wordFraction}`
})
} else {
let newobj = res[0];
uni.navigateTo({
- url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}`
+ url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=1&wordFraction=${this.customerInfo.wordFraction}`
})
}
})
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index 2346899..44dbac6 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -631,7 +631,7 @@
this.eqLog = menu.findIndex(item=>item.name=='设备日志');
this.status = options.status;
this.customerId = options.customerId;
- this.KeyWordsfraction = options.wordFraction||0;
+ this.KeyWordsfraction = options.wordFraction=='undefined'?0:options.wordFraction;
this.itemobj = uni.getStorageSync('searchobj');
console.log(this.itemobj)
this.stateisshow = options.stateisshow;
@@ -1620,7 +1620,7 @@
changanxiaoguo(item, index, i) {
this.messagelisy = [];
this.changanitem = {};
- this.duihuawenjianid = "",
+ this.duihuawenjianid = "";
this.cancelBeast()
this.changanitem = item;
this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
From 7dce7a4ef1a01ec443fa72d39aded7bf6dc6cf9f Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Fri, 29 Jul 2022 10:00:27 +0800
Subject: [PATCH 6/9] tijiao
---
.../Piabodata/requireminingAnalysis.vue | 4 +++-
pages/center/records/index.vue | 19 +++++++++----------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue
index 45e886a..6453e02 100644
--- a/pages/center/Piabodata/requireminingAnalysis.vue
+++ b/pages/center/Piabodata/requireminingAnalysis.vue
@@ -338,7 +338,7 @@
let params = {
"houseId":this.houseId,
deptId: this.deptVal,
- createUser: this.guwenVal,
+ userId: this.guwenVal,
"dateType": this.activeTotal,
"firstStartDate":!this.activeTotal?this.startDate:'',
"firstEndDate":!this.activeTotal?this.endDate:''
@@ -346,6 +346,8 @@
this.$u.post("/cusLvStatistics/wordMiningAnalyze",params).then(res => {
// console.log(res.contrast)
res.contrast.wordFraction = (res.contrast.wordFraction || 0) + '%'
+ res.first.wordFraction = (res.first.wordFraction || 0) + '%'
+ res.end.wordFraction = (res.end.wordFraction || 0) + '%'
this.numlist.forEach(item => {
item.duibinum = res.contrast[item.setName]
item.endnum = res.end[item.setName]
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index 8302563..06a74c5 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -71,7 +71,7 @@
客户:{{item.name || '--'}}
- 咨询业务:一期住宅
+ 咨询业务:--
@@ -98,7 +98,7 @@
-
+
@@ -267,7 +267,7 @@
jiedaiArrow: false,
luyinArrow: false,
visitArrow: false,
- xiaojiangArrow: false,
+ xiaojiangArrow: true,
markArrow: false,
orderBylist: [{
label: '全部',
@@ -467,7 +467,7 @@
}
if (options.staTime) {
this.staTime = options.staTime;
- this.endtime = options.endtime + ' 23:59:59';
+ this.endtime = options.endtime;
}
},
@@ -689,11 +689,10 @@
time: 1,
staTime: this.staTime,
endtime: this.endtime,
- visitRecords: this.screen.visitRecord.join(','),//到访次数
- visitRecords: this.screen.zixunVal.join(','),//咨询
- visitRecords: this.screen.wajueVal.join(','),//挖掘
- visitRecords: this.screen.jiedaiVal.join(','),//接待时长
- visitRecords: this.screen.xiaojiangVal.join(','),//销讲
+ visitRecordNum: this.screen.visitRecord.join(','),//到访次数
+ wordFractions: this.screen.wajueVal.join(','),//挖掘
+ duractionNums: this.screen.jiedaiVal.join(','),//接待时长
+ fractions: this.screen.xiaojiangVal.join(','),//销讲
markAdvisor: this.screen.markAdvisor,//标记
dateType: dateType,
recDurationInterval: recDurationInterval,
From d13a174e08e2d8dfa6d4104655737df3b04f6042 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Fri, 29 Jul 2022 16:22:15 +0800
Subject: [PATCH 7/9] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=EF=BC=8C=E6=8E=A5=E5=BE=85=E8=AE=B0=E5=BD=95=E7=AD=9B=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Piabodata/requireminingAnalysis.vue | 13 +-
pages/center/consumer/index.vue | 301 ++++++++----------
pages/center/records/index.vue | 157 ++++-----
pages/mine/details2.vue | 3 +-
utils/domain.js | 4 +-
5 files changed, 188 insertions(+), 290 deletions(-)
diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue
index 6453e02..bc77eaa 100644
--- a/pages/center/Piabodata/requireminingAnalysis.vue
+++ b/pages/center/Piabodata/requireminingAnalysis.vue
@@ -330,7 +330,7 @@
Toview(){
//跳转到接待记录
uni.navigateTo({
- url: '/pages/center/records/index'
+ url: '/pages/center/records/index?refresh=refresh'
});
},
// 需求挖掘分析-简报
@@ -398,14 +398,11 @@
}else{
categories2 = []
}
- let categories3 =[]
- categories1.forEach(item1=>{
- categories2.forEach(item2=>{
- categories3.push(item1+ '/' + item2)
- })
- })
+ let categories3 = []
+ for(let i=0;i
-
+
@@ -418,26 +418,6 @@
-
-
@@ -500,8 +474,8 @@
>
近30天
@@ -513,6 +487,7 @@
自定义
+
@@ -547,7 +522,7 @@
@@ -585,10 +560,6 @@ export default {
xiaojiangArrow: false,
huaxiangList: [],
orderBylist: [
- {
- label: "全部",
- value: "0",
- },
{
label: "创建时间倒序",
value: "1",
@@ -606,11 +577,11 @@ export default {
value: "4",
},
{
- label: "执行率正序",
+ label: "执行率倒序",
value: "5",
},
{
- label: "执行率倒序",
+ label: "执行率正序",
value: "6",
},
{
@@ -723,21 +694,24 @@ export default {
isShow: false,
},
],
- value: "",
screenShow: false,
selectshow: false,
- // selectTipshow: false,
- selectPhaseShow: false,
+ selectPhaseShow: false,//客户阶段
buildingID: "",
screen: {
- agentId: "",
- agentIdtext: "",
- visitRecord: [],
- record: [],
- // cunsumerTips: "",
- // cunsumerTipsid: "",
- clientStage: "",
- clientStageName: "",
+ staTime: "",
+ endTime: "",
+ orderBy: "",// 排序
+ agentId: "",//顾问
+ sourceIds: [],// 客户来源
+ level: [],// 客户等级
+ visitRecord: [],// 到访次数
+ // zixunVal: [],// 咨询业务
+ wajueVal: [],// 需求挖掘
+ xiaojiangVal:[],//销讲执行率
+ jiedaiVal: [],// 接待时长
+ validInvalid: null,// 录音标识
+ clientStage: [],// 客户阶段 clientStage
},
stageList: [
{
@@ -765,24 +739,18 @@ export default {
value: 5,
isShow: false,
},
- ],
+ ],//客户阶段
recordList: [],
nextPage: 1,
totalRecord: "",
freeList: [],
userInfo: {},
- findKeywordsList: [],
- phaseList: [],
+ phaseList: [],//客户阶段
isnorefresh: "",
activeTotal: 5,
- activeTotal2: 0,
totalTimeShow: false,
timeshow: false,
- timetushow: false,
soltishow: false,
- staTime: "",
- endtime: "",
- orderBy: "",
totalRecords: "",
visitList: [
{
@@ -848,7 +816,6 @@ export default {
this.isRefresh = false;
this.getMyCustom();
this.getFreeList();
- // this.getfindKeywordsList();
this.getWordMiningList();
this.getCustomPhase();
this.getFromSource();
@@ -881,34 +848,33 @@ export default {
methods: {
// 获取客户来源
- getFromSource() {
- this.$u.get(config.service.sourceList, {
- houseId: this.buildingID
- })
- .then((res) => {
- console.log(res)
- if(res.length){
- res.forEach((item) => {
- item.label = item.sourceName
- item.value = item.id
- item.isShow = false
- })
- }
- this.sourceList = res
- })
- },
+ getFromSource() {
+ this.$u.get(config.service.sourceList, {
+ houseId: this.buildingID
+ })
+ .then((res) => {
+ console.log(res)
+ if(res.length){
+ res.forEach((item) => {
+ item.label = item.sourceName
+ item.value = item.id
+ item.isShow = false
+ })
+ }
+ this.sourceList = res
+ })
+ },
// 过滤
resetFilter() {
this.sortFilter = "排序";
- this.orderBy = null;
+ this.receptionDuration = "所属顾问";
this.arriveFilter = "到访时间";
- this.staTime = "";
- this.endtime = "";
+ this.screen.orderBy = null;
+ this.screen.staTime = "";
+ this.screen.endTime = "";
this.nextPage = 1;
this.activeTotal = 5;
this.recordList = [];
- this.receptionDuration = "所属顾问";
- this.activeTotal2 = 0;
},
choice(item) {
item.isShow = !item.isShow;
@@ -925,8 +891,6 @@ export default {
//选择录音时长
timetap(index, text) {
if (text) this.receptionDuration = text;
- this.timetushow = false;
- this.activeTotal2 = index;
this.nextPage = 1;
this.recordList = [];
this.isRefresh = false;
@@ -940,8 +904,8 @@ export default {
this.totalTimeShow = true;
} else {
this.activeTotal = index;
- this.staTime = "";
- this.endtime = "";
+ this.screen.staTime = "";
+ this.screen.endTime = "";
this.nextPage = 1;
this.recordList = [];
this.isRefresh = false;
@@ -950,28 +914,14 @@ export default {
},
//自定义时间
totalTimeChange(e) {
- this.staTime = e.startDate;
- this.endtime = e.endDate;
+ this.screen.staTime = e.startDate;
+ this.screen.endTime = e.endDate;
this.activeTotal = 4;
this.nextPage = 1;
this.recordList = [];
this.isRefresh = false;
this.getMyCustom();
},
- recordclick(i) {
- if (this.screen.record == i) {
- this.screen.record = null;
- } else {
- this.screen.record = i;
- }
- },
- screenvisitRecord(i) {
- if (this.screen.visitRecord == i) {
- this.screen.visitRecord = "";
- } else {
- this.screen.visitRecord = i;
- }
- },
// 字典表接口
getListByType() {
this.$u
@@ -1003,67 +953,73 @@ export default {
},
getMyCustom() {
let dateType = 0;
- let recDurationInterval = 0;
- let orderBy = 0;
- if (this.activeTotal == 5) {
- dateType = null;
- } else if (this.activeTotal == 4) {
+ if (this.activeTotal == 5||this.activeTotal == 4) {
dateType = null;
} else {
dateType = this.activeTotal;
}
-
- if (this.activeTotal2 == 0) {
- recDurationInterval = null;
- } else {
- recDurationInterval = this.activeTotal2;
- }
-
- if (this.orderBy == 0) {
- orderBy = null;
- } else {
- orderBy = this.orderBy;
- }
-
+ // 到访次数
+ this.visitList.forEach(i => {
+ if(i.isShow) this.screen.visitRecord.push(i.value)
+ })
+ // 接待时长
+ this.jiedaiList.forEach(i => {
+ if(i.isShow) this.screen.jiedaiVal.push(i.value)
+ })
+ // 需求挖掘
+ this.wajueList.forEach(i => {
+ if(i.isShow) this.screen.wajueVal.push(i.value)
+ })
+ // 销讲执行率
+ this.xiaojiangList.forEach(i => {
+ if(i.isShow) this.screen.xiaojiangVal.push(i.value)
+ })
+ // 客户等级
+ this.levelList.forEach(i => {
+ if(i.isShow) this.screen.level.push(i.value)
+ })
+ //客户阶段
+ this.stageList.forEach(i => {
+ if(i.isShow) this.screen.clientStage.push(i.value)
+ })
+ // 客户来源
+ this.sourceList.forEach(i => {
+ if(i.isShow) this.screen.sourceIds.push(i.value)
+ })
+ let keywordsIds = []
+ this.huaxiangList.forEach(item => {
+ if(item.children.length){
+ item.children.forEach(im=>{
+ if(im.isShow) keywordsIds.push(im.id)
+ })
+ }
+ })
var parames = {
pageNum: this.nextPage,
pageSize: 10,
query: {
projectId: this.buildingID,
- // keywordsId: this.screen.cunsumerTipsid,
- clientStage: this.screen.clientStage,
- agentId: this.screen.agentId,
- dateType: dateType,
- staTime: this.staTime,
- endtime: this.endtime,
- recDurationInterval: recDurationInterval,
- orderBy: orderBy,
+ fractions: this.screen.xiaojiangVal.join(','),// 销讲执行率
+ wordFractions: this.screen.wajueVal.join(','),//需求挖掘
+ visitRecordNum: this.screen.visitRecord.join(','),//到访次数
+ clientStages: this.screen.clientStage.join(','), // 客户阶段
+ sourceIds: this.screen.sourceIds.join(','),// 客户来源
+ level: this.screen.level.join(','),// 客户等级
+ duractionNums: this.screen.jiedaiVal.join(','),// 接待时长
+ keywordsIds: keywordsIds.length?keywordsIds.join(','):'',// 画像标签
+ dateType: dateType, // 接待时间
+ staTime: this.screen.staTime,
+ endTime: this.screen.endTime,
+ agentId: this.screen.agentId,// 顾问
+ orderBy: this.screen.orderBy==0?null: this.screen.orderBy,// 排序
},
};
- if (this.screen.visitRecord.length > 0) {
- parames.query.visitRecords = this.screen.visitRecord.join(",");
- }
- if (this.screen.record.length > 0) {
- parames.query.level = this.screen.record.join(",");
- }
- // if(this.screen.record==0){
- // parames.query.levels= ["1"]
- // }else if(this.screen.record==1){
- // parames.query.levels= ["2"]
- // }else if(this.screen.record==2){
- // parames.query.levels= ["3"]
- // }else if(this.screen.record==3){
- // parames.query.levels= ["4"]
- // }else{
- // parames.query.levels=''
- // }
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data");
- this.$u
- .post("/customer/customerManagement", parames)
+ this.$u.post("/customer/customerManagement", parames)
.then((data) => {
this.LOADING = false;
- if (this.staTime && this.endtime) {
- this.arriveFilter = `${this.staTime}-${this.endtime}`;
+ if (this.screen.staTime && this.screen.endTime) {
+ this.arriveFilter = `${this.screen.staTime}-${this.screen.endTime}`;
}
var list = data.results || [];
list.forEach((item) => {
@@ -1132,26 +1088,7 @@ export default {
});
});
},
- //获取客户标签
- getfindKeywordsList() {
- this.findKeywordsList = [];
- this.$u
- .post("/customer/findKeywords", {
- houseId: this.buildingID,
- })
- .then((res) => {
- res.forEach((item) => {
- if (item.isInterval == 0) {
- item.label =
- item.name + item.unit + "-" + item.endName + item.unit;
- } else {
- item.label = item.name;
- }
- item.value = item.id;
- });
- this.findKeywordsList = res;
- });
- },
+ // 获取客户阶段数据
getCustomPhase() {
this.phaseList = [];
this.$u
@@ -1173,12 +1110,14 @@ export default {
actionSelectCallback(e) {
this.screen.agentId = e[0].value;
this.receptionDuration = e[0].label;
+ this.nextPage = 1;
+ this.recordList = [];
+ this.screenShow = false;
+ this.huaxiangShow = false;
+ this.isRefresh = false;
+ this.getMyCustom();
},
- //选择标签
- // selectCallback(e) {
- // this.screen.cunsumerTips = e[0].label;
- // this.screen.cunsumerTipsid = e[0].value;
- // },
+ // 客户阶段
selectPhase(e) {
this.screen.clientStageName = e[0].label;
this.screen.clientStage = e[0].value;
@@ -1187,15 +1126,12 @@ export default {
reset() {
this.screen = {
agentId: "",
- agentIdtext: "",
visitRecord: [],
record: [],
- cunsumerTips: "",
- cunsumerTipsid: "",
clientStage: "",
clientStageName: "",
};
- this.zixunList.map((i) => {
+ this.sourceList.map((i) => {
i.isShow = false;
});
this.wajueList.map((i) => {
@@ -1218,15 +1154,28 @@ export default {
});
this.nextPage = 1;
this.recordList = [];
- // this.screenShow = false;
this.isRefresh = false;
this.getMyCustom();
},
+ //重置画像标签选择
+ resetHuaXiang(){
+ if(this.huaxiangList.length){
+ this.huaxiangList.forEach(item=>{
+ item.isShow = false;
+ if(item.children.length){
+ item.children.forEach(subitem=>{
+ subitem.isShow = false;
+ })
+ }
+ })
+ }
+ },
//筛选确认
screensure() {
this.nextPage = 1;
this.recordList = [];
this.screenShow = false;
+ this.huaxiangShow = false;
this.isRefresh = false;
this.getMyCustom();
},
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index 06a74c5..71ea8b3 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -14,14 +14,17 @@
+
{{ sortFilter }}
+
{{ arriveFilter }}
+
{{ counselorName }}
@@ -71,7 +74,7 @@
客户:{{item.name || '--'}}
- 咨询业务:--
+
@@ -223,8 +226,9 @@
-
-
+
+
+
@@ -240,14 +244,13 @@
近7天
-
+
近30天
自定义
-
@@ -271,7 +274,7 @@
markArrow: false,
orderBylist: [{
label: '全部',
- value: '0'
+ value: ''
},
{
label: '创建时间倒序',
@@ -413,23 +416,19 @@
}],
activeTotal: 5,
value: '',
- screenShow: false,
- selectshow: false,
- selectPhaseShow: false,
- phaseList: [],
- totalTimeShow: false,
+ screenShow: false,//更多筛选
+ selectshow: false,//选择顾问的选择框
+ totalTimeShow: false,// 日历
screen: {
+ orderBy: '',//排序
agentId: '', //顾问id
- record: '0',
markAdvisor: null,//标记顾问
visitRecord: [],// 到访次数
zixunVal: [],// 咨询业务
wajueVal: [],// 需求挖掘
xiaojiangVal:[],//销讲执行率
jiedaiVal: [],// 接待时长
- validInvalid: null,
- clientStage: '',
- clientStageName: ''
+ validInvalid: null,// 录音标识
},
freeList: [], //顾问
recordList: [],
@@ -437,12 +436,11 @@
nextPage: 1,
totalRecord: "",
staTime: '',
- endtime: '',
+ endTime: '',
isnorefresh: '',
timeshow: false,
timetushow: false,
soltishow: false,
- orderBy: '',
methodsisshow: false,
userInfo: {},
totalRecords: '',
@@ -467,9 +465,8 @@
}
if (options.staTime) {
this.staTime = options.staTime;
- this.endtime = options.endtime;
+ this.endTime = options.endTime;
}
-
},
onShow() {
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
@@ -488,11 +485,8 @@
this.getFreeList();
this.isnorefresh = '';
}
-
- this.getCustomPhase()
},
onPullDownRefresh() {
- this.resetFilter()
this.isRefresh = true;
this.nextPage = 1;
this.getMyCustom()
@@ -515,45 +509,13 @@
}
},
methods: {
- // 过滤
- resetFilter() {
- this.sortFilter = '排序';
- this.orderBy = null;
- this.arriveFilter = '到访时间';
- this.staTime = '';
- this.endtime = '';
- this.nextPage = 1;
- this.activeTotal = 5;
- this.recordList = [];
- this.counselorName = '接待顾问';
- },
choice(item) {
item.isShow = !item.isShow;
},
- getCustomPhase() {
- this.phaseList = []
- this.$u.post("/customer/lifeTrackDefineList", {
- houseId: this.buildingID
- }).then(res => {
- this.LOADING = false
- let tempArr = []
- res.forEach(item => {
- let tempObj = {}
- tempObj.label = item.stageName;
- tempObj.value = item.id;
- tempArr.push(tempObj)
- })
- this.phaseList = tempArr;
- })
- },
- selectPhase(e) {
- this.screen.clientStageName = e[0].label;
- this.screen.clientStage = e[0].value;
- },
- //选择标签
+ //选择排序
selectCallback2(e) {
this.sortFilter = e[0].label;
- this.orderBy = e[0].value;
+ this.screen.orderBy = e[0].value;
this.nextPage = 1;
this.recordList = [];
this.isRefresh = false;
@@ -567,8 +529,6 @@
this.totalTimeShow = true;
} else {
this.activeTotal = index;
- this.staTime = '';
- this.endtime = '';
this.nextPage = 1;
this.recordList = [];
this.isRefresh = false;
@@ -578,7 +538,7 @@
//自定义时间
totalTimeChange(e) {
this.staTime = e.startDate;
- this.endtime = e.endDate;
+ this.endTime = e.endDate;
this.activeTotal = 4;
this.nextPage = 1;
this.recordList = [];
@@ -643,18 +603,20 @@
}
},
+ // 获取接待记录列表
getMyCustom() {
this.screen.visitRecord = []
this.screen.jiedaiVal = []
this.screen.wajueVal = []
- this.screen.zixunVal = []
+ // this.screen.zixunVal = []
this.screen.xiaojiangVal = []
let dateType = 0;
- let recDurationInterval = 0;
- if ((this.activeTotal == 5)||(this.activeTotal == 3)||(this.activeTotal == 4)) {
+ if ((this.activeTotal == 5)||(this.activeTotal == 4)) {// 选择全部和自定义
dateType = null;
}else {
dateType = this.activeTotal;
+ this.staTime = ''
+ this.endTime = ''
}
// 到访次数
this.visitList.forEach(i => {
@@ -668,38 +630,32 @@
this.wajueList.forEach(i => {
if(i.isShow) this.screen.wajueVal.push(i.value)
})
- // 咨询业务
- this.zixunList.forEach(i => {
- if(i.isShow) this.screen.zixunVal.push(i.value)
- })
+ // // 咨询业务
+ // this.zixunList.forEach(i => {
+ // if(i.isShow) this.screen.zixunVal.push(i.value)
+ // })
// 销讲执行率
this.xiaojiangList.forEach(i => {
if(i.isShow) this.screen.xiaojiangVal.push(i.value)
})
- // console.log('xiaojiangVal',this.xiaojiangVal)
- // console.log('visitRecord',this.visitRecord)
- // console.log('wajueVal',this.wajueVal)
- // console.log('jiedaiVal',this.jiedaiVal)
- // console.log('zixunVal',this.zixunVal)
var parames = {
pageNum: this.nextPage,
pageSize: 10,
query: {
projectId: this.buildingID,
- time: 1,
- staTime: this.staTime,
- endtime: this.endtime,
+ staTime: this.staTime,// 接待时间
+ endTime: this.endTime,// 接待时间
+ agentId: this.screen.agentId, // 顾问ID
visitRecordNum: this.screen.visitRecord.join(','),//到访次数
wordFractions: this.screen.wajueVal.join(','),//挖掘
duractionNums: this.screen.jiedaiVal.join(','),//接待时长
fractions: this.screen.xiaojiangVal.join(','),//销讲
- markAdvisor: this.screen.markAdvisor,//标记
- dateType: dateType,
- recDurationInterval: recDurationInterval,
+ markAdvisor: this.screen.markAdvisor,//标记顾问
+ dateType: dateType,//时间类型
orderBy: this.orderBy==0?null:this.orderBy,//排序
- validInvalid: this.screen.validInvalid,
- clientStage: this.screen.clientStage,
- recording: this.screen.validInvalid == 2 ? 0 : null
+ validInvalid: this.screen.validInvalid,//录音标识
+ clientStage: this.screen.clientStage,// 客户阶段
+ recording: this.screen.validInvalid == 2 ? 0 : null // 录音
}
};
if (this.screen.agentId) {
@@ -732,6 +688,10 @@
item.label = item.name;
item.value = item.accountId
})
+ this.freeList.unshift({
+ label:'全部',
+ value: ''
+ })
})
},
actionSelectCallback(e) {
@@ -743,20 +703,17 @@
this.getMyCustom();
},
reset() {
- this.screen = {
- record: '0',
- markAdvisor: null,//标记顾问
- visitRecord: [],// 到访次数
- zixunVal: null,// 咨询业务
- wajueVal: null,// 需求挖掘率
- jiedaiVal: null,// 接待时长
- xiaojiangVal: null,// 销讲执行率
- validInvalid: null,
- clientStage: '',
- clientStageName: '',
- recording: null,
- visitRecords: ""
- }
+ this.screen.agentId =''
+ this.screen.jiedaiVal =''
+ this.sortFilter = '排序';
+ this.orderBy = null;
+ this.arriveFilter = '到访时间';
+ this.staTime = '';
+ this.endTime = '';
+ this.nextPage = 1;
+ this.activeTotal = 5;
+ this.recordList = [];
+ this.counselorName = '接待顾问';
this.visitList.map(i => {
i.isShow = false
})
@@ -773,20 +730,16 @@
this.recordList = [];
this.getMyCustom();
},
- recordclick(i) {
- if (this.screen.visitRecord == i) {
- this.screen.visitRecord = null
- } else {
- this.screen.visitRecord = i
- }
- },
+ //标记顾问
screenvisitRecord(i) {
+ console.log(i)
if (this.screen.markAdvisor == i) {
this.screen.markAdvisor = null
} else {
this.screen.markAdvisor = i
}
},
+ // 录音标识
screenvisivalidInvalid(i) {
console.log(this.screen.validInvalid, i)
if (this.screen.validInvalid == i) {
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index eb7cb8d..f702090 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -169,8 +169,7 @@
- 正确词:
-
+ 正确词:
diff --git a/utils/domain.js b/utils/domain.js
index f44ea30..04967f5 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://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.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营销辅助 普强使用
From dd5e85cf53dc41bc409cbe7b413c57dba5f17f33 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Mon, 1 Aug 2022 18:19:30 +0800
Subject: [PATCH 8/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=8F=8A=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Piabodata/requireminingAnalysis.vue | 102 +++++++++++-------
pages/center/consumer/index.vue | 4 +
2 files changed, 66 insertions(+), 40 deletions(-)
diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue
index bc77eaa..a5e1d0d 100644
--- a/pages/center/Piabodata/requireminingAnalysis.vue
+++ b/pages/center/Piabodata/requireminingAnalysis.vue
@@ -14,13 +14,10 @@
{{ guwen}}
-
-
+
@@ -117,9 +114,11 @@
自定义
-
+
-
@@ -137,19 +136,21 @@
data() {
return {
selindex: '',
+ huashushow: false,
guwenshow: false,
timeshow: false,
selectshow: false,
deptshow: false,
deptVal: '',
+ huashuVal: '',
guwenVal: '',
// 筛选文字展示
time: '近7天',
dept: '部门',
guwen: '顾问',
- huashu: '话术',
+ huashu: '业务话术',
showDesc: false,
- sortList: [],
+ sortList: [],//排名列表
ringChartData: {
},
// ring图 分布图
@@ -189,10 +190,9 @@
},
activeTotal: 4,
houseId: '',
- // 员工列表
- staffList: [],
- // 团队列表
- teamList: [],
+ hushuList: [],// 业务话术
+ staffList: [],// 员工列表
+ teamList: [],// 团队列表
team: {
value: '',
label: ''
@@ -200,7 +200,6 @@
startDate: '',
endDate: '',
calendarShow: false,
- activeTab: 0,
numlist: [{
name: '平均需求挖掘率',
firstnum: '',
@@ -240,9 +239,6 @@
}
]
},
- Theteamcomparedisshow: false,
- Groupcontrastisshow: false,
- allList: [],
lineOpts: {
yAxis: {
data: [{
@@ -255,6 +251,15 @@
},
onShow() {
// this.LOADING = true
+ // 获取项目id
+ // this.houseId = uni.getStorageSync('buildingID').id;
+ // // 获取员工
+ // this.getStaffList()
+ // // 获取团队
+ // this.getSectionList()
+ // this.getdata()
+ },
+ onReady: function(){
// 获取项目id
this.houseId = uni.getStorageSync('buildingID').id;
// 获取员工
@@ -262,9 +267,8 @@
// 获取团队
this.getSectionList()
this.getdata()
- },
- onReady: function(){
- this.getRingData()
+ // this.getRingData()
+ // this.getwordMiningAnalyzePercentage()
},
onPullDownRefresh() {
},
@@ -282,9 +286,9 @@
// 需求挖掘排行
getwordMiningRank(){
this.$u.post('/cusLvStatistics/wordMiningRank', {
- houseId: this.houseId,
- deptId: this.deptVal,
- createUser: this.guwenVal,
+ "houseId": this.houseId,
+ "deptId": this.deptVal,
+ "createUser": this.guwenVal,
"dateType":this.activeTotal,
"firstStartDate":!this.activeTotal?this.startDate:'',
"firstEndDate":!this.activeTotal?this.endDate:''
@@ -306,9 +310,9 @@
// 需求挖掘分布图
getRingData(){
this.$u.post('/cusLvStatistics/wordMiningAnalyzeFenbu', {
- houseId: this.houseId,
- deptId: this.deptVal,
- createUser: this.guwenVal,
+ "houseId": this.houseId,
+ "deptId": this.deptVal,
+ "createUser": this.guwenVal,
"firstStartDate":!this.activeTotal?this.startDate:'',
"firstEndDate":!this.activeTotal?this.endDate:'',
"dateType":this.activeTotal
@@ -337,8 +341,8 @@
wordMiningAnalyze() {
let params = {
"houseId":this.houseId,
- deptId: this.deptVal,
- userId: this.guwenVal,
+ "deptId": this.deptVal,
+ "userId": this.guwenVal,
"dateType": this.activeTotal,
"firstStartDate":!this.activeTotal?this.startDate:'',
"firstEndDate":!this.activeTotal?this.endDate:''
@@ -369,15 +373,19 @@
value: item.accountId
}
})
+ this.staffList.unshift({
+ label: '全部',
+ value: ''
+ })
}
})
},
// 需求挖掘率趋势图
getwordMiningAnalyzePercentage() {
this.$u.post('/cusLvStatistics/wordMiningAnalyzePercentage', {
- houseId: this.houseId,
- deptId: this.deptVal,
- createUser: this.guwenVal,
+ "houseId": this.houseId,
+ "deptId": this.deptVal,
+ "createUser": this.guwenVal,
"dateType": this.activeTotal,
"firstStartDate":!this.activeTotal?this.startDate:'',
"firstEndDate":!this.activeTotal?this.endDate:''
@@ -419,6 +427,10 @@
value: item.deptId
}
})
+ this.teamList.unshift({
+ label: '全部',
+ value: ''
+ })
}
})
},
@@ -436,16 +448,26 @@
}
this.timeshow = false
},
- staffSelectCallback(e, idx) {
- if (idx == 0) {
- this.guwenVal = e[0].value
- this.guwen = e[0].label
- } else { // 部门
- this.dept = e[0].label
- this.deptVal = e[0].value
- }
+ // 顾问选择
+ guwenCallback(e){
+ console.log(e)
+ this.guwenVal = e[0].value
+ this.guwen = e[0].label
+ this.getdata()
+ },
+ // 部门选择
+ deptCallback(e){
+ console.log(e)
+ this.deptVal = e[0].value
+ this.dept = e[0].label
+ this.getdata()
+ },
+ // 话术选择
+ huashuCallback(e){
+ console.log(e)
+ this.huashuVal = e[0].value
+ this.huashu = e[0].label
this.getdata()
-
},
//自定义时间
calendarTimeChange(e) {
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index 8d257dd..bb7d205 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -1086,6 +1086,10 @@ export default {
item.label = item.name;
item.value = item.accountId;
});
+ this.freeList.unshift({
+ label: '全部',
+ value: '',
+ })
});
},
// 获取客户阶段数据
From 495b81623636b49b88d51020dd2eb2d3e6281cf1 Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Tue, 2 Aug 2022 10:15:58 +0800
Subject: [PATCH 9/9] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 8 ++-
.../Piabodata/requireminingAnalysis.vue | 57 +++++++++----------
2 files changed, 34 insertions(+), 31 deletions(-)
diff --git a/manifest.json b/manifest.json
index 4735546..bb483e3 100644
--- a/manifest.json
+++ b/manifest.json
@@ -96,10 +96,14 @@
"urlCheck" : false,
"es6" : true,
"postcss" : true,
- "minified" : false
+ "minified" : true
},
"usingComponents" : true,
- "permission" : {},
+ "permission" : {
+ "scope.userLocation" : {
+ "desc" : "获取地址信息"
+ }
+ },
"requiredBackgroundModes" : [ "audio" ],
"plugins" : {
"WechatSI" : {
diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue
index a5e1d0d..9f315c8 100644
--- a/pages/center/Piabodata/requireminingAnalysis.vue
+++ b/pages/center/Piabodata/requireminingAnalysis.vue
@@ -56,7 +56,7 @@
+ :ontouch="true" canvasId="wangxiaohuaerlingilingwuyiba2" :canvas2d="true" />
@@ -69,7 +69,7 @@
type="ring"
:chartData="ringChartData"
:canvas2d="true"
- :canvasId="ChartBoxIdwangxiaohuaerlingilingwuyiba1"
+ canvasId="ChartBoxIdwangxiaohuaerlingilingwuyiba1"
:opts='opts'
background="none" />
@@ -87,7 +87,7 @@
操作
暂无数据
-
+
@@ -150,7 +150,7 @@
guwen: '顾问',
huashu: '业务话术',
showDesc: false,
- sortList: [],//排名列表
+ rankList: [],//排名列表
ringChartData: {
},
// ring图 分布图
@@ -236,8 +236,7 @@
},{
"name": "对比时间",
"data": []
- }
- ]
+ }]
},
lineOpts: {
yAxis: {
@@ -250,14 +249,13 @@
};
},
onShow() {
- // this.LOADING = true
// 获取项目id
- // this.houseId = uni.getStorageSync('buildingID').id;
- // // 获取员工
- // this.getStaffList()
- // // 获取团队
- // this.getSectionList()
- // this.getdata()
+ this.houseId = uni.getStorageSync('buildingID').id;
+ // 获取员工
+ this.getStaffList()
+ // 获取团队
+ this.getSectionList()
+ this.getdata()
},
onReady: function(){
// 获取项目id
@@ -267,19 +265,15 @@
// 获取团队
this.getSectionList()
this.getdata()
- // this.getRingData()
- // this.getwordMiningAnalyzePercentage()
- },
- onPullDownRefresh() {
},
methods: {
getdata(){
// 需求挖掘分析-简报
this.wordMiningAnalyze()
- // 挖掘趋势图
- this.getwordMiningAnalyzePercentage()
//需求挖掘排行
this.getwordMiningRank()
+ // 挖掘趋势图
+ this.getwordMiningAnalyzePercentage()
// 需求挖掘f分布图
this.getRingData()
},
@@ -294,9 +288,9 @@
"firstEndDate":!this.activeTotal?this.endDate:''
})
.then(res => {
- console.log(res)
+ // console.log(res)
if(res.length){
- this.sortList = res.map(item=>{
+ this.rankList = res.map(item=>{
return {
name: item.name,
id: item.id,
@@ -304,6 +298,8 @@
selected: item.selected
}
})
+ }else{
+ this.rankList = []
}
})
},
@@ -318,7 +314,7 @@
"dateType":this.activeTotal
})
.then(res => {
- console.log(res)
+ // console.log(res)
this.ringChartData = { series: [
{
data: [
@@ -382,6 +378,9 @@
},
// 需求挖掘率趋势图
getwordMiningAnalyzePercentage() {
+ let categories1 = []
+ let categories2 = []
+ let categories3 = []
this.$u.post('/cusLvStatistics/wordMiningAnalyzePercentage', {
"houseId": this.houseId,
"deptId": this.deptVal,
@@ -391,25 +390,25 @@
"firstEndDate":!this.activeTotal?this.endDate:''
})
.then(res => {
- let categories1 = []
- let categories2 = []
if(res.first&&res.first.length){
categories1 = res.first.map(item=> item.statDate.substring(0,10))
this.lineOptsect.series[0].data=res.first.map(item=> item.wordFraction)
}else{
categories1= []
- this.lineOptsect.series[0] = []
+ this.lineOptsect.series[0].data = []
}
if(res.end&&res.end.length){
this.lineOptsect.series[1].data=res.end.map(item=> item.wordFraction)
categories2 = res.end.map(item => item.statDate.substring(0,10))
}else{
categories2 = []
+ this.lineOptsect.series[1].data = []
}
- let categories3 = []
+
for(let i=0;i