/** * 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 statusObj = { 1: '草稿', 6: '待提交', 2: '待审批', 3: '审批不通过', 4: '已完成', 5: '待盘点' } // 待完善 export const B1TableC = [ ['txt', '线索名称', 'description'], ['txt', '线索类别', 'description'], ['txt', '创建人', 'description'], ['txt', '创建时间', 'description'] ] export const B3eTableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'numName'], ['txt', '藏品名称', 'name'], ['txt', '文物级别', 'dictLevel'], ['txtC', '文物类别', 'dictType'], ['txtC', '年代', 'dictAge'], ['txt', '数量', 'pcs'], ['txtC', '质地', 'dictTexture3'], ['txtC', '完残程度', 'dictTorn'], ['txtC', '来源', 'source'] ] export const B3FtableC = [ ['txt', '节点名称', 'name'], ['txt', '提交日期', 'updateTime'], ['txt', '处理人', 'creatorName'], ['txtChange', '审批结果', 'status', { 1: '同意', 2: '不同意' }] ] // 待完善 export const D1GtableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'userName'], ['txt', '藏品名称', 'userName'], ['txt', '数量', 'userName'], ['txt', '库存状态', 'userName'], ['txt', '区域名称', 'userName'], ['txt', '排架', 'userName'], ['txt', '层数', 'userName'], ['txt', '层格', 'userName'], ['txt', '库位说明', 'description'] ] // 待完善 export const B3tableC = [ ['txt', '业务单号', 'num'], ['txt', '申请名称', 'name'], ['txt', '发起部门', 'deptName'], ['txt', '发送人', 'creatorName'], ['txt', '发起日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] // 待完善 export const C1tableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'xxx'], ['txt', '藏品名称', 'xxx'], ['txt', '文物级别', 'xxx'], ['txt', '文物类别', 'xxx'], ['txt', '年代', 'xxx'], ['txt', '质地', 'xxx'], ['txt', '完残程度', 'xxx'], ['txt', '来源', 'xxx'], ['txt', '入藏状态', 'xxx'], ['txt', '库存状态', 'xxx'] ] // 待完善 export const C2tableC = [ ['txt', '附件类型', 'type'], ['txt', '用途', 'description'], ['txt', '藏品名称', 'description'], ['txt', '总登记号', 'description'], ['txt', '附件名称', 'description'], ['txt', '上传日期', 'description'], ['txt', '上传人', 'description'], ['txt', '文件大小', 'description'] ] // 待完善 export const C4tableC = [ ['txt', '导入数据行数', 'hang1'], ['txt', '合格数据行数', 'hang2'], ['txt', '异常数据行数', 'hang3'] ] // 待完善 export const D1tableC = [ ['txt', '区域名称', 'name1'], ['txt', '排架', 'userName'], ['txt', '层数', 'userName'], ['txt', '层格', 'userName'], ['txt', '库位说明', 'description'], ['txt', '是否空置', 'userName'] ] export const D2tableC = [ ['txt', '仓库名称', 'name'], ['txt', '仓库编码', 'num'], ['txt', '仓库负责人', 'managerUser'], ['text', '仓库说明', 'description', 100], ['txtChange', '仓库状态', 'enable', { 0: '禁用', 1: '启用' }] ] export const D2tableCSon = [ ['txt', '区域名称', 'regionName'], ['txt', '排架', 'layer1'], ['txt', '层数', 'layer2'], ['txt', '库位', 'layer3'], ['text', '库位说明', 'description', 50] ] // 待完善 export const D4tableC = [ ['txt', '申请编号', 'regionName'], ['txt', '业务名称', 'layer1'], ['txt', '入库库房', 'layer2'], ['txt', '发起部门', 'layer3'], ['txt', '发起人', 'layer3'], ['txt', '发起日期', 'layer3'], ['txt', '申请状态', 'layer3'] ] // 待完善 export const D6tableC = [ ['txt', '申请编号', 'regionName'], ['txt', '业务名称', 'layer1'], ['txt', '出库库房', 'layer2'], ['txt', '是否需要归还', 'layer2'], ['txt', '预计归还日期', 'layer2'], ['txt', '发起部门', 'layer3'], ['txt', '发起人', 'layer3'], ['txt', '发起日期', 'layer3'], ['txt', '申请状态', 'layer3'] ] // 待完善 export const D4goodsTableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'userName'], ['txt', '藏品名称', 'userName'], ['txt', '数量', 'userName'], ['txt', '库存状态', 'userName'] ] // 待完善 export const D6goodsTableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'userName'], ['txt', '藏品名称', 'userName'], ['txt', '数量', 'userName'], ['txt', '库存状态', 'userName'] ] // 待完善 export const Y22tableC = [ ['txt', '库存信息', 'xxxx'], ['txt', '库存详情', 'description'] ] export const Y33tableC = (type: '详情' | '新增') => { let arr1 = [ ['txt', '附件类型', 'type'], ['txt', '用途', 'effect'] ] const arr2 = [ ['text', '附件名称', 'fileName', 50], ['txt', '附件大小', 'fileSize'], ['txt', '上传日期', 'updateTime'], ['txt', '上传人', 'creatorName'] ] return type === '详情' ? [...arr1, ...arr2] : arr2 } // 待完善 export const Y44tableC = [ ['txt', '业务类型', 'xxxx'], ['txt', '申请编号', 'description'], ['txt', '业务名称', 'description'], ['txt', '发起部门', 'description'], ['txt', '发起人', 'description'], ['txt', '发起日期', 'description'], ['txt', '申请状态', 'description'] ] export const Z2tableC = [ ['txt', '编号类型', 'name'], ['txt', '前缀', 'prefix'], ['txt', '日期方式', 'dateType'], ['txt', '起始流水编号', 'length'] ] export const Z5tableC = [ ['txt', '角色名称', 'roleName'], ['text', '角色说明', 'roleDesc', 50], ['txt', '排序值', 'sort'] ] export const Z6tableC = [ ['txt', '登录账号', 'userName'], ['txt', '所属部门', 'deptNameRes'], ['txt', '角色', 'roleName'], ['txt', '真实姓名', 'realName'], ['txt', '创建日期', 'createTime'] ] export const Z7tableC = [ ['index', '序号'], ['txt', '账号', 'userName'], ['txt', '操作日期', 'createTime'], ['txt', 'IP记录', 'ip'], ['txt', '操作模块', 'type'], ['txt', '操作事件', 'description'] ]