1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- import { selectObj } from '@/utils/select'
- import {
- F1_SON_TYPE_ENUM,
- F1_SON_TYPE_NAME_ENUM,
- F1exhibitionSearchType,
- IF1exhibitionParams
- } from './types'
- import { statusObj } from '@/utils/tableData'
- export const DEFAULT_F1exhibition_PARAMS: IF1exhibitionParams = {
- pageNum: 1,
- pageSize: 10
- }
- export const F1EXHIBITION_PARAM_ROWS: F1exhibitionSearchType[] = [
- { name: '业务编号', key: 'num', type: '输入框' },
- { name: '展览名称', key: 'typeName', type: '输入框' },
- { name: '展览类型', key: 'sonTypeName', type: '下拉框', data: selectObj['展览类型'] },
- { name: '借展类型', key: 'sonType', type: '下拉框', data: selectObj['借展类型'] },
- { name: '借展单位/部门', key: 'sonUnit', type: '输入框' },
- { name: '发起人', key: 'userName', type: '输入框' },
- { name: '发起日期范围', key: 'date', type: '日期选择' },
- { name: '申请状态', key: 'status', type: '下拉框', data: selectObj['申请状态'] }
- ]
- export const F1_SON_TYPE_OBJ = {
- [F1_SON_TYPE_ENUM.IN]: '馆内展览',
- [F1_SON_TYPE_ENUM.OUT]: '馆外展览'
- }
- export const F1_SON_TYPE_NAME_OBJ = {
- [F1_SON_TYPE_NAME_ENUM.FIXED]: '固定展览',
- [F1_SON_TYPE_NAME_ENUM.TEMP]: '临时展览',
- [F1_SON_TYPE_NAME_ENUM.THEME]: '主题展览'
- }
- export const F1EXHIBITION_TABLE_COLUMNS = [
- ['txt', '业务编号', 'num'],
- ['txt', '展览名称', 'typeName'],
- ['txtChange', '展览类型', 'sonTypeName', F1_SON_TYPE_NAME_OBJ],
- ['txtChange', '借展类型', 'sonType', F1_SON_TYPE_OBJ],
- ['txt', '借展单位/部门', 'sonUnit'],
- ['txt', '发起人', 'creatorName'],
- ['txt', '发起日期', 'createTime'],
- ['txtChange', '申请状态', 'status', statusObj]
- ]
- export const F1_SON_TYPE_NAME_OPTS = [
- {
- label: '临时展览',
- value: F1_SON_TYPE_NAME_ENUM.TEMP
- },
- {
- label: '主题展览',
- value: F1_SON_TYPE_NAME_ENUM.THEME
- },
- {
- label: '常设展览',
- value: F1_SON_TYPE_NAME_ENUM.FIXED
- }
- ]
- export const F1_SON_TYPE_OPTS = [
- {
- label: '馆内展览',
- value: F1_SON_TYPE_ENUM.IN
- },
- {
- label: '馆外展览',
- value: F1_SON_TYPE_ENUM.OUT
- }
- ]
|