|
@@ -8,116 +8,116 @@
|
|
|
// export const A1tableCFu = (type: "video" | "poster") => {
|
|
|
// return [
|
|
|
// ["index", "序号"],
|
|
|
-// ["txt", "标题", "name"],
|
|
|
+// ["txt", "标题", "name"]
|
|
|
// ["img", type === "video" ? "视频封面" : "海报", "thumb"],
|
|
|
// ["txtChange", "自动播放", "display", { 0: "否", 1: "是" }],
|
|
|
// ["text", "创建日期",'description', 50,A],
|
|
|
// ];
|
|
|
|
|
|
-import { A5topType } from "@/pages/A5publish/data";
|
|
|
+import { A5topType } from '@/pages/A5publish/data'
|
|
|
|
|
|
// };
|
|
|
export const A1tableC = [
|
|
|
- ["txt", "标题", "name"],
|
|
|
- ["img", "PC端封面", "thumb"],
|
|
|
- ["img", "移动端封面", "thumbApp"],
|
|
|
- ["txt", "活动日期", "activityTime"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
- ["txtChange", "状态", "display", { 0: "不发布", 1: "发布" }],
|
|
|
-];
|
|
|
+ ['text', '标题', 'name', 100],
|
|
|
+ ['img', 'PC端封面', 'thumb'],
|
|
|
+ ['img', '移动端封面', 'thumbApp'],
|
|
|
+ ['txt', '活动日期', 'activityTime'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort'],
|
|
|
+ ['txtChange', '状态', 'display', { 0: '不发布', 1: '发布' }]
|
|
|
+]
|
|
|
|
|
|
export const A2tableC = [
|
|
|
- ["txt", "标题", "name"],
|
|
|
- ["img", "封面", "thumb"],
|
|
|
- ["txtChange", "展览地址", "addrType", { inland: "国内", foreign: "国外" }],
|
|
|
- ["txtChange", "展览时间", "type", { temp: "临时展览", long: "常设展览" }],
|
|
|
- ["txt", "活动日期", "activityTime"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
- ["txtChange", "状态", "display", { 0: "不发布", 1: "发布" }],
|
|
|
-];
|
|
|
+ ['text', '标题', 'name', 100],
|
|
|
+ ['img', '封面', 'thumb'],
|
|
|
+ ['txtChange', '展览地址', 'addrType', { inland: '国内', foreign: '国外' }],
|
|
|
+ ['txtChange', '展览时间', 'type', { temp: '临时展览', long: '常设展览' }],
|
|
|
+ ['txt', '活动日期', 'activityTime'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort'],
|
|
|
+ ['txtChange', '状态', 'display', { 0: '不发布', 1: '发布' }]
|
|
|
+]
|
|
|
|
|
|
export const A3tableC = [
|
|
|
- ["txt", "名称", "name"],
|
|
|
- ["txt", "类别", "type"],
|
|
|
- ["txt", "年代", "dictAge"],
|
|
|
- ["text", "摘要", "digest", 50],
|
|
|
- ["img", "封面", "thumb"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
- ["txtChange", "状态", "display", { 0: "不发布", 1: "发布" }],
|
|
|
-];
|
|
|
+ ['txt', '名称', 'name'],
|
|
|
+ ['txt', '类别', 'type'],
|
|
|
+ ['txt', '年代', 'dictAge'],
|
|
|
+ ['text', '摘要', 'digest', 50],
|
|
|
+ ['img', '封面', 'thumb'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort'],
|
|
|
+ ['txtChange', '状态', 'display', { 0: '不发布', 1: '发布' }]
|
|
|
+]
|
|
|
|
|
|
export const A4tableC = [
|
|
|
- ["txt", "标题", "name"],
|
|
|
- ["txt", "板块", "type"],
|
|
|
- ["img", "封面", "thumb"],
|
|
|
- ["text", "地点", "address", 50],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
- ["txtChange", "状态", "display", { 0: "不发布", 1: "发布" }],
|
|
|
-];
|
|
|
+ ['text', '标题', 'name', 100],
|
|
|
+ ['txt', '板块', 'type'],
|
|
|
+ ['img', '封面', 'thumb'],
|
|
|
+ ['text', '地点', 'address', 50],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort'],
|
|
|
+ ['txtChange', '状态', 'display', { 0: '不发布', 1: '发布' }]
|
|
|
+]
|
|
|
|
|
|
export const A5tableCFu = (val: A5topType) => {
|
|
|
const arr = [
|
|
|
- ["txt", "标题", "name"],
|
|
|
- ["txt", "年份", "year"],
|
|
|
- ["img", "封面", "thumb"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
- ["txtChange", "状态", "display", { 0: "不发布", 1: "发布" }],
|
|
|
- ];
|
|
|
+ ['text', '标题', 'name', 100],
|
|
|
+ ['txt', '年份', 'year'],
|
|
|
+ ['img', '封面', 'thumb'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort'],
|
|
|
+ ['txtChange', '状态', 'display', { 0: '不发布', 1: '发布' }]
|
|
|
+ ]
|
|
|
|
|
|
- if (val === "Exhibition") {
|
|
|
+ if (val === 'Exhibition') {
|
|
|
// 删除年份
|
|
|
- arr.splice(1, 1);
|
|
|
+ arr.splice(1, 1)
|
|
|
}
|
|
|
|
|
|
- return arr;
|
|
|
-};
|
|
|
+ return arr
|
|
|
+}
|
|
|
|
|
|
export const A6tableC = [
|
|
|
- ["img", "PC端封面", "thumbPc"],
|
|
|
- ["img", "移动端封面", "thumbApp"],
|
|
|
- ["text", "链接", "link", 50, "A"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
-];
|
|
|
+ ['img', 'PC端封面', 'thumbPc'],
|
|
|
+ ['img', '移动端封面', 'thumbApp'],
|
|
|
+ ['text', '链接', 'link', 50, 'A'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort']
|
|
|
+]
|
|
|
|
|
|
export const A7tableC = [
|
|
|
- ["txt", "板块", "name"],
|
|
|
- ["img", "PC端封面", "thumbPc"],
|
|
|
- ["img", "移动端封面", "thumbApp"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
-];
|
|
|
+ ['txt', '板块', 'name'],
|
|
|
+ ['img', 'PC端封面', 'thumbPc'],
|
|
|
+ ['img', '移动端封面', 'thumbApp'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName']
|
|
|
+]
|
|
|
|
|
|
export const A8tableC = [
|
|
|
- ["txt", "字典值", "name"],
|
|
|
- ["txt", "最近编辑日期", "updateTime"],
|
|
|
- ["txt", "编辑人", "creatorName"],
|
|
|
- ["txt", "排序值", "sort"],
|
|
|
-];
|
|
|
+ ['txt', '字典值', 'name'],
|
|
|
+ ['txt', '最近编辑日期', 'updateTime'],
|
|
|
+ ['txt', '编辑人', 'creatorName'],
|
|
|
+ ['txt', '排序值', 'sort']
|
|
|
+]
|
|
|
|
|
|
export const Z1tableC = [
|
|
|
- ["txt", "用户名", "userName"],
|
|
|
- ["txtChange", "角色", "isAdmin", { 1: "管理员", 0: "普通成员" }],
|
|
|
- ["txt", "真实姓名", "realName"],
|
|
|
- ["txt", "创建日期", "createTime"],
|
|
|
-];
|
|
|
+ ['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"],
|
|
|
-];
|
|
|
+ ['index', '序号'],
|
|
|
+ ['txt', '账号', 'userName'],
|
|
|
+ ['txt', '操作日期', 'createTime'],
|
|
|
+ ['txt', 'IP记录', 'ip'],
|
|
|
+ ['txt', '操作模块', 'type'],
|
|
|
+ ['txt', '操作事件', 'description']
|
|
|
+]
|