修改xispeak前端代码

This commit is contained in:
wsm
2026-05-07 11:16:40 +08:00
parent a8cab9edbd
commit 8039b4f5da
7 changed files with 986 additions and 47 deletions
+46 -46
View File
@@ -1,6 +1,6 @@
import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
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';
//列表数据
@@ -8,111 +8,111 @@ export const columns: BasicColumn[] = [
{
title: '习近平总书记重要讲话指示批示情况',
align: 'center',
dataIndex: 'speakStatus'
dataIndex: 'speakStatus',
},
{
title: '时间',
align: 'center',
dataIndex: 'time',
customRender:({text}) =>{
text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
customRender: ({ text }) => {
text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text;
return text;
},
},
{
title: '企业负责同志批示情况',
align: 'center',
dataIndex: 'elmComment'
dataIndex: 'elmComment',
},
{
title: '学习传达研究部署情况',
align: 'center',
dataIndex: 'status'
dataIndex: 'status',
},
{
title: '责任人',
align: 'center',
dataIndex: 'responsiblePerson_dictText'
dataIndex: 'responsiblePerson_dictText',
},
{
title: '落实方案',
align: 'center',
dataIndex: 'implPlan'
dataIndex: 'implPlan',
},
{
title: '牵头部门',
align: 'center',
dataIndex: 'leadDepartment_dictText'
dataIndex: 'leadDepartment_dictText',
},
{
title: '贯彻落实措施',
align: 'center',
dataIndex: 'implMeasures'
dataIndex: 'implMeasures',
},
{
title: '会议决策数',
align: 'center',
dataIndex: 'numberOfResolutions'
dataIndex: 'numberOfResolutions',
},
{
title: '落实情况',
align: 'left',
dataIndex: 'implStatus'
dataIndex: 'implStatus',
},
{
title: '落实条数',
align: 'center',
dataIndex: 'implCount'
dataIndex: 'implCount',
},
{
title: '已闭环数量',
align: 'center',
dataIndex: 'closedCount'
dataIndex: 'closedCount',
},
{
title: '报告反馈情况',
align: 'center',
dataIndex: 'reportFeedbackStatus'
dataIndex: 'reportFeedbackStatus',
},
{
title: '是否存在完成风险(0不存在,1存在)',
align: 'center',
dataIndex: 'isCompletionRisk'
dataIndex: 'isCompletionRisk',
},
{
title: '拖期风险应对措施',
align: 'center',
dataIndex: 'delayRiskMitigation'
dataIndex: 'delayRiskMitigation',
},
{
title: '完成状态(0推进中,1已完成)',
align: 'center',
dataIndex: 'completionStatus'
dataIndex: 'completionStatus',
},
{
title: '落实部门id',
align: 'center',
dataIndex: 'implDept_dictText'
dataIndex: 'implDept_dictText',
},
{
title: '层深(最顶层节点层深为0)',
align: 'center',
dataIndex: 'treeDepth'
dataIndex: 'treeDepth',
},
{
title: '同级数据排序号',
align: 'center',
dataIndex: 'sortOrder'
dataIndex: 'sortOrder',
},
{
title: '流程引擎状态字段',
align: 'center',
dataIndex: 'bpmStatus'
dataIndex: 'bpmStatus',
},
{
title: '督办次数',
align: 'center',
dataIndex: 'supervisionCount'
dataIndex: 'supervisionCount',
},
];
@@ -166,25 +166,25 @@ export const bgXiSpeakFeedbackColumns: BasicColumn[] = [
// 高级查询数据
export const superQuerySchema = {
speakStatus: {title: '习近平总书记重要讲话指示批示情况',order: 1,view: 'text', type: 'string',},
time: {title: '时间',order: 2,view: 'date', type: 'string',},
elmComment: {title: '企业负责同志批示情况',order: 3,view: 'text', type: 'string',},
status: {title: '学习传达研究部署情况',order: 4,view: 'text', type: 'string',},
responsiblePerson: {title: '责任人',order: 5,view: 'sel_user', type: 'string',},
implPlan: {title: '落实方案',order: 6,view: 'text', type: 'string',},
leadDepartment: {title: '牵头部门',order: 7,view: 'sel_depart', type: 'string',},
implMeasures: {title: '贯彻落实措施',order: 8,view: 'text', type: 'string',},
numberOfResolutions: {title: '会议决策数',order: 9,view: 'number', type: 'number',},
implStatus: {title: '落实情况',order: 10,view: 'text', type: 'string',},
implCount: {title: '落实条数',order: 11,view: 'number', type: 'number',},
closedCount: {title: '已闭环数量',order: 12,view: 'number', type: 'number',},
reportFeedbackStatus: {title: '报告反馈情况',order: 13,view: 'text', type: 'string',},
isCompletionRisk: {title: '是否存在完成风险(0不存在,1存在)',order: 14,view: 'number', type: 'number',},
delayRiskMitigation: {title: '拖期风险应对措施',order: 15,view: 'text', type: 'string',},
completionStatus: {title: '完成状态(0推进中,1已完成)',order: 16,view: 'number', type: 'number',},
implDept: {title: '落实部门id',order: 17,view: 'sel_depart', type: 'string',},
treeDepth: {title: '层深(最顶层节点层深为0)',order: 18,view: 'number', type: 'number',},
sortOrder: {title: '同级数据排序号',order: 19,view: 'number', type: 'number',},
bpmStatus: {title: '流程引擎状态字段',order: 21,view: 'number', type: 'number',},
supervisionCount: {title: '督办次数',order: 22,view: 'number', type: 'number',},
speakStatus: { title: '习近平总书记重要讲话指示批示情况', order: 1, view: 'text', type: 'string' },
time: { title: '时间', order: 2, view: 'date', type: 'string' },
elmComment: { title: '企业负责同志批示情况', order: 3, view: 'text', type: 'string' },
status: { title: '学习传达研究部署情况', order: 4, view: 'text', type: 'string' },
responsiblePerson: { title: '责任人', order: 5, view: 'sel_user', type: 'string' },
implPlan: { title: '落实方案', order: 6, view: 'text', type: 'string' },
leadDepartment: { title: '牵头部门', order: 7, view: 'sel_depart', type: 'string' },
implMeasures: { title: '贯彻落实措施', order: 8, view: 'text', type: 'string' },
numberOfResolutions: { title: '会议决策数', order: 9, view: 'number', type: 'number' },
implStatus: { title: '落实情况', order: 10, view: 'text', type: 'string' },
implCount: { title: '落实条数', order: 11, view: 'number', type: 'number' },
closedCount: { title: '已闭环数量', order: 12, view: 'number', type: 'number' },
reportFeedbackStatus: { title: '报告反馈情况', order: 13, view: 'text', type: 'string' },
isCompletionRisk: { title: '是否存在完成风险(0不存在,1存在)', order: 14, view: 'number', type: 'number' },
delayRiskMitigation: { title: '拖期风险应对措施', order: 15, view: 'text', type: 'string' },
completionStatus: { title: '完成状态(0推进中,1已完成)', order: 16, view: 'number', type: 'number' },
implDept: { title: '落实部门id', order: 17, view: 'sel_depart', type: 'string' },
treeDepth: { title: '层深(最顶层节点层深为0)', order: 18, view: 'number', type: 'number' },
sortOrder: { title: '同级数据排序号', order: 19, view: 'number', type: 'number' },
bpmStatus: { title: '流程引擎状态字段', order: 21, view: 'number', type: 'number' },
supervisionCount: { title: '督办次数', order: 22, view: 'number', type: 'number' },
};