import React from 'react';
import SubPageTemplate from '../SubPageTemplate';
import { INDUSTRY_PAGE_IDS } from '@/constants/dataTypes';

// 复用首页的左侧组件
import LeftContent from '@/pages/Home_v_2504/components/LeftSidebar';
// 使用自己的右侧组件
import RightContent from './components/RightContent';
// 复用餐饮油烟的右侧组件
// import RightContent from '../RestaurantOil/components/RightContent';

interface LawEnforcementCoordinationProps {
  visible: boolean;
}

/**
 * 市区协同子页面
 * 使用通用子页面模板实现
 */
const LawEnforcementCoordination: React.FC<LawEnforcementCoordinationProps> = ({ visible }) => {
  return (
    <SubPageTemplate
      visible={visible}
      pageId={INDUSTRY_PAGE_IDS.LAW_ENFORCEMENT_COORDINATION}
      leftComponent={LeftContent}
      rightComponent={RightContent}
      title="市区协同监管"
    />
  );
};

export default LawEnforcementCoordination; 