From 8f66208a49e7e8d63cc4b30adc84d0eef765602e Mon Sep 17 00:00:00 2001 From: sc Date: Wed, 23 Jun 2021 15:12:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userCenter/index.vue | 49 +++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 19 deletions(-) diff --git a/src/views/userCenter/index.vue b/src/views/userCenter/index.vue index 43d6921a..57f402c7 100644 --- a/src/views/userCenter/index.vue +++ b/src/views/userCenter/index.vue @@ -21,19 +21,10 @@
-

标签

- - HTML - CSS - JavaScript - NodeJs - Vue - Photoshop -

当前账号权限

- user.add - user.edit + user.add + user.edit user.delete list.add list.edit @@ -49,7 +40,10 @@ - {{activity.content}} +
+ + {{activity.mod}}{{activity.describe}} +
@@ -113,32 +107,44 @@ return { activities: [ { - content: '更改了 系统配置 systemName 为 SCUI', + operate: '更改了', + mod: '系统配置', + describe: 'systemName 为 SCUI', type: 'edit', timestamp: '刚刚' }, { - content: '删除了 用户 USER', + operate: '删除了', + mod: '用户', + describe: 'USER', type: 'del', timestamp: '5分钟前' }, { - content: '禁用了 用户 USER', + operate: '禁用了', + mod: '用户', + describe: 'USER', type: 'del', timestamp: '5分钟前' }, { - content: '创建了 用户 USER', + operate: '创建了', + mod: '用户', + describe: 'USER', type: 'add', timestamp: '5分钟前' }, { - content: '审核了 用户 lolowan 为 通过', + operate: '审核了', + mod: '用户', + describe: 'lolowan 为 通过', type: 'add', timestamp: '10分钟前' }, { - content: '登录成功', + operate: '登录', + mod: '', + describe: '成功', type: 'do', timestamp: '1小时前' }, @@ -160,5 +166,10 @@ } -