/** * index:序号 * txt:正常数据 * img:图片 * txtChange:判断显示不同字段 * text:文字比较多的情况 */ // export const A1tableCFu = (type: "video" | "poster") => { // return [ // ["index", "序号"], // ["txt", "标题", "name"], // ["img", type === "video" ? "视频封面" : "海报", "thumb"], // ["txtChange", "自动播放", "display", { 0: "否", 1: "是" }], // ["txt", "创建日期", "createTime"], // ]; // }; export const A2tableCimg = [ ['txt', '标题', 'name'], ['img', '图片', 'thumb'], ['txt', '排序', 'sort'] ] export const A3tableC = [ ['txt', '发布时间', 'createTime'], ['txt', '称呼', 'name'], ['txt', '联系方式', 'phone'], ['text', '内容', 'content', 50] ] export const B1tableC = [ ['txt', '板块', 'type'], ['txt', '名称', 'name'], ['img', '图片', 'thumb'], ['txt', '排序值', 'sort'] ] export const B2tableC = [ ['txt', '板块', 'type'], ['img', '图片', 'thumb'], ['text', '内容', 'content', 100], ['txt', '排序值', 'sort'] ] export const B4tableC = [ ['text', '标题', 'name', 50], ['img', '图片', 'thumb'], ['txt', '排序值', 'sort'] ] 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'] ]