From 4b33609d219ee539e13f5dafac39e5f34be42d38 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 1 Sep 2022 21:28:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/api.js | 32 + src/const/crud/admin/log.js | 44 +- src/util/indexedDb/table.js | 2 +- src/views/Customer/CompanyRecord.vue | 2 +- src/views/Customer/CustomerDetail.vue | 2 +- src/views/Customer/table.js | 54 +- src/views/Equipment/state.vue | 2 +- src/views/Equipment/table.js | 10 +- src/views/File/table.js | 3 +- src/views/Receive/index.vue | 244 +++--- src/views/ReceivingRecords/table.js | 2 +- src/views/Scheduling/table.js | 3 +- .../Statistics/AnalysisOfMarketingSpeech.vue | 725 ++++++++++++++++++ src/views/Statistics/MentoringAbility.vue | 5 +- src/views/Statistics/ReceptionStatistical.vue | 7 +- src/views/Statistics/index.vue | 6 +- src/views/Statistics/table.js | 2 +- src/views/Template/table.js | 8 +- src/views/admin/app/index.vue | 22 +- src/views/admin/role/index.vue | 5 + src/views/admin/user/table.js | 4 +- src/views/building/table.js | 15 +- src/views/contentManage/updateRecord/table.js | 2 +- src/views/inspection/table.js | 2 +- vue.config.js | 6 +- 25 files changed, 1009 insertions(+), 200 deletions(-) create mode 100644 src/views/Statistics/AnalysisOfMarketingSpeech.vue 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 @@