1 Star 0 Fork 0

tong/code-builder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
modal.data.js 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
hanya 提交于 2024-04-07 18:25 . 列表
// 页面搜索条件配置
export const searchColumns = (that) => [
];
// 页面表格配置
export const tableSchema = [
{
type: 'selection',
fixed: 'left',
},
{
label: '用户信息',
dataIndex: 'nickName',
customSlot: 'nickName',
width: '180',
},
{
label: '用户ID',
dataIndex: 'id',
width: '180',
},
{
label: '身份标签',
dataIndex: 'tag',
width: '180',
},
{
label: '实名认证',
dataIndex: 'authStatus',
customSlot: 'authStatus',
width: '180',
},
{
label: '真实姓名',
dataIndex: 'name',
width: '180',
},
{
label: '身份证号',
dataIndex: 'identityCard',
width: '180',
},
{
label: '船员资质认证',
dataIndex: 'crewStatus',
customSlot: 'crewStatus',
width: '180',
},
{
label: '团队角色',
dataIndex: 'typeText',
width: '180',
},
{
label: '加入时间',
dataIndex: 'workDate',
width: '180',
},
{
label: '账号状态',
dataIndex: 'status',
customSlot: 'status',
width: '180',
},
];
// 表格操作配置
export const tableActions = (handleUpdate, handleStatusChange, handleShowDetail) => [
{
width: 220,
label: '操作',
buttons: [
{
label: '查看详情',
onClick: (row) => {
handleShowDetail(row);
},
},
{
label: '编辑',
onClick: (row) => {
handleUpdate(row);
},
},
{
label: '禁用',
onClick: (row) => {
handleStatusChange(row);
},
}
],
},
];
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/tongdl/code-builder.git
git@gitee.com:tongdl/code-builder.git
tongdl
code-builder
code-builder
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385