/** * index:序号 * txt:正常数据 * img:图片 * txtChange:判断显示不同字段 * text:文字比较多的情况、获取使用其他标签(没有的需要自己配置) */ // export const A1tableCFu = (type: "video" | "poster") => { // return [ // ["index", "序号"], // ["txt", "标题", "name"] // ["img", type === "video" ? "视频封面" : "海报", "thumb"], // ["txtChange", "自动播放", "display", { 0: "否", 1: "是" }], // ["text", "创建日期",'description', 50,A], // ]; export const A1tableC = [ ['txt', '书名', 'name'], ['img', '封面', 'thumb'], ['txt', '作者', 'author'], ['txt', '出版社', 'press'], ['txt', '中图法分类', 'storageName'], ['txt', '展示分类', 'exhibitTypeName'], ['txt', 'ISBN编号', 'num'], ['txt', '排序值', 'sort'], ['txt', '编辑人', 'creatorName'], ['txt', '编辑时间', 'updateTime'] ] export const A2tableY1 = [ ['img', '封面', 'thumb'], ['text', '正文', 'description', 50], ['txt', '排序值', 'sort'], ['txt', '编辑人', 'creatorName'], ['txt', '编辑时间', 'updateTime'] ] export const A2tableY2 = [ ['txt', '标题', 'name'], ['img', '视频封面', 'thumb'], ['text', '简介', 'description', 50], ['txt', '附件', 'fileName'], ['txt', '排序值', 'sort'], ['txt', '编辑人', 'creatorName'], ['txt', '编辑时间', 'updateTime'] ] export const A2tableC = [ ['txt', '分类名称', 'name'], ['txt', '排序值', 'sort'], ['txt', '编辑人', 'creatorName'], ['txt', '编辑时间', 'updateTime'] ] export const A3tableC = [ ['txt', '书名', 'name'], ['img', '封面', 'thumb'], ['txt', '作者', 'author'], ['txt', '出版社', 'press'], ['txt', 'ISBN编号', 'num'], ['txt', '排序值', 'sort'], ['txt', '编辑人', 'creatorName'], ['txt', '编辑时间', 'updateTime'] ] export const Z1tableC = [ ['txt', '用户名', 'userName'], ['txtChange', '角色', 'isAdmin', { 1: '管理员', 0: '普通成员' }], ['txt', '真实姓名', 'realName'], ['txt', '创建日期', 'createTime'] ] export const Z2tableC = [ ['index', '序号'], ['txt', '账号', 'userName'], ['txt', '操作日期', 'createTime'], ['txt', 'IP记录', 'ip'], ['txt', '操作模块', 'type'], ['txt', '操作事件', 'description'] ]