hypaas
11 months ago
10 changed files with 82 additions and 4 deletions
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<domain-models xmlns="http://hypaas.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/domain-models http://hypaas.com/xml/ns/domain-models/domain-models_5.2.xsd"> |
||||
<module name="com.module.enmus" package="module"/> |
||||
<enum name="UserAuth"> |
||||
<item name="SystemManageUser" title="系统管理员" value="0"/> |
||||
<item name="SecurityUser" title="安全保密员" value="1"/> |
||||
<item name="SecurityAuditUser" title="安全审计员" value="2"/> |
||||
<item name="ServiceUser" title="业务用户" value="3"/> |
||||
</enum> |
||||
</domain-models> |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> |
||||
<grid title="安全审计员操作日志" model="Log.LogEntity" edit-icon="true" freeSearch="all" name="SecurityAuditUser-grid" width="large"> |
||||
<field search-field="true" canSuggest="true" name="userId" title="用户ID"/> |
||||
<field search-field="true" canSuggest="true" name="levelNum" title="告警级别"/> |
||||
<field search-field="true" canSuggest="true" name="time" title="操作时间"/> |
||||
<field search-field="true" canSuggest="true" name="address" title="IP"/> |
||||
<field search-field="true" canSuggest="true" name="objectName" title="客体"/> |
||||
<field search-field="true" canSuggest="true" name="module" title="操作模块"/> |
||||
<field search-field="true" canSuggest="true" name="opType" title="操作类型"/> |
||||
<field search-field="true" canSuggest="true" name="content" title="操作内容"/> |
||||
</grid> |
||||
</object-views> |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> |
||||
<grid title="安全保密员操作日志" model="Log.LogEntity" edit-icon="true" freeSearch="all" name="SecurityUser-grid" width="large"> |
||||
<field search-field="true" canSuggest="true" name="userId" title="用户ID"/> |
||||
<field search-field="true" canSuggest="true" name="levelNum" title="告警级别"/> |
||||
<field search-field="true" canSuggest="true" name="time" title="操作时间"/> |
||||
<field search-field="true" canSuggest="true" name="address" title="IP"/> |
||||
<field search-field="true" canSuggest="true" name="objectName" title="客体"/> |
||||
<field search-field="true" canSuggest="true" name="module" title="操作模块"/> |
||||
<field search-field="true" canSuggest="true" name="opType" title="操作类型"/> |
||||
<field search-field="true" canSuggest="true" name="content" title="操作内容"/> |
||||
</grid> |
||||
</object-views> |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> |
||||
<grid canMove="false" canEdit="false" canNew="false" title="业务用户操作日志" model="Log.LogEntity" canDelete="false" edit-icon="true" canArchive="false" editable="false" canSave="false" freeSearch="all" name="ServiceUser-grid" width="large" customSearch="true"> |
||||
<field type="string" search-field="true" canSuggest="true" name="userId" title="用户ID"/> |
||||
<field search-field="true" canSuggest="true" name="levelNum" title="告警级别"/> |
||||
<field type="datetime" search-field="true" canSuggest="true" name="time" title="操作时间"/> |
||||
<field type="string" search-field="true" canSuggest="true" name="address" title="IP"/> |
||||
<field type="string" search-field="true" canSuggest="true" name="objectName" title="客体"/> |
||||
<field type="enum" search-field="true" canSuggest="true" name="module" canNew="false" title="操作模块" canView="false"/> |
||||
<field type="enum" search-field="true" canSuggest="true" name="opType" title="操作类型"/> |
||||
<field type="string" search-field="true" canSuggest="true" name="content" title="操作内容"/> |
||||
</grid> |
||||
</object-views> |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> |
||||
<grid title="系统管理员操作日志" model="Log.LogEntity" edit-icon="true" freeSearch="all" name="SystemManageUser-grid" width="large"> |
||||
<field search-field="true" canSuggest="true" name="userId" title="用户ID"/> |
||||
<field search-field="true" canSuggest="true" name="levelNum" title="告警级别"/> |
||||
<field search-field="true" canSuggest="true" name="time" title="操作时间"/> |
||||
<field search-field="true" canSuggest="true" name="address" title="IP"/> |
||||
<field search-field="true" canSuggest="true" name="objectName" title="客体"/> |
||||
<field search-field="true" canSuggest="true" name="module" title="操作模块"/> |
||||
<field search-field="true" canSuggest="true" name="opType" title="操作类型"/> |
||||
<field search-field="true" canSuggest="true" name="content" title="操作内容"/> |
||||
</grid> |
||||
</object-views> |
@ -1,7 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> |
||||
<action-view name="action.view.LogManage.Log" model="Log.LogEntity" title="业务用户操作日志"> |
||||
<view name="Log-ServiceUser-grid" type="grid"/> |
||||
<action-view name="action.view.ServiceUser.Log" model="Log.LogEntity" title="业务用户操作日志"> |
||||
<view name="ServiceUser-grid" type="grid"/> |
||||
<view name="Log-ServiceUser-form" type="form"/> |
||||
<domain>self.userAuth=3</domain> |
||||
</action-view> |
||||
<action-view name="action.view.SecurityUser.Log" title="业务用户动作"> |
||||
<view name="SecurityUser-grid" type="grid"/> |
||||
<domain>self.userAuth=1</domain> |
||||
</action-view> |
||||
<action-view name="action.view.SecurityAuditUser.Log" title="安全审计员动作"> |
||||
<view name="SecurityAuditUser-grid" type="grid"/> |
||||
<domain>self.userAuth=2</domain> |
||||
</action-view> |
||||
<action-view name="action.view.SystemManageUser.Log" title="系统管理员动作"> |
||||
<view name="SystemManageUser-grid" type="grid"/> |
||||
<domain>self.userAuth= 0</domain> |
||||
</action-view> |
||||
</object-views> |
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd"> |
||||
<menuitem title="日志管理" left="true" name="menu-LogManage" action="action.view.LogManage.Log"/> |
||||
<menuitem parent="menu-LogManage" title="业务用户操作日志" left="true" name="menu-LogManage-Log" action="action.view.LogManage.Log"/> |
||||
<menuitem parent="menu-LogManage" title="安全保密员操作日志" left="true" name="menu-LogManage-Log" action="action.view.SecurityUser.Log"/> |
||||
</object-views> |
||||
|
Loading…
Reference in new issue