From 0ad39e9309aadcb47d821626abeeebe6925f806f Mon Sep 17 00:00:00 2001
From: corala <18339694416@163.com>
Date: Thu, 23 Jun 2022 18:12:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=93=8D=E4=BD=9C=E6=97=A5?=
=?UTF-8?q?=E5=BF=97=E5=92=8C=E7=94=A8=E6=88=B7=E6=97=A5=E5=BF=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/const/crud/admin/log.js | 85 ++++++++++++++++++++
src/views/Customer/CustomerDetail.vue | 107 ++++++++++++++++++++++++--
src/views/admin/log/log.vue | 89 +--------------------
3 files changed, 189 insertions(+), 92 deletions(-)
diff --git a/src/const/crud/admin/log.js b/src/const/crud/admin/log.js
index 67a41db..1889330 100644
--- a/src/const/crud/admin/log.js
+++ b/src/const/crud/admin/log.js
@@ -1,4 +1,89 @@
export const tableOption = {
+ border: true,
+ index: true,
+ indexLabel: "序号",
+ stripe: true,
+ menuAlign: "center",
+ menuWidth: 250,
+ menu:false,
+ align: "center",
+ refreshBtn: false,
+ showColumnBtn: false,
+ searchSize: "mini",
+ searchMenuSpan: 9,
+ delBtn: false,
+ addBtn: false,
+ editBtn: false,
+ viewBtn: true,
+ column: [
+ {
+ label: "操作人",
+ prop: "name",
+ search: true
+ },
+ {
+ label: "操作手机",
+ prop: "type",
+ search: true
+ },
+ {
+ label: "终端",
+ prop: "title"
+ },
+ {
+ label: "登录IP",
+ prop: "remoteAddr"
+ },
+ {
+ label: "操作时间",
+ prop: "method",
+ search: true,
+ type: "datetime",
+ rangeSeparator: "-",
+ format: "yyyy-MM-dd",
+ valueFormat: "yyyy-MM-dd",
+ searchRange: true,
+ searchSpan: 8,
+ },
+ {
+ label: "操作类型",
+ prop: "type",
+ type: "select",
+ search: true,
+ dicData: [{
+ label: '新增管理',
+ value: 0
+ }, {
+ label: '编辑项目',
+ value: 1
+ }, {
+ label: '删除项目',
+ value: 2
+ }, {
+ label: '新增公司',
+ value: 3
+ }, {
+ label: '编辑公司',
+ value: 4
+ }, {
+ label: '删除公司',
+ value: 5
+ }, {
+ label: '新增代理商',
+ value: 6
+ }, {
+ label: '系统运营',
+ value: 7
+ }]
+ },
+ {
+ label: '操作内容',
+ prop: 'time',
+ search: true
+ }
+ ]
+};
+export const tableOption1 = {
border: true,
index: true,
indexLabel: "序号",
diff --git a/src/views/Customer/CustomerDetail.vue b/src/views/Customer/CustomerDetail.vue
index 6f94660..7d37874 100644
--- a/src/views/Customer/CustomerDetail.vue
+++ b/src/views/Customer/CustomerDetail.vue
@@ -51,6 +51,7 @@
客户意向
销讲执行
违禁触达
+ 客户日志
@@ -236,7 +237,6 @@
-
+
+
+