12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /**
- * 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", "操作日期", "createTime"],
- ["txt", "IP记录", "ip"],
- ["txt", "操作模块", "type"],
- ["txt", "操作事件", "description"],
- ];
|