export function getTreeNodeUniId(nodeItem: Record<string, any> = {}) {
  const uniId =  nodeItem?.sch_rule?.tree_node_uni_id;
  if (uniId) return uniId;

  const schId = nodeItem?.schid || '';
  return schId.replace(/_\d+$/, '');
}
