service.js 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. import request from '@/utils/request'
  2. //----------------------------------- 员工概况 -------------------------------
  3. // 获取员工类型
  4. export function getEmployeePieData(appOrg) {
  5. return request({
  6. url: '/large/employee/getEmployeePieData?appOrg='+ appOrg,
  7. method: 'get'
  8. })
  9. }
  10. // 获取入楼情况
  11. export function getEnterBuildData(appOrg) {
  12. return request({
  13. url: '/large/employee/getEnterBuildData?appOrg='+ appOrg,
  14. method: 'get'
  15. })
  16. }
  17. // 近一周人流量
  18. export function getPastWeekFlowData(appOrg) {
  19. return request({
  20. url: '/large/employee/getPastWeekFlowData?appOrg='+ appOrg,
  21. method: 'get'
  22. })
  23. }
  24. // 获取员工性别情况
  25. export function getSexChartData(appOrg) {
  26. return request({
  27. url: '/large/employee/getSexChartData?appOrg='+ appOrg,
  28. method: 'get'
  29. })
  30. }
  31. // 其他数据信息
  32. export function getEmployeeOtherData(appOrg) {
  33. return request({
  34. url: '/large/employee/getOtherData?appOrg='+ appOrg,
  35. method: 'get'
  36. })
  37. }
  38. //----------------------------------- 员工健康 -------------------------------
  39. // 健康服务
  40. export function getHealthData(appOrg) {
  41. return request({
  42. url: '/large/health/getHealthData?appOrg='+ appOrg,
  43. method: 'get'
  44. })
  45. }
  46. // 近12月大病发现数量
  47. export function getHealthIllnessBrokenData(appOrg) {
  48. return request({
  49. url: '/large/health/getHealthIllnessBrokenData?appOrg='+ appOrg,
  50. method: 'get'
  51. })
  52. }
  53. // 多发疾病排行
  54. export function getIllnessChartData(appOrg) {
  55. return request({
  56. url: '/large/health/getIllnessChartData?appOrg='+ appOrg,
  57. method: 'get'
  58. })
  59. }
  60. // 体检情况 柱形图
  61. export function getPhysicalChartData(appOrg) {
  62. return request({
  63. url: '/large/health/getPhysicalChartData?appOrg='+ appOrg,
  64. method: 'get'
  65. })
  66. }
  67. // 体检情况 饼图
  68. export function getPhysicalPieData(appOrg) {
  69. return request({
  70. url: '/large/health/getPhysicalPieData?appOrg='+ appOrg,
  71. method: 'get'
  72. })
  73. }
  74. //----------------------------------- 绿智食堂 -------------------------------
  75. //食堂概览
  76. export function getCanteenData(appOrg) {
  77. return request({
  78. url: '/large/smart/getCanteenData?appOrg='+ appOrg,
  79. method: 'get'
  80. })
  81. }
  82. //食堂服务满意度
  83. export function getCanteenScoreData(appOrg, canteen) {
  84. return request({
  85. url: '/large/smart/getCanteenScoreData?appOrg='+ appOrg + '&canteenName=' + canteen,
  86. method: 'get'
  87. })
  88. }
  89. //各食堂满意度排名
  90. export function getCanteenDegreeData(appOrg) {
  91. return request({
  92. url: '/large/smart/getCanteenDegreeData?appOrg='+ appOrg,
  93. method: 'get'
  94. })
  95. }
  96. //资质证件
  97. export function getQualificationData(appOrg, canteen) {
  98. return request({
  99. url: '/large/smart/getQualificationData?appOrg='+ appOrg + '&canteenName=' + canteen,
  100. method: 'get'
  101. })
  102. }
  103. //菜品信息
  104. export function getFoodData(appOrg) {
  105. return request({
  106. url: '/large/smart/getFoodData?appOrg='+ appOrg,
  107. method: 'get'
  108. })
  109. }
  110. //其他数据信息
  111. export function getOtherData(appOrg) {
  112. return request({
  113. url: '/large/smart/getOtherData?appOrg='+ appOrg,
  114. method: 'get'
  115. })
  116. }
  117. //食堂安全管理
  118. export function getSafetyData(appOrg) {
  119. return request({
  120. url: '/large/smart/getSafetyData?appOrg='+ appOrg,
  121. method: 'get'
  122. })
  123. }
  124. //绿智食堂参评情况
  125. export function geParticipateData(appOrg) {
  126. return request({
  127. url: '/large/smart/geParticipateData?appOrg='+ appOrg,
  128. method: 'get'
  129. })
  130. }
  131. //就餐情况
  132. export function getDiningPieData(appOrg) {
  133. return request({
  134. url: '/large/smart/getDiningPieData?appOrg='+ appOrg,
  135. method: 'get'
  136. })
  137. }
  138. //智慧食堂
  139. export function getSmartCanteenPieData(appOrg) {
  140. return request({
  141. url: '/large/smart/getSmartCanteenPieData?appOrg='+ appOrg,
  142. method: 'get'
  143. })
  144. }
  145. //员工服务
  146. export function getSmartEmployeePieData(appOrg) {
  147. return request({
  148. url: '/large/smart/getEmployeePieData?appOrg='+ appOrg,
  149. method: 'get'
  150. })
  151. }
  152. //电子餐券
  153. export function getElectronicVouchersData(appOrg) {
  154. return request({
  155. url: '/large/smart/getElectronicVouchersData?appOrg='+ appOrg,
  156. method: 'get'
  157. })
  158. }
  159. //食堂列表
  160. export function getCanteenNameList(appOrg) {
  161. return request({
  162. url: '/large/smart/getCanteenNameList?appOrg='+ appOrg,
  163. method: 'get'
  164. })
  165. }
  166. //菜谱列表
  167. export function getFoodsList(appOrg) {
  168. return request({
  169. url: '/large/smart/getFoodsList?appOrg='+ appOrg,
  170. method: 'get'
  171. })
  172. }
  173. //----------------------------------- 共享驿站 -------------------------------
  174. // 建设完成达标率
  175. export function getOverviewData(appOrg) {
  176. return request({
  177. url: '/large/property/getOverviewData?appOrg='+ appOrg,
  178. method: 'get'
  179. })
  180. }
  181. // 单位列表
  182. export function getSelfTestAndConsultation(appOrg) {
  183. return request({
  184. url: '/large/property/getSelfTestAndConsultation?appOrg='+ appOrg,
  185. method: 'get'
  186. })
  187. }
  188. //服务内容
  189. export function getPropertyList(appOrg) {
  190. return request({
  191. url: '/large/property/getPropertyList?appOrg='+ appOrg,
  192. method: 'get'
  193. })
  194. }
  195. //----------------------------------- 基础运行数据 -------------------------------
  196. // 数据概况
  197. export function getBasicOverviewData(appOrg) {
  198. return request({
  199. url: '/large/basics/getOverviewData?appOrg='+ appOrg,
  200. method: 'get'
  201. })
  202. }
  203. // 服务器
  204. export function getServerListData(appOrg) {
  205. return request({
  206. url: '/large/basics/getServerListData?appOrg='+ appOrg,
  207. method: 'get'
  208. })
  209. }
  210. // 系统运行峰值情况分析
  211. export function getSystemRunData(appOrg) {
  212. return request({
  213. url: '/large/basics/getSystemRunData?appOrg='+ appOrg,
  214. method: 'get'
  215. })
  216. }
  217. // 系统运行报警信息
  218. export function getSystemRunErrData(appOrg) {
  219. return request({
  220. url: '/large/basics/getSystemRunErrData?appOrg='+ appOrg,
  221. method: 'get'
  222. })
  223. }
  224. // 获取活跃top10公司
  225. export function getTopTenCompany(appOrg) {
  226. return request({
  227. url: '/large/basics/getTopTenCompany?appOrg='+ appOrg,
  228. method: 'get'
  229. })
  230. }
  231. //----------------------------------- 物业服务 -------------------------------
  232. // 数据概况
  233. export function getPostOverviewData(appOrg) {
  234. return request({
  235. url: '/large/post/getOverviewData?appOrg='+ appOrg,
  236. method: 'get'
  237. })
  238. }
  239. // 近一个月报修分类占比
  240. export function getPastMonthPieData(appOrg) {
  241. return request({
  242. url: '/large/post/getPastMonthPieData?appOrg='+ appOrg,
  243. method: 'get'
  244. })
  245. }
  246. // 近六个月报修订单分类
  247. export function getPastSixMonthChartsData(appOrg) {
  248. return request({
  249. url: '/large/post/getPastSixMonthChartsData?appOrg='+ appOrg,
  250. method: 'get'
  251. })
  252. }
  253. //一周车流量统计
  254. export function getCarFlowData(appOrg) {
  255. return request({
  256. url: '/large/post/getCarFlowData?appOrg='+ appOrg,
  257. method: 'get'
  258. })
  259. }
  260. /*-------------------能源占比-------------------*/
  261. //碳排放量月度变化趋势图
  262. export function carbonEmissionStatistics() {
  263. return request({
  264. url: '/large/build/carbonEmissionStatistics',
  265. method: 'get'
  266. })
  267. }
  268. //数据中心机房信息
  269. export function dataCenterRoom(appOrg) {
  270. return request({
  271. url: '/large/build/dataCenterRoom?appOrg='+ appOrg,
  272. method: 'get'
  273. })
  274. }
  275. //年度累计电耗
  276. export function electricityStatistics() {
  277. return request({
  278. url: '/large/build/electricityStatistics',
  279. method: 'get'
  280. })
  281. }
  282. export function powerForYear() {
  283. return request({
  284. url: '/large/build/powerForYear',
  285. method: 'get'
  286. })
  287. }
  288. //年度累计综合能耗
  289. export function energyForYear() {
  290. return request({
  291. url: '/large/build/energyForYear',
  292. method: 'get'
  293. })
  294. }
  295. export function energyStatistics() {
  296. return request({
  297. url: '/large/build/energyStatistics',
  298. method: 'get'
  299. })
  300. }
  301. //燃气用量信息
  302. export function gasInfo(appOrg) {
  303. return request({
  304. url: '/large/build/gasInfo?appOrg='+ appOrg,
  305. method: 'get'
  306. })
  307. }
  308. //可再生电力信息
  309. export function greenPowerInfo(appOrg) {
  310. return request({
  311. url: '/large/build/greenPowerInfo?appOrg='+ appOrg,
  312. method: 'get'
  313. })
  314. }
  315. //供暖能耗信息
  316. export function heatingEnergy(appOrg) {
  317. return request({
  318. url: '/large/build/heatingEnergy?appOrg='+ appOrg,
  319. method: 'get'
  320. })
  321. }
  322. //年度累计非供暖能耗
  323. export function nonHeatingEnergyForYear() {
  324. return request({
  325. url: '/large/build/nonHeatingEnergyForYear',
  326. method: 'get'
  327. })
  328. }
  329. export function usePowerStatistics() {
  330. return request({
  331. url: '/large/build/usePowerStatistics',
  332. method: 'get'
  333. })
  334. }
  335. //办公碳排放情况
  336. export function officeCarbonForYear() {
  337. return request({
  338. url: '/large/build/officeCarbonForYear',
  339. method: 'get'
  340. })
  341. }
  342. //月用电量信息
  343. export function powerForMonth() {
  344. return request({
  345. url: '/large/build/powerForMonth',
  346. method: 'get'
  347. })
  348. }
  349. //资源信息
  350. export function resourceInfo(appOrg) {
  351. return request({
  352. url: '/large/build/resourceInfo?appOrg='+ appOrg,
  353. method: 'get'
  354. })
  355. }
  356. //楼宇月用水电热信息
  357. export function useHeatGas(appOrg) {
  358. return request({
  359. url: '/large/build/useHeatGas?appOrg='+ appOrg,
  360. method: 'get'
  361. })
  362. }
  363. //年度累计水耗
  364. export function waterForYear() {
  365. return request({
  366. url: '/large/build/waterForYear',
  367. method: 'get'
  368. })
  369. }
  370. export function waterStatistics() {
  371. return request({
  372. url: '/large/build/waterStatistics',
  373. method: 'get'
  374. })
  375. }
  376. /*------------------办公能耗-------------------*/
  377. export function airOverview() {
  378. return request({
  379. url: '/large/first/air',
  380. method: 'get'
  381. })
  382. }
  383. /*视频*/
  384. //统一视频(工程现场监控)
  385. export function videoList(code) {
  386. return request({
  387. url: '/large/video/videoList?code=' + code,
  388. method: 'get'
  389. })
  390. }
  391. //视频流列表 各公司出入口监控
  392. export function monitorList(code) {
  393. return request({
  394. url: '/large/video/monitorList?code=' + code,
  395. method: 'get'
  396. })
  397. }
  398. //获取视频推流地址
  399. export function openCamera(code) {
  400. return request({
  401. url: '/large/video/openCamera?videoCode=' + code,
  402. method: 'get'
  403. })
  404. }