system.js 11 KB

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