system.js 11 KB

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