| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- /**
- * 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 './dataChange'
- // 列表页面(大部分相同和复用的)
- export const baseTableC = (val: string) => {
- return [
- ['dateRes', `${val}日期`, 'date'],
- ['txt', '申请编号', 'num'],
- ['txt', '发起部门', 'deptName'],
- ['txt', '发起人', 'creatorName'],
- ['txt', '发起日期', 'createTime'],
- ['select', '申请状态', 'status', selectObj['订单审批状态']]
- ]
- }
- // 藏品征集-订单页面的线索清单
- export const SonClueListTableC = [
- ['txt', '线索名称', 'name'],
- ['txt', '线索编号', 'num'],
- ['text', '线索简介', 'intro', 50],
- ['txt', '联系方式', 'phone'],
- ['txtC', '初步藏品类别', 'typeDictId'],
- ['txtC', '初步藏品年代', 'ageDictId'],
- ['select', '完残程度', 'tornLevel', selectObj['完残程度']],
- ['text', '备注', 'remark', 50]
- ]
- // 藏品登记-订单页面的藏品清单 、-----选择藏品-藏品
- export const goodsSonTableC = (loc?: boolean) => {
- const arr: any = [
- ['txt', '藏品登记号', 'num'],
- ['img', '封面', 'thumb'],
- ['txtCTag', '藏品标签', 'tagDictId'],
- ['txt', '藏品名称', 'name'],
- ['select', '级别', 'level', selectObj['藏品级别']],
- ['txtC', '类别', 'typeDictId'],
- ['txtC', '年代', 'ageDictId'],
- ['txtC', '质地', 'textureDictId'],
- ['select', '完残程度', 'tornLevel', selectObj['完残程度']],
- ['ping', '数量', 'pcs', 'pcsUnitDictId']
- ]
- if (loc) arr.push(['txt', '库房位置', '待完善sg'])
- return arr
- }
- // -----选择藏品-线索
- export const goodsSelectCuleC = [
- ['txt', '线索编号', 'num'],
- ['img', '封面', 'thumb'],
- ['txt', '线索名称', 'name'],
- ['txtC', '初定类别', 'typeDictId'],
- ['txtC', '初定年代', 'ageDictId'],
- ['select', '完残程度', 'tornLevel', selectObj['完残程度']]
- ]
- export const I3tableC = [
- ['txt', '编号类型', 'name'],
- ['txt', '前缀', 'prefix'],
- ['txt', '日期方式', 'dateType'],
- ['txt', '起始流水编号', 'length']
- ]
- export const I4tableC = [
- // ['txt', '流程类型', 'typeKey'],
- ['txt', '流程名称', 'name'],
- ['text', '流程说明', 'remark', 50],
- ['txtChange', '状态', 'enabled', { 0: '禁用', 1: '启用' }]
- ]
- export const I4tableC2 = [
- ['index', '序号'],
- ['txt', '节点名称', 'name'],
- ['txt', '排序值', 'sort'],
- ['txtChange', '办理人', 'type', { user: '指定用户', role: '按角色' }]
- ]
- export const I6tableC = [
- ['txt', '角色名称', 'roleName'],
- ['text', '角色说明', 'roleDesc', 50],
- ['txt', '排序值', 'sort']
- ]
- export const I7tableC = [
- ['txt', '登录账号', 'userName'],
- ['txt', '所属部门', 'deptNameRes'],
- ['txt', '角色', 'roleName'],
- ['txt', '真实姓名', 'realName'],
- ['txt', '创建日期', 'createTime']
- ]
- export const I8tableC = [
- ['index', '序号'],
- ['txt', '账号', 'userName'],
- ['txt', '操作日期', 'createTime'],
- ['txt', 'IP记录', 'ip'],
- ['txt', '操作模块', 'type'],
- ['txt', '操作事件', 'description']
- ]
- // 故事管理
- export const storyTableC = [
- ['txt', '故事标题', 'name'],
- ['txt', '关联藏品', 'goodName'],
- ['txt', '藏品标签', 'tagName'],
- ['txt', '录入人', 'creatorName'],
- ['txt', '录入日期', 'createTime']
- ]
- // 故事管理里面的添加藏品
- export const storyAndGoodsTableC = [
- ['txt', '藏品登记号', 'num'],
- ['img', '封面', 'thumb'],
- ['txt', '藏品标签', 'tagName'],
- ['txt', '藏品名称', 'name']
- ]
|