system.js 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. import LayoutMain from '@/framework/layout/Main'
  2. import MsgAllDetails from "@/framework/components/messagesever/msgAllDetails"
  3. import Dasboard from '@/views/dasboard'
  4. /**项目管理 */
  5. import projectAdm from '@/views/platfrom/project'
  6. import userAdm from '@/views/platfrom/user'
  7. import roleAdm from '@/views/platfrom/role'
  8. /**前期准备 */
  9. import buildFloor from '@/views/ready/buildfloor'
  10. import collectsetting from '@/views/ready/collectsetting'
  11. import buildUser from '@/views/ready/appuser'
  12. import repetitionGraphy from '@/views/ready/buildfloor/repetitionGraphy'
  13. /**模型管理 */
  14. import modelFile from '@/views/model/file'
  15. import pathControl from '@/views/model/file/pathcontrol'
  16. import modelReport from '@/views/model/report'
  17. import deleted from '@/views/model/report/deleted'
  18. import supplement from '@/views/model/report/supplement'
  19. /**系统集成 */
  20. import pointConfig from '@/views/point/config_point'
  21. import editDataSouce from '@/views/point/config_point/edit_origin'
  22. import pointSteps from '@/views/point/config_point/steps'
  23. import objectData from '@/views/point/objectData'
  24. import integrateReport from '@/views/point/report'
  25. import dynamicdata from '@/views/point/dynamicdata'
  26. import equipRela from '@/views/point/dynamicdata/addRelation/equipRela'
  27. import partsRela from '@/views/point/dynamicdata/addRelation/partsRela'
  28. import systemRela from '@/views/point/dynamicdata/addRelation/systemRela'
  29. import spaceRela from '@/views/point/dynamicdata/addRelation/spaceRela'
  30. import buildRela from '@/views/point/dynamicdata/addRelation/buildRela'
  31. import floorRela from '@/views/point/dynamicdata/addRelation/floorRela'
  32. import tenantRela from '@/views/point/dynamicdata/addRelation/tenantRela'
  33. import projectRela from '@/views/point/dynamicdata/addRelation/projectRela'
  34. /** 扫楼作业 */
  35. import buildTask from '@/views/data_admin/buildTask'
  36. import addDeviceTask from '@/views/data_admin/buildTask/addTask/addDeviceTask'
  37. import addAssetsTask from '@/views/data_admin/buildTask/addTask/addAssetsTask'
  38. import addModelTask from '@/views/data_admin/buildTask/addTask/addModelTask'
  39. import buildAssets from '@/views/data_admin/buildAssets'
  40. import report from '@/views/data_admin/buildAssets/report'
  41. import buildLog from '@/views/data_admin/buildLog'
  42. import buildData from '@/views/data_admin/buildData/index-2.vue'
  43. import buildGraphy from '@/views/data_admin/buildGraphy'
  44. import updatePointZone from '@/views/data_admin/buildGraphy/updatePointZone'
  45. import createPointZone from '@/views/data_admin/buildGraphy/createPointZone'
  46. /** 台账管理 */
  47. import systemLedger from '@/views/ledger/system'
  48. import systemadd from '@/views/ledger/system/addsystem'
  49. import systemDetail from '@/views/ledger/system/systemDetail'
  50. import facilityLedger from '@/views/ledger/facility'
  51. import deviceDetails from "@/views/ledger/facility/details";
  52. import propertyDetails from "@/views/ledger/property/details";
  53. import partsLedger from '@/views/ledger/facility/parts'
  54. import partsmanageLedger from '@/views/ledger/facility/partsmanage'
  55. import partsadd from '@/views/ledger/facility/partsmanage/addparts'
  56. import deviceadd from '@/views/ledger/facility/addfacility'
  57. import propertyadd from '@/views/ledger/property/addproperty'
  58. import propertyLedger from '@/views/ledger/property'
  59. import spacelist from '@/views/ledger/spacelist' //业务空间台账
  60. import addPropertys from '@/views/ledger/property/addpropertys' //根据未关联资产的设备或部件批量创建设备
  61. import batchlinkAssets from '@/views/ledger/facility/batchlink' //批量关联资产
  62. import cenotelist from '@/views/ledger/cenotelist' //竖井清单
  63. import cenoteadd from '@/views/ledger/cenotelist/cenoteadd' //添加竖井
  64. import spaceadd from '@/views/ledger/spacelist/spaceadd' //添加业务空间
  65. import cenoteDetail from '@/views/ledger/cenotelist/cenoteDetail' //竖井关系详情
  66. import rentlist from '@/views/ledger/rentlist' //租户清单
  67. import manageTenantZone from '@/views/ledger/rentlist/manageTenantZone' //租户清单
  68. import rentadd from '@/views/ledger/rentlist/rentadd' //租户清单
  69. import dataReport from '@/views/ledger/report'
  70. import auth from '@/views/system/auth'
  71. import noUser from '@/views/system/nouser'
  72. import spaceDetail from '@/views/ledger/spacelist/spaceDetail'
  73. import relatedSpace from '@/views/ledger/cenotelist/relatedSpace'
  74. /** 关系维护并计算 */
  75. import maintain from '@/views/relation/maintain'
  76. import overView from '@/views/relation/overview'
  77. import relationShip from '@/views/relation/relationShip'
  78. import relationDetail from '@/views/relation/overview/detail'
  79. import data from '@/views/relation/data'
  80. import datatable from '@/views/relation/datatable'
  81. /** 厂家库 */
  82. /** 辅助屏 */
  83. import splitScreen from '@/views/screen/splitScreen'
  84. import spaceLedger from '@/views/screen/splitScreen/spaceledger'
  85. import equipLedger from '@/views/screen/splitScreen/equipledger'
  86. import integrateResults from '@/views/screen/splitScreen/integrateresults'
  87. /** 业务空间数据导入工具 */
  88. import dataUtil from '@/views/business_space/dataUtil/index'
  89. import dataUtil2 from '@/views/business_space/dataUtil/index2'
  90. import checkJsonUtil from '@/views/business_space/dataUtil/checkJsonUtil'
  91. import topology from '@/views/business_space/dataUtil/topology'
  92. /**市场及商务 */
  93. const OwnerManage = () =>
  94. import ('@/views/market/owner/manage')
  95. export default [{
  96. path: '/',
  97. name: '',
  98. component: LayoutMain,
  99. children: [
  100. { path: '', name: 'blank', component: Dasboard },
  101. { path: 'allDetails', name: "allDetails", component: MsgAllDetails, meta: { keepAlive: false, breadcrumbs: [{ label: '消息中心' }] } }
  102. ]
  103. },
  104. //{ path: '/login', name: 'Login', component: Login },
  105. { path: '/auth', name: 'auth', component: auth },
  106. { path: '/noUser', name: 'noUser', component: noUser },
  107. // 业务空间数据导入工具
  108. {
  109. path: '/dataUtil',
  110. name: 'dataUtil',
  111. component: LayoutMain,
  112. children: [
  113. { path: 'index', component: dataUtil },
  114. { path: 'index2', component: dataUtil2 },
  115. { path: 'checkJsonUtil', component: checkJsonUtil },
  116. { path: 'topology', component: topology },
  117. ]
  118. },
  119. // 辅助屏
  120. {
  121. path: '/splitScreen',
  122. name: 'splitScreen',
  123. component: splitScreen,
  124. children: [
  125. { path: 'spaceledger', name: 'spaceLedger', component: spaceLedger },
  126. { path: 'equipledger', name: 'equipLedger', component: equipLedger },
  127. { path: 'integrateresults', name: 'integrateResults', component: integrateResults }
  128. ]
  129. },
  130. // 平台管理
  131. {
  132. path: '/platform',
  133. name: 'LayoutMain',
  134. component: LayoutMain,
  135. children: [
  136. { path: 'project', name: 'projectAdm', component: projectAdm, meta: { keepAlive: false, breadcrumbs: [{ label: '项目管理' }] } },
  137. { path: 'user', name: 'userAdm', component: userAdm, meta: { keepAlive: false, breadcrumbs: [{ label: '人员管理' }] } },
  138. { path: 'role', name: 'roleAdm', component: roleAdm, meta: { keepAlive: false, breadcrumbs: [{ label: '角色管理' }] } }
  139. ]
  140. },
  141. // 前期准备
  142. {
  143. path: '/ready',
  144. name: 'LayoutMain',
  145. component: LayoutMain,
  146. children: [
  147. { path: 'buildfloor', name: 'buildFloor', component: buildFloor, meta: { keepAlive: false, breadcrumbs: [{ label: '建筑楼层管理' }] } },
  148. // { path: 'buildfloor', name: 'buildFloor', component: Dasboard, meta: { keepAlive: false, breadcrumbs: [{ label: '建筑楼层管理' }] } },
  149. { path: 'collectsetting', name: 'collectsetting', component: collectsetting, meta: { keepAlive: false, breadcrumbs: [{ label: '需采集的信息点' }] } },
  150. { path: 'appuser', name: 'buildUser', component: buildUser, meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼App用户管理' }] } },
  151. { path: 'repetitionGraphy', name: 'repetitionGraphy', component: repetitionGraphy, meta: { keepAlive: false, breadcrumbs: [{ label: '建筑楼层管理', path: '/ready/buildfloor' }, { label: '平面图维护' }] } }
  152. ]
  153. },
  154. //模型管理
  155. {
  156. path: '/model',
  157. name: 'LayoutMain',
  158. component: LayoutMain,
  159. children: [
  160. { path: '', name: 'modelFile', component: modelFile },
  161. {
  162. path: 'file',
  163. name: 'modelFile',
  164. // component: Dasboard,
  165. component: modelFile,
  166. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型文件管理' }] }
  167. },
  168. {
  169. path: 'path',
  170. name: 'pathControl',
  171. component: pathControl,
  172. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型文件管理', path: '/model/file' }, { label: '模型后台处理监控' }] }
  173. },
  174. {
  175. path: 'report',
  176. name: 'modelReport',
  177. component: modelReport,
  178. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型质量报告' }] }
  179. },
  180. ]
  181. },
  182. { path: '/model/report/deleted', name: 'deleted', component: deleted },
  183. { path: '/model/report/supplement', name: 'supplement', component: supplement },
  184. // 系统集成
  185. {
  186. path: '/point',
  187. name: 'LayoutMain',
  188. component: LayoutMain,
  189. children: [
  190. { path: '', name: 'pointConfig', component: pointConfig },
  191. {
  192. path: 'pointsetting',
  193. name: 'pointConfig',
  194. component: pointConfig,
  195. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '子系统点位接入' }] }
  196. },
  197. { path: 'editDataSouce', name: 'editDataSouce', component: editDataSouce },
  198. { path: 'pointSteps', name: 'pointSteps', component: pointSteps },
  199. {
  200. path: 'dynamicdata',
  201. name: 'dynamicdata',
  202. component: dynamicdata,
  203. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值' }] }
  204. },
  205. {
  206. path: 'equipRela',
  207. name: 'equipRela',
  208. component: equipRela,
  209. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  210. },
  211. {
  212. path: 'partsRela',
  213. name: 'partsRela',
  214. component: partsRela,
  215. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  216. },
  217. {
  218. path: 'systemRela',
  219. name: 'systemRela',
  220. component: systemRela,
  221. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  222. },
  223. {
  224. path: 'spaceRela',
  225. name: 'spaceRela',
  226. component: spaceRela,
  227. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  228. },
  229. {
  230. path: 'buildRela',
  231. name: 'buildRela',
  232. component: buildRela,
  233. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  234. },
  235. {
  236. path: 'floorRela',
  237. name: 'floorRela',
  238. component: floorRela,
  239. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  240. },
  241. {
  242. path: 'tenantRela',
  243. name: 'tenantRela',
  244. component: tenantRela,
  245. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  246. },
  247. {
  248. path: 'projectRela',
  249. name: 'projectRela',
  250. component: projectRela,
  251. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从点位取值', path: '/point/dynamicdata' }, { label: '处理未对应实例对象标识' }] }
  252. },
  253. {
  254. path: 'objectdata',
  255. name: 'objectData',
  256. component: objectData,
  257. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '配置动参从对象取值' }] }
  258. },
  259. {
  260. path: 'report',
  261. name: 'integrateReport',
  262. component: integrateReport,
  263. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '系统集成成果管理' }] }
  264. }
  265. ]
  266. },
  267. //扫楼数据管理
  268. {
  269. path: '/floor',
  270. name: 'LayoutMain',
  271. component: LayoutMain,
  272. children: [
  273. { path: '', name: 'buildTask', component: buildTask },
  274. {
  275. path: 'task',
  276. name: 'buildTask',
  277. component: buildTask,
  278. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场任务管理' }] }
  279. },
  280. {
  281. path: 'addDeviceTask',
  282. name: 'addDeviceTask',
  283. component: addDeviceTask,
  284. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场任务管理', path: '/floor/task' }, { label: '现场验证设备台账' }] }
  285. },
  286. {
  287. path: 'addAssetsTask',
  288. name: 'addAssetsTask',
  289. component: addAssetsTask,
  290. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场任务管理', path: '/floor/task' }, { label: '现场验证资产台账' }] }
  291. },
  292. {
  293. path: 'addModelTask',
  294. name: 'addModelTask',
  295. component: addModelTask,
  296. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场任务管理', path: '/floor/task' }, { label: '现场验证模型' }] }
  297. },
  298. {
  299. path: 'data',
  300. name: 'buildData',
  301. component: buildData,
  302. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场数据整理', path: '/floor/data' }, { label: '信息点整理' }] }
  303. },
  304. {
  305. path: 'plan',
  306. name: 'buildGraphy',
  307. component: buildGraphy,
  308. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场数据整理', path: '/floor/data' }, { label: '位置标签整理' }] }
  309. },
  310. {
  311. path: 'abnormalprop',
  312. name: 'buildAssets',
  313. component: buildAssets,
  314. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '扫楼报告' }] }
  315. },
  316. {
  317. path: 'report',
  318. name: 'report',
  319. component: report,
  320. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' },{ label: '扫楼报告', path: '/floor/abnormalprop' }, { label: '报告', path: '/floor/report' }] }
  321. },
  322. {
  323. path: 'log',
  324. name: 'buildLog',
  325. component: buildLog,
  326. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '扫楼日志查看' }] }
  327. },
  328. {
  329. path: 'updatePointZone',
  330. name: 'updatePointZone',
  331. component: updatePointZone,
  332. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场数据整理', path: '/floor/data' }, { label: '位置标签整理', path: '/floor/plan' }, { label: '维护业务空间信息' }] }
  333. },
  334. {
  335. path: 'createPointZone',
  336. name: 'createPointZone',
  337. component: createPointZone,
  338. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor' }, { label: '现场数据整理', path: '/floor/data' }, { label: '位置标签整理', path: '/floor/plan' }, { label: '创建业务空间' }] }
  339. }
  340. ]
  341. },
  342. //台账管理
  343. {
  344. path: '/ledger',
  345. name: 'LayoutMain',
  346. component: LayoutMain,
  347. children: [
  348. {path: '', name: 'Dasboard', component: Dasboard},
  349. {
  350. path: 'facility',
  351. name: 'facilityLedger',
  352. component: facilityLedger,
  353. meta: {keepAlive: false, breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {label: '设备台账'}]}
  354. },
  355. {
  356. path: 'deviceDetails',
  357. name: 'deviceDetails',
  358. component: deviceDetails,
  359. meta: {
  360. keepAlive: false,
  361. breadcrumbs: [
  362. {label: '台账管理', path: '/ledger/facility'},
  363. {label: '设备台账', path: '/ledger/facility'},
  364. {label: '台账详情'}
  365. ]
  366. }
  367. },
  368. {
  369. path: 'parts',
  370. name: 'partsLedger',
  371. component: partsLedger,
  372. meta: {keepAlive: false, breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {label: '包含的部件'}]}
  373. },
  374. {
  375. path: 'partsmanage',
  376. name: 'partsmanageLedger',
  377. component: partsmanageLedger,
  378. meta: {keepAlive: false, breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {label: '管理部件'}]},
  379. },
  380. {
  381. path: 'partsadd',
  382. name: 'partsadd',
  383. component: partsadd,
  384. meta: {
  385. keepAlive: false,
  386. breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {
  387. label: '设备台账',
  388. path: '/ledger/facility'
  389. }, {label: '添加部件'}]
  390. },
  391. },
  392. {
  393. path: 'deviceadd',
  394. name: 'deviceadd',
  395. component: deviceadd,
  396. meta: {keepAlive: false,
  397. breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {
  398. label: '设备台账',
  399. path: '/ledger/facility'
  400. }, {label: '添加设备'}]
  401. }
  402. },
  403. {
  404. path: 'batchlinkAssets',
  405. name: 'batchlinkAssets',
  406. component: batchlinkAssets,
  407. meta: {keepAlive: false,
  408. breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {
  409. label: '设备台账',
  410. path: '/ledger/facility'
  411. }, {label: '批量关联资产'}]
  412. }
  413. },
  414. {
  415. path: 'property',
  416. name: 'propertyLedger',
  417. component: propertyLedger,
  418. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '资产台账' }] }
  419. },
  420. {
  421. path: 'propertyDetails',
  422. name: 'propertyDetails',
  423. component: propertyDetails,
  424. meta: {
  425. keepAlive: false,
  426. breadcrumbs: [
  427. {label: '台账管理', path: '/ledger/facility'},
  428. {label: '资产台账', path: '/ledger/property'},
  429. {label: '资产详情'}
  430. ]
  431. }
  432. },
  433. {
  434. path: 'propertyadd',
  435. name: 'propertyadd',
  436. component: propertyadd,
  437. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '资产台账', path: '/ledger/property' }, { label: '添加资产' }] }
  438. },
  439. {
  440. path: 'addPropertys',
  441. name: 'addPropertys',
  442. component: addPropertys,
  443. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '资产台账', path: '/ledger/property' }, { label: '批量创建' }] }
  444. },
  445. {
  446. path: 'list',
  447. name: 'systemlist',
  448. component: systemLedger,
  449. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '系统台账' }] }
  450. },
  451. {
  452. path: 'systemDetail',
  453. name: 'systemDetail',
  454. component: systemDetail,
  455. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '系统台账', path: '/ledger/facility' }, { label: '系统详情' }] }
  456. },
  457. {
  458. path: 'systemadd',
  459. name: 'systemadd',
  460. component: systemadd,
  461. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '系统台账', path: '/ledger/list' }, { label: '添加系统' }] }
  462. },
  463. {
  464. path: 'spacelist',
  465. name: 'spacelist',
  466. component: spacelist,
  467. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '业务空间台账' }] }
  468. },
  469. {
  470. path: 'spaceDetail',
  471. name: 'spaceDetail',
  472. component: spaceDetail,
  473. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '业务空间台账', path: '/ledger/spacelist' }, { label: '业务空间详情' }] }
  474. },
  475. {
  476. path: 'spaceadd',
  477. name: 'spaceadd',
  478. component: spaceadd,
  479. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '业务空间台账', path: '/ledger/spacelist' }, { label: '添加业务空间' }] }
  480. },
  481. {
  482. path: 'cenotelist',
  483. name: 'cenotelist',
  484. component: cenotelist,
  485. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井台账' }] }
  486. },
  487. {
  488. path: 'cenoteadd',
  489. name: 'cenoteadd',
  490. component: cenoteadd,
  491. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井台账', path: '/ledger/cenotelist' }, { label: '添加竖井' }] }
  492. },
  493. {
  494. path: 'cenoteDetail',
  495. name: 'cenoteDetail',
  496. component: cenoteDetail,
  497. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井台账', path: '/ledger/cenotelist' }, { label: '竖井关系详情' }] }
  498. }, {
  499. path: 'relatedSpace',
  500. name: 'relatedSpace',
  501. component: relatedSpace,
  502. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井台账', path: '/ledger/cenotelist' }, { label: '竖井关联的业务空间' }] }
  503. },
  504. {
  505. path: 'rentlist',
  506. name: 'rentlist',
  507. component: rentlist,
  508. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '租户台账' }] }
  509. },
  510. {
  511. path: 'rentadd',
  512. name: 'rentadd',
  513. component: rentadd,
  514. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '租户台账', path: '/ledger/rentlist' }, { label: '添加租户' }] }
  515. },
  516. {
  517. path: 'manageTenantZone',
  518. name: 'manageTenantZone',
  519. component: manageTenantZone,
  520. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '租户台账', path: '/ledger/rentlist' }, { label: '管理租赁空间' }] }
  521. },
  522. {
  523. path: 'datareport',
  524. name: 'dataReport',
  525. component: dataReport,
  526. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '数据质量报告' }] }
  527. }
  528. ]
  529. },
  530. /******************** 关系维护并计算 ***************************/
  531. //关系维护
  532. {
  533. path: '/relation',
  534. name: 'LayoutMain',
  535. component: LayoutMain,
  536. children: [
  537. { path: 'maintain', name: 'maintain', component: maintain, meta: { keepAlive: false, breadcrumbs: [{ label: '关系维护' }] } },
  538. { path: 'overview', name: 'overView', component: overView, meta: { keepAlive: false, breadcrumbs: [{ label: '关系维护计算' },{ label: '全部关系总览' }] } },
  539. { path: 'relationShip', name: 'relationShip', component: relationShip, meta: { keepAlive: false, breadcrumbs: [{ label: '关系维护计算' },{ label: '全部关系总览' }] } },
  540. { path: 'relationDetail', name: 'relationDetail', component: relationDetail, meta: { keepAlive: false, breadcrumbs: [{ label: '关系维护计算' },{ label: '关系详情' }] } },
  541. { path: 'data', name: 'data', component: data, meta: { keepAlive: false, breadcrumbs: [{ label: '项目数据转换',path:'/relation/data' },{ label: '项目数据转换',path:'/relation/data' }] } },
  542. { path: 'datatable', name: 'datatable', component: datatable}
  543. ]
  544. },
  545. /******************** 通用字典 ***************************/
  546. //厂家库
  547. // {
  548. // path: '/manufactor',
  549. // name: 'LayoutMain',
  550. // component: LayoutMain,
  551. // children: [
  552. // { path: 'supplier', name: 'supplier', component: supplier, meta: { keepAlive: false, breadcrumbs: [{ label: '厂家库' }] }}
  553. // ]
  554. // },
  555. //业务空间管理
  556. // {
  557. // path: '/business',
  558. // name: 'LayoutMain',
  559. // component: LayoutMain,
  560. // children: [
  561. // { path: '', name: 'Dasboard', component: Dasboard },
  562. // {
  563. // path: 'spacelist',
  564. // name: 'spacelist',
  565. // component: spacelist,
  566. // meta: { keepAlive: false, breadcrumbs: [{ label: '业务空间管理', path: '/business/spacelist' }, { label: '业务空间清单' }] }
  567. // }
  568. // ]
  569. // },
  570. //租户管理
  571. // {
  572. // path: '/rent',
  573. // name: 'LayoutMain',
  574. // component: LayoutMain,
  575. // children: [
  576. // { path: '', name: 'Dasboard', component: Dasboard },
  577. // {
  578. // path: 'rentlist',
  579. // name: 'rentlist',
  580. // component: rentlist,
  581. // meta: { keepAlive: false, breadcrumbs: [{ label: '租户管理', path: '/rent/rentlist' }, { label: '租户清单' }] }
  582. // },
  583. // {
  584. // path: 'rentadd',
  585. // name: 'rentadd',
  586. // component: rentadd,
  587. // meta: { keepAlive: false, breadcrumbs: [{ label: '租户管理', path: '/rent/rentlist' }, { label: '租户清单', path: '/rent/rentlist' }, { label: '添加租户' }] }
  588. // }
  589. // ]
  590. // },
  591. //系统管理
  592. // {
  593. // path: '/system',
  594. // name: 'LayoutMain',
  595. // component: LayoutMain,
  596. // children: [{
  597. // path: 'list',
  598. // name: 'systemlist',
  599. // component: systemLedger,
  600. // meta: { keepAlive: false, breadcrumbs: [{ label: '系统管理', path: '/system/list' }, { label: '系统清单' }] }
  601. // },
  602. // {
  603. // path: 'systemadd',
  604. // name: 'systemadd',
  605. // component: systemadd,
  606. // meta: { keepAlive: false, breadcrumbs: [{ label: '系统管理', path: '/system/list' }, { label: '系统清单', path: '/system/list' }, { label: '添加系统' }] }
  607. // },
  608. // ]
  609. // },
  610. //项目化配置
  611. // {
  612. // path: '/proj',
  613. // name: 'LayoutMain',
  614. // component: LayoutMain,
  615. // children: [
  616. // { path: '', name: 'Dasboard', component: Dasboard },
  617. // {
  618. // path: 'custominfo',
  619. // name: 'Dasboard',
  620. // component: Dasboard,
  621. // meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '自定义信息点' }] }
  622. // },
  623. // {
  624. // path: 'collectsetting',
  625. // name: 'collectsetting',
  626. // component: collectsetting,
  627. // meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '项目需采集的信息点' }] }
  628. // },
  629. // {
  630. // path: 'floorinfo',
  631. // name: 'Dasboard',
  632. // component: Dasboard,
  633. // meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '楼层信息管理' }] }
  634. // }
  635. // ]
  636. // },
  637. //环境调节
  638. {
  639. path: '/environment',
  640. name: 'LayoutMain',
  641. component: LayoutMain,
  642. children: [
  643. { path: '', name: 'Dasboard', component: Dasboard },
  644. { path: 'envlist', name: 'Dasboard', component: Dasboard }
  645. ]
  646. },
  647. //市场及商务
  648. {
  649. path: '/market',
  650. name: 'LayoutMain',
  651. component: LayoutMain,
  652. children: [
  653. { path: '', name: 'Dasboard', component: Dasboard },
  654. { path: 'own', name: 'Dasboard', component: OwnerManage }
  655. ]
  656. }
  657. ]