diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 7233a92..7c96a66 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -500,6 +500,15 @@ export function correctUpdate(query) { }) } +// 新增小程序权限 +export function menuApiSave(data) { + return request({ + url: '/admin/menu/apiSave', + method:'post', + data: data + }) +} + // // 客户管理客户裂变 export function customerManagement(query) { @@ -1263,5 +1272,28 @@ export function findByImeiExport(data) { method: 'GET', }) } +// 导出设备日志 +export function getAllAccountName(data) { + return request({ + url: `/autoSR/api/zkAgentPool/getAllAccountName?itemId=${data}`, + method: 'GET', + }) +} +// 导出设备日志 +export function getAllDeptName(data) { + return request({ + url: `/autoSR/api/zkAgentPool/getAllDeptName?itemId=${data}`, + method: 'GET', + }) +} + +// 话术关键词执行明细 +export function getResultsList(data) { + return request({ + url: `/autoSR/marketing/getResultsList`, + method: 'POST', + data: data + }) +} diff --git a/src/const/crud/admin/log.js b/src/const/crud/admin/log.js index ad5abae..e9e4b2c 100644 --- a/src/const/crud/admin/log.js +++ b/src/const/crud/admin/log.js @@ -7,7 +7,7 @@ export const tableOption = { menuAlign: "center", menuWidth: 250, menu:false, - align: "center", + align: "left", refreshBtn: false, showColumnBtn: false, searchSize: "mini", @@ -86,7 +86,7 @@ export const tableOption1 = { menuAlign: "center", menuWidth: 150, menu:false, - align: "center", + align: "left", refreshBtn: true, showClomnuBtn: false, searchSize: "mini", @@ -108,33 +108,33 @@ export const tableOption1 = { label: "登录手机", prop: "createBy", }, - { - label: "登录后台", - prop: "title", - }, - { - label: "组织名称", - prop: "title", - }, - { - label: "登录客户端", - prop: "title", - }, + // { + // label: "登录后台", + // prop: "title", + // }, + // { + // label: "组织名称", + // prop: "title", + // }, + // { + // label: "登录客户端", + // prop: "title", + // }, { label: "登录IP", prop: "remoteAddr" }, - { - label: "城市", - prop: "remoteAddr" - }, + // { + // label: "城市", + // prop: "remoteAddr" + // }, { label: "登录时间", prop: "createTime" }, - { - label: "离线时间", - prop: "createTime" - }, + // { + // label: "离线时间", + // prop: "createTime" + // }, ] }; diff --git a/src/util/indexedDb/table.js b/src/util/indexedDb/table.js index b2f6a0c..695807c 100644 --- a/src/util/indexedDb/table.js +++ b/src/util/indexedDb/table.js @@ -9,7 +9,7 @@ const publicOption = { // menuAlign: "center", // menuWidth: 250, // menu: false, - // align: "center", + // align: "left", // refreshBtn: false, // showColumnBtn: false, // searchSize: "mini", diff --git a/src/views/Customer/CompanyRecord.vue b/src/views/Customer/CompanyRecord.vue index dd914af..bcb62bc 100644 --- a/src/views/Customer/CompanyRecord.vue +++ b/src/views/Customer/CompanyRecord.vue @@ -62,7 +62,7 @@
筛选相关:
-
+
筛选
diff --git a/src/views/Customer/CustomerDetail.vue b/src/views/Customer/CustomerDetail.vue index 7d37874..448df6a 100644 --- a/src/views/Customer/CustomerDetail.vue +++ b/src/views/Customer/CustomerDetail.vue @@ -333,7 +333,7 @@ export default { menuAlign: "center", menuWidth: 150, menu:false, - align: "center", + align: "left", refreshBtn: true, showClomnuBtn: false, searchSize: "mini", diff --git a/src/views/Customer/table.js b/src/views/Customer/table.js index aa2f228..02e9ead 100644 --- a/src/views/Customer/table.js +++ b/src/views/Customer/table.js @@ -8,7 +8,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", searchMenuSpan: 9, @@ -97,7 +97,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", searchMenuSpan: 9, @@ -145,7 +145,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", searchMenuSpan: 9, @@ -216,7 +216,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", selection:true, @@ -316,7 +316,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", delBtn: false, @@ -342,5 +342,49 @@ export default { prop: "remarks", }, ] + }, + + StatisticsAnalysisOfMarketingSpeech: { + border: true, + index: false, + height: 480, + indexLabel: "序号", + stripe: true, + menuAlign: "center", + menuWidth: 146, + menu: false, + align: "left", + refreshBtn: false, + searchSize: "mini", + delBtn: false, + addBtn: false, + editBtn: false, + viewBtn: false, + size: "small", + column: [ + { + label: "销讲场景", + prop: "firstName", + }, + { + label: "销讲指标", + prop: "secondName", + }, + { + label: "话术关键词", + prop: "thirdName", + }, + { + label: "执行接待数", + prop: "num", + }, + { + label: "执行接待占比", + prop: "zxl", + formatter: row => { + return `${row.zxl||0}%` + } + }, + ] } } \ No newline at end of file diff --git a/src/views/Equipment/state.vue b/src/views/Equipment/state.vue index 9c9e1e4..6445094 100644 --- a/src/views/Equipment/state.vue +++ b/src/views/Equipment/state.vue @@ -1405,7 +1405,7 @@ export default { }; - \ No newline at end of file diff --git a/src/views/Statistics/MentoringAbility.vue b/src/views/Statistics/MentoringAbility.vue index 5f04f30..22738b0 100644 --- a/src/views/Statistics/MentoringAbility.vue +++ b/src/views/Statistics/MentoringAbility.vue @@ -56,9 +56,8 @@ >
-
-
-
+ +
顾问:
-
项目选择:
-
+
项目选择:
+
-
接待时间:
+
接待时间:
近7天 @@ -723,7 +723,6 @@ export default { background: #ffffff; display: flex; align-items: center; - margin-left: 20px; } .toptimeqhuan div { padding-left: 20px; diff --git a/src/views/Statistics/index.vue b/src/views/Statistics/index.vue index 34d74dc..2c03680 100644 --- a/src/views/Statistics/index.vue +++ b/src/views/Statistics/index.vue @@ -4,7 +4,7 @@
项目选择:
-
+
-
接待时间:
-
+
接待时间:
+
{ if(data.status == 0) return '启用' if(data.status == 1) return '停用' @@ -34,7 +33,6 @@ export default { { label: "大类个数", prop: "count", - width: "90px" }, { @@ -52,7 +50,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", searchMenuSpan: 9, @@ -85,7 +83,7 @@ export default { menuAlign: "center", menuWidth: 146, menu: true, - align: "center", + align: "left", refreshBtn: false, searchSize: "mini", searchMenuSpan: 9, diff --git a/src/views/admin/app/index.vue b/src/views/admin/app/index.vue index 0939a6a..03685b5 100644 --- a/src/views/admin/app/index.vue +++ b/src/views/admin/app/index.vue @@ -15,18 +15,20 @@
- + + + @@ -49,9 +51,12 @@ - + + + + @@ -867,6 +868,10 @@ export default {