import Infpty from "./Infpty";
import Dbipty from "./Dbipty";
import Dbapty from "./Dbapty";
import Dbepty from "./Dbepty";
import Dbdpty from "./Dbdpty";
import Inftrl from "./Inftrl";
import Dbitrl from "./Dbitrl";
import Dbatrl from "./Dbatrl";
import Dbetrl from "./Dbetrl";
import Dbdtrl from "./Dbdtrl";
import Infusr from "./Infusr";
import Dbausr from "./Dbausr";
import Dbiusr from "./Dbiusr";
import Dbeusr from "./Dbeusr";
import Dbdusr from "./Dbdusr";

import Infcty from "./Infcty";
import Dbicty from "./Dbicty";
import Dbacty from "./Dbacty";
import Dbecty from "./Dbecty";
import Dbdcty from "./Dbdcty";

import Inffec from "./Inffec";
import Dbifec from "./Dbifec";
import Dbafec from "./Dbafec";
import Dbefec from "./Dbefec";
import Dbdfec from "./Dbdfec";

import Infgtx from "./Infgtx";
import Dbigtx from "./Dbigtx";
import Dbagtx from "./Dbagtx";
import Dbegtx from "./Dbegtx";
import Dbdgtx from "./Dbdgtx";

const StaticsRouter = [
    { path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
    { path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
    { path: 'dbipty/:inr', component: Dbipty, name: 'StaticsDbipty', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
    { path: 'dbepty/:inr', component: Dbepty, name: 'StaticsDbepty', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
    { path: 'dbdpty/:inr', component: Dbdpty, name: 'StaticsDbdpty', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
    { path: 'inftrl', component: Inftrl, name: 'StaticsInftrl', meta: { title: '复核级别查询' } },
    { path: 'dbatrl', component: Dbatrl, name: 'StaticsDbatrl', meta: { title: '复核级别新增' } },
    { path: 'dbitrl/:inr', component: Dbitrl, name: 'StaticsDbitrl', meta: { title: (tag) => { return '复核级别详情: ' + tag.params.inr } } },
    { path: 'dbetrl/:inr', component: Dbetrl, name: 'StaticsDbetrl', meta: { title: (tag) => { return '复核级别修改: ' + tag.params.inr } } },
    { path: 'dbdtrl/:inr', component: Dbdtrl, name: 'StaticsDbdtrl', meta: { title: (tag) => { return '复核级别删除: ' + tag.params.inr } } },

    { path: 'infusr', component: Infusr, name: 'StaticsInfusr', meta: { title: '柜员查询' } },
    { path: 'dbausr', component: Dbausr, name: 'StaticsDbausr', meta: { title: '柜员新增' } },
    { path: 'dbiusr/:inr', component: Dbiusr, name: 'StaticsDbiusr', meta: { title: (tag) => { return '柜员详情: ' + tag.params.inr } } },
    { path: 'dbeusr/:inr', component: Dbeusr, name: 'StaticsDbeusr', meta: { title: (tag) => { return '柜员修改: ' + tag.params.inr } } },
    { path: 'dbdusr/:inr', component: Dbdusr, name: 'StaticsDbdusr', meta: { title: (tag) => { return '柜员删除: ' + tag.params.inr } } },

    { path: 'infcty', component: Infcty, name: 'StaticsInfcty', meta: { title: '国家代码查询' } },
    { path: 'dbacty', component: Dbacty, name: 'StaticsDbacty', meta: { title: '国家代码新增' } },
    { path: 'dbicty/:inr', component: Dbicty, name: 'StaticsDbicty', meta: { title: (tag) => { return '国家代码详情: ' + tag.params.inr } } },
    { path: 'dbecty/:inr', component: Dbecty, name: 'StaticsDbecty', meta: { title: (tag) => { return '国家代码修改: ' + tag.params.inr } } },
    { path: 'dbdcty/:inr', component: Dbdcty, name: 'StaticsDbdcty', meta: { title: (tag) => { return '国家代码删除: ' + tag.params.inr } } },

    { path: 'inffec', component: Inffec, name: 'StaticsInffec', meta: { title: '费率查询' } },
    { path: 'dbafec', component: Dbafec, name: 'StaticsDbafec', meta: { title: '费率新增' } },
    { path: 'dbifec/:inr', component: Dbifec, name: 'StaticsDbifec', meta: { title: (tag) => { return '费率详情: ' + tag.params.inr } } },
    { path: 'dbefec/:inr', component: Dbefec, name: 'StaticsDbefec', meta: { title: (tag) => { return '费率修改: ' + tag.params.inr } } },
    { path: 'dbdfec/:inr', component: Dbdfec, name: 'StaticsDbdfec', meta: { title: (tag) => { return '费率删除: ' + tag.params.inr } } },

    { path: 'infgtx', component: Infgtx, name: 'StaticsInfgtx', meta: { title: '保函文本查询' } },
    { path: 'dbagtx', component: Dbagtx, name: 'StaticsDbagtx', meta: { title: '保函文本新增' } },
    { path: 'dbigtx/:inr', component: Dbigtx, name: 'StaticsDbigtx', meta: { title: (tag) => { return '保函文本详情: ' + tag.params.inr } } },
    { path: 'dbegtx/:inr', component: Dbegtx, name: 'StaticsDbegtx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } },
    { path: 'dbdgtx/:inr', component: Dbdgtx, name: 'StaticsDbdgtx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } },
] 

export default StaticsRouter