# 模块标题 sys_title: "User Management" sys_title_en: "User Management" sys_title_zhcn: "用户管理" sys_title_zhtw: "用戶管理" # 模块图标(普通图标在font awesome中找 http://fontawesome.io/icons/) sys_icon: "user-o" # 模块对应的插件DLL名称 sys_plugin: "topikm6-topsys-plugin" # 模块对应的类名 sys_class: "SysUserMgtV1" # 打开模块的权限 sys_open_right: "sys-user-read" # 当关闭窗口时,如果提示是否保存,保存调用的action sys_save_action: "" # 该模块用到的枚举列表 sys_enum_list: ["sys-user-status"] # 该模块用到的除了Action之外的权限列表 sys_permission_list: [] #详情页面的初始大小 detail.perfect_size.width: 600 # 产品类型,此选项用于当多个产品共用一个数据库时,只想看到自已产品的用户; # * 表示匹配所有产品 product_category: [] navi: { is_expanded: "true" } view: { data_keys: [ "id", "username", "fullname", "staffid", "mail", "contcat_id", "remark", "status", ] primary_key: "id" horizontal_header: [ { "name": "username", "display": "Login Name", "displayRole": "$username", "dataType": "string", "resizeMode": "Interactive", "search": "string" }, { "name": "fullname", "display": "Full Name", "displayRole": "$fullname", "dataType": "string", "resizeMode": "Interactive", "search": "string" }, { "name": "staffid", "display": "Staff ID", "displayRole": "$staffid", "dataType": "string", "resizeMode": "Interactive", "search": "string" }, { "name": "mail", "display": "Mail", "displayRole": "$mail", "dataType": "string", "resizeMode": "Interactive", "size": "200" }, { "name": "status", "display": "Status", "displayRole": "$status.text", "resizeMode": "Interactive", "decorationRole": "$status.icon", "format": "enum(sys-user-status)" }, { "name": "remark", "display": "Remark", "displayRole": "$remark", "resizeMode": "Interactive", }, ] data_set: { db_table_name: "", db_sql: "select U.id, U.username, U.staffid, C.mail, U.remark, U.status, U.contcat_id, U.fullname from sys_user AS U LEFT JOIN pub_contacts AS C ON U.contcat_id = C.id" } }