import Login from '@components/login/Login.vue';
import Register from '@components/register/Register.vue';
import ForgetPassword from '@components/forgetPassword/FindPassword.vue';
import HomePage from '@components/common/HomePage.vue';
import TrialUser from '@components/user/TrialUser.vue';
import Information from '@components/user/Information.vue';
import MoreService from '@components/user/MoreService.vue';//GDFW
import OpenedProduct from '@components/user/OpenedProduct.vue';//YGMCP
import AddServiceProduct from '@components/user/AddServiceProduct.vue';//添加服务端产品
import ManageService from '@components/user/ManageService.vue';//管理服务端
import CreatedToken from '@components/user/CreatedToken.vue';//查看生成令牌
import AlreadyToken from '@components/user/AlreadyToken.vue';//已生成令牌
// import UserSetting from '@components/user/UserSetting.vue';//安全设置
import UserSetting from '@components/user/SafetySetting.vue';//安全设置
/*******************朗通后台**********************/
import ProductLines from '@components/admin/ProductLines.vue'
import ProductLinesManage from '@components/admin/ProductLinesManage.vue'
import SuperAdmin from '@components/admin/SuperAdmin.vue'
import AdminConsole from '@components/admin/Console.vue';
import AddAdmin from '@components/admin/AddAdmin.vue';
import PersonCenter from '@components/admin/PersonCenter.vue';
import ChangePwd from '@components/admin/ChangePwd.vue';
import RegisterAdmin from '@components/admin/RegisterAdmin.vue';
import Renew from '@components/admin/Renew.vue';
import AuthedAdmin from '@components/admin/AuthedAdmin.vue';
import AddProductLine from '@components/admin/AddProductLine.vue'
import OrganizationInfo from '@components/admin/OrganizationInfo.vue';//机构信息
import AddOrganization from '@components/admin/AddOrganization.vue';//添加机构信息
import ModifinedOrga from '@components/admin/ModifinedOrga.vue';//修改机构信息
import ProductDetail from '@components/admin/ProductDetail.vue';
import Console from '@components/user/Console.vue';
import LabelGroup from '@components/icss/LabelGroup.vue'  //标签组
import NoiseTemplate from '@components/icss/NoiseTemplate.vue';
import DeptInfo from '@components/icss/DeptInfo.vue';//科室信息
import DeptInfoDetail from '@components/icss/DeptInfoDetail.vue';//科室信息-详情
import AddDeptInfo from '@components/icss/AddDeptInfo.vue';//科室信息-添加
import IndeptLabel from '@components/icss/IndeptLabel.vue';//独立标签
import AddIndeptLabel from '@components/icss/AddIndeptLabel.vue'//独立标签-添加
import PromptInfo from '@components/icss/PromptInfo.vue'//提示信息
import AddPromptInfo from '@components/icss/AddPromptInfo.vue'//添加提示信息
import SimilarName from '@components/icss/SimilarName.vue'//别名维护
import AddSimilarName from '@components/icss/AddSimilarName.vue'//别名维护-详情
import CommonSymptom from '@components/icss/CommonSymptom.vue' //常见科室症状
import AddCommonSymptom from '@components/icss/AddCommonSymptom' //常见科室症状--添加
import PromptDetail from '@components/icss/PromptDetail.vue'//提示信息详情
import MedicinePrompt from '@components/icss/MedicinePrompt.vue'   //医学术语静态知识
import AddMedicinePrompt from '@components/icss/AddMedicinePrompt.vue'   //医学术语静态知识

import DisclaimerInformation from '@components/icss/DisclaimerInformation.vue'//免责声明
import DiscInfoDetail from '@components/icss/DiscInfoDetail.vue'//免责声明-详情
import AddDisclInfo from '@components/icss/AddDisclInfo.vue'//免责声明-添加
import PhysicalExamTemplate from '@components/icss/PhysicalExamTemplate.vue'  //查体模板维护
import AddPhysicalExamTemp from '@components/icss/AddPhysicalExamTemp.vue'  //查体模板维护--添加

import TemplateMaintenance from '@components/icss/TemplateMaintenance.vue'//模板维护列表
import TemplateMaintenanceWrap from '@components/icss/TemplateMaintenanceWrap.vue'//模板维护添加修改
import VersionInfo from '@components/icss/VersionInfo.vue'//版本信息
import VersionDetail from '@components/icss/VersionDetail.vue'//版本信息-详情
import AddVersion from '@components/icss/AddVersion.vue'//版本信息-添加/修改
import MedicalName from '@components/icss/MedicalName.vue'//医学术语维护-命名维护
import AddMedicalName from '@components/icss/AddMedicalName.vue'//医学术语维护-命名维护/添加修改
import MedicalRelation from '@components/icss/MedicalRelation.vue'//医学术语维护-关系维护
import AddMedicalRelation from '@components/icss/AddMedicalRelation.vue'//医学术语维护-关系维护-添加
export default [
  {
    path: '/',
    name: 'login',
    component: Login
  },
  {
    path: '/register',
    name: 'Register',
    component: Register
  },
  {
    path: '/forgetPassword',
    name: 'FindPassword',
    component: ForgetPassword
  },
  {//用户后台
    path: '/user',
    component: HomePage,
    meta: {
      requireAuth: true
    },
    children: [
      // {path: '/', component: Console},
      {path: 'YH-KZT', component: Console},     //控制台
      {path: 'YH-GDFW', component: MoreService},      //更多服务
      {path: 'YH-JGZX', component: Information},//机构中心
      {path: 'YH-JGZX-YKTCP', component: OpenedProduct}, //已开通产品
      {path: 'TJFWD', component: AddServiceProduct}, //添加服务端
      {path: 'YH-JGZX-GLFFD', component: ManageService}, //管理服务端
      {path: 'YH-JGZX-YSCLP', component: AlreadyToken},//已生成令牌
      {path: 'CKLPXQ', component: CreatedToken},//查看生成令牌
      {path: 'YH-JGZX-AQSZ', component: UserSetting},//安全设置
			{path: 'YH-JGZX-ZHXX', component: Information},//账号信息
			
    ]
  },

  {//朗通后台
    path: '/admin',
    component: HomePage,
    meta: {
      requireAuth: true
    },
    children: [
      // {path: '/', component: AdminConsole},
      {path: 'LT-KZT', component: AdminConsole},
      {path: 'LT-JGZX', component: AdminConsole},
      {
        path: 'LT-KHZX-ZCYH',
        component: RegisterAdmin
      },
      {
        path: 'LT-YRZCGXX',
        component: AuthedAdmin
      },
    	{
    	  path: 'LT-KHZX-JGXX',//机构信息
        component: OrganizationInfo,
        meta:{
          keepAlive:true
        }
    	},
      {
        path: 'LT-KHZX-TJJG',//添加机构
        component: AddOrganization
      },
      {
        path: 'LT-KHZX-XGJG',//修改机构
        component: ModifinedOrga
      },
      {
        path: 'LT-KHZX-CGXX',
        component: SuperAdmin
      },
      {
        path: 'LT-DDXT-TJCG',
        component: AddAdmin,
        name:'addAdmin'
      },
      {
        path: 'LT-DDXT-CPXSQLB',
        component: ProductLines
      },
      {
        path: 'LT-CPXGL-CPXXQ',
        component: ProductDetail,
        name:'productDetail'
      },
			{
				path: 'LT-CPXFLB',
				component: Renew
			},
      {path: 'LT-GRZX', component: PersonCenter},
      {path: 'LT-CPXGL', component: ProductLinesManage},
      {path: 'LT-CPXGL-TJCPX', component: AddProductLine,name:'editProductLine'},
      {path: 'LT-GRZX/CHANGE',component: ChangePwd}, //个人中心--修改密码
      {path: 'LT-YXSJWH-BQZWH',component: LabelGroup}, //医学数据维护--标签组维护
      {path:'LT-YXSJWH-TJBQZ',component:NoiseTemplate,name:'AddLabelGroup'},     //医学数据维护--标签组维护--添加标签组
      {path:'LT-YXSJWH-KSWH',component:DeptInfo},     //医学数据维护--科室维护
      {path:'LT-YXSJWH-KSXQ',component:DeptInfoDetail,name:'DeptInfoDetail'},     //科室维护--详情
      {path:'LT-YXSJWH-TJKS',component:AddDeptInfo,name:'AddDeptInfo'},     //科室维护--添加
      {path:'LT-YXSJWH-DLLXBQWH',component:IndeptLabel,name:'IndeptLabel'},     //独立标签维护--详情
      {path:'LT-YXSJWH-TJDLBQ',component:AddIndeptLabel,name:'AddIndeptLabel'},     //独立标签维护--添加
      {path:'LT-YXSJWH-TSXXWH',component:PromptInfo,name:'PromptInfo'},         //提示信息维护
      {path:'LT-YXSJWH-TJTSXX',component:AddPromptInfo,name:'AddPromptInfo'},         //提示信息维护
	    {path:'LT-YXSJWH-BMWH',component:SimilarName,name:'SimilarName'},     //别名维护
      {path:'LT-YXSJWH-CJZZWH',component:CommonSymptom,name:'CommonSymptom'},  //常见症状维护
      {path:'LT-YXSJWH-TJCJZZ',component:AddCommonSymptom,name:'AddCommonSymptom'},  //常见症状维护--添加
      {path:'LT-YXSJWH-TJBM',component:AddSimilarName,name:'AddSimilarName'},     //别名维护-添加/修改
      {path:'LT-YXSJWH-MZSMWH',component:DisclaimerInformation,name:'DisclaimerInformation'},     //免责声明
      {path:'LT-YXSJWH-MZSMXQ',component:DiscInfoDetail,name:'DiscInfoDetail'},     //免责声明-详情
      {path:'LT-YXSJWH-TJMZSM',component:AddDisclInfo,name:'AddDisclInfo'},     //免责声明-添加/修改
      {path:'LT-YXSJWH-MBWH',component:TemplateMaintenance,name:'TemplateMaintenance'},     //模板维护
      {path:'LT-YXSJWH-CTBQWH',component:PhysicalExamTemplate,name:'PhysicalExamTemplate'},     //查体模板维护
      {path:'LT-YXSJWH-TJCTMB',component:AddPhysicalExamTemp,name:'AddPhysicalExamTemp'},     //查体模板维护
      {path:'LT-YXSJWH-TJMBWH',component:TemplateMaintenanceWrap,name:'TemplateMaintenanceWrap'},     //模板维护-添加修改
      {path:'LT-YXSJWH-TSXXXQ',component:PromptDetail,name:'PromptDetail'},         //提示信息维护详情
      {path:'LT-YXSYKWH-YXSYJTZSWH',component:MedicinePrompt,name:'MedicinePrompt'},         //医学术语提示信息维护
      {path:'LT-YXSYKWH-TJYXSYJTZS',component:AddMedicinePrompt,name:'AddMedicinePrompt'},         //医学术语提示信息维护添加
	    {path:'LT-YXSJWH-BBXXWH',component:VersionInfo,name:'VersionInfo'},     //版本信息
      {path:'LT-YXSJWH-BBXXXQ',component:VersionDetail,name:'VersionDetail'},     //版本信息-详情
      {path:'LT-YXSJWH-TJBBXX',component:AddVersion,name:'AddVersion'},     //版本信息-添加/修改
      {path:'LT-YXSYKWH-YXSYMMWH',component:MedicalName,name:'MedicalName'},     //医学术语--命名维护
      {path:'LT-YXSYKWH-TJYXSY',component:AddMedicalName,name:'AddMedicalName'},     //医学术语--命名维护
      {path:'LT-YXSYKWH-YXSYGXWH',component:MedicalRelation,name:'MedicalRelation'},     //医学术语--关系维护
      {path:'LT-YXSYKWH-TJYXSYGX',component:AddMedicalRelation,name:'AddMedicalRelation'},     //医学术语--关系维护-添加

    ]
  }
]
