yxk-20260527-巡视整改提升台账,问题清单树形结构改造

点击某一行就能展开或者收起树
This commit is contained in:
ye1023
2026-05-28 10:46:50 +08:00
parent adc514fa6b
commit b08ca3eab1
2 changed files with 132 additions and 63 deletions
@@ -5,6 +5,11 @@ import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
{
title: '问题名称',
align: 'left',
dataIndex: 'problemName'
},
{
title: '类型',
align: 'center',
@@ -13,42 +18,6 @@ export const columns: BasicColumn[] = [
return render.renderDict(text, 'super_dq_ins_type');
},
},
{
title: '密级',
align: 'center',
dataIndex: 'secretLevel_dictText'
},
{
title: '年份',
align: 'center',
dataIndex: 'year_dictText'
},
{
title: '父节点ID',
align: 'center',
dataIndex: 'pid'
},
{
title: '是否有子节点',
align: 'center',
dataIndex: 'hasChild'
},
{
title: '问题名称',
align: 'left',
dataIndex: 'problemName'
},
{
title: '问题编码/分类字典值',
align: 'center',
dataIndex: 'problemCode'
},
{
title: '排序',
align: 'center',
dataIndex: 'sortNo'
},
{
title: '巡视建议',
align: 'center',
@@ -64,6 +33,38 @@ export const columns: BasicColumn[] = [
align: 'center',
dataIndex: 'questionResDept_dictText'
},
{
title: '年份',
align: 'center',
dataIndex: 'year_dictText'
},
{
title: '密级',
align: 'center',
dataIndex: 'secretLevel_dictText'
},
{
title: '父节点ID',
align: 'center',
dataIndex: 'pid'
},
{
title: '是否有子节点',
align: 'center',
dataIndex: 'hasChild'
},
{
title: '问题编码/分类字典值',
align: 'center',
dataIndex: 'problemCode'
},
{
title: '排序',
align: 'center',
dataIndex: 'sortNo'
},
];
// 高级查询数据