service.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041
  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 getCanteenStaff(appOrg) {
  91. return request({
  92. url: '/large/smart/getCanteenStaff?appOrg='+ appOrg,
  93. method: 'get'
  94. })
  95. }
  96. //各食堂满意度排名
  97. export function getCanteenDegreeData(appOrg) {
  98. return request({
  99. url: '/large/smart/getCanteenDegreeData?appOrg='+ appOrg,
  100. method: 'get'
  101. })
  102. }
  103. //资质证件
  104. export function getQualificationData(appOrg, canteen) {
  105. return request({
  106. url: '/large/smart/getQualificationData?appOrg='+ appOrg + '&canteenName=' + canteen,
  107. method: 'get'
  108. })
  109. }
  110. //菜品信息
  111. export function getFoodData(appOrg) {
  112. return request({
  113. url: '/large/smart/getFoodData?appOrg='+ appOrg,
  114. method: 'get'
  115. })
  116. }
  117. //其他数据信息
  118. export function getOtherData(appOrg) {
  119. return request({
  120. url: '/large/smart/getOtherData?appOrg='+ appOrg,
  121. method: 'get'
  122. })
  123. }
  124. //食堂安全管理
  125. export function getSafetyData(appOrg) {
  126. return request({
  127. url: '/large/smart/getSafetyData?appOrg='+ appOrg,
  128. method: 'get'
  129. })
  130. }
  131. //热销菜品排行
  132. export function getFoodRankData(appOrg) {
  133. return request({
  134. url: '/large/smart/getFoodRankData?appOrg='+ appOrg,
  135. method: 'get'
  136. })
  137. }
  138. //绿智食堂参评情况
  139. export function geParticipateData(appOrg) {
  140. return request({
  141. url: '/large/smart/geParticipateData?appOrg='+ appOrg,
  142. method: 'get'
  143. })
  144. }
  145. //就餐情况
  146. export function getDiningPieData(appOrg) {
  147. return request({
  148. url: '/large/smart/getDiningPieData?appOrg='+ appOrg,
  149. method: 'get'
  150. })
  151. }
  152. //智慧食堂
  153. export function getSmartCanteenPieData(appOrg) {
  154. return request({
  155. url: '/large/smart/getSmartCanteenPieData?appOrg='+ appOrg,
  156. method: 'get'
  157. })
  158. }
  159. //员工服务
  160. export function getSmartEmployeePieData(appOrg) {
  161. return request({
  162. url: '/large/smart/getEmployeePieData?appOrg='+ appOrg,
  163. method: 'get'
  164. })
  165. }
  166. //电子餐券
  167. export function getElectronicVouchersData(appOrg) {
  168. return request({
  169. url: '/large/smart/getElectronicVouchersData?appOrg='+ appOrg,
  170. method: 'get'
  171. })
  172. }
  173. //食堂列表
  174. export function getCanteenNameList(appOrg) {
  175. return request({
  176. url: '/large/smart/getCanteenNameList?appOrg='+ appOrg,
  177. method: 'get'
  178. })
  179. }
  180. //菜谱列表
  181. export function getFoodsList(appOrg) {
  182. return request({
  183. url: '/large/smart/getFoodsList?appOrg='+ appOrg,
  184. method: 'get'
  185. })
  186. }
  187. //----------------------------------- 共享驿站 -------------------------------
  188. // 建设完成达标率
  189. export function getOverviewData(appOrg) {
  190. return request({
  191. url: '/large/property/getOverviewData?appOrg='+ appOrg,
  192. method: 'get'
  193. })
  194. }
  195. // 单位列表
  196. export function getSelfTestAndConsultation(appOrg) {
  197. return request({
  198. url: '/large/property/getSelfTestAndConsultation?appOrg='+ appOrg,
  199. method: 'get'
  200. })
  201. }
  202. //服务内容
  203. export function getPropertyList(appOrg) {
  204. return request({
  205. url: '/large/property/getPropertyList?appOrg='+ appOrg,
  206. method: 'get'
  207. })
  208. }
  209. //----------------------------------- 基础运行数据 -------------------------------
  210. // 数据概况
  211. export function getBasicOverviewData(appOrg) {
  212. return request({
  213. url: '/large/basics/getOverviewData?appOrg='+ appOrg,
  214. method: 'get'
  215. })
  216. }
  217. // 服务器
  218. export function getServerListData(appOrg) {
  219. return request({
  220. url: '/large/basics/getServerListData?appOrg='+ appOrg,
  221. method: 'get'
  222. })
  223. }
  224. // 系统运行峰值情况分析
  225. export function getSystemRunData(appOrg) {
  226. return request({
  227. url: '/large/basics/getSystemRunData?appOrg='+ appOrg,
  228. method: 'get'
  229. })
  230. }
  231. // 系统运行报警信息
  232. export function getSystemRunErrData(appOrg) {
  233. return request({
  234. url: '/large/basics/getSystemRunErrData?appOrg='+ appOrg,
  235. method: 'get'
  236. })
  237. }
  238. // 获取活跃top10公司
  239. export function getTopTenCompany(appOrg) {
  240. return request({
  241. url: '/large/basics/getTopTenCompany?appOrg='+ appOrg,
  242. method: 'get'
  243. })
  244. }
  245. //----------------------------------- 物业服务 -------------------------------
  246. // 数据概况
  247. export function getPostOverviewData(appOrg) {
  248. return request({
  249. url: '/large/post/getOverviewData?appOrg='+ appOrg,
  250. method: 'get'
  251. })
  252. }
  253. // 近一个月报修分类占比
  254. export function getPastMonthPieData(appOrg) {
  255. return request({
  256. url: '/large/post/getPastMonthPieData?appOrg='+ appOrg,
  257. method: 'get'
  258. })
  259. }
  260. // 近六个月报修订单分类
  261. export function getPastSixMonthChartsData(appOrg) {
  262. return request({
  263. url: '/large/post/getPastSixMonthChartsData?appOrg='+ appOrg,
  264. method: 'get'
  265. })
  266. }
  267. //一周车流量统计
  268. export function getCarFlowData(appOrg) {
  269. return request({
  270. url: '/large/post/getCarFlowData?appOrg='+ appOrg,
  271. method: 'get'
  272. })
  273. }
  274. /*-------------------能源占比-------------------*/
  275. //碳排放量月度变化趋势图
  276. export function carbonEmissionStatistics() {
  277. return request({
  278. url: '/large/build/carbonEmissionStatistics',
  279. method: 'get'
  280. })
  281. }
  282. //数据中心机房信息
  283. export function dataCenterRoom(appOrg) {
  284. return request({
  285. url: '/large/build/dataCenterRoom?appOrg='+ appOrg,
  286. method: 'get'
  287. })
  288. }
  289. //年度累计电耗
  290. export function electricityStatistics() {
  291. return request({
  292. url: '/large/build/electricityStatistics',
  293. method: 'get'
  294. })
  295. }
  296. export function powerForYear() {
  297. return request({
  298. url: '/large/build/powerForYear',
  299. method: 'get'
  300. })
  301. }
  302. //年度累计综合能耗
  303. export function energyForYear() {
  304. return request({
  305. url: '/large/build/energyForYear',
  306. method: 'get'
  307. })
  308. }
  309. export function energyStatistics() {
  310. return request({
  311. url: '/large/build/energyStatistics',
  312. method: 'get'
  313. })
  314. }
  315. //燃气用量信息
  316. export function gasInfo(appOrg) {
  317. return request({
  318. url: '/large/build/gasInfo?appOrg='+ appOrg,
  319. method: 'get'
  320. })
  321. }
  322. //可再生电力信息
  323. export function greenPowerInfo(appOrg) {
  324. return request({
  325. url: '/large/build/greenPowerInfo?appOrg='+ appOrg,
  326. method: 'get'
  327. })
  328. }
  329. //供暖能耗信息
  330. export function heatingEnergy(appOrg) {
  331. return request({
  332. url: '/large/build/heatingEnergy?appOrg='+ appOrg,
  333. method: 'get'
  334. })
  335. }
  336. //年度累计非供暖能耗
  337. export function nonHeatingEnergyForYear() {
  338. return request({
  339. url: '/large/build/nonHeatingEnergyForYear',
  340. method: 'get'
  341. })
  342. }
  343. export function usePowerStatistics() {
  344. return request({
  345. url: '/large/build/usePowerStatistics',
  346. method: 'get'
  347. })
  348. }
  349. //办公碳排放情况
  350. export function officeCarbonForYear() {
  351. return request({
  352. url: '/large/build/officeCarbonForYear',
  353. method: 'get'
  354. })
  355. }
  356. //月用电量信息
  357. export function powerForMonth() {
  358. return request({
  359. url: '/large/build/powerForMonth',
  360. method: 'get'
  361. })
  362. }
  363. //资源信息
  364. export function resourceInfo(appOrg) {
  365. return request({
  366. url: '/large/build/resourceInfo?appOrg='+ appOrg,
  367. method: 'get'
  368. })
  369. }
  370. //楼宇月用水电热信息
  371. export function useHeatGas(appOrg) {
  372. return request({
  373. url: '/large/build/useHeatGas?appOrg='+ appOrg,
  374. method: 'get'
  375. })
  376. }
  377. //年度累计水耗
  378. export function waterForYear() {
  379. return request({
  380. url: '/large/build/waterForYear',
  381. method: 'get'
  382. })
  383. }
  384. export function waterStatistics() {
  385. return request({
  386. url: '/large/build/waterStatistics',
  387. method: 'get'
  388. })
  389. }
  390. /*------------------后勤资产-------------------*/
  391. // 楼宇各类资产占比
  392. export function building(appOrg) {
  393. return request({
  394. url: '/large/asset/building?appOrg='+ appOrg,
  395. method: 'get'
  396. })
  397. }
  398. // 服务各类资产占比
  399. export function service(appOrg) {
  400. return request({
  401. url: '/large/asset/service?appOrg='+ appOrg,
  402. method: 'get'
  403. })
  404. }
  405. // 办公各类资产占比
  406. export function office(appOrg) {
  407. return request({
  408. url: '/large/asset/office?appOrg='+ appOrg,
  409. method: 'get'
  410. })
  411. }
  412. // 资产存量
  413. export function stock(appOrg) {
  414. return request({
  415. url: '/large/asset/stock?appOrg='+ appOrg,
  416. method: 'get'
  417. })
  418. }
  419. // 2025年度资产新增数量
  420. export function scrap(appOrg) {
  421. return request({
  422. url: '/large/asset/scrap?appOrg='+ appOrg,
  423. method: 'get'
  424. })
  425. }
  426. // 资产报废数量
  427. export function dump(appOrg) {
  428. return request({
  429. url: '/large/asset/new?appOrg='+ appOrg,
  430. method: 'get'
  431. })
  432. }
  433. // 赋码率 -贴签率
  434. export function codedAndLabelRate(appOrg) {
  435. return request({
  436. url: '/large/asset/codedAndLabelRate?appOrg='+ '0000',
  437. method: 'get'
  438. })
  439. }
  440. // 三大类资产占比
  441. export function mainlyRate(appOrg) {
  442. return request({
  443. url: '/large/asset/mainlyRate?appOrg='+ appOrg,
  444. method: 'get'
  445. })
  446. }
  447. // 典型场景应用率-地市
  448. export function sceneRate() {
  449. return request({
  450. url: '/large/asset/sceneRate?flag='+ 0,
  451. method: 'get'
  452. })
  453. }
  454. // 典型场景应用率-直属单位
  455. export function sceneRateUnit() {
  456. return request({
  457. url: '/large/asset/sceneRate?flag='+ 1,
  458. method: 'get'
  459. })
  460. }
  461. // 楼宇设备运行情况
  462. export function operation(appOrg) {
  463. return request({
  464. url: '/large/asset/operation?appOrg='+ appOrg,
  465. method: 'get'
  466. })
  467. }
  468. // 地市巡检执行数量
  469. export function inspectionSchemeNumX() {
  470. return request({
  471. url: '/large/asset/inspectionSchemeNumX',
  472. method: 'get'
  473. })
  474. }
  475. // 直属单位巡检执行数量
  476. export function inspectionSchemeNumY() {
  477. return request({
  478. url: '/large/asset/inspectionSchemeNumY',
  479. method: 'get'
  480. })
  481. }
  482. /*------------------房产土地-------------------*/
  483. // 房产资源存量
  484. export function stockOfEstateResources(appOrg) {
  485. return request({
  486. url: '/large/housing/stockOfEstateResources?appOrg='+ appOrg,
  487. method: 'get'
  488. })
  489. }
  490. // 土地资源存量
  491. export function stockOfLandResources(appOrg) {
  492. return request({
  493. url: '/large/housing/stockOfLandResources?appOrg='+ appOrg,
  494. method: 'get'
  495. })
  496. }
  497. // 2025年度投资房产完成情况
  498. export function investFinishState(appOrg) {
  499. return request({
  500. url: '/large/housing/investFinishState?appOrg='+ appOrg,
  501. method: 'get'
  502. })
  503. }
  504. /*------------------楼宇中控-------------------*/
  505. //楼宇本周用电量
  506. export function thisWeekElectricity() {
  507. return request({
  508. url: '/large/third/thisWeekElectricity',
  509. method: 'get'
  510. })
  511. }
  512. //光伏发电
  513. export function photovoltaicPower() {
  514. return request({
  515. url: '/large/third/photovoltaicPower',
  516. method: 'get'
  517. })
  518. }
  519. //电梯能量回收
  520. export function controlElevator() {
  521. return request({
  522. url: '/large/third/controlElevator',
  523. method: 'get'
  524. })
  525. }
  526. // 专业所属电表明细
  527. export function thisAmmeterDetail(appOrg) {
  528. return request({
  529. url: '/large/third/thisAmmeterDetail?type='+ appOrg,
  530. method: 'get'
  531. })
  532. }
  533. // 异常点位查看
  534. export function abnormalPoint(appOrg) {
  535. return request({
  536. url: '/large/third/abnormalPoint?type='+ appOrg,
  537. method: 'get'
  538. })
  539. }
  540. //楼宇今日总用电量
  541. export function todayElectricity() {
  542. return request({
  543. url: '/large/third/todayElectricity',
  544. method: 'get'
  545. })
  546. }
  547. //楼宇每月用电量
  548. export function monthElectricity() {
  549. return request({
  550. url: '/large/third/monthElectricity',
  551. method: 'get'
  552. })
  553. }
  554. //配电室重要回路负荷情况明细
  555. export function roomLoadDetail(power, customParams) {
  556. return request({
  557. url: '/large/third/roomLoadDetail?kind='+ customParams + '&state=' + power,
  558. method: 'get'
  559. })
  560. }
  561. //配电室重要回路负荷情况
  562. export function roomLoad() {
  563. return request({
  564. url: '/large/third/roomLoad',
  565. method: 'get'
  566. })
  567. }
  568. //楼宇中当前告警的设备
  569. export function warnDevice() {
  570. return request({
  571. url: '/large/third/warnDevice',
  572. method: 'get'
  573. })
  574. }
  575. //告警事件的历史统计
  576. export function warnEvent() {
  577. return request({
  578. url: '/large/third/warnEvent',
  579. method: 'get'
  580. })
  581. }
  582. //水箱的水位情况
  583. export function waterState() {
  584. return request({
  585. url: '/large/third/waterState',
  586. method: 'get'
  587. })
  588. }
  589. /*------------------办公能耗-------------------*/
  590. // 近一月楼宇能耗信息
  591. export function powerAndWaterMonth() {
  592. return request({
  593. url: '/large/first/powerAndWaterMonth',
  594. method: 'get'
  595. })
  596. }
  597. // 空气概况
  598. export function airOverview() {
  599. return request({
  600. url: '/large/first/air',
  601. method: 'get'
  602. })
  603. }
  604. // 定额指标
  605. export function getTarget() {
  606. return request({
  607. url: '/large/first/getTarget',
  608. method: 'get'
  609. })
  610. }
  611. // 办公用电分项
  612. export function useElectricity() {
  613. return request({
  614. url: '/large/first/useElectricity',
  615. method: 'get'
  616. })
  617. }
  618. // 绿电比例
  619. export function greenElectricity() {
  620. return request({
  621. url: '/large/first/greenElectricity',
  622. method: 'get'
  623. })
  624. }
  625. // 碳排放量月度变化趋势图
  626. export function carbon() {
  627. return request({
  628. url: '/large/first/carbon',
  629. method: 'get'
  630. })
  631. }
  632. // 年度累计综合能耗
  633. export function energyYear() {
  634. return request({
  635. url: '/large/first/energyYear',
  636. method: 'get'
  637. })
  638. }
  639. // 年度累计电耗
  640. export function powerYear() {
  641. return request({
  642. url: '/large/first/powerYear',
  643. method: 'get'
  644. })
  645. }
  646. // 年度累计电耗
  647. export function waterYear() {
  648. return request({
  649. url: '/large/first/waterYear',
  650. method: 'get'
  651. })
  652. }
  653. /*------------------物业巡更信息------------------*/
  654. // 巡更次数统计(近6月)
  655. export function frequency() {
  656. return request({
  657. url: '/large/second/frequency',
  658. method: 'get'
  659. })
  660. }
  661. // 巡更及时率
  662. export function patrol() {
  663. return request({
  664. url: '/large/second/patrol',
  665. method: 'get'
  666. })
  667. }
  668. // 巡更点统计
  669. export function patrolPoint() {
  670. return request({
  671. url: '/large/second/patrolPoint',
  672. method: 'get'
  673. })
  674. }
  675. /*视频*/
  676. //统一视频(工程现场监控)
  677. export function videoList(code) {
  678. return request({
  679. url: '/large/video/videoList?code=' + code,
  680. method: 'get'
  681. })
  682. }
  683. export function getCameraList(appOrg) {
  684. return request({
  685. url: '/large/monitor/getCameraList/' + appOrg,
  686. method: 'get'
  687. })
  688. }
  689. //视频流列表 各公司出入口监控
  690. export function monitorList(code) {
  691. return request({
  692. url: '/large/video/monitorList?code=' + code,
  693. method: 'get'
  694. })
  695. }
  696. //获取视频推流地址
  697. export function openCamera(code) {
  698. return request({
  699. url: '/large/video/openCamera?videoCode=' + code,
  700. method: 'get'
  701. })
  702. }
  703. /*--------------- 工程现场 ------------------*/
  704. // 项目数量(在建)
  705. export function getProjectNum(appOrg) {
  706. return request({
  707. url: '/large/production/getProjectNum/' + appOrg,
  708. method: 'get'
  709. })
  710. }
  711. // 项目数量(审批)
  712. export function getProjectNumX(appOrg) {
  713. return request({
  714. url: '/large/production/getProjectNumX/' + appOrg,
  715. method: 'get'
  716. })
  717. }
  718. // 项目数量(施工)
  719. export function getProjectNumY(appOrg) {
  720. return request({
  721. url: '/large/production/getProjectNumY/' + appOrg,
  722. method: 'get'
  723. })
  724. }
  725. // 查询对应市的项目
  726. export function getProjectByAppOrg(appOrg) {
  727. return request({
  728. url: '/large/production/getProjectByAppOrg/' + appOrg,
  729. method: 'get'
  730. })
  731. }
  732. export function getProjectNumZ(appOrg) {
  733. return request({
  734. url: '/large/production/getProjectNumZ',
  735. method: 'get'
  736. })
  737. }
  738. // 各单位已接入项目数量和已接入摄像头数量
  739. export function getProjectCameraNumList(appOrg) {
  740. return request({
  741. url: '/large/monitor/getProjectCameraNumList/' + appOrg,
  742. method: 'get'
  743. })
  744. }
  745. // 近一周问题列表
  746. export function getIssueListLastWeek(appOrg, date = null, status = null) {
  747. let url = `large/check/getIssueListLastWeek/${appOrg}`;
  748. let isFirstParam = true;
  749. if (date !== null) {
  750. url += `${isFirstParam ? '?' : '&'}day=${date}`;
  751. isFirstParam = false;
  752. }
  753. if (status !== null) {
  754. url += `${isFirstParam ? '?' : '&'}status=${status}`;
  755. isFirstParam = false;
  756. }
  757. return request({
  758. url,
  759. method: 'get'
  760. });
  761. }
  762. // 更改问题状态
  763. export function changeIssueStatus(formData) {
  764. return request({
  765. url: '/large/check/changeIssueStatus',
  766. method: 'post',
  767. data: formData,
  768. headers: {
  769. 'Content-Type': 'application/json',
  770. },
  771. });
  772. }
  773. // 提交问题
  774. export function add(data) {
  775. return request({
  776. url: '/large/check/add',
  777. method: 'post',
  778. data: data
  779. });
  780. }
  781. // 本周检查项目数量
  782. export function getProjectNumThisWeek(appOrg) {
  783. return request({
  784. url: '/large/check/getProjectNumThisWeek/' + appOrg,
  785. method: 'get'
  786. })
  787. }
  788. // 本周检查计划
  789. export function planCheckList() {
  790. return request({
  791. url: '/large/check/planCheckList',
  792. method: 'get'
  793. })
  794. }
  795. // 本周施工计划
  796. export function planDoneList() {
  797. return request({
  798. url: '/large/check/planDoneList',
  799. method: 'get'
  800. })
  801. }
  802. // 问题数量
  803. export function getIssueNum(appOrg) {
  804. return request({
  805. url:'/large/check/getIssueNum/' + appOrg,
  806. method: 'get'
  807. })
  808. }
  809. // 已整改问题数量
  810. export function getOverIssueNum(appOrg) {
  811. return request({
  812. url: '/large/check/getOverIssueNum/' + appOrg,
  813. method: 'get'
  814. })
  815. }
  816. //某单位的各项目已接入摄像头数量
  817. export function etCameraNumList(appOrg) {
  818. return request({
  819. url: '/large/monitor/getCameraNumList/' + appOrg,
  820. method: 'get'
  821. })
  822. }
  823. /*--------------- 公务用车 ------------------*/
  824. // 资源台账
  825. export function getResource(appOrg) {
  826. return request({
  827. url: '/large/car/resource',
  828. params: {
  829. appOrg: appOrg
  830. },
  831. method: 'get'
  832. })
  833. }
  834. // 2025年度公务车车辆明细
  835. export function getCarDetail(appOrg, flag, pageSize, page) {
  836. return request({
  837. url: '/large/car/carDetail',
  838. method: 'get',
  839. params: {
  840. appOrg: appOrg,
  841. flag: flag,
  842. pageSize: pageSize,
  843. page: page
  844. }
  845. })
  846. }
  847. // 公务车预警明细
  848. export function getWarnDetail(appOrg, alertType, pageSize, page) {
  849. return request({
  850. url: '/large/car/warnDetail',
  851. method: 'get',
  852. params: {
  853. appOrg: appOrg,
  854. alertType: alertType,
  855. pageSize: pageSize,
  856. page: page
  857. }
  858. })
  859. }
  860. // 监控管理
  861. export function getMonitor(appOrg) {
  862. return request({
  863. url: '/large/car/monitor',
  864. params: {
  865. appOrg: appOrg
  866. },
  867. method: 'get'
  868. })
  869. }
  870. // 运行管理 上
  871. export function getOperationManageTopHalf(appOrg) {
  872. return request({
  873. url: '/large/car/operationManageTopHalf',
  874. params: {
  875. appOrg: appOrg
  876. },
  877. method: 'get'
  878. })
  879. }
  880. // 运行管理 下
  881. export function getOperationManageLastHalf() {
  882. return request({
  883. url: '/large/car/operationManageLastHalf',
  884. method: 'get'
  885. })
  886. }
  887. // 所有地市各自的公务车总数
  888. export function getSelfCarNum() {
  889. return request({
  890. url: '/large/car/selfCarNum',
  891. method: 'get'
  892. })
  893. }