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 @@ 客户意向 销讲执行 违禁触达 + 客户日志 - +