yxk-20260605-我为四所把把脉代码初始化
This commit is contained in:
@@ -0,0 +1,287 @@
|
||||
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: 'secretLevel_dictText'
|
||||
},
|
||||
{
|
||||
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: '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:'Y'},{text:'否',value:'N'}])
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '落实措施/解释说明',
|
||||
align:"center",
|
||||
dataIndex: 'measure'
|
||||
},
|
||||
{
|
||||
title: '措施数量',
|
||||
align:"center",
|
||||
dataIndex: 'measureNumber'
|
||||
},
|
||||
{
|
||||
title: '成果形式',
|
||||
align:"center",
|
||||
dataIndex: 'achievement'
|
||||
},
|
||||
{
|
||||
title: '要求完成日期',
|
||||
align:"center",
|
||||
dataIndex: 'deadline',
|
||||
customRender:({text}) =>{
|
||||
text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
||||
return text;
|
||||
},
|
||||
},
|
||||
{
|
||||
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'
|
||||
},
|
||||
{
|
||||
title: '是否需要所办领导审批',
|
||||
align:"center",
|
||||
dataIndex: 'isNeedAppro',
|
||||
customRender:({text}) => {
|
||||
return render.renderSwitch(text, [{text:'是',value:'Y'},{text:'否',value:'N'}])
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '所办领导',
|
||||
align:"center",
|
||||
dataIndex: 'supDeptleaderid_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',},
|
||||
suoleader: {title: '责任领导',order: 8,view: 'sel_user', type: 'string',},
|
||||
responDeptid: {title: '牵头部门',order: 9,view: 'sel_depart', type: 'string',},
|
||||
assistDeptid: {title: '协办部门',order: 10,view: 'sel_depart', type: 'string',},
|
||||
implementDeptid: {title: '落实部门',order: 11,view: 'text', type: 'string',},
|
||||
isAdopt: {title: '是否采纳',order: 12,view: 'switch', type: 'string',},
|
||||
measure: {title: '落实措施/解释说明',order: 13,view: 'textarea', type: 'string',},
|
||||
measureNumber: {title: '措施数量',order: 14,view: 'number', type: 'number',},
|
||||
achievement: {title: '成果形式',order: 15,view: 'textarea', type: 'string',},
|
||||
deadline: {title: '要求完成日期',order: 16,view: 'date', type: 'string',},
|
||||
remark: {title: '备注',order: 17,view: 'text', type: 'string',},
|
||||
actualExect: {title: '执行情况',order: 18,view: 'textarea', type: 'string',},
|
||||
actualTime: {title: '实际完成时间',order: 19,view: 'datetime', type: 'string',},
|
||||
proposerConfirm: {title: '提出人确认',order: 20,view: 'text', type: 'string',},
|
||||
bpmStatus: {title: '完成状态',order: 21,view: 'list', type: 'string',dictCode: 'super_status',},
|
||||
actSt: {title: '调整落实措施及执行情况',order: 22,view: 'textarea', type: 'string',},
|
||||
superviseCount: {title: '督办次数',order: 23,view: 'text', type: 'string',},
|
||||
urgencyLevel: {title: '紧急程度',order: 24,view: 'text', type: 'string',},
|
||||
isNeedAppro: {title: '是否需要所办领导审批',order: 25,view: 'switch', type: 'string',},
|
||||
supDeptleaderid: {title: '所办领导',order: 26,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',},
|
||||
}
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user