system.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. import LayoutMain from '@/framework/layout/Main'
  2. import Login from '@/framework/layout/Login'
  3. import Dasboard from '@/views/dasboard'
  4. import UserList from '@/views/system/user/UserList'
  5. import RoleList from '@/views/system/role/RoleList'
  6. import ChangePwd from '@/views/system/pwd/ChangePwd'
  7. /**点位部分 */
  8. import pointConfig from '@/views/point/config_point'
  9. import editDataSouce from '@/views/point/config_point/edit_origin'
  10. import pointSteps from '@/views/point/config_point/steps'
  11. /**项目化配置 */
  12. import collectsetting from '@/views/project_setting/collection_setting/index'
  13. /**模型管理 */
  14. import modelFile from '@/views/model/file/index'
  15. /** 业务空间 */
  16. import spacelist from '@/views/business_space/business_list'
  17. /** 扫楼数据整理 */
  18. import buildAssets from '@/views/data_admin/buildAssets'
  19. import buildLog from '@/views/data_admin/buildLog'
  20. import buildUser from '@/views/data_admin/buildUser'
  21. import buildData from '@/views/data_admin/buildData'
  22. import buildGraphy from '@/views/data_admin/buildGraphy'
  23. /**市场及商务 */
  24. const OwnerManage = () =>
  25. import ('@/views/market/owner/manage')
  26. /** 台账管理 */
  27. import systemLedger from '@/views/ledger/system/index'
  28. import addsystem from '@/views/ledger/system/addsystem'
  29. import facilityLedger from '@/views/ledger/facility/index'
  30. import partsLedger from '@/views/ledger/facility/parts/index'
  31. import partsmanageLedger from '@/views/ledger/facility/partsmanage/index'
  32. import addparts from '@/views/ledger/facility/partsmanage/addparts/index'
  33. import deviceadd from '@/views/ledger/facility/addfacility'
  34. import propertyadd from '@/views/ledger/property/addproperty'
  35. import propertyLedger from '@/views/ledger/property/index'
  36. import dialogSystem from '@/views/ledger/property/addproperty'
  37. import cenotelist from '@/views/ledger/cenotelist/index' //竖井清单
  38. import cenoteadd from '@/views/ledger/cenotelist/cenoteadd/index' //添加竖井
  39. import auth from '@/views/system/auth'
  40. import noUser from '@/views/system/nouser'
  41. /** 租户管理 */
  42. import rentlist from '@/views/rent/rentlist/index'
  43. import rentadd from '@/views/rent/rentlist/rentadd/index'
  44. export default [
  45. { path: '/', name: '', component: LayoutMain, children: [{ path: '', name: 'blank', component: Dasboard }] },
  46. //{ path: '/login', name: 'Login', component: Login },
  47. { path: '/auth', name: 'auth', component: auth },
  48. { path: '/noUser', name: 'noUser', component: noUser },
  49. // 系统集成
  50. {
  51. path: '/point',
  52. name: 'LayoutMain',
  53. component: LayoutMain,
  54. children: [
  55. { path: '', name: 'pointConfig', component: pointConfig },
  56. {
  57. path: 'pointsetting',
  58. name: 'Dasboard',
  59. component: pointConfig,
  60. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '点位表配置工具' }] }
  61. },
  62. { path: 'editDataSouce', name: 'editDataSouce', component: editDataSouce },
  63. { path: 'pointSteps', name: 'pointSteps', component: pointSteps },
  64. {
  65. path: 'dynamicdata',
  66. name: 'dynamicdata',
  67. component: Dasboard,
  68. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '动态数据关联' }] }
  69. }
  70. ]
  71. },
  72. //项目化配置
  73. {
  74. path: '/proj',
  75. name: 'LayoutMain',
  76. component: LayoutMain,
  77. children: [
  78. { path: '', name: 'Dasboard', component: Dasboard },
  79. {
  80. path: 'custominfo',
  81. name: 'Dasboard',
  82. component: Dasboard,
  83. meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '自定义信息点' }] }
  84. },
  85. {
  86. path: 'collectsetting',
  87. name: 'collectsetting',
  88. component: collectsetting,
  89. meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '项目需采集的信息点' }] }
  90. },
  91. {
  92. path: 'floorinfo',
  93. name: 'Dasboard',
  94. component: Dasboard,
  95. meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '楼层信息管理' }] }
  96. }
  97. ]
  98. },
  99. //模型管理
  100. {
  101. path: '/model',
  102. name: 'LayoutMain',
  103. component: LayoutMain,
  104. children: [
  105. { path: '', name: 'Dasboard', component: Dasboard },
  106. {
  107. path: 'file',
  108. name: 'modelFile',
  109. component: modelFile,
  110. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型文件管理' }] }
  111. },
  112. {
  113. path: 'noentity',
  114. name: 'collectsetting',
  115. component: Dasboard,
  116. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '未实体化模型清单' }] }
  117. },
  118. {
  119. path: 'beforemodel',
  120. name: 'Dasboard',
  121. component: Dasboard,
  122. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '待建模清单' }] }
  123. },
  124. {
  125. path: 'modelrule',
  126. name: 'Dasboard',
  127. component: Dasboard,
  128. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '拓扑检查' }] }
  129. },
  130. {
  131. path: 'beacon',
  132. name: 'Dasboard',
  133. component: Dasboard,
  134. meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '信标清单' }] }
  135. }
  136. ]
  137. },
  138. //台账管理
  139. {
  140. path: '/ledger',
  141. name: 'LayoutMain',
  142. component: LayoutMain,
  143. children: [
  144. { path: '', name: 'Dasboard', component: Dasboard },
  145. {
  146. path: 'facility',
  147. name: 'facilityLedger',
  148. component: facilityLedger,
  149. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '设备清单' }] }
  150. },
  151. {
  152. path: 'parts',
  153. name: 'partsLedger',
  154. component: partsLedger,
  155. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '包含的部件' }] }
  156. },
  157. {
  158. path: 'partsmanage',
  159. name: 'partsmanageLedger',
  160. component: partsmanageLedger,
  161. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '管理部件' }] },
  162. },
  163. {
  164. path: 'addparts',
  165. name: 'addparts',
  166. component: addparts,
  167. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '设备清单', path: '/ledger/facility' }, { label: '添加部件' }] },
  168. },
  169. {
  170. path: 'deviceadd',
  171. name: 'deviceadd',
  172. component: deviceadd,
  173. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '设备清单', path: '/ledger/facility' }, { label: '添加设备' }] }
  174. },
  175. {
  176. path: 'property',
  177. name: 'propertyLedger',
  178. component: propertyLedger,
  179. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '资产清单' }] }
  180. },
  181. {
  182. path: 'propertyadd',
  183. name: 'propertyadd',
  184. component: propertyadd,
  185. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '资产清单', path: '/ledger/property' }, { label: '添加资产' }] }
  186. },
  187. {
  188. path: 'cenotelist',
  189. name: 'cenotelist',
  190. component: cenotelist,
  191. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井清单' }] }
  192. },
  193. {
  194. path: 'cenoteadd',
  195. name: 'cenoteadd',
  196. component: cenoteadd,
  197. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '竖井清单', path: '/ledger/cenotelist' }, { label: '添加竖井' }] }
  198. },
  199. {
  200. path: 'dimension',
  201. name: 'Dasboard',
  202. component: Dasboard,
  203. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '元空间管理' }] }
  204. },
  205. {
  206. path: 'rubbish',
  207. name: 'Dasboard',
  208. component: Dasboard,
  209. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '垃圾数据检查' }] }
  210. },
  211. {
  212. path: 'updowncheck',
  213. name: 'Dasboard',
  214. component: Dasboard,
  215. meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理', path: '/ledger/facility' }, { label: '上下级关系检查' }] }
  216. }
  217. ]
  218. },
  219. //业务空间管理
  220. {
  221. path: '/business',
  222. name: 'LayoutMain',
  223. component: LayoutMain,
  224. children: [
  225. { path: '', name: 'Dasboard', component: Dasboard },
  226. {
  227. path: 'spacelist',
  228. name: 'spacelist',
  229. component: spacelist,
  230. meta: { keepAlive: false, breadcrumbs: [{ label: '业务空间管理', path: '/business/spacelist' }, { label: '业务空间清单' }] }
  231. }
  232. ]
  233. },
  234. //租户管理
  235. {
  236. path: '/rent',
  237. name: 'LayoutMain',
  238. component: LayoutMain,
  239. children: [
  240. { path: '', name: 'Dasboard', component: Dasboard },
  241. {
  242. path: 'rentlist',
  243. name: 'rentlist',
  244. component: rentlist,
  245. meta: { keepAlive: false, breadcrumbs: [{ label: '租户管理', path: '/rent/rentlist' }, { label: '租户清单' }] }
  246. },
  247. {
  248. path: 'rentadd',
  249. name: 'rentadd',
  250. component: rentadd,
  251. meta: { keepAlive: false, breadcrumbs: [{ label: '租户管理', path: '/rent/rentlist' }, { label: '租户清单', path: '/rent/rentlist' }, { label: '添加租户' }] }
  252. }
  253. ]
  254. },
  255. //扫楼数据管理
  256. {
  257. path: '/floor',
  258. name: 'LayoutMain',
  259. component: LayoutMain,
  260. children: [
  261. { path: '', name: 'buildData', component: buildData },
  262. {
  263. path: 'data',
  264. name: 'buildData',
  265. component: buildData,
  266. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '扫楼数据管理' }] }
  267. },
  268. {
  269. path: 'plan',
  270. name: 'buildGraphy',
  271. component: buildGraphy,
  272. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '楼层平面图管理' }] }
  273. },
  274. {
  275. path: 'abnormalprop',
  276. name: 'buildAssets',
  277. component: buildAssets,
  278. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '异常资产清单' }] }
  279. },
  280. {
  281. path: 'log',
  282. name: 'buildLog',
  283. component: buildLog,
  284. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业', path: '/floor/data' }, { label: '扫楼日志查看' }] }
  285. },
  286. {
  287. path: 'appuser',
  288. name: 'buildUser',
  289. component: buildUser,
  290. meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置', path: '/proj/collectsetting' }, { label: '扫楼App用户管理' }] }
  291. }
  292. ]
  293. },
  294. //环境调节
  295. {
  296. path: '/environment',
  297. name: 'LayoutMain',
  298. component: LayoutMain,
  299. children: [
  300. { path: '', name: 'Dasboard', component: Dasboard },
  301. { path: 'envlist', name: 'Dasboard', component: Dasboard }
  302. ]
  303. },
  304. //市场及商务
  305. {
  306. path: '/market',
  307. name: 'LayoutMain',
  308. component: LayoutMain,
  309. children: [
  310. { path: '', name: 'Dasboard', component: Dasboard },
  311. { path: 'own', name: 'Dasboard', component: OwnerManage }
  312. ]
  313. },
  314. //系统管理
  315. {
  316. path: '/system',
  317. name: 'LayoutMain',
  318. component: LayoutMain,
  319. children: [{
  320. path: 'list',
  321. name: 'systemlist',
  322. component: systemLedger,
  323. meta: { keepAlive: false, breadcrumbs: [{ label: '系统管理', path: '/system/list' }, { label: '系统清单' }] }
  324. },
  325. {
  326. path: 'addsystem',
  327. name: 'addsystem',
  328. component: addsystem,
  329. meta: { keepAlive: false, breadcrumbs: [{ label: '系统管理', path: '/system/list' }, { label: '系统清单', path: '/system/list' }, { label: '添加系统' }] }
  330. },
  331. ]
  332. }
  333. ]