system.js 11 KB

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