/** * 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], // ]; import { selectObj } from './select' // 附件归档 export const ZypFileTable = [ ['txt', '附件名称', 'fileName'], ['txt', '归档人', 'creatorName'], ['txt', '归档时间', 'createTime'] ] // 库存状态obj export const statusStorageObj: any = {} selectObj['库存状态'].forEach(v => { statusStorageObj[v.value] = v.label }) // 入藏状态obj export const statusCollectObj: any = {} selectObj['入藏状态'].forEach(v => { statusCollectObj[v.value] = v.label }) // 业务类型obj export const businessTypeObj: any = {} selectObj['业务类型'].forEach(v => { businessTypeObj[v.value] = v.label }) export const B1TableC = [ ['txt', '业务单号', 'num'], ['txt', '征集日期', 'type'], ['txt', '发起部门', 'creatorName'], ['txt', '发起人', 'createTime'], ['txt', '发起日期', 'createTime'], ['txt', '申请状态', 'createTime'] ] // 藏品征集里面的藏品清单 待完善 export const B1TableC2 = [ ['txt', '名称', 'num'], ['txt', '初定年代', 'type'], ['txt', '年代', 'creatorName'], ['txt', '品种', 'createTime'], ['txt', '尺寸', 'createTime'], ['txt', '重量', 'createTime'], ['txt', '介绍', 'createTime'], ['txt', '图片', 'createTime'], ['txt', '报价(万元)', 'createTime'], ['txt', '原持有人', 'createTime'], ['txt', '征集方式', 'createTime'], ['txt', '附件数量', 'createTime'] ] export const B3eTableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'numName'], ['txt', '藏品名称', 'name'], ['txt', '文物级别', 'dictLevel'], ['txtC', '文物类别', 'dictType'], ['txtC', '年代', 'dictAge'], ['ping', '数量', 'pcs', 'pcsUnit'], ['txtC', '质地', 'dictTexture3'], ['txtC', '完残程度', 'dictTorn'], ['txtC', '来源', 'source'] ] export const B3FtableC = [ ['txt', '节点名称', 'name'], ['txt', '提交日期', 'updateTime'], ['txt', '处理人', 'creatorName'] ] export const D1GtableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'numName'], ['txt', '藏品名称', 'name'], ['ping', '数量', 'pcs', 'pcsUnit'], ['txtChange', '库存状态', 'statusStorage', statusStorageObj], ['txt', '区域名称', 'regionName'], ['txt', '排架', 'layer1'], ['txt', '层数', 'layer2'], ['txt', '层格', 'layer3'], ['txt', '库位说明', 'description'] ] // 申请状态 export const statusObj = { 1: '草稿', 6: '待提交', 2: '待审批', 3: '审批不通过', 4: '已完成', 5: '待盘点' } export const B3tableC = [ ['txt', '业务单号', 'num'], ['txt', '申请名称', 'name'], ['txt', '发起部门', 'deptName'], ['txt', '发送人', 'creatorName'], ['txt', '发起日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] export const C1tableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'numName'], ['txt', '藏品名称', 'name'], ['txt', '文物级别', 'dictLevel'], ['txtC', '文物类别', 'dictType'], ['txtC', '年代', 'dictAge'], ['txtC', '质地', 'dictTexture3'], ['txtC', '完残程度', 'dictTorn'], ['txtC', '来源', 'source'], ['txtChange', '入藏状态', 'statusCollect', statusCollectObj], ['txtChange', '库存状态', 'statusStorage', statusStorageObj] ] export const C2tableC = [ ['txt', '藏品名称', 'goodName'], ['txt', '编号类型', 'goodNumName'], ['txt', '藏品编号', 'goodNum'], ['txt', '附件名称', 'fileName'], ['txt', '上传日期', 'updateTime'], ['txt', '上传人', 'creatorName'], ['txt', '附件大小', 'fileSize'] ] // 待完善 export const C4tableC = [ ['txt', '数据类型', 'type'], ['txt', '导入数据行数', 'hang1'], ['txt', '合格数据行数', 'hang2'], ['txt', '异常数据行数', 'hang3'] ] export const D1tableC = [ ['txt', '区域名称', 'regionName'], ['txt', '排架', 'layer1'], ['txt', '层数', 'layer2'], ['txt', '层格', 'layer3'], ['txt', '库位说明', 'description'] ] 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', '业务单号', 'num'], ['txt', '申请名称', 'name'], ['txt', '入库库房', 'storageName'], ['txt', '发起部门', 'deptName'], ['txt', '发送人', 'creatorName'], ['txt', '发起日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] export const D6tableC = [ ['txt', '业务单号', 'num'], ['txt', '申请名称', 'name'], ['txt', '出库库房', 'storageName'], ['txtChange', '是否需要归还', 'isReturn', { 1: '是', 0: '否' }], ['txt', '预计归还日期', 'returnDate'], ['txt', '发起部门', 'deptName'], ['txt', '发送人', 'creatorName'], ['txt', '发起日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] export const D4goodsTableC = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'numName'], ['txt', '藏品名称', 'name'], ['ping', '数量', 'pcs', 'pcsUnit'], ['txtChange', '库存状态', 'statusStorage', statusStorageObj] ] export const E1tableC = [ ['txt', '申请编号', 'num'], ['txt', '事故时间', 'date'], ['txt', '事故责任', 'sonTypeName'], ['txt', '编号类型', 'numName'], ['txt', '藏品编号', 'goodsNum'], ['txt', '藏品名称', 'goodsName'], ['txt', '鉴定人', 'authUser'], ['txt', '发起人', 'creatorName'], ['txt', '发送日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] export const E2tableC = [ ['txt', '业务单号', 'num'], ['txt', '申请名称', 'name'], ['txt', '关联库房', 'storageName'], //待完善 ['txt', '发起部门', 'deptName'], ['txt', '发送人', 'creatorName'], ['txt', '发起日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj], ['txt', '相关盘点', '待完善'] ] // export const E4tableC = [ ['txt', '申请编号', 'num'], ['txt', '交修日期', 'dateStart'], ['txt', '交修部门', 'authUnit'], ['txt', '发起人', 'creatorName'], ['txt', '发送日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] export const E4tableCgoods = [ ['img', '封面图', 'thumb'], ['txt', '编号类型', 'numName'], ['txt', '藏品名称', 'name'], ['txt', '等级', 'dictLevel'], ['ping', '数量', 'pcs', 'pcsUnit'] ] export const Y33tableC = [ ['text', '附件名称', 'fileName', 50], ['txt', '附件大小', 'fileSize'], ['txt', '上传日期', 'updateTime'], ['txt', '上传人', 'creatorName'] ] // 待完善 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 Z3tableC = [ ['txt', '流程类型', 'typeKey'], ['txt', '流程名称', 'name'], ['text', '流程说明', 'remark', 50], ['txtChange', '状态', 'enabled', { 0: '禁用', 1: '启用' }] ] export const Z3tableC2 = [ ['index', '序号'], ['txt', '节点名称', 'name'], ['txt', '排序值', 'sort'], [ 'txtChange', '办理人', 'type', { user: '指定用户', role: '按角色', dept: '按部门主管', '/': '/' } ] ] 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'] ]