import { selectObj } from '@/utils/select' import { C21WealthSearchType, IC21WealthParams } from './types' import { statusObj } from '@/utils/tableData' export const C21WEALTH_PARAM_ROWS: C21WealthSearchType[] = [ { name: '业务编号', key: 'num', type: '输入框' }, { name: '申请名称', key: 'name', type: '输入框' }, { name: '发起部门', key: 'deptName', type: '输入框' }, { name: '发起人', key: 'userName', type: '输入框' }, { name: '发起日期范围', key: 'date', type: '日期选择' }, { name: '申请状态', key: 'status', type: '下拉框', data: selectObj['流程申请状态'] }, { name: '选择角色', key: 'userType', type: '下拉框', data: selectObj['角色'] } ] export const C21WEALTH_TABLE_COLUMNS = [ ['txt', '业务编号', 'num'], ['txt', '申请名称', 'name'], ['txt', '发起部门', 'deptName'], ['txt', '发起人', 'creatorName'], ['txt', '发起日期', 'createTime'], ['txtChange', '申请状态', 'status', statusObj] ] export const MEDIA_TYPES = [ { label: '图像', value: 'img' }, { label: '3D', value: 'model' }, { label: '音频', value: 'audio' }, { label: '视频', value: 'video' }, { label: '文档', value: 'doc' }, { label: '其他', value: 'other' } ] export const DEFAULT_C21WEALTH_PARAMS: IC21WealthParams = { pageNum: 1, pageSize: 10, num: '', userName: '', deptName: '', name: '', status: '', userType: '' }