system.js 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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: [
  36. { path: '', name: 'blank', component: Dasboard }]},
  37. { path: '/login', name: 'Login', component: Login },
  38. // 报警设置
  39. // {
  40. // path: '/alarmconfig',
  41. // name: 'LayoutMain',
  42. // component: LayoutMain,
  43. // children: [
  44. // { path: '', name: 'Dasboard', component: Dasboard },
  45. // { path: 'projsetting', name: 'Dasboard', component: ProjAlarm },
  46. // { path: 'projnotice', name: 'Dasboard', component: ProjNotice },
  47. // { path: 'staffsetting', name: 'Dasboard', component: StaffSetting }
  48. // ]
  49. // },
  50. // 与FM相关设置
  51. // {
  52. // path: '/fm',
  53. // name: 'LayoutMain',
  54. // component: LayoutMain,
  55. // children: [
  56. // { path: '', name: 'Dasboard', component: Dasboard },
  57. // { path: 'sopsetting', name: 'Dasboard', component: ProjSop },
  58. // { path: 'rulesetting', name: 'Dasboard', component: ProjRules }
  59. // ]
  60. // },
  61. // 系统集成
  62. {
  63. path: '/point',
  64. name: 'LayoutMain',
  65. component: LayoutMain,
  66. children: [
  67. { path: '', name: 'pointConfig', component: pointConfig },
  68. {
  69. path: 'pointsetting',
  70. name: 'Dasboard',
  71. component: pointConfig,
  72. meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成' }, { label: '点位表配置工具' }] }
  73. },
  74. { path: 'editDataSouce', name: 'editDataSouce', component: editDataSouce },
  75. { path: 'pointSteps', name: 'pointSteps', component: pointSteps },
  76. { path: 'dynamicdata', name: 'dynamicdata', component: Dasboard }
  77. ]
  78. },
  79. //项目化配置
  80. {
  81. path: '/proj',
  82. name: 'LayoutMain',
  83. component: LayoutMain,
  84. children: [
  85. { path: '', name: 'Dasboard', component: Dasboard },
  86. { path: 'custominfo', name: 'Dasboard', component: Dasboard },
  87. { path: 'collectsetting', name: 'collectsetting', component: collectsetting },
  88. { path: 'floorinfo', name: 'Dasboard', component: Dasboard }
  89. ]
  90. },
  91. //模型管理
  92. {
  93. path: '/model',
  94. name: 'LayoutMain',
  95. component: LayoutMain,
  96. children: [
  97. { path: '', name: 'Dasboard', component: Dasboard },
  98. { path: 'file', name: 'Dasboard', component: Dasboard },
  99. { path: 'noentity', name: 'collectsetting', component: Dasboard },
  100. { path: 'beforemodel', name: 'Dasboard', component: Dasboard },
  101. { path: 'modelrule', name: 'Dasboard', component: Dasboard },
  102. { path: 'beacon', name: 'Dasboard', component: Dasboard }
  103. ]
  104. },
  105. //台账管理
  106. {
  107. path: '/ledger',
  108. name: 'LayoutMain',
  109. component: LayoutMain,
  110. children: [
  111. { path: '', name: 'Dasboard', component: Dasboard },
  112. { path: 'facility', name: 'facilityLedger', component: facilityLedger },
  113. { path: 'property', name: 'propertyLedger', component: propertyLedger },
  114. { path: 'cenotelist', name: 'Dasboard', component: Dasboard },
  115. { path: 'dimension', name: 'Dasboard', component: Dasboard },
  116. { path: 'rubbish', name: 'Dasboard', component: Dasboard },
  117. { path: 'updowncheck', name: 'Dasboard', component: Dasboard }
  118. ]
  119. },
  120. //业务空间管理
  121. {
  122. path: '/business',
  123. name: 'LayoutMain',
  124. component: LayoutMain,
  125. children: [
  126. { path: '', name: 'Dasboard', component: Dasboard },
  127. { path: 'spacelist', name: 'spacelist', component: spacelist }
  128. ]
  129. },
  130. //租户管理
  131. {
  132. path: '/rent',
  133. name: 'LayoutMain',
  134. component: LayoutMain,
  135. children: [
  136. { path: '', name: 'Dasboard', component: Dasboard },
  137. { path: 'rentlist', name: 'Dasboard', component: Dasboard }
  138. ]
  139. },
  140. //扫楼数据管理
  141. {
  142. path: '/floor',
  143. name: 'LayoutMain',
  144. component: LayoutMain,
  145. children: [
  146. { path: '', name: 'buildData', component: buildData },
  147. { path: 'data', name: 'buildData', component: buildData },
  148. { path: 'plan', name: 'buildGraphy', component: buildGraphy },
  149. { path: 'abnormalprop', name: 'buildAssets', component: buildAssets },
  150. {
  151. path: 'log',
  152. name: 'buildLog',
  153. component: buildLog,
  154. meta: { keepAlive: false, breadcrumbs: [{ label: '扫楼作业' }, { label: '扫楼日志查看' }] }
  155. },
  156. {
  157. path: 'appuser',
  158. name: 'buildUser',
  159. component: buildUser,
  160. meta: { keepAlive: false, breadcrumbs: [{ label: '项目基础设置' }, { label: '扫楼App用户管理' }] }
  161. }
  162. ]
  163. },
  164. //环境调节
  165. {
  166. path: '/environment',
  167. name: 'LayoutMain',
  168. component: LayoutMain,
  169. children: [
  170. { path: '', name: 'Dasboard', component: Dasboard },
  171. { path: 'envlist', name: 'Dasboard', component: Dasboard }
  172. ]
  173. },
  174. //市场及商务
  175. {
  176. path: '/market',
  177. name: 'LayoutMain',
  178. component: LayoutMain,
  179. children: [
  180. { path: '', name: 'Dasboard', component: Dasboard },
  181. { path: 'own', name: 'Dasboard', component: OwnerManage }
  182. ]
  183. },
  184. //系统管理
  185. {
  186. path: '/system',
  187. name: 'LayoutMain',
  188. component: LayoutMain,
  189. children: [{ path: 'list', name: 'systemlist', component: systemLedger }]
  190. }
  191. ]