From 4d41683af767289ef69ce7286059653bed0a075d Mon Sep 17 00:00:00 2001 From: jingganjiaoyu Date: Tue, 20 Aug 2024 19:53:35 +0800 Subject: [PATCH] opt some --- src/jiaowuxitong/portal.json | 2 +- src/jiaowuxitong/userClass.go | 6 +++--- .../web.team.gonganxitong.portal/hash.json | 6 ++++++ .../web.team.jiaowuxitong.portal/hash.json | 21 ++++++++++++++++++- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/jiaowuxitong/portal.json b/src/jiaowuxitong/portal.json index 4572f93..b4fb50b 100644 --- a/src/jiaowuxitong/portal.json +++ b/src/jiaowuxitong/portal.json @@ -17,8 +17,8 @@ }, "value": { "user_class_role": { - "creator": "创建人", "visitor": "访客", + "creator": "创建人", "teacher": "老师", "student": "学生", "parent": "家长", diff --git a/src/jiaowuxitong/userClass.go b/src/jiaowuxitong/userClass.go index 448add7..0ce17c1 100644 --- a/src/jiaowuxitong/userClass.go +++ b/src/jiaowuxitong/userClass.go @@ -46,16 +46,16 @@ func init() { ice.TeamCtxCmd(userClass{}) } type UserClassRole int const ( - UserClassCreator UserClassRole = iota - UserClassVisitor + UserClassVisitor UserClassRole = iota + UserClassCreator UserClassTeacher UserClassStudent UserClassParent ) var UserClassRoleList = map[UserClassRole]string{ - UserClassCreator: "creator", UserClassVisitor: "visitor", + UserClassCreator: "creator", UserClassTeacher: "teacher", UserClassStudent: "student", UserClassParent: "parent", diff --git a/usr/local/export/web.team.gonganxitong.portal/hash.json b/usr/local/export/web.team.gonganxitong.portal/hash.json index 906a8f2..eccafae 100644 --- a/usr/local/export/web.team.gonganxitong.portal/hash.json +++ b/usr/local/export/web.team.gonganxitong.portal/hash.json @@ -83,6 +83,12 @@ "time": "2024-08-03 14:36:39.469" } }, + "a89a7c09e326295aaa7e7ea3d66fb28a": { + "meta": { + "index": "web.team.gonganxitong.support", + "time": "2024-08-20 17:15:51.782" + } + }, "bdec92d5849b2a60a8811cff494f2391": { "meta": { "_target": [ diff --git a/usr/local/export/web.team.jiaowuxitong.portal/hash.json b/usr/local/export/web.team.jiaowuxitong.portal/hash.json index 6a4c5d6..a497e41 100644 --- a/usr/local/export/web.team.jiaowuxitong.portal/hash.json +++ b/usr/local/export/web.team.jiaowuxitong.portal/hash.json @@ -70,6 +70,7 @@ }, "7e64183251edf9e9852903554f37a95c": { "meta": { + "enable": "true", "icons": "https://img.icons8.com/officel/80/receipt-approved.png", "index": "web.team.jiaowuxitong.allow", "name": "权限审批", @@ -86,7 +87,7 @@ "enable": "true", "icons": "https://img.icons8.com/officel/80/activity-grid.png", "index": "web.team.jiaowuxitong.service", - "name": "系统服务", + "name": "服务列表", "order": "100", "role": "creator", "time": "2024-08-06 18:36:54.304" @@ -105,5 +106,23 @@ "role": "creator,teacher", "time": "2024-08-04 22:46:59.068" } + }, + "dd4a880b9048d00d8d0f8b55562a1491": { + "meta": { + "enable": "true", + "icons": "https://img.icons8.com/officel/80/test-partial-passed.png", + "index": "web.team.jiaowuxitong.message", + "name": "消息待办", + "time": "2024-08-20 17:15:51.825" + } + }, + "f17ffa67fa176278072580eefc7e9016": { + "meta": { + "enable": "true", + "icons": "https://img.icons8.com/officel/80/multiple-smartphones.png", + "index": "web.team.jiaowuxitong.recent", + "name": "最近访问", + "time": "2024-08-20 17:15:51.804" + } } }