http.js 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  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. // handleList?
  292. export function findCompanyTags(e) {
  293. return $http.post(
  294. '/wx/MnpTagInfoController/getCompanyTags/' + e, {}, {})
  295. }
  296. export function removeTagsBind(e) {
  297. return $http.post(
  298. '/wx/MnpTagInfoController/removeBind', e, {}
  299. )
  300. }
  301. export function addInterview(e) {
  302. return $http.post(
  303. "/wx/interviewEscalation/add", e, {})
  304. }
  305. export function editInterview(e) {
  306. return $http.post(
  307. "/wx/interviewEscalation/edit", e, {})
  308. }
  309. export function getInterviewList(e) {
  310. return $http.post(
  311. "/wx/interviewEscalation/list", e, {})
  312. }
  313. export function getInterviewDetails(e) {
  314. return $http.post(
  315. "/wx/interviewEscalation/getById", {
  316. id: e
  317. }, {})
  318. }
  319. export function findSafetySelfCheckingPlanById(e) {
  320. return $http.post(
  321. "/wx/SafetyController/findSafetySelfCheckingPlanById", {
  322. id: e
  323. }, {})
  324. }
  325. //
  326. export function findSafetySelfCheckingPlanList(e) {
  327. return $http.post(
  328. "/wx/SafetyController/findSafetySelfCheckingPlanList",
  329. e, {})
  330. }
  331. export function getBySaveStatus(e) {
  332. return $http.post(
  333. "/wx/interviewEscalation/getBySaveStatus", {
  334. createdBy: e
  335. }, {})
  336. }
  337. export function companyExamineAdd(e) {
  338. return $http.post(
  339. "/wx/company/add", e, {})
  340. }
  341. export function listByModel(e) {
  342. return $http.post(
  343. '/wx/SaleController/findSaleManagementListByRoomId',
  344. e, {})
  345. }
  346. export function listVo(e) {
  347. // 查询园区列表,不需要参数
  348. return $http.post(
  349. '/wx/company/listVo', e, {})
  350. }
  351. // /wx/SafetyController/addSafetySelfCheckingPlan
  352. export function addSafetySelfCheckingPlan(e) {
  353. // 查询园区列表,不需要参数
  354. return $http.post(
  355. '/wx/SafetyController/addSafetySelfCheckingPlan', {
  356. ...e
  357. }, {})
  358. }
  359. export function findSafetySelfCheckingManagetById(e) {
  360. // 查询园区列表,不需要参数
  361. return $http.post(
  362. '/wx/SafetyController/findSafetySelfCheckingManagetById', {
  363. id: e
  364. }, {})
  365. }
  366. export function findSafetySelfCheckingManageList(e) {
  367. // 查询园区列表,不需要参数
  368. return $http.post(
  369. '/wx/SafetyController/findSafetySelfCheckingManageList', e, {})
  370. }
  371. export function findYuanQuList() {
  372. // 查询园区列表,不需要参数
  373. return $http.post(
  374. '/wx/SaleController/findYuanQuList', {}, {})
  375. }
  376. export function findLongPanList(id) {
  377. // 用园区ID查询楼盘列表
  378. return $http.post(
  379. '/wx/SaleController/findLouPanList', {
  380. id: id
  381. }, {})
  382. }
  383. export function findLouDongList(id) {
  384. // 用园区ID查询楼盘列表
  385. return $http.post(
  386. '/wx/SaleController/findLouDongList', {
  387. id: id
  388. }, {})
  389. }
  390. export function clickCollect(e) {
  391. return $http.post(
  392. '/wx/parkActivity/clickCollect',
  393. e, {})
  394. }
  395. export function insertRegisSignInfo(e) {
  396. return $http.post(
  397. '/wx/parkActivity/insertRegisSignInfo',
  398. e, {})
  399. }
  400. export function richScan(e) {
  401. return $http.post(
  402. '/wx/parkActivity/richScan',
  403. e, {})
  404. }
  405. export function getActivityById(id, signInCode, userId) {
  406. return $http.get(
  407. '/wx/parkActivity/getBySignInCode?id=' + id + '&userId=' + userId + "&signInCode=" + signInCode, {}, {})
  408. }
  409. // /wx/userPower/getUserPower?userId=1088765543780974592
  410. export function getUserPower(e) {
  411. return $http.post(
  412. '/wx/userPower/getUserPower', {
  413. userId: e
  414. }, {})
  415. }
  416. export function editPassword(e) {
  417. return $http.post(
  418. '/wx/frameUser/editPassword', e, {})
  419. }
  420. export function updateListRectificationManagement(e) {
  421. return $http.post(
  422. '/wx/RectificationController/updateListRectificationManagement', e, {})
  423. }
  424. // /wx/RectificationController/findUserListByRoleWuye
  425. export function findUserListByRoleWuye() {
  426. // 用园区ID查询楼盘列表
  427. return $http.post(
  428. '/wx/RectificationController/findUserListByRoleWuye',
  429. {}, {})
  430. }
  431. export function listAllUserMain() {
  432. // 用园区ID查询楼盘列表
  433. return $http.post(
  434. '/wx/UserMainExpandController/listAllUserMain',
  435. {}, {})
  436. }
  437. export function userList(e) {
  438. // http://192.168.2.112:9011/wx/frameUser/userList
  439. return $http.post(
  440. '/wx/frameUser/userList',
  441. e
  442. , {})
  443. }
  444. export function findAllSimpleCompanies(e) {
  445. // http://192.168.2.112:9011/wx/frameUser/userList
  446. return $http.post(
  447. '/wx/company/findAllSimpleCompanies', { searchInfo: e.qymc, pageNum: 1, pageSize: 10000 }, {})
  448. }
  449. export function findTrackUserList() {
  450. // http://192.168.2.112:9011/wx/frameUser/userList
  451. return $http.post(
  452. '/wx/SaleController/findTrackUserList', {}, {})
  453. }
  454. export function getSelectUserTwo(e) {
  455. // 用园区ID查询楼盘列表
  456. return $http.post(
  457. '/wx/frameUser/getSelectUserTwo', {
  458. searchName: e
  459. }, {})
  460. }
  461. export function getSelectDeptTwo(e) {
  462. // 用园区ID查询楼盘列表
  463. return $http.post(
  464. '/wx/frameUser/getSelectDeptTwo',
  465. {
  466. searchName: e
  467. }, {})
  468. }
  469. export function findRoomInfoListByIds(e) {
  470. // 用园区ID查询楼盘列表
  471. return $http.post(
  472. '/wx/SaleController/findRoomInfoListByIds',
  473. {
  474. ids: e
  475. }, {})
  476. }
  477. export function findCompanyList() {
  478. // 用园区ID查询楼盘列表
  479. return $http.post(
  480. '/wx/SaleController/findCompanyList', {}, {})
  481. }
  482. export function addyixiang(e) {
  483. return $http.post(
  484. '/wx/SaleController/add',
  485. e, {})
  486. }
  487. export function editSave(e) {
  488. return $http.post(
  489. '/wx/SaleController/editSave',
  490. e, {})
  491. }
  492. export function findCompanyInfoList(data) {
  493. return $http.post(
  494. "/wx/SaleController/findCompanyInfoList",
  495. data, {}
  496. )
  497. }
  498. export function findRoomByCondition(params) {
  499. // 用园区ID查询楼盘列表
  500. return $http.post(
  501. '/wx/SaleController/findRoomByCondition', params, {})
  502. }
  503. export function findRoomByConditionExcel(params) {
  504. // 用园区ID查询楼盘列表
  505. return $http.post(
  506. '/wx/SaleController/findRoomByConditionExcel', 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. export function peripheryAdd(data) {
  805. return $http.post(
  806. '/wx/periphery/add',
  807. data, {}
  808. )
  809. }
  810. export function peripheryEdit(data) {
  811. return $http.post(
  812. '/wx/periphery/edit',
  813. data, {}
  814. )
  815. }
  816. export function peripheryRemove(data) {
  817. return $http.post(
  818. '/wx/periphery/remove',
  819. data, {}
  820. )
  821. }
  822. // 报事报修提交
  823. export function repairAdd(data) {
  824. return $http.post(
  825. '/wx/repair/add',
  826. data, {}
  827. )
  828. }
  829. // 企业账单列表
  830. export function findBillManagementMoreForCollect(data) {
  831. return $http.post(
  832. '/wx/BillController/findBillManagementMoreForCollect',
  833. data, {}
  834. )
  835. }
  836. // 查看园区详情
  837. export function getParkBriefById(data) {
  838. return $http.post(
  839. '/wx/ParkBriefController/getById',
  840. data, {}
  841. )
  842. }
  843. // 共享资源列表
  844. export function getMeetingRoomList(data) {
  845. return $http.post(
  846. '/wx/meetingRoom/getMeetingRoomList',
  847. data, {}
  848. )
  849. }
  850. // 共享资源详情
  851. export function meetingRoomDetail(data) {
  852. return $http.post(
  853. '/wx/meetingRoom/meetingRoomDetail',
  854. data, {}
  855. )
  856. }
  857. // 获取共享资源可选的时间段
  858. export function roomTimeSoltUseful(data) {
  859. return $http.post(
  860. '/wx/meetingRoom/roomTimeSoltUseful',
  861. data, {}
  862. )
  863. }
  864. // 获取共享资源时间段状态
  865. export function roomTimeSoltDetail(data) {
  866. return $http.post(
  867. '/wx/meetingRoom/roomTimeSoltDetail',
  868. data, {}
  869. )
  870. }
  871. // 共享资源预约 新增
  872. export function meetingAppoint(data) {
  873. return $http.post(
  874. '/wx/meetingRoom/meetingAppoint',
  875. data, {}
  876. )
  877. }
  878. // 共享资源预约时间段校验
  879. export function meetingAppointCheck(data) {
  880. return $http.post(
  881. '/wx/meetingRoom/meetingAppointCheck',
  882. data, {}
  883. )
  884. }
  885. // 共享资源预约 历史
  886. export function getMeetingAppointListApp(data) {
  887. return $http.post(
  888. '/wx/meetingAppoint/getMeetingAppointListApp',
  889. data, {}
  890. )
  891. }
  892. // 共享资源预约 编辑
  893. export function meetingAppointEdit(data) {
  894. return $http.post(
  895. '/wx/meetingAppoint/edit',
  896. data, {}
  897. )
  898. }
  899. export function meetingAppointDetail(e) {
  900. return $http.post(
  901. '/wx/meetingAppoint/meetingAppointDetail', e, {}
  902. )
  903. }
  904. // 查询用户部门
  905. export function getUserDept(data) {
  906. return $http.post(
  907. '/wx/PubController/getUserDept',
  908. data, {}
  909. )
  910. }
  911. // 新增企业预定
  912. export function parkRoomSlateAdd(e) {
  913. return $http.post(
  914. '/wx/ParkRoomSlateController/add', e, {}
  915. )
  916. }
  917. // 我的预定
  918. export function parkRoomSlateList(e) {
  919. return $http.post(
  920. '/wx/ParkRoomSlateController/listAll', e, {}
  921. )
  922. }
  923. // 删除房源预定
  924. export function parkRoomSlateRemove(e) {
  925. return $http.post(
  926. '/wx/ParkRoomSlateController/remove', e, {}
  927. )
  928. }
  929. // 房源预定详情
  930. export function getParkRoomSlateInfoById(e) {
  931. return $http.post(
  932. '/wx/ParkRoomSlateController/getById', e, {}
  933. )
  934. }
  935. // 编辑企业预定
  936. export function parkRoomSlateEdit(e) {
  937. return $http.post(
  938. '/wx/ParkRoomSlateController/edit', e, {}
  939. )
  940. }
  941. // 新增物业通知
  942. export function propertyNoticeAdd(e) {
  943. return $http.post(
  944. '/wx/propertyNotice/add', e, {}
  945. )
  946. }
  947. export function propertyNoticeEdit(e) {
  948. return $http.post(
  949. '/wx/propertyNotice/edit', e, {}
  950. )
  951. }
  952. // 我的消息列表
  953. export function getMyList(data) {
  954. return $http.post(
  955. '/wx/information/getMyList',
  956. data, {}
  957. )
  958. }
  959. // 阅读我的消息
  960. export function updateInformation(data) {
  961. return $http.post(
  962. '/wx/information/updateInformation',
  963. data, {}
  964. )
  965. }
  966. // 阅读我的消息2
  967. export function parkSystemMsgReadAdd(data) {
  968. return $http.post(
  969. '/wx/WxParkSystemMsgReadController/add',
  970. data, {}
  971. )
  972. }