|
@@ -19,8 +19,8 @@ const routes = [
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- path:'/login',
|
|
|
- name:'Login',
|
|
|
+ path: '/login',
|
|
|
+ name: 'Login',
|
|
|
meta: {
|
|
|
title: '系统登录'
|
|
|
},
|
|
@@ -28,7 +28,7 @@ const routes = [
|
|
|
},
|
|
|
{
|
|
|
path: "/agreeConceal",
|
|
|
- name:'agreeConceal',
|
|
|
+ name: 'agreeConceal',
|
|
|
meta: {
|
|
|
title: '用户须知'
|
|
|
},
|
|
@@ -43,24 +43,24 @@ const routes = [
|
|
|
name: 'Home',
|
|
|
meta: {
|
|
|
title: '首页',
|
|
|
- sign:'home',
|
|
|
- belong:'home'
|
|
|
+ sign: 'home',
|
|
|
+ belong: 'home'
|
|
|
},
|
|
|
component: () => import('@/views/home/index.vue'),
|
|
|
},
|
|
|
//专利数据库
|
|
|
{
|
|
|
path: '/project',
|
|
|
- name:'Project',
|
|
|
- component:{render(c){return c('router-view')}},
|
|
|
- redirect:'/project',
|
|
|
- children:[
|
|
|
+ name: 'Project',
|
|
|
+ component: { render(c) { return c('router-view') } },
|
|
|
+ redirect: '/project',
|
|
|
+ children: [
|
|
|
{
|
|
|
- path:'/',
|
|
|
+ path: '/',
|
|
|
meta: {
|
|
|
title: '专利数据库',
|
|
|
- sign:'project',
|
|
|
- belong:'project'
|
|
|
+ sign: 'project',
|
|
|
+ belong: 'project'
|
|
|
},
|
|
|
component: () => import('@/views/project/index.vue'),
|
|
|
},
|
|
@@ -68,21 +68,31 @@ const routes = [
|
|
|
path: 'patentCollection',
|
|
|
meta: {
|
|
|
title: '专利列表',
|
|
|
- sign:'patentCollection',
|
|
|
- belong:'project'
|
|
|
+ sign: 'patentCollection',
|
|
|
+ belong: 'project'
|
|
|
},
|
|
|
component: () => import('@/views/project/patentCollection/index.vue')
|
|
|
},
|
|
|
{
|
|
|
path: '/patentDetails/:patentNo',
|
|
|
- name:'patentDetails',
|
|
|
+ name: 'patentDetails',
|
|
|
meta: {
|
|
|
title: '专利文章',
|
|
|
- sign:'patentDetails',
|
|
|
+ sign: 'patentDetails',
|
|
|
// belong:'project'
|
|
|
},
|
|
|
component: () => import('@/views/project/patentDetails/index.vue')
|
|
|
},
|
|
|
+ // 专利数据库导出专利
|
|
|
+ {
|
|
|
+ path: "/exportPatent",
|
|
|
+ name: 'exportPatent',
|
|
|
+ meta: {
|
|
|
+ title: '专利数据库导出专利',
|
|
|
+ sign: 'exportPatent'
|
|
|
+ },
|
|
|
+ component: () => import('@/views/project/patentCollection/components/export/index.vue'),
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
//企业专利数据库
|
|
@@ -104,43 +114,43 @@ const routes = [
|
|
|
// //专利挖掘
|
|
|
{
|
|
|
path: '/patentMining',
|
|
|
- name:'patentMining',
|
|
|
- component:{render(c){return c('router-view')}},
|
|
|
- redirect:'/patentMining',
|
|
|
- children:[
|
|
|
+ name: 'patentMining',
|
|
|
+ component: { render(c) { return c('router-view') } },
|
|
|
+ redirect: '/patentMining',
|
|
|
+ children: [
|
|
|
{
|
|
|
- path:'/',
|
|
|
+ path: '/',
|
|
|
meta: {
|
|
|
title: '专利挖掘',
|
|
|
- sign:'patentMining',
|
|
|
- belong:'patentMining'
|
|
|
+ sign: 'patentMining',
|
|
|
+ belong: 'patentMining'
|
|
|
},
|
|
|
component: () => import('@/views/patentMining/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path:'/details',
|
|
|
+ path: '/details',
|
|
|
meta: {
|
|
|
title: '专利挖掘详情',
|
|
|
- sign:'patentMiningDetails',
|
|
|
- belong:'patentMining'
|
|
|
+ sign: 'patentMiningDetails',
|
|
|
+ belong: 'patentMining'
|
|
|
},
|
|
|
component: () => import('@/views/patentMining/components/details/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path:'/excavateTask',
|
|
|
+ path: '/excavateTask',
|
|
|
meta: {
|
|
|
title: '专利挖掘任务',
|
|
|
- sign:'patentMiningExcavateTask',
|
|
|
- belong:'patentMining'
|
|
|
+ sign: 'patentMiningExcavateTask',
|
|
|
+ belong: 'patentMining'
|
|
|
},
|
|
|
component: () => import('@/views/patentMining/components/excavateTask/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path:'/handleExamine',
|
|
|
+ path: '/handleExamine',
|
|
|
meta: {
|
|
|
title: '专利挖掘任务详情',
|
|
|
- sign:'patentMiningHandleExamine',
|
|
|
- belong:'patentMining'
|
|
|
+ sign: 'patentMiningHandleExamine',
|
|
|
+ belong: 'patentMining'
|
|
|
},
|
|
|
component: () => import('@/views/patentMining/components/handleExamine/index.vue'),
|
|
|
},
|
|
@@ -152,42 +162,42 @@ const routes = [
|
|
|
name: 'Product',
|
|
|
component: { render(c) { return c('router-view') } },
|
|
|
redirect: '/product',
|
|
|
- children:[
|
|
|
+ children: [
|
|
|
{
|
|
|
- path:'/',
|
|
|
- name:'/',
|
|
|
+ path: '/',
|
|
|
+ name: '/',
|
|
|
meta: {
|
|
|
title: '产品',
|
|
|
- sign:'product',
|
|
|
- belong:'Product'
|
|
|
+ sign: 'product',
|
|
|
+ belong: 'Product'
|
|
|
},
|
|
|
component: () => import('@/views/product/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: "/productDetails",
|
|
|
- name:'productDetails',
|
|
|
+ name: 'productDetails',
|
|
|
meta: {
|
|
|
title: '详情',
|
|
|
- sign:'productDetails',
|
|
|
- belong:'Product'
|
|
|
+ sign: 'productDetails',
|
|
|
+ belong: 'Product'
|
|
|
},
|
|
|
component: () => import('@/views/product/components/details'),
|
|
|
},
|
|
|
- // {
|
|
|
- // path: "/mindIndex",
|
|
|
- // meta: {
|
|
|
- // title: '可视化',
|
|
|
- // button: [],
|
|
|
- // },
|
|
|
- // component: () => import('@/views/product/components/jsMind'),
|
|
|
- // },
|
|
|
- {
|
|
|
+ // {
|
|
|
+ // path: "/mindIndex",
|
|
|
+ // meta: {
|
|
|
+ // title: '可视化',
|
|
|
+ // button: [],
|
|
|
+ // },
|
|
|
+ // component: () => import('@/views/product/components/jsMind'),
|
|
|
+ // },
|
|
|
+ {
|
|
|
path: "/chartIndex",
|
|
|
- name:'chartIndex',
|
|
|
+ name: 'chartIndex',
|
|
|
meta: {
|
|
|
title: '趋势图',
|
|
|
sign: 'chartIndex',
|
|
|
- belong:'Product'
|
|
|
+ belong: 'Product'
|
|
|
},
|
|
|
component: () => import('@/views/product/components/echarts'),
|
|
|
},
|
|
@@ -196,48 +206,48 @@ const routes = [
|
|
|
meta: {
|
|
|
title: '产品架构',
|
|
|
sign: 'frameworkIndex',
|
|
|
- belong:'Product'
|
|
|
- },
|
|
|
- component: () => import('@/views/product/components/framework/index.vue'),
|
|
|
-
|
|
|
- },
|
|
|
+ belong: 'Product'
|
|
|
+ },
|
|
|
+ component: () => import('@/views/product/components/framework/index.vue'),
|
|
|
+
|
|
|
+ },
|
|
|
{
|
|
|
path: "/commodity",
|
|
|
meta: {
|
|
|
title: '产品商品化专利',
|
|
|
- sign:'commodity',
|
|
|
- belong:'Product'
|
|
|
- },
|
|
|
- component: () => import('@/views/product/components/commodity/index.vue'),
|
|
|
-
|
|
|
- },
|
|
|
+ sign: 'commodity',
|
|
|
+ belong: 'Product'
|
|
|
+ },
|
|
|
+ component: () => import('@/views/product/components/commodity/index.vue'),
|
|
|
+
|
|
|
+ },
|
|
|
],
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
//事件
|
|
|
{
|
|
|
path: '/Event',
|
|
|
- name:'Event',
|
|
|
- component:{render(c){return c('router-view')}},
|
|
|
- redirect:'/Event',
|
|
|
- children:[
|
|
|
+ name: 'Event',
|
|
|
+ component: { render(c) { return c('router-view') } },
|
|
|
+ redirect: '/Event',
|
|
|
+ children: [
|
|
|
{
|
|
|
- path:'/',
|
|
|
+ path: '/',
|
|
|
meta: {
|
|
|
title: '事件',
|
|
|
- sign:'event',
|
|
|
- belong:'Event'
|
|
|
+ sign: 'event',
|
|
|
+ belong: 'Event'
|
|
|
},
|
|
|
component: () => import('@/views/event/index.vue'),
|
|
|
},
|
|
|
//事件可视化
|
|
|
{
|
|
|
path: "/eventVisual",
|
|
|
- name:'eventVisual',
|
|
|
+ name: 'eventVisual',
|
|
|
meta: {
|
|
|
title: '事件可视化',
|
|
|
- sign:'eventVisual',
|
|
|
- belong:'Event'
|
|
|
+ sign: 'eventVisual',
|
|
|
+ belong: 'Event'
|
|
|
},
|
|
|
component: () => import('@/views/event/components/details/visualRouter.vue'),
|
|
|
},
|
|
@@ -246,36 +256,36 @@ const routes = [
|
|
|
//报告
|
|
|
{
|
|
|
path: '/AllReport',
|
|
|
- name:'AllReport',
|
|
|
- component:{render(c){return c('router-view')}},
|
|
|
- redirect:'/AllReport',
|
|
|
- children:[
|
|
|
+ name: 'AllReport',
|
|
|
+ component: { render(c) { return c('router-view') } },
|
|
|
+ redirect: '/AllReport',
|
|
|
+ children: [
|
|
|
{
|
|
|
- path:'/',
|
|
|
+ path: '/',
|
|
|
meta: {
|
|
|
title: '报告',
|
|
|
- sign:'report',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'report',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
component: () => import('@/views/report/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path:'/reportDetails',
|
|
|
- name:'reportDetails',
|
|
|
+ path: '/reportDetails',
|
|
|
+ name: 'reportDetails',
|
|
|
meta: {
|
|
|
title: '报告详情',
|
|
|
- sign:'reportDetails',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'reportDetails',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
component: () => import('@/views/report/components/details'),
|
|
|
},
|
|
|
{
|
|
|
- path:'/reportPatentList',
|
|
|
- name:'reportPatentList',
|
|
|
+ path: '/reportPatentList',
|
|
|
+ name: 'reportPatentList',
|
|
|
meta: {
|
|
|
title: '报告专利清单',
|
|
|
- sign:'reportPatentList',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'reportPatentList',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
component: () => import('@/views/report/components/patentList/index.vue'),
|
|
|
},
|
|
@@ -283,171 +293,171 @@ const routes = [
|
|
|
//code码页面
|
|
|
{
|
|
|
path: '/identificationCode',
|
|
|
- name:"identificationCode",
|
|
|
- meta:{
|
|
|
+ name: "identificationCode",
|
|
|
+ meta: {
|
|
|
title: '分析系统',
|
|
|
- sign:'identificationCode',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'identificationCode',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/components/identificationCode/index.vue'),
|
|
|
+ component: () => import('@/views/components/identificationCode/index.vue'),
|
|
|
},
|
|
|
//FTO风险排查分配任务
|
|
|
{
|
|
|
path: '/allocationTask',
|
|
|
- name:"allocationTask",
|
|
|
- meta:{
|
|
|
+ name: "allocationTask",
|
|
|
+ meta: {
|
|
|
title: '分配任务',
|
|
|
- sign:'allocationTask',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'allocationTask',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/report/components/allocationTask/index.vue'),
|
|
|
+ component: () => import('@/views/report/components/allocationTask/index.vue'),
|
|
|
},
|
|
|
|
|
|
//侵权分析
|
|
|
{
|
|
|
path: '/tortIndex',
|
|
|
- name:"tortIndex",
|
|
|
- meta:{
|
|
|
- sign:'tortIndex',
|
|
|
- belong:'AllReport'
|
|
|
+ name: "tortIndex",
|
|
|
+ meta: {
|
|
|
+ sign: 'tortIndex',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/report/tort/index.vue'),
|
|
|
+ component: () => import('@/views/report/tort/index.vue'),
|
|
|
},
|
|
|
// 产品信息录入
|
|
|
{
|
|
|
path: '/informationEntry',
|
|
|
- name:"informationEntry",
|
|
|
- meta:{
|
|
|
+ name: "informationEntry",
|
|
|
+ meta: {
|
|
|
title: '产品信息录入',
|
|
|
- sign:'informationEntry',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'informationEntry',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/report/tort/components/informationEntry/index.vue'),
|
|
|
+ component: () => import('@/views/report/tort/components/informationEntry/index.vue'),
|
|
|
},
|
|
|
|
|
|
//回避设计
|
|
|
{
|
|
|
path: '/avoid',
|
|
|
- name:"avoid",
|
|
|
- meta:{
|
|
|
+ name: "avoid",
|
|
|
+ meta: {
|
|
|
title: '回避设计',
|
|
|
- sign:'avoid',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'avoid',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/report/avoid/index.vue'),
|
|
|
+ component: () => import('@/views/report/avoid/index.vue'),
|
|
|
},
|
|
|
|
|
|
//无效应对
|
|
|
{
|
|
|
path: '/manualImport',
|
|
|
- name:"manualImport",
|
|
|
- meta:{
|
|
|
+ name: "manualImport",
|
|
|
+ meta: {
|
|
|
title: '批量手动添加证据文献',
|
|
|
- sign:'manualImport',
|
|
|
- belong:'AllReport'
|
|
|
+ sign: 'manualImport',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/report/InvalidResponse/components/ManualImport/index.vue'),
|
|
|
+ component: () => import('@/views/report/InvalidResponse/components/ManualImport/index.vue'),
|
|
|
},
|
|
|
|
|
|
- // //添加无效证据和理由
|
|
|
- // {
|
|
|
- // path:'/invalidIdexRouter',
|
|
|
- // name:'invalidIdexRouter',
|
|
|
- // meta:{
|
|
|
- // title:'无效证据和理由',
|
|
|
- // aside:true,
|
|
|
- // showHeader:true,
|
|
|
- // },
|
|
|
- // component:() => import('@/views/report/InvalidResponse/components/invalidIdexRouter.vue'),
|
|
|
- // },
|
|
|
+ // //添加无效证据和理由
|
|
|
+ // {
|
|
|
+ // path:'/invalidIdexRouter',
|
|
|
+ // name:'invalidIdexRouter',
|
|
|
+ // meta:{
|
|
|
+ // title:'无效证据和理由',
|
|
|
+ // aside:true,
|
|
|
+ // showHeader:true,
|
|
|
+ // },
|
|
|
+ // component:() => import('@/views/report/InvalidResponse/components/invalidIdexRouter.vue'),
|
|
|
+ // },
|
|
|
//导入证据文献
|
|
|
{
|
|
|
- path:'/evidence',
|
|
|
- name:'evidence',
|
|
|
- meta:{
|
|
|
- title:'证据详情',
|
|
|
- sign:'evidence',
|
|
|
- belong:'AllReport'
|
|
|
+ path: '/evidence',
|
|
|
+ name: 'evidence',
|
|
|
+ meta: {
|
|
|
+ title: '证据详情',
|
|
|
+ sign: 'evidence',
|
|
|
+ belong: 'AllReport'
|
|
|
},
|
|
|
- component:() => import('@/views/report/InvalidResponse/components/Evidence/index.vue'),
|
|
|
+ component: () => import('@/views/report/InvalidResponse/components/Evidence/index.vue'),
|
|
|
},
|
|
|
- // //对比任务
|
|
|
- // {
|
|
|
- // path: '/SelectedPatent',
|
|
|
- // name:"SelectedPatent",
|
|
|
- // meta:{
|
|
|
- // aside:true
|
|
|
- // },
|
|
|
- // component:() => import('@/views/report/reportDetails/components/SelectedPatent.vue'),
|
|
|
- // },
|
|
|
- // // 任务分配
|
|
|
- // {
|
|
|
- // path: '/AssignTasks',
|
|
|
- // name:"/AssignTasks",
|
|
|
- // meta:{
|
|
|
- // aside:true
|
|
|
- // },
|
|
|
- // component:() => import('@/views/report/Invalid/InvalidPage/AssignTasks.vue'),
|
|
|
- // },
|
|
|
- // //添加对比文件
|
|
|
- // {
|
|
|
- // path:'/addPatentList',
|
|
|
- // name:'/addPatentList',
|
|
|
- // meta:{
|
|
|
- // title:'添加对比文件',
|
|
|
- // aside:true,
|
|
|
- // showHeader:true,
|
|
|
- // // hiddenHeader:true
|
|
|
- // },
|
|
|
- // component:() => import('@/views/report/components/addPatentList'),
|
|
|
- // },
|
|
|
- // //查看单个专利详情
|
|
|
- // {
|
|
|
- // path:'/patentDetails',
|
|
|
- // name:"patentDetails",
|
|
|
- // meta:{
|
|
|
- // aside:true
|
|
|
- // },
|
|
|
- // component:() => import('@/views/components/common/PatentDetails')
|
|
|
- // },
|
|
|
- // //无效应对证据文献详情
|
|
|
- // {
|
|
|
- // path:'/checkFileDetails/:key',
|
|
|
- // name:'checkFileDetails/:key',
|
|
|
- // meta:{
|
|
|
- // title:'证据文献详情',
|
|
|
- // aside:true,
|
|
|
- // showHeader:true,
|
|
|
- // },
|
|
|
- // component:() => import('@/views/report/InvalidResponse/components/FileDetails/index.vue'),
|
|
|
- // },
|
|
|
- // //报告任务清单
|
|
|
- // {
|
|
|
- // path:'/rTaskList',
|
|
|
- // name:'rTaskList',
|
|
|
- // meta:{
|
|
|
- // title:'任务',
|
|
|
- // aside:true,
|
|
|
- // showHeader:true,
|
|
|
- // },
|
|
|
- // component: () => import('@/views/report/task/index.vue'),
|
|
|
- // },
|
|
|
- // // },
|
|
|
+ // //对比任务
|
|
|
+ // {
|
|
|
+ // path: '/SelectedPatent',
|
|
|
+ // name:"SelectedPatent",
|
|
|
+ // meta:{
|
|
|
+ // aside:true
|
|
|
+ // },
|
|
|
+ // component:() => import('@/views/report/reportDetails/components/SelectedPatent.vue'),
|
|
|
+ // },
|
|
|
+ // // 任务分配
|
|
|
+ // {
|
|
|
+ // path: '/AssignTasks',
|
|
|
+ // name:"/AssignTasks",
|
|
|
+ // meta:{
|
|
|
+ // aside:true
|
|
|
+ // },
|
|
|
+ // component:() => import('@/views/report/Invalid/InvalidPage/AssignTasks.vue'),
|
|
|
+ // },
|
|
|
+ // //添加对比文件
|
|
|
+ // {
|
|
|
+ // path:'/addPatentList',
|
|
|
+ // name:'/addPatentList',
|
|
|
+ // meta:{
|
|
|
+ // title:'添加对比文件',
|
|
|
+ // aside:true,
|
|
|
+ // showHeader:true,
|
|
|
+ // // hiddenHeader:true
|
|
|
+ // },
|
|
|
+ // component:() => import('@/views/report/components/addPatentList'),
|
|
|
+ // },
|
|
|
+ // //查看单个专利详情
|
|
|
+ // {
|
|
|
+ // path:'/patentDetails',
|
|
|
+ // name:"patentDetails",
|
|
|
+ // meta:{
|
|
|
+ // aside:true
|
|
|
+ // },
|
|
|
+ // component:() => import('@/views/components/common/PatentDetails')
|
|
|
+ // },
|
|
|
+ // //无效应对证据文献详情
|
|
|
+ // {
|
|
|
+ // path:'/checkFileDetails/:key',
|
|
|
+ // name:'checkFileDetails/:key',
|
|
|
+ // meta:{
|
|
|
+ // title:'证据文献详情',
|
|
|
+ // aside:true,
|
|
|
+ // showHeader:true,
|
|
|
+ // },
|
|
|
+ // component:() => import('@/views/report/InvalidResponse/components/FileDetails/index.vue'),
|
|
|
+ // },
|
|
|
+ // //报告任务清单
|
|
|
+ // {
|
|
|
+ // path:'/rTaskList',
|
|
|
+ // name:'rTaskList',
|
|
|
+ // meta:{
|
|
|
+ // title:'任务',
|
|
|
+ // aside:true,
|
|
|
+ // showHeader:true,
|
|
|
+ // },
|
|
|
+ // component: () => import('@/views/report/task/index.vue'),
|
|
|
+ // },
|
|
|
+ // // },
|
|
|
],
|
|
|
},
|
|
|
//任务模块
|
|
|
{
|
|
|
path: '/myTask',
|
|
|
- name:'myTask',
|
|
|
- component:{render(c){return c('router-view')}},
|
|
|
- redirect:'/myTask',
|
|
|
- children:[
|
|
|
+ name: 'myTask',
|
|
|
+ component: { render(c) { return c('router-view') } },
|
|
|
+ redirect: '/myTask',
|
|
|
+ children: [
|
|
|
{
|
|
|
- path:'/',
|
|
|
+ path: '/',
|
|
|
meta: {
|
|
|
title: '我的任务',
|
|
|
- sign:'myTask',
|
|
|
- belong:'myTask'
|
|
|
+ sign: 'myTask',
|
|
|
+ belong: 'myTask'
|
|
|
},
|
|
|
component: () => import('@/views/task/index.vue'),
|
|
|
},
|
|
@@ -456,21 +466,21 @@ const routes = [
|
|
|
//场景可视化
|
|
|
{
|
|
|
path: '/visual',
|
|
|
- name:'visual',
|
|
|
+ name: 'visual',
|
|
|
meta: {
|
|
|
title: '场景可视化',
|
|
|
- sign:'visual',
|
|
|
- belong:'visual'
|
|
|
+ sign: 'visual',
|
|
|
+ belong: 'visual'
|
|
|
},
|
|
|
component: () => import('@/views/visual')
|
|
|
},
|
|
|
{
|
|
|
path: '/visual/:title',
|
|
|
- name:'flowPath',
|
|
|
+ name: 'flowPath',
|
|
|
meta: {
|
|
|
- sign:'flowPath',
|
|
|
+ sign: 'flowPath',
|
|
|
title: '可视化平台',
|
|
|
- belong:'visual'
|
|
|
+ belong: 'visual'
|
|
|
},
|
|
|
component: () => import('@/views/visual/title/index.vue')
|
|
|
},
|
|
@@ -496,7 +506,7 @@ const routes = [
|
|
|
// },
|
|
|
// ]
|
|
|
// },
|
|
|
-
|
|
|
+
|
|
|
// {
|
|
|
// path: "custom",
|
|
|
// component: () => import('@/views/analyse/custom'),
|
|
@@ -513,44 +523,44 @@ const routes = [
|
|
|
// },
|
|
|
//查看文件
|
|
|
{
|
|
|
- path:'/checkFile',
|
|
|
- name:'/checkFile',
|
|
|
- meta:{
|
|
|
- aside:true,
|
|
|
- sign:'checkFile',
|
|
|
+ path: '/checkFile',
|
|
|
+ name: '/checkFile',
|
|
|
+ meta: {
|
|
|
+ aside: true,
|
|
|
+ sign: 'checkFile',
|
|
|
},
|
|
|
- component:() => import('@/views/components/view/checkFile.vue'),
|
|
|
+ component: () => import('@/views/components/view/checkFile.vue'),
|
|
|
},
|
|
|
//excel导入
|
|
|
{
|
|
|
path: '/import',
|
|
|
- name:"import",
|
|
|
- meta:{
|
|
|
+ name: "import",
|
|
|
+ meta: {
|
|
|
title: 'excel导入',
|
|
|
- sign:'import'
|
|
|
+ sign: 'import'
|
|
|
},
|
|
|
- component:() => import('@/views/components/import/excelImport'),
|
|
|
+ component: () => import('@/views/components/import/excelImport'),
|
|
|
},
|
|
|
//专利号导入
|
|
|
{
|
|
|
path: '/PatentNoImport',
|
|
|
- name:"PatentNoImport",
|
|
|
- meta:{
|
|
|
+ name: "PatentNoImport",
|
|
|
+ meta: {
|
|
|
title: '专利号导入',
|
|
|
- sign:'PatentNoImport'
|
|
|
+ sign: 'PatentNoImport'
|
|
|
},
|
|
|
- component:() => import('@/views/components/import/PatentNoImport'),
|
|
|
+ component: () => import('@/views/components/import/PatentNoImport'),
|
|
|
},
|
|
|
//检索导入
|
|
|
{
|
|
|
path: '/conditionImport',
|
|
|
- name:"conditionImport",
|
|
|
- meta:{
|
|
|
+ name: "conditionImport",
|
|
|
+ meta: {
|
|
|
title: '专利检索',
|
|
|
- sign:'conditionImport',
|
|
|
- belong:'conditionImport'
|
|
|
+ sign: 'conditionImport',
|
|
|
+ belong: 'conditionImport'
|
|
|
},
|
|
|
- component:() => import('@/views/components/import/conditionImport'),
|
|
|
+ component: () => import('@/views/components/import/conditionImport'),
|
|
|
},
|
|
|
//检索结果
|
|
|
{
|
|
@@ -573,10 +583,10 @@ const routes = [
|
|
|
// 任务清单
|
|
|
{
|
|
|
path: "/taskList",
|
|
|
- name:'taskList',
|
|
|
+ name: 'taskList',
|
|
|
meta: {
|
|
|
title: '任务清单',
|
|
|
- sign:'taskList'
|
|
|
+ sign: 'taskList'
|
|
|
},
|
|
|
component: () => import('@/views/components/import/task/index.vue'),
|
|
|
},
|
|
@@ -590,7 +600,7 @@ const routes = [
|
|
|
// component: () => import('@/views/indicia'),
|
|
|
// },
|
|
|
|
|
|
-
|
|
|
+
|
|
|
]
|
|
|
},
|
|
|
]
|
|
@@ -602,27 +612,27 @@ const router = new VueRouter({
|
|
|
})
|
|
|
|
|
|
router.beforeEach((to, from, next) => {
|
|
|
- if (to.path === '/login'||to.path==='/' || to.path == '/agreeConceal'){
|
|
|
+ if (to.path === '/login' || to.path === '/' || to.path == '/agreeConceal') {
|
|
|
if (to.meta.title) {
|
|
|
document.title = to.meta.title;
|
|
|
}
|
|
|
next()
|
|
|
- }
|
|
|
- else if(to.meta.allowPath){
|
|
|
+ }
|
|
|
+ else if (to.meta.allowPath) {
|
|
|
if (to.meta.title) {
|
|
|
document.title = to.meta.title;
|
|
|
}
|
|
|
next()
|
|
|
}
|
|
|
- else{
|
|
|
+ else {
|
|
|
const tokenStr = Cookies.get('token')
|
|
|
|
|
|
- switch(tokenStr){
|
|
|
+ switch (tokenStr) {
|
|
|
case undefined:
|
|
|
if (to.meta.title) {
|
|
|
document.title = to.meta.title;
|
|
|
}
|
|
|
- next({name:'Login',params:{ redirect:to.fullPath}})
|
|
|
+ next({ name: 'Login', params: { redirect: to.fullPath } })
|
|
|
break
|
|
|
default:
|
|
|
if (to.meta.title) {
|