http.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952
  1. import $http from "./request/requestConfig"
  2. import {
  3. BASE_URI
  4. } from "../pages/utils/constant.js";
  5. import qs from 'qs';
  6. const baseUri = '/smartParkH5Server'
  7. const parkActivity = '/wx/meetingAppoint'
  8. export function login(data) {
  9. return $http.post(
  10. '/wx/auth/login_by_app_main?' + qs.stringify(data), {}, {})
  11. }
  12. export function loginByCompany(data) {
  13. return $http.post(
  14. '/wx/auth/loginByCompany',
  15. data, {}
  16. )
  17. }
  18. export function addRectificationManagement(data) {
  19. return $http.post(
  20. '/wx/RectificationController/addRectificationManagement',
  21. data, {}
  22. )
  23. }
  24. export function loginByWeixin2(code) {
  25. return $http.post(
  26. '/wx/auth/login_by_weixin2',
  27. code, {}
  28. )
  29. }export function switchCommonUser(code) {
  30. return $http.post(
  31. '/wx/auth/switchCommonUser',
  32. code, {}
  33. )
  34. }
  35. export function getUserLocalStorageInfo() {
  36. const userInfo = JSON.parse(
  37. uni.getStorageSync("USERINFO"));
  38. return userInfo
  39. }
  40. export function uploadPDF() {
  41. uni.showLoading({
  42. title: '加载中',
  43. mask: true
  44. });
  45. return new Promise((resolve, reject) => {
  46. uni.chooseMessageFile({
  47. count: 1, //默认100
  48. type: 'file',
  49. success: (res) => {
  50. uni.uploadFile({
  51. url: BASE_URI + "/wx/fileController/upload",
  52. filePath: res.tempFiles[0].path,
  53. name: "file",
  54. formData: {
  55. user: "test"
  56. },
  57. success(successRes) {
  58. // 上传完成需要更新 fileList
  59. let data = JSON.parse(successRes.data);
  60. uni.showToast({
  61. title: '提交成功',
  62. duration: 500
  63. });
  64. resolve({
  65. url: data.data[0],
  66. name: res.tempFiles[0].name
  67. })
  68. },
  69. fail(res) { },
  70. });
  71. },
  72. fail(e) {
  73. uni.showToast({
  74. title: '提交成功',
  75. duration: 0
  76. });
  77. }
  78. });
  79. })
  80. }
  81. export function getBuildDetails(data) {
  82. return $http.post(
  83. '/wx/MnpBuildingController/getById',
  84. data, {}
  85. )
  86. }
  87. export function addZaiti(data) {
  88. return $http.post(
  89. '/wx/ParkRoomController/add',
  90. data, {}
  91. )
  92. }
  93. export function getCompanyById2(data) {
  94. return $http.post(
  95. '/wx/roadShow/getCompanyById',
  96. data, {}
  97. )
  98. }
  99. export function add(data) {
  100. return $http.post(
  101. '/wx/repair/add',
  102. data, {}
  103. )
  104. }
  105. export function getPartyBranchList(data) {
  106. return $http.post(
  107. '/wx/partyBranch/getPartyBranchList',
  108. data, {}
  109. )
  110. }
  111. export function selectByCompanyId(data) {
  112. return $http.post(
  113. '/wx/SocialCarrierController/selectByCompanyId',
  114. data, {}
  115. )
  116. }
  117. export function getTreeData2(data) {
  118. return $http.post(
  119. '/wx/ParkInfoController/getTreeData2',
  120. data, {}
  121. )
  122. }
  123. export function getTreeData6(data) {
  124. return $http.post(
  125. '/wx/ParkInfoController/getTreeData6',
  126. data, {}
  127. )
  128. }
  129. export function getActivationRanking(data) {
  130. return $http.post(
  131. '/wx/partyBranch/getActivationRanking',
  132. data, {}
  133. )
  134. }
  135. export function findRectificationManagementInOutList(data) {
  136. return $http.post(
  137. '/wx/RectificationController/findRectificationManagementInOutList',
  138. data, {}
  139. )
  140. }
  141. export function findRectificationManagementInOutById(e) {
  142. return $http.post(
  143. '/wx/RectificationController/findRectificationManagementInOutById', {
  144. id: e
  145. }, {}
  146. )
  147. }
  148. export function repairList(data) {
  149. return $http.post(
  150. '/wx/repair/list',
  151. data, {}
  152. )
  153. }export function repairHandleList(data) {
  154. return $http.post(
  155. '/wx/repair/handleList',
  156. data, {}
  157. )
  158. }
  159. export function addSafetySelfCheckingManage(data) {
  160. return $http.post(
  161. '/wx/SafetyController/addSafetySelfCheckingManage',
  162. data, {}
  163. )
  164. }
  165. export function updateSafetySelfCheckingManage(data) {
  166. return $http.post(
  167. '/wx/SafetyController/updateSafetySelfCheckingManage',
  168. data, {}
  169. )
  170. }
  171. export function editRepair(data) {
  172. return $http.post(
  173. '/wx/repair/edit',
  174. data, {}
  175. )
  176. }
  177. export function addRepair(data) {
  178. return $http.post(
  179. '/wx/repair/add',
  180. data, {}
  181. )
  182. }
  183. export function getRepairDispatchById(id) {
  184. return $http.post(
  185. '/wx/repair/getById', {
  186. id: id
  187. }, {}
  188. )
  189. }
  190. export function getDispatchToPerson(data) {
  191. return $http.post(
  192. '/wx/repair/getDispatchToPerson',
  193. data, {}
  194. )
  195. }
  196. export function getCompanyById(data) {
  197. return $http.post(
  198. '/wx/roadShow/getCompanyById', data, {},
  199. )
  200. }
  201. export function getWxCompanyTags(e) {
  202. return $http.post(
  203. '/wx/MnpTagInfoController/tagInfoList', e, {}
  204. )
  205. }
  206. export function tagsBind(e) {
  207. return $http.post(
  208. '/wx/MnpTagInfoController/bind', e, {}
  209. )
  210. }
  211. export function getDetial(e) {
  212. return $http.post(
  213. '/wx/meetingAppoint/meetingAppointDetail', e, {}
  214. )
  215. }
  216. export function saleControllerGetById(e) {
  217. return $http.post(
  218. '/wx/SaleController/getById', {
  219. id: e
  220. }, {}
  221. )
  222. }
  223. export function getAppUserMain(data) {
  224. return $http.post(
  225. '/wx/company/getById',
  226. data, {}
  227. )
  228. }
  229. export function confirmAudit(data) {
  230. return $http.post(
  231. '/wx/meetingAppoint/confirmAudit',
  232. data, {}
  233. )
  234. }
  235. export function getCompanyTags(e) {
  236. return $http.post(
  237. '/wx/MnpTagInfoController/getCompanyTags', e, {}
  238. )
  239. }
  240. export function getCompanyTagsByQybq(qybq) {
  241. return $http.post(
  242. '/wx/MnpTagInfoController/getCompanyTagsByQybq', {
  243. qybq: qybq
  244. }, {})
  245. }
  246. export function companyECdit(data) {
  247. return $http.post(
  248. '/wx/company/edit', data, {})
  249. }
  250. export function tagInfoList(e) {
  251. return $http.post(
  252. '/wx/MnpTagInfoController/tagInfoList',
  253. e, {})
  254. }
  255. export function findDeptList() {
  256. return $http.post(
  257. '/wx/SaleController/findDeptList', {}, {})
  258. }
  259. export function tagCategoryList() {
  260. return $http.post(
  261. '/wx/MnpTagController/tagCategoryList', {}, {}
  262. )
  263. }
  264. export function interviewEscalationListAll(id) {
  265. return $http.post('/wx/interviewEscalation/listAll', {
  266. companyId: id
  267. }, {})
  268. }
  269. export function getUserInfo(data) {
  270. let laocui_user_info = JSON.parse(uni.getStorageSync('laocui_user_info'))
  271. return $http.post(
  272. '/wx/frameUser/getMyInfo?userId=' + laocui_user_info.user.id, {}, {})
  273. }
  274. export function getRoomInfo(e) {
  275. return $http.post(
  276. '/wx/ParkRoomController/getById', {
  277. id: e
  278. }, {})
  279. }
  280. export function getCompanyHouseDetails(e) {
  281. return $http.post(
  282. '/wx/company/getById', {
  283. id: e
  284. }, {})
  285. }
  286. export function handleList(e) {
  287. return $http.post(
  288. '/wx/workPaneController/handleList',
  289. e, {})
  290. }
  291. export function readList(e) {
  292. return $http.post(
  293. '/wx/workPaneController/readList',
  294. e, {})
  295. }
  296. // handleList?
  297. export function findCompanyTags(e) {
  298. return $http.post(
  299. '/wx/MnpTagInfoController/getCompanyTags/' + e, {}, {})
  300. }
  301. export function removeTagsBind(e) {
  302. return $http.post(
  303. '/wx/MnpTagInfoController/removeBind', e, {}
  304. )
  305. }
  306. export function addInterview(e) {
  307. return $http.post(
  308. "/wx/interviewEscalation/add", e, {})
  309. }
  310. export function editInterview(e) {
  311. return $http.post(
  312. "/wx/interviewEscalation/edit", e, {})
  313. }
  314. export function getInterviewList(e) {
  315. return $http.post(
  316. "/wx/interviewEscalation/list", e, {})
  317. }
  318. export function getInterviewDetails(e) {
  319. return $http.post(
  320. "/wx/interviewEscalation/getById", {
  321. id: e
  322. }, {})
  323. }
  324. export function findSafetySelfCheckingPlanById(e) {
  325. return $http.post(
  326. "/wx/SafetyController/findSafetySelfCheckingPlanById", {
  327. id: e
  328. }, {})
  329. }
  330. //
  331. export function findSafetySelfCheckingPlanList(e) {
  332. return $http.post(
  333. "/wx/SafetyController/findSafetySelfCheckingPlanList",
  334. e, {})
  335. }
  336. export function getBySaveStatus(e) {
  337. return $http.post(
  338. "/wx/interviewEscalation/getBySaveStatus", {
  339. createdBy: e
  340. }, {})
  341. }
  342. export function companyExamineAdd(e) {
  343. return $http.post(
  344. "/wx/company/add", e, {})
  345. }
  346. export function listByModel(e) {
  347. return $http.post(
  348. '/wx/SaleController/findSaleManagementListByRoomId',
  349. e, {})
  350. }
  351. export function listVo(e) {
  352. // 查询园区列表,不需要参数
  353. return $http.post(
  354. '/wx/company/listVo', e, {})
  355. }
  356. // /wx/SafetyController/addSafetySelfCheckingPlan
  357. export function addSafetySelfCheckingPlan(e) {
  358. // 查询园区列表,不需要参数
  359. return $http.post(
  360. '/wx/SafetyController/addSafetySelfCheckingPlan', {
  361. ...e
  362. }, {})
  363. }
  364. export function findSafetySelfCheckingManagetById(e) {
  365. // 查询园区列表,不需要参数
  366. return $http.post(
  367. '/wx/SafetyController/findSafetySelfCheckingManagetById', {
  368. id: e
  369. }, {})
  370. }
  371. export function findSafetySelfCheckingManageList(e) {
  372. // 查询园区列表,不需要参数
  373. return $http.post(
  374. '/wx/SafetyController/findSafetySelfCheckingManageList', e, {})
  375. }
  376. export function findYuanQuList() {
  377. // 查询园区列表,不需要参数
  378. return $http.post(
  379. '/wx/SaleController/findYuanQuList', {}, {})
  380. }
  381. export function findLongPanList(id) {
  382. // 用园区ID查询楼盘列表
  383. return $http.post(
  384. '/wx/SaleController/findLouPanList', {
  385. id: id
  386. }, {})
  387. }
  388. export function findLouDongList(id) {
  389. // 用园区ID查询楼盘列表
  390. return $http.post(
  391. '/wx/SaleController/findLouDongList', {
  392. id: id
  393. }, {})
  394. }
  395. export function clickCollect(e) {
  396. return $http.post(
  397. '/wx/parkActivity/clickCollect',
  398. e, {})
  399. }
  400. export function insertRegisSignInfo(e) {
  401. return $http.post(
  402. '/wx/parkActivity/insertRegisSignInfo',
  403. e, {})
  404. }
  405. export function richScan(e) {
  406. return $http.post(
  407. '/wx/parkActivity/richScan',
  408. e, {})
  409. }
  410. export function getActivityById(id, signInCode, userId) {
  411. return $http.get(
  412. '/wx/parkActivity/getBySignInCode?id=' + id + '&userId=' + userId + "&signInCode=" + signInCode, {}, {})
  413. }
  414. // /wx/userPower/getUserPower?userId=1088765543780974592
  415. export function getUserPower(e) {
  416. return $http.post(
  417. '/wx/userPower/getUserPower', {
  418. userId: e
  419. }, {})
  420. }
  421. export function editPassword(e) {
  422. return $http.post(
  423. '/wx/frameUser/editPassword', e, {})
  424. }
  425. export function updateListRectificationManagement(e) {
  426. return $http.post(
  427. '/wx/RectificationController/updateListRectificationManagement', e, {})
  428. }
  429. // /wx/RectificationController/findUserListByRoleWuye
  430. export function findUserListByRoleWuye() {
  431. // 用园区ID查询楼盘列表
  432. return $http.post(
  433. '/wx/RectificationController/findUserListByRoleWuye',
  434. {}, {})
  435. }
  436. export function listAllUserMain() {
  437. // 用园区ID查询楼盘列表
  438. return $http.post(
  439. '/wx/UserMainExpandController/listAllUserMain',
  440. {}, {})
  441. }
  442. export function userList(e) {
  443. // http://192.168.2.112:9011/wx/frameUser/userList
  444. return $http.post(
  445. '/wx/frameUser/userList',
  446. e
  447. , {})
  448. }
  449. export function findAllSimpleCompanies(e) {
  450. // http://192.168.2.112:9011/wx/frameUser/userList
  451. return $http.post(
  452. '/wx/company/findAllSimpleCompanies', { searchInfo: e.qymc, pageNum: 1, pageSize: 10000 }, {})
  453. }
  454. export function findTrackUserList() {
  455. // http://192.168.2.112:9011/wx/frameUser/userList
  456. return $http.post(
  457. '/wx/SaleController/findTrackUserList', {}, {})
  458. }
  459. export function getSelectUserTwo(e) {
  460. // 用园区ID查询楼盘列表
  461. return $http.post(
  462. '/wx/frameUser/getSelectUserTwo', {
  463. searchName: e
  464. }, {})
  465. }
  466. export function getSelectDeptTwo(e) {
  467. // 用园区ID查询楼盘列表
  468. return $http.post(
  469. '/wx/frameUser/getSelectDeptTwo',
  470. {
  471. searchName: e
  472. }, {})
  473. }
  474. export function findRoomInfoListByIds(e) {
  475. // 用园区ID查询楼盘列表
  476. return $http.post(
  477. '/wx/SaleController/findRoomInfoListByIds',
  478. {
  479. ids: e
  480. }, {})
  481. }
  482. export function findCompanyList() {
  483. // 用园区ID查询楼盘列表
  484. return $http.post(
  485. '/wx/SaleController/findCompanyList', {}, {})
  486. }
  487. export function addyixiang(e) {
  488. return $http.post(
  489. '/wx/SaleController/add',
  490. e, {})
  491. }
  492. export function editSave(e) {
  493. return $http.post(
  494. '/wx/SaleController/editSave',
  495. e, {})
  496. }
  497. export function findCompanyInfoList(data) {
  498. return $http.post(
  499. "/wx/SaleController/findCompanyInfoList",
  500. data, {}
  501. )
  502. }
  503. export function findRoomByCondition(params) {
  504. // 用园区ID查询楼盘列表
  505. return $http.post(
  506. '/wx/SaleController/findRoomByCondition', params, {})
  507. }
  508. export function getCompanyAll(qymc) {
  509. return $http.post(
  510. '/wx/company/listAll', {
  511. qymc: qymc ? qymc : ""
  512. }, {})
  513. }
  514. export function getByCodes(params) {
  515. // 用园区ID查询楼盘列表
  516. return $http.post(
  517. '/wx/sysDict/getByCodes',
  518. {
  519. codes: params
  520. }, {})
  521. }
  522. export function list(data) {
  523. return $http.post(
  524. parkActivity + '/getMeetingAppointList',
  525. data, {}
  526. )
  527. }
  528. export function listApp(data) {
  529. return $http.post(
  530. parkActivity + '/getMeetingAppointListApp',
  531. data, {}
  532. )
  533. }
  534. export function cancelAppoint(data) {
  535. return $http.post(
  536. parkActivity + '/cancelAppoint',
  537. data, {}
  538. )
  539. }
  540. // /wx/SaleController/
  541. export function getRepairList(data) {
  542. return $http.post(
  543. '/wx/repair/list',
  544. data, {}
  545. )
  546. }
  547. export function editHomeCommunityActivity(data) {
  548. return $http.post(
  549. '/wx/homeActivity/editHomeCommunityActivity',
  550. data, {}
  551. )
  552. }
  553. export function listHomeCommunityActivity(data) {
  554. return $http.post(
  555. '/wx/homeActivity/listHomeCommunityActivity',
  556. data, {}
  557. )
  558. }
  559. export function insertHomeCommunityActivity(data) {
  560. return $http.post(
  561. '/wx/homeActivity/insertHomeCommunityActivity',
  562. data, {}
  563. )
  564. }
  565. export function activityList(data) {
  566. return $http.post(
  567. '/wx/homeActivity/list',
  568. data, {}
  569. )
  570. }
  571. // 报名
  572. export function updateRegistration(data) {
  573. return $http.post(
  574. '/wx/homeActivity/updateRegistration',
  575. data, {}
  576. )
  577. }
  578. // 查询活动详情
  579. export function getHomeCommunityActivityById(data) {
  580. return $http.post(
  581. '/wx/homeActivity/getHomeCommunityActivityById',
  582. data, {}
  583. )
  584. }
  585. // 查询企业是否报名
  586. export function isRegistration(data) {
  587. return $http.post(
  588. '/wx/homeActivity/isRegistration',
  589. data, {}
  590. )
  591. }
  592. //查询企业报名信息
  593. export function getRegistrationInfo(data) {
  594. return $http.post(
  595. '/wx/homeActivity/getRegistrationInfo',
  596. data, {}
  597. )
  598. }
  599. //签到
  600. export function updateSignIn(data) {
  601. return $http.post(
  602. '/wx/homeActivity/updateSignIn',
  603. data, {}
  604. )
  605. }
  606. export function isFinishComInfo(data) {
  607. return $http.post(
  608. '/wx/company/isFinishComInfo',
  609. data, {}
  610. )
  611. }
  612. export function getById(data) {
  613. return $http.post(
  614. '/wx/company/getById',
  615. data, {}
  616. )
  617. }
  618. export function addCompanyExamine(data) {
  619. return $http.post(
  620. '/wx/companyExamine/add',
  621. data, {}
  622. )
  623. }
  624. export function upload(data) {
  625. return $http.post(
  626. '/wx/fileController/upload',
  627. data, {}
  628. )
  629. }
  630. export function newNotice(data) {
  631. return $http.post(
  632. '/wx/noticePark/newNotice',
  633. data, {}
  634. )
  635. }
  636. export function noticeParkList(data) {
  637. return $http.post(
  638. '/wx/noticePark/list',
  639. data, {}
  640. )
  641. }
  642. export function propertyNoticeList(data) {
  643. return $http.post(
  644. '/wx/propertyNotice/list',
  645. data, {}
  646. )
  647. }
  648. export function noticeParkClickCollect(data) {
  649. return $http.post(
  650. '/wx/noticePark/clickCollect',
  651. data, {}
  652. )
  653. }
  654. export function propertyNoticeClickCollect(data) {
  655. return $http.post(
  656. '/wx/propertyNotice/clickCollect ',
  657. data, {}
  658. )
  659. }
  660. export function homeActivityClickCollect(data) {
  661. return $http.post(
  662. '/wx/homeActivity/clickCollect ',
  663. data, {}
  664. )
  665. }
  666. export function userNoticeAdd(data) {
  667. return $http.post(
  668. '/wx/userNotice/add',
  669. data, {}
  670. )
  671. }
  672. // 园区通知发布
  673. export function noticeParkAdd(data) {
  674. return $http.post(
  675. '/wx/noticePark/add',
  676. data, {}
  677. )
  678. }
  679. export function noticeParkGetById(data) {
  680. return $http.post(
  681. '/wx/noticePark/getById',
  682. data, {}
  683. )
  684. }
  685. // 园区通知编辑
  686. export function noticeParkEdit(data) {
  687. return $http.post(
  688. '/wx/noticePark/edit',
  689. data, {}
  690. )
  691. }
  692. // 新增我的反馈
  693. export function parkFeedbackInfoAdd(data) {
  694. return $http.post(
  695. '/wx/parkFeedbackInfo/add',
  696. data, {}
  697. )
  698. }
  699. // 新增我的反馈
  700. export function parkFeedbackInfoList(data) {
  701. return $http.post(
  702. '/wx/parkFeedbackInfo/list',
  703. data, {}
  704. )
  705. }
  706. // 获取我的反馈详情
  707. export function parkFeedbackInfoGetById(data) {
  708. return $http.get(
  709. '/wx/parkFeedbackInfo/getById',
  710. data, {}
  711. )
  712. }
  713. // 我的收藏列表
  714. export function parkUserCollectorsList(data) {
  715. return $http.post(
  716. '/wx/parkUserCollectors/list',
  717. data, {}
  718. )
  719. }
  720. // 产业政策列表
  721. export function policyList(data) {
  722. return $http.post(
  723. '/wx/policy/list',
  724. data, {}
  725. )
  726. }
  727. // 产业政策类型
  728. export function policyListAll(data) {
  729. return $http.post(
  730. '/wx/policyType/listAll',
  731. data, {}
  732. )
  733. }
  734. // 产业政策获取详情
  735. export function policyGetById(data) {
  736. return $http.post(
  737. '/wx/policy/getById',
  738. data, {}
  739. )
  740. }
  741. // 经法填报列表
  742. export function fillControllerList(data) {
  743. return $http.post(
  744. '/wx/fillController/list',
  745. data, {}
  746. )
  747. }
  748. // 经法填报详情
  749. export function getByStag(data) {
  750. return $http.post(
  751. '/wx/fillController/getByStag',
  752. data, {}
  753. )
  754. }
  755. // 经法填报详情保存/提交
  756. export function fillControllerEditSave(data) {
  757. return $http.post(
  758. '/wx/fillController/editSave',
  759. data, {}
  760. )
  761. }
  762. // 园区通知详情
  763. export function getParkNoticeById(data) {
  764. return $http.post(
  765. '/wx/noticePark/getById',
  766. data, {}
  767. )
  768. }
  769. // 物业通知详情
  770. export function getPropertyNoticeById(data) {
  771. return $http.post(
  772. '/wx/propertyNotice/getById',
  773. data, {}
  774. )
  775. }
  776. // 我的消息列表
  777. export function getMsgList(data) {
  778. return $http.post(
  779. '/wx/WxParkSystemMsgInfoController/getMsgList',
  780. data, {}
  781. )
  782. }
  783. // 获取管家
  784. export function getUserMainHouseKeeper(data) {
  785. return $http.post(
  786. '/wx/userRelation/getUserMainHouseKeeper',
  787. data, {}
  788. )
  789. }
  790. // 周边列表
  791. export function peripheryList(data) {
  792. return $http.post(
  793. '/wx/periphery/list',
  794. data, {}
  795. )
  796. }
  797. // 获取周边详情
  798. export function peripheryGetById(data) {
  799. return $http.post(
  800. '/wx/periphery/getById',
  801. data, {}
  802. )
  803. }
  804. // 报事报修提交
  805. export function repairAdd(data) {
  806. return $http.post(
  807. '/wx/repair/add',
  808. data, {}
  809. )
  810. }
  811. // 企业账单列表
  812. export function findBillManagementMoreForCollect(data) {
  813. return $http.post(
  814. '/wx/BillController/findBillManagementMoreForCollect',
  815. data, {}
  816. )
  817. }
  818. // 查看园区详情
  819. export function getParkBriefById(data) {
  820. return $http.post(
  821. '/wx/ParkBriefController/getById',
  822. data, {}
  823. )
  824. }
  825. // 共享资源列表
  826. export function getMeetingRoomList(data) {
  827. return $http.post(
  828. '/wx/meetingRoom/getMeetingRoomList',
  829. data, {}
  830. )
  831. }
  832. // 共享资源详情
  833. export function meetingRoomDetail(data) {
  834. return $http.post(
  835. '/wx/meetingRoom/meetingRoomDetail',
  836. data, {}
  837. )
  838. }
  839. // 获取共享资源可选的时间段
  840. export function roomTimeSoltUseful(data) {
  841. return $http.post(
  842. '/wx/meetingRoom/roomTimeSoltUseful',
  843. data, {}
  844. )
  845. }
  846. // 获取共享资源时间段状态
  847. export function roomTimeSoltDetail(data) {
  848. return $http.post(
  849. '/wx/meetingRoom/roomTimeSoltDetail',
  850. data, {}
  851. )
  852. }
  853. // 共享资源预约
  854. export function meetingAppoint(data) {
  855. return $http.post(
  856. '/wx/meetingRoom/meetingAppoint',
  857. data, {}
  858. )
  859. }
  860. // 共享资源预约时间段校验
  861. export function meetingAppointCheck(data) {
  862. return $http.post(
  863. '/wx/meetingRoom/meetingAppointCheck',
  864. data, {}
  865. )
  866. }
  867. // 共享资源预约历史
  868. export function getMeetingAppointListApp(data) {
  869. return $http.post(
  870. '/wx/meetingRoom/getMeetingAppointListApp',
  871. data, {}
  872. )
  873. }
  874. // 查询用户部门
  875. export function getUserDept(data) {
  876. return $http.post(
  877. '/wx/PubController/getUserDept',
  878. data, {}
  879. )
  880. }