123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- import { createWebHistory , createRouter } from 'vue-router'
- import Layout from '../layout/index.vue'
- import HomeView from '../views/home/index.vue'
- import PlanningHome from '../views/planning/home.vue'
- import HouseWorkbench from '../views/house/workbench/index.vue'
- import Consignor from '../views/house/workbench/consignor.vue'
- import Conditions from '../views/house/workbench/conditions.vue'
- import GuarantyResult from '../views/house/workbench/guarantyResult.vue'
- import FolderChild from '../views/house/folder/child.vue'
- import FolderParent from '../views/house/folder/parent.vue'
- import Folder from '../views/house/folder/index.vue'
- // 资产项目列表
- import AssetsFolder from '@/views/assets/folder/index.vue'
- import AssetsFolderParent from '@/views/assets/folder/parent.vue'
- import AssetsFolderChild from '@/views/assets/folder/child.vue'
- // 资产模板管理
- import AssetsTmpl from '@/views/assets/template/index.vue'
- import AssetsTmplMange from '@/views/assets/template/mange.vue'
- import AssetsCreateCalculateTmpl from '@/views/assets/template/createCalculate.vue'
- import AssetsCreateReportTmpl from '@/views/assets/template/createReport.vue'
- // 资产机器设备
- import AssetsEqptCalculateWorkbench from '@/views/assets/workbench/eqpt/calculate/index.vue'
- import AssetsEqptCalculateBaseInfo from '@/views/assets/workbench/eqpt/calculate/baseInfo.vue'
- import AssetsEqptCalculateImportInfo from '@/views/assets/workbench/eqpt/calculate/importInfo.vue'
- import AssetsEqptCalculateEqptBaseInfo from '@/views/assets/workbench/eqpt/calculate/eqptBaseInfo.vue'
- import AssetsEqptReportWorkbench from '@/views/assets/workbench/eqpt/report/index.vue'
- import AssetsEqptReportBaseInfo from '@/views/assets/workbench/eqpt/report/baseInfo.vue'
- import AssetsEqptReportEqptBaseInfo from '@/views/assets/workbench/eqpt/report/eqptBaseInfo.vue'
- // 资产债权
- import AssetsCRCalculateWorkbench from '@/views/assets/workbench/cr/calculate/index.vue'
- import AssetsCRCalculateBaseInfo from '@/views/assets/workbench/cr/calculate/baseInfo.vue'
- const routes = [
- {
- path: '/',
- redirect: '/home/index'
- },
- {
- path: '/home',
- redirect: '/home/index'
- },
- {
- path: '/home/house',
- redirect: '/home/house/parent'
- },
- {
- path: '/home/houseWorkbench',
- redirect: '/home/house/parent'
- },
- {
- path: '/home/assets',
- redirect: '/home/assets/parent'
- },
- {
- path: '/home/assets/template',
- redirect: '/home/assets/template/mange'
- },
- {
- path: '/home/assets/workbench/eqpt/calculate',
- redirect: '/home/assets/folder'
- },
- {
- path: '/home/assets/workbench/eqpt/report',
- redirect: '/home/assets/folder'
- },
- {
- path: '/home/assets/workbench/cr/calculate',
- redirect: '/home/assets/folder'
- },
- {
- path: '/home/assets/workbench/cr/report',
- redirect: '/home/assets/folder'
- },
- {
- path: '/home',
- component: Layout,
- name: 'home',
- meta: {
- title: '首页'
- },
- children: [
- {
- path: 'index',
- component: HomeView,
- name: 'homeIndex',
- },
- {
- path: 'planning',
- component: PlanningHome,
- name: 'planningIndex',
- meta: {
- title: '土地工作台'
- },
- },
- {
- path: 'house',
- component: Folder,
- name: 'folder',
- meta: {
- title: '房地产工作台'
- },
- children: [
- {
- path: 'parent',
- component: FolderParent,
- name: 'FolderParent',
- meta: {
- title: '项目'
- },
- },
- {
- path: 'folder',
- component: FolderChild,
- name: 'folderChild',
- meta: {
- title: '文件夹'
- },
- }
- ]
- },
- {
- path: 'houseWorkbench',
- component: HouseWorkbench,
- name: 'houseWorkbench',
- meta: {
- title: '房地产项目'
- },
- children: [
- {
- path: 'consignor',
- component: Consignor,
- name: 'consignor',
- meta: {
- title: '委托人函'
- },
- },
- {
- path: 'conditions',
- component: Conditions,
- name: 'conditions',
- meta: {
- title: '假设限制条件及使用说明'
- },
- },
- {
- path: 'guarantyResult',
- component: GuarantyResult,
- name: 'guarantyResult',
- meta: {
- title: '房地产抵押估价结果报告'
- },
- },
- ]
- },
- {
- path: 'assets',
- component: AssetsFolder,
- name: 'assetsFolder',
- meta: {
- title: '资产工作台'
- },
- children: [
- {
- path: 'parent',
- component: AssetsFolderParent,
- name: 'assetsFolderParent',
- meta: {
- title: '项目'
- },
- },
- {
- path: 'folder',
- component: AssetsFolderChild,
- name: 'assetsFolderChild',
- meta: {
- title: '文件夹'
- },
- },
- {
- path: 'template',
- component: AssetsTmpl,
- name: 'assetsTmpl',
- meta: {
- title: '模板管理'
- },
- children: [
- {
- path: 'mange',
- component: AssetsTmplMange,
- name: 'assetsTmplMange',
- // meta: {
- // title: '模板列表'
- // },
- },
- {
- path: 'create/calculate',
- component: AssetsCreateCalculateTmpl,
- name: 'assetsCreateCalculateTmpl',
- meta: {
- title: '创建测算表模板'
- },
- },
- {
- path: 'create/report',
- component: AssetsCreateReportTmpl,
- name: 'assetsCreateReportTmpl',
- meta: {
- title: '创建报告模板'
- },
- }
- ]
- },
- {
- path: 'workbench/eqpt/calculate',
- component: AssetsEqptCalculateWorkbench,
- name: 'assetsEqptCalculateWorkbench',
- meta: {
- title: '文件夹'
- },
- children: [
- {
- path: 'baseInfo',
- component: AssetsEqptCalculateBaseInfo,
- name: 'assetsEqptCalculateBaseInfo',
- meta: {
- title: '测算表基本信息'
- },
- },
- {
- path: 'importInfo',
- component: AssetsEqptCalculateImportInfo,
- name: 'assetsEqptCalculateimportInfo',
- meta: {
- title: '完善测算表信息'
- },
- },
- {
- path: 'eqptBaseInfo',
- component: AssetsEqptCalculateEqptBaseInfo,
- name: 'assetsEqptCalculateEqptBaseInfo',
- meta: {
- title: '生成测算表'
- },
- },
- ]
- },
- {
- path: 'workbench/eqpt/report',
- component: AssetsEqptReportWorkbench,
- name: 'assetsEqptReportWorkbench',
- meta: {
- title: '文件夹'
- },
- children: [
- {
- path: 'baseInfo',
- component: AssetsEqptReportBaseInfo,
- name: 'assetsEqptReportBaseInfo',
- meta: {
- title: '报告基本信息'
- },
- },
- {
- path: 'eqptBaseInfo',
- component: AssetsEqptReportEqptBaseInfo,
- name: 'assetsEqptReportEqptBaseInfo',
- meta: {
- title: '生成报告'
- },
- },
- ]
- }
- ],
- }
- ],
- },
- {
- path: '/showDoc',
- name: 'doc',
- component: () => import('../components/PageOffice/index.vue')
- }
- ]
- const router = createRouter({
- history: createWebHistory('/prod/'),
- routes,
- })
- export default router
|