/**
 * index:序号
 * txt:正常数据
 * img:图片
 * txtChange:判断显示不同字段
 * text:文字比较多的情况
 */
export const A1tableCFu = (type: "video" | "poster") => {
  return [
    ["txt", "标题", "name"],
    ["img", type === "video" ? "视频封面" : "海报", "thumb"],
    ["txtChange", "自动播放", "display", { 0: "否", 1: "是" }],
    ["txt", "创建日期", "createTime"],
  ];
};

export const A4tableC = [
  ["txt", "名称", "name"],
  ["img", "封面", "thumb"],
  ["text", "简介", "description", 50],
  ["txt", "发布日期", "releaseDate"],
  ["txt", "点赞数", "pcs"],
];

export const A5tableC = [
  ["txt", "名称", "name"],
  ["img", "封面", "thumb"],
  ["txt", "分类", "dictType"],
  ["txt", "时代", "dictAge"],
  ["txt", "级别", "dictLevel"],
  ["txt", "尺寸", "dictSize"],
  ["txt", "点赞", "pcs"],
  ["txt", "发布日期", "releaseDate"],
];

export const A7tableC = [
  ["txt", "用户名", "userName"],
  ["txtChange", "角色", "isAdmin", { 1: "管理员", 0: "普通成员" }],
  ["txt", "真实姓名", "realName"],
  ["txt", "创建日期", "createTime"],
];

export const A8tableC = [
  ["index", "序号"],
  ["txt", "账号",'userName'],
  ["txt", "操作日期", "createTime"],
  ["txt", "IP记录", "ip"],
  ["txt", "操作模块", "type"],
  ["txt", "操作事件", "description"],
];

export const A6QtableC = [
  ["txt", "标题", "name"],
  ["txt", "题目数量", "pcsQuestion"],
  ["txt", "已收集份数", "pcsGather"],
  ["txt", "发布日期", "publishDate"],
  ["txtChange", "问卷状态", "display",{1:'开启',0:'关闭'}],
];
