diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 4ae9665..0f29737 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -844,3 +844,13 @@ export function operationStatisticsDetail(query) { }) } +// 单/批量转交客户至另一个顾问 + +export function theCirculation(query) { + return request({ + url: 'autoSR/customer/theCirculation', + method: 'get', + params: query + }) +} + diff --git a/src/page/wel.vue b/src/page/wel.vue index a58da02..fbf5d22 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -351,14 +351,14 @@
-
30天到期的代理商
+
45天到期的代理商
{{sysTop.matuityOfAgent||0}}
-
30天到期的楼盘
+
45天到期的楼盘
{{sysTop.matuityOfHouse||0}}
diff --git a/src/views/Customer/index.vue b/src/views/Customer/index.vue index 96b3092..1c08206 100644 --- a/src/views/Customer/index.vue +++ b/src/views/Customer/index.vue @@ -229,7 +229,7 @@
-
+
违禁标签:
筛选 清空筛选条件 + + 批量转交
- - - + + +
+ + + +
+ 员工: + + + + +
+ + 取 消 + 确 定 + +
@@ -516,11 +557,17 @@ export default { projectId: "", timeType: "0", clientStage: "", - orderBy:'', - sensitiveWords:[], + orderBy: "", + sensitiveWords: [], }, clientStagelist: [], - sensitiveList:[],//违禁词 + sensitiveList: [], //违禁词 + + dialogVisible: false, // 客户流转提示框 + transItem: null, // 转移客户保存的数据 + isBand: true, // 批量转交按钮状态 + selectMoreIds: "", // 多选客户id + agentId: '', // 移交员工的id }; }, computed: { @@ -538,6 +585,52 @@ export default { this.zkhousePage(); }, methods: { + // 批量转交按钮点击事件 + transfer() { + this.dialogVisible = true; + }, + + // 确认提交转移 + confirmTransfer() { + if (!this.agentId) { + this.$message.error('请选择转交员工') + return + } + this.theCirculation({ ids: this.selectMoreIds, agentId: this.agentId }) + }, + + // 单个转交 + tranfser(row) { + console.log(row); + this.dialogVisible = true; + this.selectMoreIds = row.id; + }, + + // 转移客户至其他顾问 + theCirculation(query) { + this.$api.http.theCirculation(query).then((res) => { + this.$message({ + message: res.message, + type: "warning", + }); + }); + }, + + // 全选按钮状态改变 + handleSelectionChange(val) { + if (val.length > 0) { + this.isBand = false; + let arr = val.map(item => { + return item.id + }) + this.selectMoreIds = arr.join(',') + } else { + this.isBand = true; + this.selectMoreIds = ''; + } + console.log(val); + }, + downLoad() { // this.searchForm exportMethodPost( @@ -562,10 +655,6 @@ export default { } }); }, - // 转交 - tranfser(row) { - console.log(row); - }, // 接待记录列表 findbypage() { let obj = { @@ -598,8 +687,8 @@ export default { dateType: null, searchForm: "", timeType: "0", - orderBy:'', - sensitiveWords:[], + orderBy: "", + sensitiveWords: [], projectId: this.orgType == 3 ? localStorage.getItem("houseId") @@ -608,8 +697,8 @@ export default { this.findbypage(); }, houseChange() { - this.searchForm.sensitiveWords=[] - this.searchForm.keywordsId=[] + this.searchForm.sensitiveWords = []; + this.searchForm.keywordsId = []; this.findbypage(); this.findKeywords(); // 获取置业顾问列表 @@ -619,12 +708,12 @@ export default { this.sensitivewordsList() }, // 违禁词 - sensitivewordsList(){ + sensitivewordsList() { let obj = { houseId: this.searchForm.projectId, }; this.$api.api.sensitivewordsList(obj).then((res) => { - console.log(res,'suhju') + console.log(res, "suhju"); this.sensitiveList = res.data; }); }, diff --git a/src/views/Equipment/equipmentDetailList.vue b/src/views/Equipment/equipmentDetailList.vue index fd07f4a..e76f508 100644 --- a/src/views/Equipment/equipmentDetailList.vue +++ b/src/views/Equipment/equipmentDetailList.vue @@ -50,11 +50,11 @@ --> -
+
-
+
导出
@@ -164,7 +167,7 @@
{{ selectTime1 ? "时段二: " : "请选择: " }}
-
+
{{ selectTime }} @@ -197,7 +200,7 @@
设备总数
@@ -222,7 +225,7 @@
在线设备数
@@ -246,7 +249,7 @@
在线设备平均占比
@@ -272,7 +275,7 @@
活跃设备数
@@ -296,7 +299,7 @@
活跃设备平均占比
@@ -322,7 +325,7 @@
指派次数
@@ -346,7 +349,7 @@
完整录音次数
@@ -372,7 +375,7 @@
完整录音占比
@@ -398,7 +401,7 @@
部分录音
@@ -426,7 +429,7 @@
未录音
@@ -450,7 +453,7 @@
正常关机次数
@@ -478,7 +481,7 @@
低电关机次数
@@ -506,7 +509,7 @@
异常关机次数
@@ -535,8 +538,8 @@
- -
+ +
对比
@@ -756,14 +759,15 @@