ze-react-component-library
Version:
ZeroETP React Component Library
51 lines (50 loc) • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.accountColumns = exports.roleColumns = void 0;
var roleColumns = [{
title: "auth.role",
dataIndex: "role"
}, {
title: "auth.parent_role",
dataIndex: "parent",
valueType: "treeSelect"
}, {
title: "权限配置",
dataIndex: "default_query",
hideInTable: true
}];
exports.roleColumns = roleColumns;
var accountColumns = [// 头像暂时隐藏
// {
// title: "头像",
// hideInForm: true,
// dataIndex: "avatar",
// valueType: "image",
// },
{
title: "用户名",
dataIndex: "username"
}, {
// 这东西吧,SSO的时候不需要
title: "密码",
dataIndex: "password",
valueType: "password"
}, {
title: "名字",
dataIndex: "name"
}, {
title: "auth.role",
dataIndex: "role",
valueType: "treeSelect"
}, {
title: "权限配置",
dataIndex: "default_query",
hideInTable: true
}, {
title: "菜单权限配置",
dataIndex: "permissions",
hideInTable: true
}];
exports.accountColumns = accountColumns;