http.js 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126
  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 saleControllerGetById(e) {
  212. return $http.post(
  213. '/wx/SaleController/getById', {
  214. id: e
  215. }, {}
  216. )
  217. }
  218. export function getAppUserMain(data) {
  219. return $http.post(
  220. '/wx/company/getById',
  221. data, {}
  222. )
  223. }
  224. export function confirmAudit(data) {
  225. return $http.post(
  226. '/wx/meetingAppoint/confirmAudit',
  227. data, {}
  228. )
  229. }
  230. export function getCompanyTags(e) {
  231. return $http.post(
  232. '/wx/MnpTagInfoController/getCompanyTags', e, {}
  233. )
  234. }
  235. export function getCompanyTagsByQybq(qybq) {
  236. return $http.post(
  237. '/wx/MnpTagInfoController/getCompanyTagsByQybq', {
  238. qybq: qybq
  239. }, {})
  240. }
  241. export function companyECdit(data) {
  242. return $http.post(
  243. '/wx/company/edit', data, {})
  244. }
  245. export function tagInfoList(e) {
  246. return $http.post(
  247. '/wx/MnpTagInfoController/tagInfoList',
  248. e, {})
  249. }
  250. export function findDeptList() {
  251. return $http.post(
  252. '/wx/SaleController/findDeptList', {}, {})
  253. }
  254. export function tagCategoryList() {
  255. return $http.post(
  256. '/wx/MnpTagController/tagCategoryList', {}, {}
  257. )
  258. }
  259. export function interviewEscalationListAll(id) {
  260. return $http.post('/wx/interviewEscalation/listAll', {
  261. companyId: id
  262. }, {})
  263. }
  264. export function getUserInfo(data) {
  265. let laocui_user_info = JSON.parse(uni.getStorageSync('laocui_user_info'))
  266. return $http.post(
  267. '/wx/frameUser/getMyInfo?userId=' + laocui_user_info.user.id, {}, {})
  268. }
  269. export function getRoomInfo(e) {
  270. return $http.post(
  271. '/wx/ParkRoomController/getById', {
  272. id: e
  273. }, {})
  274. }
  275. export function getCompanyHouseDetails(e) {
  276. return $http.post(
  277. '/wx/company/getById', {
  278. id: e
  279. }, {})
  280. }
  281. export function handleList(e) {
  282. return $http.post(
  283. '/wx/workPaneController/handleList',
  284. e, {})
  285. }
  286. export function readList(e) {
  287. return $http.post(
  288. '/wx/workPaneController/readList',
  289. e, {})
  290. }
  291. export function readListAll(e) {
  292. return $http.post(
  293. '/wx/workPaneController/readListAll',
  294. e, {})
  295. }
  296. // 获取待阅数量
  297. export function getReadSizeByTypes(e) {
  298. return $http.post(
  299. '/wx/workPaneController/getReadSizeByTypes',
  300. e, {})
  301. }
  302. // 阅读待阅
  303. export function userRead(e) {
  304. return $http.post(
  305. '/wx/workPaneController/userRead',
  306. e, {})
  307. }
  308. // 获取待办数量
  309. export function getHandleSizeTypes(e) {
  310. return $http.post(
  311. '/wx/workPaneController/getHandleSizeTypes',
  312. e, {})
  313. }
  314. // 获取待办列表
  315. export function handleListAll(e) {
  316. return $http.post(
  317. '/wx/workPaneController/handleListAll',
  318. e, {})
  319. }
  320. // handleList?
  321. export function findCompanyTags(e) {
  322. return $http.post(
  323. '/wx/MnpTagInfoController/getCompanyTags/' + e, {}, {})
  324. }
  325. export function removeTagsBind(e) {
  326. return $http.post(
  327. '/wx/MnpTagInfoController/removeBind', e, {}
  328. )
  329. }
  330. export function addInterview(e) {
  331. return $http.post(
  332. "/wx/interviewEscalation/add", e, {})
  333. }
  334. export function editInterview(e) {
  335. return $http.post(
  336. "/wx/interviewEscalation/edit", e, {})
  337. }
  338. export function getInterviewList(e) {
  339. return $http.post(
  340. "/wx/interviewEscalation/list", e, {})
  341. }
  342. export function getInterviewDetails(e) {
  343. return $http.post(
  344. "/wx/interviewEscalation/getById", {
  345. id: e
  346. }, {})
  347. }
  348. export function findSafetySelfCheckingPlanById(e) {
  349. return $http.post(
  350. "/wx/SafetyController/findSafetySelfCheckingPlanById", {
  351. id: e
  352. }, {})
  353. }
  354. //
  355. export function findSafetySelfCheckingPlanList(e) {
  356. return $http.post(
  357. "/wx/SafetyController/findSafetySelfCheckingPlanList",
  358. e, {})
  359. }
  360. export function getBySaveStatus(e) {
  361. return $http.post(
  362. "/wx/interviewEscalation/getBySaveStatus", {
  363. createdBy: e
  364. }, {})
  365. }
  366. export function companyExamineAdd(e) {
  367. return $http.post(
  368. "/wx/company/add", e, {})
  369. }
  370. export function listByModel(e) {
  371. return $http.post(
  372. '/wx/SaleController/findSaleManagementListByRoomId',
  373. e, {})
  374. }
  375. export function listVo(e) {
  376. // 查询园区列表,不需要参数
  377. return $http.post(
  378. '/wx/company/listVo', e, {})
  379. }
  380. // /wx/SafetyController/addSafetySelfCheckingPlan
  381. export function addSafetySelfCheckingPlan(e) {
  382. // 查询园区列表,不需要参数
  383. return $http.post(
  384. '/wx/SafetyController/addSafetySelfCheckingPlan', {
  385. ...e
  386. }, {})
  387. }
  388. export function findSafetySelfCheckingManagetById(e) {
  389. // 查询园区列表,不需要参数
  390. return $http.post(
  391. '/wx/SafetyController/findSafetySelfCheckingManagetById', {
  392. id: e
  393. }, {})
  394. }
  395. export function findSafetySelfCheckingManageList(e) {
  396. // 查询园区列表,不需要参数
  397. return $http.post(
  398. '/wx/SafetyController/findSafetySelfCheckingManageList', e, {})
  399. }
  400. export function findYuanQuList() {
  401. // 查询园区列表,不需要参数
  402. return $http.post(
  403. '/wx/SaleController/findYuanQuList', {}, {})
  404. }
  405. export function findLongPanList(id) {
  406. // 用园区ID查询楼盘列表
  407. return $http.post(
  408. '/wx/SaleController/findLouPanList', {
  409. id: id
  410. }, {})
  411. }
  412. export function findLouDongList(id) {
  413. // 用园区ID查询楼盘列表
  414. return $http.post(
  415. '/wx/SaleController/findLouDongList', {
  416. id: id
  417. }, {})
  418. }
  419. export function clickCollect(e) {
  420. return $http.post(
  421. '/wx/parkActivity/clickCollect',
  422. e, {})
  423. }
  424. export function insertRegisSignInfo(e) {
  425. return $http.post(
  426. '/wx/parkActivity/insertRegisSignInfo',
  427. e, {})
  428. }
  429. export function richScan(e) {
  430. return $http.post(
  431. '/wx/parkActivity/richScan',
  432. e, {})
  433. }
  434. export function getActivityById(id, signInCode, userId) {
  435. return $http.get(
  436. '/wx/parkActivity/getBySignInCode?id=' + id + '&userId=' + userId + "&signInCode=" + signInCode, {}, {})
  437. }
  438. // /wx/userPower/getUserPower?userId=1088765543780974592
  439. export function getUserPower(e) {
  440. return $http.post(
  441. '/wx/userPower/getUserPower', {
  442. userId: e
  443. }, {})
  444. }
  445. export function editPassword(e) {
  446. return $http.post(
  447. '/wx/frameUser/editPassword', e, {})
  448. }
  449. export function updateListRectificationManagement(e) {
  450. return $http.post(
  451. '/wx/RectificationController/updateListRectificationManagement', e, {})
  452. }
  453. // /wx/RectificationController/findUserListByRoleWuye
  454. export function findUserListByRoleWuye() {
  455. // 用园区ID查询楼盘列表
  456. return $http.post(
  457. '/wx/RectificationController/findUserListByRoleWuye',
  458. {}, {})
  459. }
  460. export function listAllUserMain() {
  461. // 用园区ID查询楼盘列表
  462. return $http.post(
  463. '/wx/UserMainExpandController/listAllUserMain',
  464. {}, {})
  465. }
  466. export function userList(e) {
  467. // http://192.168.2.112:9011/wx/frameUser/userList
  468. return $http.post(
  469. '/wx/frameUser/userList',
  470. e
  471. , {})
  472. }
  473. export function findAllSimpleCompanies(e) {
  474. // http://192.168.2.112:9011/wx/frameUser/userList
  475. return $http.post(
  476. '/wx/company/findAllSimpleCompanies', { searchInfo: e.qymc, pageNum: 1, pageSize: 10000 }, {})
  477. }
  478. export function findTrackUserList() {
  479. // http://192.168.2.112:9011/wx/frameUser/userList
  480. return $http.post(
  481. '/wx/SaleController/findTrackUserList', {}, {})
  482. }
  483. export function getSelectUserTwo(e) {
  484. // 用园区ID查询楼盘列表
  485. return $http.post(
  486. '/wx/frameUser/getSelectUserTwo', {
  487. searchName: e
  488. }, {})
  489. }
  490. export function getSelectDeptTwo(e) {
  491. // 用园区ID查询楼盘列表
  492. return $http.post(
  493. '/wx/frameUser/getSelectDeptTwo',
  494. {
  495. searchName: e
  496. }, {})
  497. }
  498. export function findRoomInfoListByIds(e) {
  499. // 用园区ID查询楼盘列表
  500. return $http.post(
  501. '/wx/SaleController/findRoomInfoListByIds',
  502. {
  503. ids: e
  504. }, {})
  505. }
  506. export function findCompanyList() {
  507. // 用园区ID查询楼盘列表
  508. return $http.post(
  509. '/wx/SaleController/findCompanyList', {}, {})
  510. }
  511. export function addyixiang(e) {
  512. return $http.post(
  513. '/wx/SaleController/add',
  514. e, {})
  515. }
  516. export function editSave(e) {
  517. return $http.post(
  518. '/wx/SaleController/editSave',
  519. e, {})
  520. }
  521. export function findCompanyInfoList(data) {
  522. return $http.post(
  523. "/wx/SaleController/findCompanyInfoList",
  524. data, {}
  525. )
  526. }
  527. export function findRoomByCondition(params) {
  528. // 用园区ID查询楼盘列表
  529. return $http.post(
  530. '/wx/SaleController/findRoomByCondition', params, {})
  531. }
  532. export function findRoomByConditionExcel(params) {
  533. // 用园区ID查询楼盘列表
  534. return $http.post(
  535. '/wx/SaleController/findRoomByConditionExcel', params, {})
  536. }
  537. export function getCompanyAll(qymc) {
  538. return $http.post(
  539. '/wx/company/listAll', {
  540. qymc: qymc ? qymc : ""
  541. }, {})
  542. }
  543. export function getByCodes(params) {
  544. // 用园区ID查询楼盘列表
  545. return $http.post(
  546. '/wx/sysDict/getByCodes',
  547. {
  548. codes: params
  549. }, {})
  550. }
  551. export function list(data) {
  552. return $http.post(
  553. parkActivity + '/getMeetingAppointList',
  554. data, {}
  555. )
  556. }
  557. export function listApp(data) {
  558. return $http.post(
  559. parkActivity + '/getMeetingAppointListApp',
  560. data, {}
  561. )
  562. }
  563. export function cancelAppoint(data) {
  564. return $http.post(
  565. parkActivity + '/cancelAppoint',
  566. data, {}
  567. )
  568. }
  569. // /wx/SaleController/
  570. export function getRepairList(data) {
  571. return $http.post(
  572. '/wx/repair/list',
  573. data, {}
  574. )
  575. }
  576. export function editHomeCommunityActivity(data) {
  577. return $http.post(
  578. '/wx/homeActivity/editHomeCommunityActivity',
  579. data, {}
  580. )
  581. }
  582. export function listHomeCommunityActivity(data) {
  583. return $http.post(
  584. '/wx/homeActivity/listHomeCommunityActivity',
  585. data, {}
  586. )
  587. }
  588. export function insertHomeCommunityActivity(data) {
  589. return $http.post(
  590. '/wx/homeActivity/insertHomeCommunityActivity',
  591. data, {}
  592. )
  593. }
  594. export function activityList(data) {
  595. return $http.post(
  596. '/wx/homeActivity/list',
  597. data, {}
  598. )
  599. }
  600. // 报名
  601. export function updateRegistration(data) {
  602. return $http.post(
  603. '/wx/homeActivity/updateRegistration',
  604. data, {}
  605. )
  606. }
  607. // 查询活动详情
  608. export function getHomeCommunityActivityById(data) {
  609. return $http.post(
  610. '/wx/homeActivity/getHomeCommunityActivityById',
  611. data, {}
  612. )
  613. }
  614. // 查询企业是否报名
  615. export function isRegistration(data) {
  616. return $http.post(
  617. '/wx/homeActivity/isRegistration',
  618. data, {}
  619. )
  620. }
  621. //查询企业报名信息
  622. export function getRegistrationInfo(data) {
  623. return $http.post(
  624. '/wx/homeActivity/getRegistrationInfo',
  625. data, {}
  626. )
  627. }
  628. //签到
  629. export function updateSignIn(data) {
  630. return $http.post(
  631. '/wx/homeActivity/updateSignIn',
  632. data, {}
  633. )
  634. }
  635. export function isFinishComInfo(data) {
  636. return $http.post(
  637. '/wx/company/isFinishComInfo',
  638. data, {}
  639. )
  640. }
  641. export function getById(data) {
  642. return $http.post(
  643. '/wx/company/getById',
  644. data, {}
  645. )
  646. }
  647. export function addCompanyExamine(data) {
  648. return $http.post(
  649. '/wx/companyExamine/add',
  650. data, {}
  651. )
  652. }
  653. export function upload(data) {
  654. return $http.post(
  655. '/wx/fileController/upload',
  656. data, {}
  657. )
  658. }
  659. export function newNotice(data) {
  660. return $http.post(
  661. '/wx/noticePark/newNotice',
  662. data, {}
  663. )
  664. }
  665. export function noticeParkList(data) {
  666. return $http.post(
  667. '/wx/noticePark/list',
  668. data, {}
  669. )
  670. }
  671. export function propertyNoticeList(data) {
  672. return $http.post(
  673. '/wx/propertyNotice/list',
  674. data, {}
  675. )
  676. }
  677. export function noticeParkClickCollect(data) {
  678. return $http.post(
  679. '/wx/noticePark/clickCollect',
  680. data, {}
  681. )
  682. }
  683. export function propertyNoticeClickCollect(data) {
  684. return $http.post(
  685. '/wx/propertyNotice/clickCollect ',
  686. data, {}
  687. )
  688. }
  689. export function homeActivityClickCollect(data) {
  690. return $http.post(
  691. '/wx/homeActivity/clickCollect ',
  692. data, {}
  693. )
  694. }
  695. export function userNoticeAdd(data) {
  696. return $http.post(
  697. '/wx/userNotice/add',
  698. data, {}
  699. )
  700. }
  701. // 园区通知发布
  702. export function noticeParkAdd(data) {
  703. return $http.post(
  704. '/wx/noticePark/add',
  705. data, {}
  706. )
  707. }
  708. export function noticeParkGetById(data) {
  709. return $http.post(
  710. '/wx/noticePark/getById',
  711. data, {}
  712. )
  713. }
  714. // 园区通知编辑
  715. export function noticeParkEdit(data) {
  716. return $http.post(
  717. '/wx/noticePark/edit',
  718. data, {}
  719. )
  720. }
  721. // 新增我的反馈
  722. export function parkFeedbackInfoAdd(data) {
  723. return $http.post(
  724. '/wx/parkFeedbackInfo/add',
  725. data, {}
  726. )
  727. }
  728. // 新增我的反馈
  729. export function parkFeedbackInfoList(data) {
  730. return $http.post(
  731. '/wx/parkFeedbackInfo/list',
  732. data, {}
  733. )
  734. }
  735. // 获取我的反馈详情
  736. export function parkFeedbackInfoGetById(data) {
  737. return $http.get(
  738. '/wx/parkFeedbackInfo/getById',
  739. data, {}
  740. )
  741. }
  742. // 我的收藏列表
  743. export function parkUserCollectorsList(data) {
  744. return $http.post(
  745. '/wx/parkUserCollectors/list',
  746. data, {}
  747. )
  748. }
  749. // 产业政策列表
  750. export function policyList(data) {
  751. return $http.post(
  752. '/wx/policy/list',
  753. data, {}
  754. )
  755. }
  756. // 产业政策类型
  757. export function policyListAll(data) {
  758. return $http.post(
  759. '/wx/policyType/listAll',
  760. data, {}
  761. )
  762. }
  763. // 产业政策获取详情
  764. export function policyGetById(data) {
  765. return $http.post(
  766. '/wx/policy/getById',
  767. data, {}
  768. )
  769. }
  770. // 经法填报列表
  771. export function fillControllerList(data) {
  772. return $http.post(
  773. '/wx/fillController/list',
  774. data, {}
  775. )
  776. }
  777. // 经法填报详情
  778. export function getByStag(data) {
  779. return $http.post(
  780. '/wx/fillController/getByStag',
  781. data, {}
  782. )
  783. }
  784. // 经法填报详情保存/提交
  785. export function fillControllerEditSave(data) {
  786. return $http.post(
  787. '/wx/fillController/editSave',
  788. data, {}
  789. )
  790. }
  791. // 园区通知详情
  792. export function getParkNoticeById(data) {
  793. return $http.post(
  794. '/wx/noticePark/getById',
  795. data, {}
  796. )
  797. }
  798. // 物业通知详情
  799. export function getPropertyNoticeById(data) {
  800. return $http.post(
  801. '/wx/propertyNotice/getById',
  802. data, {}
  803. )
  804. }
  805. // 我的消息列表
  806. export function getMsgList(data) {
  807. return $http.post(
  808. '/wx/WxParkSystemMsgInfoController/getMsgList',
  809. data, {}
  810. )
  811. }
  812. // 获取管家
  813. export function getUserMainHouseKeeper(data) {
  814. return $http.post(
  815. '/wx/userRelation/getUserMainHouseKeeper',
  816. data, {}
  817. )
  818. }
  819. // 周边列表
  820. export function peripheryList(data) {
  821. return $http.post(
  822. '/wx/periphery/list',
  823. data, {}
  824. )
  825. }
  826. // 获取周边详情
  827. export function peripheryGetById(data) {
  828. return $http.post(
  829. '/wx/periphery/getById',
  830. data, {}
  831. )
  832. }
  833. export function peripheryAdd(data) {
  834. return $http.post(
  835. '/wx/periphery/add',
  836. data, {}
  837. )
  838. }
  839. export function peripheryEdit(data) {
  840. return $http.post(
  841. '/wx/periphery/edit',
  842. data, {}
  843. )
  844. }
  845. export function peripheryRemove(data) {
  846. return $http.post(
  847. '/wx/periphery/remove',
  848. data, {}
  849. )
  850. }
  851. // 报事报修提交
  852. export function repairAdd(data) {
  853. return $http.post(
  854. '/wx/repair/add',
  855. data, {}
  856. )
  857. }
  858. // 企业账单列表
  859. export function findBillManagementMoreForCollect(data) {
  860. return $http.post(
  861. '/wx/BillController/findBillManagementMoreForCollect',
  862. data, {}
  863. )
  864. }
  865. // 查看园区详情
  866. export function getParkBriefById(data) {
  867. return $http.post(
  868. '/wx/ParkBriefController/getById',
  869. data, {}
  870. )
  871. }
  872. // 共享资源列表
  873. export function getMeetingRoomList(data) {
  874. return $http.post(
  875. '/wx/meetingRoom/getMeetingRoomList',
  876. data, {}
  877. )
  878. }
  879. // 共享资源详情
  880. export function meetingRoomDetail(data) {
  881. return $http.post(
  882. '/wx/meetingRoom/meetingRoomDetail',
  883. data, {}
  884. )
  885. }
  886. // 获取共享资源可选的时间段
  887. export function roomTimeSoltUseful(data) {
  888. return $http.post(
  889. '/wx/meetingRoom/roomTimeSoltUseful',
  890. data, {}
  891. )
  892. }
  893. // 获取共享资源时间段状态
  894. export function roomTimeSoltDetail(data) {
  895. return $http.post(
  896. '/wx/meetingRoom/roomTimeSoltDetail',
  897. data, {}
  898. )
  899. }
  900. // 共享资源预约 新增
  901. export function meetingAppoint(data) {
  902. return $http.post(
  903. '/wx/meetingRoom/meetingAppoint',
  904. data, {}
  905. )
  906. }
  907. // 共享资源预约时间段校验
  908. export function meetingAppointCheck(data) {
  909. return $http.post(
  910. '/wx/meetingRoom/meetingAppointCheck',
  911. data, {}
  912. )
  913. }
  914. // 共享资源预约 历史
  915. export function getMeetingAppointListApp(data) {
  916. return $http.post(
  917. '/wx/meetingAppoint/getMeetingAppointListApp',
  918. data, {}
  919. )
  920. }
  921. // 共享资源预约 编辑
  922. export function meetingAppointEdit(data) {
  923. return $http.post(
  924. '/wx/meetingAppoint/edit',
  925. data, {}
  926. )
  927. }
  928. // 共享资源预约 详情
  929. export function meetingAppointDetail(e) {
  930. return $http.post(
  931. '/wx/meetingAppoint/meetingAppointDetail', e, {}
  932. )
  933. }
  934. // // 共享资源预约 审核
  935. export function meetingAppointConfirmAudit(e) {
  936. return $http.post(
  937. '/wx/meetingAppoint/confirmAudit', e, {}
  938. )
  939. }
  940. // 查询用户部门
  941. export function getUserDept(data) {
  942. return $http.post(
  943. '/wx/PubController/getUserDept',
  944. data, {}
  945. )
  946. }
  947. // 新增企业预定
  948. export function parkRoomSlateAdd(e) {
  949. return $http.post(
  950. '/wx/ParkRoomSlateController/add', e, {}
  951. )
  952. }
  953. // 我的预定
  954. export function parkRoomSlateList(e) {
  955. return $http.post(
  956. '/wx/ParkRoomSlateController/listAll', e, {}
  957. )
  958. }
  959. // 删除房源预定
  960. export function parkRoomSlateRemove(e) {
  961. return $http.post(
  962. '/wx/ParkRoomSlateController/remove', e, {}
  963. )
  964. }
  965. // 房源预定详情
  966. export function getParkRoomSlateInfoById(e) {
  967. return $http.post(
  968. '/wx/ParkRoomSlateController/getById', e, {}
  969. )
  970. }
  971. // 编辑企业预定
  972. export function parkRoomSlateEdit(e) {
  973. return $http.post(
  974. '/wx/ParkRoomSlateController/edit', e, {}
  975. )
  976. }
  977. // 新增物业通知
  978. export function propertyNoticeAdd(e) {
  979. return $http.post(
  980. '/wx/propertyNotice/add', e, {}
  981. )
  982. }
  983. export function propertyNoticeEdit(e) {
  984. return $http.post(
  985. '/wx/propertyNotice/edit', e, {}
  986. )
  987. }
  988. // 我的消息列表
  989. export function getMyList(data) {
  990. return $http.post(
  991. '/wx/information/getMyList',
  992. data, {}
  993. )
  994. }
  995. // 阅读我的消息
  996. export function updateInformation(data) {
  997. return $http.post(
  998. '/wx/information/updateInformation',
  999. data, {}
  1000. )
  1001. }
  1002. // 阅读我的消息2
  1003. export function parkSystemMsgReadAdd(data) {
  1004. return $http.post(
  1005. '/wx/WxParkSystemMsgReadController/add',
  1006. data, {}
  1007. )
  1008. }
  1009. // 服务评价
  1010. export function parkServiceEvaluationAdd(data) {
  1011. return $http.post(
  1012. '/wx/parkServiceEvaluation/add',
  1013. data, {}
  1014. )
  1015. }
  1016. // 合同详情
  1017. export function getContractById(data) {
  1018. return $http.post(
  1019. '/wx/ParkContractManageController/getById',
  1020. data, {}
  1021. )
  1022. }