yxk-20260527-巡视整改提升台账,代码生成
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
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: 'secretLevel_dictText'
|
||||
},
|
||||
{
|
||||
title: '年份',
|
||||
align: 'center',
|
||||
dataIndex: 'year_dictText'
|
||||
},
|
||||
{
|
||||
title: '父节点ID',
|
||||
align: 'center',
|
||||
dataIndex: 'pid'
|
||||
},
|
||||
{
|
||||
title: '是否有子节点',
|
||||
align: 'center',
|
||||
dataIndex: 'hasChild'
|
||||
},
|
||||
{
|
||||
title: '节点类型:category/surface/specific',
|
||||
align: 'center',
|
||||
dataIndex: 'nodeType'
|
||||
},
|
||||
{
|
||||
title: '问题名称',
|
||||
align: 'left',
|
||||
dataIndex: 'problemName'
|
||||
},
|
||||
{
|
||||
title: '问题编码/分类字典值',
|
||||
align: 'center',
|
||||
dataIndex: 'problemCode'
|
||||
},
|
||||
{
|
||||
title: '排序',
|
||||
align: 'center',
|
||||
dataIndex: 'sortNo'
|
||||
},
|
||||
{
|
||||
title: '巡视建议',
|
||||
align: 'center',
|
||||
dataIndex: 'inspectAdvice'
|
||||
},
|
||||
{
|
||||
title: '问题责任领导',
|
||||
align: 'center',
|
||||
dataIndex: 'questionResLeader_dictText'
|
||||
},
|
||||
{
|
||||
title: '问题责任部门',
|
||||
align: 'center',
|
||||
dataIndex: 'questionResDept_dictText'
|
||||
},
|
||||
];
|
||||
|
||||
// 高级查询数据
|
||||
export const superQuerySchema = {
|
||||
secretLevel: {title: '密级',order: 0,view: 'list', type: 'string',dictCode: 'secret_level',},
|
||||
year: {title: '年份',order: 1,view: 'list', type: 'string',dictCode: 'super_year',},
|
||||
pid: {title: '父节点ID',order: 2,view: 'text', type: 'string',},
|
||||
hasChild: {title: '是否有子节点',order: 3,view: 'text', type: 'string',},
|
||||
nodeType: {title: '节点类型:category/surface/specific',order: 4,view: 'text', type: 'string',},
|
||||
problemName: {title: '问题名称',order: 5,view: 'text', type: 'string',},
|
||||
problemCode: {title: '问题编码/分类字典值',order: 6,view: 'text', type: 'string',},
|
||||
sortNo: {title: '排序',order: 7,view: 'number', type: 'number',},
|
||||
inspectAdvice: {title: '巡视建议',order: 8,view: 'text', type: 'string',},
|
||||
questionResLeader: {title: '问题责任领导',order: 9,view: 'sel_depart', type: 'string',},
|
||||
questionResDept: {title: '问题责任部门',order: 10,view: 'sel_user', type: 'string',},
|
||||
};
|
||||
Reference in New Issue
Block a user