diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 7c96a66..6fdda7f 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -449,6 +449,30 @@ export function updateManagerPhone(data) { +// 无效接待原因数据 +export function invalidList(query) { + return request({ + url: '/autoSR/marketing/invalidList', + method:'get', + params:query + }) +} +// 转写方式数据获取 +export function findTransferMethod(query) { + return request({ + url: '/autoSR/properties/findTransferMethod', + method:'get', + params:query + }) +} +// 确定重新转写 +export function toTransferData(query) { + return request({ + url: '/autoSR/customer/toTransferData', + method:'get', + params:query + }) +} // 接待记录 export function findbypage(query) { return request({ diff --git a/src/page/wel.vue b/src/page/wel.vue index fbed4e8..23ec9bd 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -495,7 +495,7 @@
diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index 9fb5df2..daa2aa0 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -297,31 +297,44 @@ {{ item.bg | timestamp }}
-
-
- -
- -
- -
- -

dcdc

+
+
+
+ +
+ +
+
+
+ +

销讲词

+
+
+ +

销讲词销讲词销讲词

+
+
+ +

销讲词销讲词

+
- + + +
+
@@ -2573,30 +2586,33 @@ export default { } /*对话的标签标识*/ .content123 .showmark{ - font-size: 14px; - max-width: 310px; - min-height: 20px; - line-height: 20px; - margin: 10px 22px 0; - .mark-item{ + font-size: 14px; + min-height: 20px; + line-height: 20px; + margin: 10px 22px 0; + display: flex; + flex-direction: column; + .mark-item{ display: flex; - align-items: center; + align-items: flex-start; margin-bottom: 2px; - .markicon { - width: 14px; - height: 14px; - margin-right: 6px; - } - .marktext{ - font-size: 12px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #3E50E8; - line-height: 18px; - word-break: break-all; - } + .markicon { + width: 14px; + height: 14px; + margin-right: 6px; + } + .marktext{ + font-size: 12px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3E50E8; + line-height: 18px; + word-break: break-all; + margin: 0; + max-width: 100px; } } + } .expIcon { display: block; width: 16px; @@ -2714,6 +2730,10 @@ export default { flex-direction: row-reverse; text-align: left; } + .showmark{ + flex-direction: row-reverse; + text-align: left; + } } .content123 .content123s { diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue index 105cb7e..e85b728 100644 --- a/src/views/ReceivingRecords/index.vue +++ b/src/views/ReceivingRecords/index.vue @@ -163,7 +163,6 @@ -
是否违禁:
@@ -183,26 +182,6 @@
- - -
接待时长:
+
+
销讲执行:
+ + + + + + + +
+
+
需求挖掘:
+ + + + + + + +
+
+
挖掘话术:
+ + + +
+
+
无效接待原因:
+ + + +
+
+
销讲业务:
+ + + + +
@@ -304,7 +348,7 @@ > 重新转写 @@ -320,12 +364,13 @@ - + - + +
提示:重新转写需要10分钟左右才能完成!
取 消 @@ -341,6 +386,9 @@ import { exportMethodPost } from "@/util/util"; export default { data() { return { + questionList: [],//挖掘话术 + marketingInvalidList: [], // 无效接待原因列表 + xiaojianglist: [], //销讲业务 desc: '请等待录音合并之后再重新转写!', dialogVisible: false, projectlist: [], @@ -445,17 +493,6 @@ export default { label: "是", }, ], - options12: [ - { - value: "0", - label: "已加精", - }, - { - value: "1", - label: "未加精", - }, - ], - options13: [ { label: "全部", @@ -471,23 +508,6 @@ export default { value: "1", }, ], - - options14: [ - // 正反案例 - { - label: "全部", - value: "", - }, - { - label: "正面案例", - value: "0", - }, - { - label: "反面案例", - value: "1", - }, - ], - value: "", input: "", tableData: [], @@ -508,8 +528,14 @@ export default { taboo: "", zfal: "", // 正反案例 0:正面案例 1:反面案例 validInvalid: "", // 是否为有效接待 0:有效 1:无效 + marketingBusiness: '', + invalidReason: '', + question: '', + wordFraction: '', + fraction: '', }, rec_index_show: false, // 按钮权限 + rec_rewrite_show: false, // 按钮权限 rec_index_text: false, // 按钮权限 rec_index_voice: false, // 按钮权限 rec_index_downLoad: false, // 按钮权限 @@ -624,6 +650,7 @@ export default { } this.rec_index_show = this.permissions["rec_index_show"]; + this.rec_rewrite_show = this.permissions["rec_rewrite_show"]; this.rec_index_text = this.permissions["rec_index_text"]; this.rec_index_voice = this.permissions["rec_index_voice"]; this.rec_index_downLoad = this.permissions["rec_index_downLoad"]; @@ -634,6 +661,17 @@ export default { }, methods: { + // 无效接待原因列表 + getMarketingInvalidList () { + this.$api.api.invalidList({houseId: this.houseId}).then((res) => { + console.log(res); + if(res.data&&res.data.obj){ + this.marketingInvalidList = res.data.obj + }else{ + this.marketingInvalidList = [] + } + }); + }, changeFun(value){ // console.log(value) this.form.language = '' @@ -645,20 +683,13 @@ export default { }, // 转写方式数据获取 findTransferMethod(){ - axios({ - url: `${jypath}/properties/findTransferMethod`, - method: 'GET', - params: { - } - }).then(res => { - console.log(res) - if (res.data.code == 10000) { - this.projectlist = res.data.data||[] - this.languageList = res.data.data&&res.data.data[0].list||[] - } else { - } - }).catch(() => { - }) + this.$api.api.findTransferMethod().then((res) => { + console.log(res); + if(res.data&&res.data.obj){ + this.projectlist = res.data.data||[] + this.languageList = res.data.data&&res.data.data[0].list||[] + } + }); }, // 确定重新转写 checkFun(){ @@ -666,25 +697,18 @@ export default { this.$message.error('请先选择转写方式') return; } - axios({ - url: `${jypath}/customer/toTransferData`, - method: 'GET', - params: { - id:this.currentRow.id, - transferMethod:this.form.project, - transferLanguage: this.form.language - } - }).then(res => { - // console.log(res) - if (res.data.res == 1) { - this.dialogVisible = false - this.getorgCode() - this.$message.success('操作成功') - } else { - this.$message.error('操作失败') - } - }).catch(() => { - }) + this.$api.api.toTransferData({ + id:this.currentRow.id, + transferMethod:this.form.project, + transferLanguage: this.form.language + }).then((res) => { + console.log(res); + this.dialogVisible = false + this.getorgCode() + this.$message.success('操作成功') + + }); + }, reWriteagain(row){ this.dialogVisible = true @@ -971,7 +995,7 @@ export default { font-weight: 400; color: #32363d; line-height: 32px; - min-width: 100px; + min-width: 120px; text-align: right; } diff --git a/src/views/ReceivingRecords/table.js b/src/views/ReceivingRecords/table.js index 911f846..db986c4 100644 --- a/src/views/ReceivingRecords/table.js +++ b/src/views/ReceivingRecords/table.js @@ -58,6 +58,53 @@ export default { return data.markAdvisor == 0 ? "未标记" : '已标记' } }, + { + label: "销讲业务", + prop: "marketingBusinessName", + formatter: data => { + } + }, + { + sortable: true, + label: "需求挖掘率", + prop: "wordFraction", + formatter: data => { + return data.wordFraction||0 + '%' + } + }, + { + label: "无效接待原因", + prop: "invalidReason", + formatter: data => { + let str = '' + switch (data.invalidReason) { + case 1 : + str = '没电指派无录音' + break; + case 2 : + str = '离线指派无录音' + break; + case 3 : + str = '系统测试误操作' + break; + case 4 : + str = '非接访场景录音' + break; + case 5 : + str = '其它' + break; + case 6 : + str = '离线' + break; + case 7 : + str = '无设备' + break; + default : + break; + } + return str + } + }, { sortable: true, diff --git a/src/views/Statistics/ReceptionOverview.vue b/src/views/Statistics/ReceptionOverview.vue index 2d24349..6120753 100644 --- a/src/views/Statistics/ReceptionOverview.vue +++ b/src/views/Statistics/ReceptionOverview.vue @@ -21,34 +21,6 @@
-
筛选日期:
@@ -311,7 +283,6 @@
-
顾问排名(TOP10)
@@ -326,12 +297,6 @@ 接待时长 违禁次数 -
-
@@ -397,66 +336,6 @@
-
@@ -531,10 +410,8 @@ > {{ item.name }} -
-