| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- /**
- * 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 { dictSelect, goodsSelect, statusSelect, storageSelect } from './select'
- export const auditTableC = [
- ['txt', '节点名称', 'nodeName'],
- ['txt', '提交日期', 'createTime'],
- ['txt', '处理人', 'handler'],
- ['adiutTxt', '审批结果'],
- ['text', '审批意见', 'rtfOpinion', 100]
- ]
- export const goodsSelectTableC = [
- ['txt', '藏品编号', 'num'],
- ['txt', '藏品标题', 'name'],
- ['img', '封面图', 'thumb'],
- ['select', '类型', 'typeDictId', dictSelect('藏品类型')],
- ['select', '材质', 'textureDictId', dictSelect('藏品材质')],
- ['ping', '数量', 'pcs', 'pcsUnitDictId', dictSelect('数量单位')]
- ]
- export const selectGoodsAddTableC = [
- ['txt', '藏品编号', 'num'],
- ['txt', '藏品标题', 'name'],
- ['img', '封面图', 'thumb'],
- ['select', '类型', 'typeDictId', dictSelect('藏品类型')],
- ['select', '材质', 'textureDictId', dictSelect('藏品材质')],
- ['siteLoc', '所在位置', 'siteLoc'],
- ['ping', '数量', 'pcs', 'pcsUnitDictId', dictSelect('数量单位')],
- ['txt', '有无说明牌', 'isNote']
- ]
- export const goodsLogTableC = [
- ['txt', '发起人', 'creatorName'],
- ['time', '发起日期', 'createTime'],
- ['select', '申请状态', 'status', statusSelect]
- ]
- export const goodsStorageTableC = [
- ['txt', '申请编号', 'num'],
- ['txt', '发起人', 'creatorName'],
- ['time', '发起日期', 'createTime'],
- ['select', '申请状态', 'status', statusSelect]
- ]
- export const A1tableC = [
- ['txt', '业务编号', 'num'],
- ['time', '发起日期', 'createTime'],
- ['select', '申请状态', 'status', statusSelect]
- ]
- export const B1tableC = [
- ['txt', '藏品编号', 'num'],
- ['txt', '藏品标题', 'name'],
- ['img', '封面图', 'thumb'],
- ['time', '入馆时间', 'inHouseTime'],
- ['time', '登记时间', 'registerTime'],
- ['time', '入库时间', 'siteDateIn'],
- ['time', '出库时间', 'siteDateOut'],
- ['select', '类型', 'typeDictId', dictSelect('藏品类型')],
- ['select', '材质', 'textureDictId', dictSelect('藏品材质')],
- ['siteLoc', '当前位置', 'siteLoc'],
- ['ping', '数量', 'pcs', 'pcsUnitDictId', dictSelect('数量单位')],
- ['txt', '有无说明牌', 'isNote'],
- ['select', '状态', 'status', goodsSelect]
- ]
- export const B2tableC = [
- ['txt', '申请编号', 'num'],
- ['txt', '藏品编号', 'snapNum'],
- ['txt', '藏品名称', 'snapName'],
- ['txt', '发起人', 'creatorName'],
- ['time', '发起日期', 'createTime'],
- ['select', '申请状态', 'status', statusSelect]
- ]
- export const C1tableC = [
- ['siteLoc', '库房位置', 'siteLoc'],
- ['txt', '藏品编号', 'num'],
- ['txt', '藏品名称', 'name'],
- ['img', '封面图', 'thumb'],
- ['select', '库存状态', 'siteStatus', storageSelect],
- ['time', '入库时间', 'siteDateIn'],
- ['time', '出库时间', 'siteDateOut'],
- ['select', '类型', 'typeDictId', dictSelect('藏品类型')],
- ['select', '材质', 'textureDictId', dictSelect('藏品材质')],
- ['ping', '数量', 'pcs', 'pcsUnitDictId', dictSelect('数量单位')]
- ]
- export const C2tableCFu = (txt: '入库' | '移库' | '出库') => {
- return [
- ['time', `${txt}日期`, 'date'],
- ['txt', `${txt}单编号`, 'num'],
- ['txt', '发起人', 'creatorName'],
- ['time', '发起日期', 'createTime'],
- ['select', '申请状态', 'status', statusSelect]
- ]
- }
- export const D2tableC = [
- ['txt', '流程名称', 'name'],
- ['text', '流程说明', 'remark', '100'],
- ['txtChange', '状态', 'enabled', { 0: '禁用', 1: '启用' }]
- ]
- export const D2tableC2 = [
- ['index', '序号'],
- ['txt', '节点名称', 'name'],
- ['txt', '排序值', 'sort'],
- [
- 'txtChange',
- '办理人',
- 'type',
- { user: '指定用户', role: '按角色', dept: '按部门主管', '/': '/' }
- ]
- ]
- export const D3tableC = [
- ['txt', '角色名称', 'roleName'],
- ['text', '角色说明', 'roleDesc', '100'],
- ['txt', '排序值', 'sort']
- ]
- export const Z1tableC = [
- ['txt', '用户名', 'userName'],
- ['txt', '角色', 'roleName'],
- ['txt', '真实姓名', 'realName'],
- ['txt', '创建日期', 'createTime']
- ]
- export const Z2tableC = [
- ['index', '序号'],
- ['txt', '账号', 'userName'],
- ['txt', '操作日期', 'createTime'],
- ['txt', 'IP记录', 'ip'],
- ['txt', '操作模块', 'type'],
- ['txt', '操作事件', 'description']
- ]
|