http.js 25 KB

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