import {BasicColumn} from '/@/components/Table'; import {FormSchema} from '/@/components/Table'; import { rules} from '/@/utils/helper/validator'; import { render } from '/@/utils/common/renderUtils'; import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ { title: '资源类型', align: "center", dataIndex: 'resourcesType_dictText' }, { title: '附件类型', align: "center", dataIndex: 'fileType_dictText' }, { title: '名称', align: "center", dataIndex: 'name' }, { title: '附件', align: "center", dataIndex: 'filePath', customRender: render.renderImage, }, { title: '选中图片', align: "center", dataIndex: 'checkPicPath', customRender: render.renderImage, }, { title: '备注', align: "center", dataIndex: 'content' }, ]; // 高级查询数据 export const superQuerySchema = { resourcesType: {title: '资源类型',order: 0,view: 'list', type: 'string',dictCode: 'resources_type',}, fileType: {title: '附件类型',order: 1,view: 'list', type: 'string',dictCode: 'file_type',}, name: {title: '名称',order: 2,view: 'text', type: 'string',}, filePath: {title: '附件',order: 3,view: 'image', type: 'string',}, checkPicPath: {title: '选中图片',order: 4,view: 'image', type: 'string',}, content: {title: '备注',order: 5,view: 'textarea', type: 'string',}, };