hldy_yunwei_vue/src/views/admin/IssueInfo/IssueInfo.data.ts

33 lines
928 B
TypeScript

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: 'createTime',
width: 180,
},
{
title: '发版类型',
align: "center",
dataIndex: 'issueType_dictText',
width: 180,
},
{
title: '发版内容',
align: "center",
dataIndex: 'content',
},
];
// 高级查询数据
export const superQuerySchema = {
createTime: {title: '创建日期',order: 0,view: 'datetime', type: 'string',},
issueType: {title: '发版类型',order: 1,view: 'radio', type: 'string',dictCode: 'issue_type',},
content: {title: '发版内容',order: 2,view: 'umeditor', type: 'string',},
};