export const flowCode = [
  {
    code: '0000001',
    name: '违法用地',
  },
  {
    code: '0000004',
    name: '耕地非粮化',
  },
  {
    code: '100001',
    name: '非法采矿工作管理',
  },
  {
    code: '0000003',
    name: '非法采矿卫片下发',
  },
  {
    code: '0000005',
    name: '重点问题1类',
  },
  {
    code: '0000006',
    name: '重点问题2类',
  },
  {
    code: '0000002',
    name: '巡察审计',
  },
  {
    code: '0000007',
    name: '生态保护红线监管',
  },
  {
    code: '0000008',
    name: '生态修复',
  },
];
export const flowCodeName = (code) => {
  const item = flowCode.find((item) => item.code === code);
  return item ? item.name : '';
};
