diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index 5ccb948..25cd3f5 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -81,23 +81,24 @@
src="https://static.quhouse.com/1b6ac53247e043a1bdc59ecfb2167eba.png">
-
-
-
-
-
-
-
-
- {{dealword(subitem)[1]}}
+
+
+
+
+
+
+
+
+ {{dealword(subitem)[1]}}
+
-
@@ -144,15 +145,16 @@
src="https://static.quhouse.com/4a977a0ecb594f2ebfd5f020b29dcc79.png" mode="">
-
-
-
更换销讲业务
-
+
@@ -304,12 +306,12 @@
- 销讲总执行率{{totalRate}}%
+ 销讲总执行率{{totalRate}}%
禁忌执行
- 需求挖掘率
+ 需求挖掘率
未完成
-
+
@@ -435,8 +436,8 @@
未完成
-
+
@@ -445,8 +446,8 @@
客户标签:{{ getKeywordsList(subitem.keywordsList) }}
话术内容:
暂无话术
-
+
{{inc+1}}.{{che.showFormatExpression}}
@@ -540,30 +541,28 @@
校准
-
-
- 选择
-
-
-
-
-
+
+
+
+ 请选择无效原因
+
+
+ {{ effectiveIndexText }}
+
+
-
-
+
+
+
+
+ 取消
+ 确认
-
- 取消
- 确认
-
-
+
@@ -592,6 +591,12 @@
+
+
+
+
+
@@ -672,28 +677,10 @@
effective: false,
effectiveindex: '0',
- effectiveitems: [{
- value: '1',
- name: '没电指派无录音',
- checked: true
- },
- {
- value: '2',
- name: '离线指派无录音',
- },
- {
- value: '3',
- name: '系统测试误操作'
- },
- {
- value: '4',
- name: '非接访场景录音'
- },
- {
- value: '5',
- name: '其他'
- }
- ],
+ effectiveitems: [],
+ effectiveIndexShow: false,
+ effectiveIndexText: '请选择',
+
effectiveitext: '',
textItself: '',
argtextindex1: 0,
@@ -719,12 +706,12 @@
refined: false, // 多选加精;
nowPlaying: 0, // 当前播放位置
stepPosition: 0, // 需要跳转的播放位置
-
+
templateList: [], // 销讲业务
showTemplate: false, // 展示选择销讲业务弹窗
templateName: '', // 销讲业务类型文字
- percent: 0,// 挖掘成功
- wordFraction: 0,// 挖掘执行
+ percent: 0, // 挖掘成功
+ wordFraction: 0, // 挖掘执行
};
},
computed: {
@@ -737,6 +724,7 @@
},
onLoad(options) {
+ this.buildingID = uni.getStorageSync('buildingID').id;
this.LOADING = true
this.status = options.status;
this.customerId = options.customerId;
@@ -767,6 +755,7 @@
})
})
+ this.getInvalidList()
uni.$on('DETAILS2INIT', (info) => {
this.itemobj = info
this.init(info)
@@ -801,11 +790,10 @@
// 校准 xz
this.intention = false;
this.kehuyixiangcenterindex = 0;
- this.buildingID = uni.getStorageSync('buildingID').id;
if (this.stateisshow == 2) {
var info = this.itemobj;
}!this.isPageHide && this.init(info);
-
+
this.getMarketingBusiness()
},
@@ -824,6 +812,26 @@
},
methods: {
+
+ // 获取接待类型列表
+ getInvalidList() {
+ this.$u.post('/customer/invalidList', {
+ houseId: this.buildingID,
+ }).then(res => {
+ console.log(res)
+ this.effectiveitems = res.filter(item => item.id != 6 && item.id != 7)
+ })
+ },
+
+ effectiveIndexCancel() {
+ this.effectiveitext = "";
+ },
+
+ effectiveIndexConfirm(e) {
+ this.effectiveIndexText = e[0].label
+ this.effectiveindex = e[0].value
+ },
+
// 获取销讲业务
getMarketingBusiness() {
this.$u.get('/customer/marketingBusiness', {
@@ -1056,9 +1064,9 @@
this.zhixingcenterindex = i;
if (i == 0) {
this.getRatelist()
- } else if(i ==1) {
+ } else if (i == 1) {
this.huoqujinji()
- }else{
+ } else {
this.getfindKeyWordsBycusId()
}
},
@@ -1259,7 +1267,7 @@
},
effectiveAdd() {
- if (this.effectiveindex == 4) {
+ if (this.effectiveindex == 5) {
if (this.effectiveitext.length == 0) {
uni.showToast({
title: '备注不能为空',
@@ -1269,12 +1277,21 @@
return
}
}
+
+ if (this.effectiveIndexText == "请选择") {
+ uni.showToast({
+ title: '请选择无效原因',
+ icon: "none",
+ duration: 2000
+ });
+ return
+ }
this.effective = false;
let parames = {
id: this.customerId,
validInvalid: '',
validInvalid: 1,
- invalidReason: Number(this.effectiveindex) + 1,
+ invalidReason: this.effectiveindex,
invalidNote: this.effectiveitext
}
this.$u.post("/customer/updateValidInvalid", parames).then(res => {
@@ -2216,6 +2233,7 @@
.scroll-Y .text[data-speaker="6"] .newmark {
// margin-left: 84rpx;
}
+
.box {
width: 100%;
height: 100vh;
@@ -2641,6 +2659,7 @@
.cenisbox {
flex: 1;
overflow: auto;
+
.top-box {
height: 80rpx;
line-height: 80rpx;
@@ -2880,8 +2899,7 @@
}
// 顾问默认在右边显示
- .scroll-Y .text[data-guwen="0"]
- {
+ .scroll-Y .text[data-guwen="0"] {
flex-direction: row-reverse;
text-align: right;
@@ -2915,8 +2933,7 @@
}
- .scroll-Y .text[data-guwen="0"]
- {
+ .scroll-Y .text[data-guwen="0"] {
.contentInfo {
.info {
.AudioUserName {