281 lines
8.4 KiB
TypeScript
281 lines
8.4 KiB
TypeScript
import {BasicColumn} from '/@/components/Table';
|
|
import {FormSchema} from '/@/components/Table';
|
|
import { rules} from '/@/utils/helper/validator';
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types'
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
//列表数据
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '年份',
|
|
align:"center",
|
|
dataIndex: 'year_dictText'
|
|
},
|
|
{
|
|
title: '序号',
|
|
align:"center",
|
|
dataIndex: 'number'
|
|
},
|
|
{
|
|
title: '会议类型',
|
|
align:"center",
|
|
dataIndex: 'taskType_dictText'
|
|
},
|
|
{
|
|
title: '类别',
|
|
align:"center",
|
|
dataIndex: 'type'
|
|
},
|
|
{
|
|
title: '提出人',
|
|
align:"center",
|
|
dataIndex: 'proposer_dictText'
|
|
},
|
|
{
|
|
title: '意见主题',
|
|
align:"center",
|
|
dataIndex: 'title'
|
|
},
|
|
{
|
|
title: '具体意见',
|
|
align:"center",
|
|
dataIndex: 'content'
|
|
},
|
|
{
|
|
title: '分管所领导',
|
|
align:"center",
|
|
dataIndex: 'manageSuoleader_dictText'
|
|
},
|
|
{
|
|
title: '责任领导',
|
|
align:"center",
|
|
dataIndex: 'suoleader_dictText'
|
|
},
|
|
{
|
|
title: '牵头部门',
|
|
align:"center",
|
|
dataIndex: 'responDeptid_dictText'
|
|
},
|
|
{
|
|
title: '协办部门',
|
|
align:"center",
|
|
dataIndex: 'assistDeptid_dictText'
|
|
},
|
|
{
|
|
title: '落实部门',
|
|
align:"center",
|
|
dataIndex: 'implementDeptid'
|
|
},
|
|
{
|
|
title: '是否采纳',
|
|
align:"center",
|
|
dataIndex: 'isAdopt',
|
|
customRender:({text}) => {
|
|
return render.renderSwitch(text, [{text:'是',value:'1'},{text:'否',value:'0'}])
|
|
},
|
|
},
|
|
{
|
|
title: '落实措施/解释说明',
|
|
align:"center",
|
|
dataIndex: 'measure'
|
|
},
|
|
{
|
|
title: '要求完成日期',
|
|
align:"center",
|
|
dataIndex: 'deadline',
|
|
customRender:({text}) =>{
|
|
text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
return text;
|
|
},
|
|
},
|
|
{
|
|
title: '措施数量',
|
|
align:"center",
|
|
dataIndex: 'measureNumber'
|
|
},
|
|
{
|
|
title: '成果形式',
|
|
align:"center",
|
|
dataIndex: 'achievement'
|
|
},
|
|
{
|
|
title: '备注',
|
|
align:"center",
|
|
dataIndex: 'remark'
|
|
},
|
|
// {
|
|
// title: '执行情况',
|
|
// align:"center",
|
|
// dataIndex: 'actualExect'
|
|
// },
|
|
{
|
|
title: '实际完成时间',
|
|
align:"center",
|
|
dataIndex: 'actualTime'
|
|
},
|
|
{
|
|
title: '提出人确认',
|
|
align:"center",
|
|
dataIndex: 'proposerConfirm'
|
|
},
|
|
{
|
|
title: '完成状态',
|
|
align:"center",
|
|
dataIndex: 'bpmStatus_dictText'
|
|
},
|
|
// {
|
|
// title: '调整落实措施及执行情况',
|
|
// align:"center",
|
|
// dataIndex: 'actSt'
|
|
// },
|
|
{
|
|
title: '督办次数',
|
|
align:"center",
|
|
dataIndex: 'superviseCount'
|
|
},
|
|
{
|
|
title: '紧急程度',
|
|
align:"center",
|
|
dataIndex: 'urgencyLevel_dictText'
|
|
},
|
|
{
|
|
title: '密级',
|
|
align:"center",
|
|
dataIndex: 'secretLevel_dictText'
|
|
},
|
|
];
|
|
|
|
//子表表格配置
|
|
export const bgTakepulseFeedbackColumns: JVxeColumn[] = [
|
|
{
|
|
title: '责任部门id',
|
|
key: 'responDeptid',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '责任部门名称',
|
|
key: 'responDeptname',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '反馈人id',
|
|
key: 'responPersonid',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '反馈人姓名',
|
|
key: 'responPersonname',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '实际执行情况',
|
|
key: 'actualExect',
|
|
type: JVxeTypes.textarea,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '实际完成时间',
|
|
key: 'actualTime',
|
|
type: JVxeTypes.datetime,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '调整落实措施及执行情况',
|
|
key: 'actSt',
|
|
type: JVxeTypes.textarea,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '完成状态',
|
|
key: 'bpmStatus',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '提出人确认',
|
|
key: 'proposerConfirm',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
{
|
|
title: '流程实例id',
|
|
key: 'bpmProcessId',
|
|
type: JVxeTypes.input,
|
|
width:"200px",
|
|
placeholder: '请输入${title}',
|
|
defaultValue:'',
|
|
},
|
|
]
|
|
|
|
// 高级查询数据
|
|
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',},
|
|
number: {title: '序号',order: 2,view: 'text', type: 'string',},
|
|
taskType: {title: '会议类型:行政线、技术线',order: 3,view: 'list', type: 'string',dictCode: 'super_takepulse_type',},
|
|
type: {title: '类别:党的建设等其他',order: 4,view: 'text', type: 'string',},
|
|
proposer: {title: '提出人',order: 5,view: 'sel_user', type: 'string',},
|
|
title: {title: '意见主题',order: 6,view: 'text', type: 'string',},
|
|
content: {title: '具体意见',order: 7,view: 'textarea', type: 'string',},
|
|
manageSuoleader: {title: '分管所领导',order: 8,view: 'sel_user', type: 'string',},
|
|
suoleader: {title: '责任领导',order: 9,view: 'sel_user', type: 'string',},
|
|
responDeptid: {title: '牵头部门',order: 10,view: 'sel_depart', type: 'string',},
|
|
assistDeptid: {title: '协办部门',order: 11,view: 'sel_depart', type: 'string',},
|
|
implementDeptid: {title: '落实部门',order: 12,view: 'text', type: 'string',},
|
|
isAdopt: {title: '是否采纳',order: 13,view: 'switch', type: 'string',},
|
|
measure: {title: '落实措施/解释说明',order: 14,view: 'textarea', type: 'string',},
|
|
measureNumber: {title: '措施数量',order: 15,view: 'number', type: 'number',},
|
|
achievement: {title: '成果形式',order: 16,view: 'textarea', type: 'string',},
|
|
deadline: {title: '要求完成日期',order: 17,view: 'date', type: 'string',},
|
|
remark: {title: '备注',order: 18,view: 'text', type: 'string',},
|
|
actualExect: {title: '执行情况',order: 19,view: 'textarea', type: 'string',},
|
|
actualTime: {title: '实际完成时间',order: 20,view: 'datetime', type: 'string',},
|
|
proposerConfirm: {title: '提出人确认',order: 21,view: 'text', type: 'string',},
|
|
bpmStatus: {title: '完成状态',order: 22,view: 'list', type: 'string',dictCode: 'super_status',},
|
|
actSt: {title: '调整落实措施及执行情况',order: 23,view: 'textarea', type: 'string',},
|
|
superviseCount: {title: '督办次数',order: 24,view: 'text', type: 'string',},
|
|
urgencyLevel: {title: '紧急程度',order: 25,view: 'text', type: 'string',},
|
|
isNeedAppro: {title: '是否需要所办领导审批',order: 26,view: 'switch', type: 'string',},
|
|
supDeptleaderid: {title: '所办领导',order: 27,view: 'sel_user', type: 'string',},
|
|
//子表高级查询
|
|
bgTakepulseFeedback: {
|
|
title: '执行情况反馈',
|
|
view: 'table',
|
|
fields: {
|
|
responDeptid: {title: '责任部门id',order: 0,view: 'text', type: 'string',},
|
|
responDeptname: {title: '责任部门名称',order: 1,view: 'text', type: 'string',},
|
|
responPersonid: {title: '反馈人id',order: 2,view: 'text', type: 'string',},
|
|
responPersonname: {title: '反馈人姓名',order: 3,view: 'text', type: 'string',},
|
|
actualExect: {title: '实际执行情况',order: 4,view: 'textarea', type: 'string',},
|
|
actualTime: {title: '实际完成时间',order: 5,view: 'datetime', type: 'string',},
|
|
actSt: {title: '调整落实措施及执行情况',order: 6,view: 'textarea', type: 'string',},
|
|
bpmStatus: {title: '完成状态',order: 7,view: 'text', type: 'string',},
|
|
proposerConfirm: {title: '提出人确认',order: 8,view: 'text', type: 'string',},
|
|
bpmProcessId: {title: '流程实例id',order: 9,view: 'text', type: 'string',},
|
|
mainId: {title: '外键',order: 11,view: 'text', type: 'string',},
|
|
}
|
|
},
|
|
};
|