123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- import LayoutMain from '@/framework/layout/Main'
- import Login from '@/framework/layout/Login'
- import Dasboard from '@/views/dasboard'
- import UserList from '@/views/system/user/UserList'
- import RoleList from '@/views/system/role/RoleList'
- import ChangePwd from '@/views/system/pwd/ChangePwd'
- /**点位部分 */
- import pointConfig from '@/views/point/config_point'
- import editDataSouce from '@/views/point/config_point/edit_origin'
- import pointSteps from '@/views/point/config_point/steps'
- /**项目化配置 */
- import collectsetting from '@/views/project_setting/collection_setting/index'
- /** 业务空间 */
- import spacelist from '@/views/business_space/business_list'
- /** 扫楼数据整理 */
- import buildAssets from '@/views/data_admin/buildAssets'
- import buildLog from '@/views/data_admin/buildLog'
- import buildUser from '@/views/data_admin/buildUser'
- import buildData from '@/views/data_admin/buildData'
- import buildGraphy from '@/views/data_admin/buildGraphy'
- /**市场及商务 */
- const OwnerManage = () => import('@/views/market/owner/manage')
- /** 台账管理 */
- import systemLedger from '@/views/ledger/system/index'
- import dialogAssets from '@/views/ledger/system/addsystem'
- import facilityLedger from '@/views/ledger/facility/index'
- import dialogDevice from '@/views/ledger/facility/addfacility'
- import propertyLedger from '@/views/ledger/property/index'
- import dialogSystem from '@/views/ledger/property/addproperty'
- import auth from '@/views/system/auth'
- export default [
- { path: '/', name: '', component: LayoutMain, children: [{ path: '', name: 'blank', component: Dasboard }] },
- //{ path: '/login', name: 'Login', component: Login },
- { path: '/auth', name: 'auth', component: auth },
- // 系统集成
- {
- path: '/point',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'pointConfig', component: pointConfig },
- {
- path: 'pointsetting',
- name: 'Dasboard',
- component: pointConfig,
- meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '点位表配置工具' }] }
- },
- { path: 'editDataSouce', name: 'editDataSouce', component: editDataSouce },
- { path: 'pointSteps', name: 'pointSteps', component: pointSteps },
- {
- path: 'dynamicdata',
- name: 'dynamicdata',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '动态数据关联' }] }
- }
- ]
- },
- //项目化配置
- {
- path: '/proj',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- {
- path: 'custominfo',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '自定义信息点' }] }
- },
- {
- path: 'collectsetting',
- name: 'collectsetting',
- component: collectsetting,
- meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '项目需采集的信息点' }] }
- },
- {
- path: 'floorinfo',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '楼层信息管理' }] }
- }
- ]
- },
- //模型管理
- {
- path: '/model',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- {
- path: 'file',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型文件管理' }] }
- },
- {
- path: 'noentity',
- name: 'collectsetting',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '未实体化模型清单' }] }
- },
- {
- path: 'beforemodel',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '待建模清单' }] }
- },
- {
- path: 'modelrule',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '拓扑检查' }] }
- },
- {
- path: 'beacon',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '信标清单' }] }
- }
- ]
- },
- //台账管理
- {
- path: '/ledger',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- {
- path: 'facility',
- name: 'facilityLedger',
- component: facilityLedger,
- meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '设备清单' }] },
- },
- {
- path: 'facility/addfacility',
- name: 'dialogDevice',
- component: dialogDevice,
- },
- {
- path: 'property',
- name: 'propertyLedger',
- component: propertyLedger,
- meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '资产清单' }] }
- },
- {
- path: 'property/addproperty',
- name: 'dialogSystem',
- component: dialogSystem,
- },
- {
- path: 'cenotelist',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井清单' }] }
- },
- {
- path: 'dimension',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '元空间管理' }] }
- },
- {
- path: 'rubbish',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '垃圾数据检查' }] }
- },
- {
- path: 'updowncheck',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '上下级关系检查' }] }
- }
- ]
- },
- //业务空间管理
- {
- path: '/business',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- {
- path: 'spacelist',
- name: 'spacelist',
- component: spacelist,
- meta: { keepAlive: false, breadcrumbs: [{ label: '业务空间管理', path: '/business/spacelist' }, { label: '业务空间清单' }] }
- }
- ]
- },
- //租户管理
- {
- path: '/rent',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- {
- path: 'rentlist',
- name: 'Dasboard',
- component: Dasboard,
- meta: { keepAlive: false, breadcrumbs: [{ label: '租户管理', path: '/rent/rentlist' }, { label: '租户清单' }] }
- }
- ]
- },
- //扫楼数据管理
- {
- path: '/floor',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'buildData', component: buildData },
- {
- path: 'data',
- name: 'buildData',
- component: buildData,
- meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '扫楼数据管理' }] }
- },
- {
- path: 'plan',
- name: 'buildGraphy',
- component: buildGraphy,
- meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '楼层平面图管理' }] }
- },
- {
- path: 'abnormalprop',
- name: 'buildAssets',
- component: buildAssets,
- meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '异常资产清单' }] }
- },
- {
- path: 'log',
- name: 'buildLog',
- component: buildLog,
- meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '扫楼日志查看' }] }
- },
- {
- path: 'appuser',
- name: 'buildUser',
- component: buildUser,
- meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '扫楼App用户管理' }] }
- }
- ]
- },
- //环境调节
- {
- path: '/environment',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- { path: 'envlist', name: 'Dasboard', component: Dasboard }
- ]
- },
- //市场及商务
- {
- path: '/market',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- { path: '', name: 'Dasboard', component: Dasboard },
- { path: 'own', name: 'Dasboard', component: OwnerManage }
- ]
- },
- //系统管理
- {
- path: '/system',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [
- {
- path: 'list',
- name: 'systemlist',
- component: systemLedger,
- meta: { keepAlive: false, breadcrumbs: [{ label: '系统管理', path: '/system/list' }, { label: '系统清单' }] }
- },
- {
- path: '/system/list/addsystem',
- name: 'dialogAssets',
- component: dialogAssets,
- },
- ]
- }
- ]
|