* feat(dq): 新增整改任务BPM审批界面及extendUrlParams权限控制架构 * feat(dq): 整改任务列表新增查询督办流程按钮并清理未使用导入 * style(dq): 优化整改任务表单为双列分区布局参考BgXiSpeakForm样式 * feat(dq): 整改任务列表新增FlowScheduleStartModal流程调度和弹窗式反馈查看 * feat(dq): 新增反馈查看弹窗组件并在进展列表中集成查看反馈按钮 * fix(dq): 修正巡视工作进展反馈查询接口地址并与Controller对齐 * fix(dq): 修正巡视工作进展反馈API地址与后端Controller对齐 * feat(dq): 新增整改任务列表发起流程和查看反馈按钮 * feat(dq): 新增巡视工作进展反馈页面
65 lines
1.9 KiB
TypeScript
65 lines
1.9 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 { getWeekMonthQuarterYear } from '/@/utils';
|
|
//列表数据
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '反馈部门ID',
|
|
align: "center",
|
|
dataIndex: 'feedbackDeptId'
|
|
},
|
|
{
|
|
title: '反馈部门名称',
|
|
align: "center",
|
|
dataIndex: 'feedbackDeptName'
|
|
},
|
|
{
|
|
title: '反馈人ID',
|
|
align: "center",
|
|
dataIndex: 'feedbackPersonId'
|
|
},
|
|
{
|
|
title: '反馈人姓名',
|
|
align: "center",
|
|
dataIndex: 'feedbackPersonName'
|
|
},
|
|
{
|
|
title: '实际完成时间',
|
|
align: "center",
|
|
dataIndex: 'actualTime',
|
|
customRender:({text}) =>{
|
|
text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
return text;
|
|
},
|
|
},
|
|
{
|
|
title: '工作进展',
|
|
align: "center",
|
|
dataIndex: 'workProgress'
|
|
},
|
|
{
|
|
title: '进展状态',
|
|
align: "center",
|
|
dataIndex: 'bpmStatus'
|
|
},
|
|
{
|
|
title: '整改措施任务ID',
|
|
align: "center",
|
|
dataIndex: 'mainId'
|
|
},
|
|
];
|
|
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
feedbackDeptId: {title: '反馈部门ID',order: 0,view: 'text', type: 'string',},
|
|
feedbackDeptName: {title: '反馈部门名称',order: 1,view: 'text', type: 'string',},
|
|
feedbackPersonId: {title: '反馈人ID',order: 2,view: 'text', type: 'string',},
|
|
feedbackPersonName: {title: '反馈人姓名',order: 3,view: 'text', type: 'string',},
|
|
actualTime: {title: '实际完成时间',order: 4,view: 'date', type: 'string',},
|
|
workProgress: {title: '工作进展',order: 5,view: 'text', type: 'string',},
|
|
bpmStatus: {title: '进展状态',order: 6,view: 'text', type: 'string',},
|
|
mainId: {title: '整改措施任务ID',order: 8,view: 'text', type: 'string',},
|
|
};
|