http.js 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280
  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/login_by_app_main',
  15. data, {}
  16. )
  17. }
  18. // customerManagementId
  19. export function getByCustomerManagementId(data) {
  20. return $http.post(
  21. '/wx/IntentionalDepositController/getByCustomerManagementId',
  22. data, {}
  23. )
  24. }
  25. // /IntentionalDepositController/list
  26. export function getYxjList(data) {
  27. return $http.post(
  28. '/wx/IntentionalDepositController/list',
  29. data, {}
  30. )
  31. }
  32. export function editDj(data) {
  33. return $http.post(
  34. '/wx/RoomSelectionInfoController/edit',
  35. data, {}
  36. )
  37. }
  38. export function addDj(data) {
  39. return $http.post(
  40. '/wx/RoomSelectionInfoController/add',
  41. data, {}
  42. )
  43. }
  44. export function getDjById(data) {
  45. return $http.post(
  46. '/wx/RoomSelectionInfoController/getById',
  47. data, {}
  48. )
  49. }
  50. export function getDjList(data) {
  51. return $http.post(
  52. '/wx/RoomSelectionInfoController/list',
  53. data, {}
  54. )
  55. }
  56. // /IntentionalDepositController/edit
  57. export function addIntentional(data) {
  58. return $http.post(
  59. '/wx/IntentionalDepositController/add',
  60. data, {}
  61. )
  62. }
  63. export function editIntentional(data) {
  64. return $http.post(
  65. '/wx/IntentionalDepositController/edit',
  66. data, {}
  67. )
  68. }
  69. export function getSerialNumber(data) {
  70. return $http.post(
  71. '/wx/IntentionalDepositController/getSerialNumber',
  72. data, {}
  73. )
  74. }
  75. export function getDjNumber(data) {
  76. return $http.post(
  77. '/wx/RoomSelectionInfoController/getSerialNumber',
  78. data, {}
  79. )
  80. }
  81. // ParkFloorDiscController
  82. export function ParkFloorDiscControllerGetById(data) {
  83. return $http.post(
  84. '/wx/ParkFloorDiscController/getById',
  85. data, {}
  86. )
  87. }
  88. export function getCustomerInfoById(data) {
  89. return $http.post(
  90. '/wx/CustomerManagementController/getById',
  91. data, {}
  92. )
  93. }
  94. export function addRectificationManagement(data) {
  95. return $http.post(
  96. '/wx/RectificationController/addRectificationManagement',
  97. data, {}
  98. )
  99. }
  100. export function getSelectedList(data) {
  101. return $http.post(
  102. '/wx/RoomSelectionInfoController/listAll',
  103. data, {}
  104. )
  105. }
  106. export function submitHouse(data) {
  107. return $http.post(
  108. '/wx/RoomSelectionInfoController/submit',
  109. data, {}
  110. )
  111. }
  112. export function loginByWeixin2(code) {
  113. return $http.post(
  114. '/wx/auth/login_by_weixin2',
  115. code, {}
  116. )
  117. }export function switchCommonUser(code) {
  118. return $http.post(
  119. '/wx/auth/switchCommonUser',
  120. code, {}
  121. )
  122. }
  123. export function getUserLocalStorageInfo() {
  124. const userInfo = JSON.parse(
  125. uni.getStorageSync("USERINFO"));
  126. return userInfo
  127. }
  128. export function uploadPDF() {
  129. uni.showLoading({
  130. title: '加载中',
  131. mask: true
  132. });
  133. return new Promise((resolve, reject) => {
  134. uni.chooseMessageFile({
  135. count: 1, //默认100
  136. type: 'file',
  137. success: (res) => {
  138. uni.uploadFile({
  139. url: BASE_URI + "/wx/fileController/upload",
  140. filePath: res.tempFiles[0].path,
  141. name: "file",
  142. formData: {
  143. user: "test"
  144. },
  145. success(successRes) {
  146. // 上传完成需要更新 fileList
  147. let data = JSON.parse(successRes.data);
  148. uni.showToast({
  149. title: '提交成功',
  150. duration: 500
  151. });
  152. resolve({
  153. url: data.data[0],
  154. name: res.tempFiles[0].name
  155. })
  156. },
  157. fail(res) { },
  158. });
  159. },
  160. fail(e) {
  161. uni.showToast({
  162. title: '提交成功',
  163. duration: 0
  164. });
  165. }
  166. });
  167. })
  168. }
  169. export function getBuildDetails(data) {
  170. return $http.post(
  171. '/wx/MnpBuildingController/getById',
  172. data, {}
  173. )
  174. }
  175. export function addZaiti(data) {
  176. return $http.post(
  177. '/wx/ParkRoomController/add',
  178. data, {}
  179. )
  180. }
  181. export function getCompanyById2(data) {
  182. return $http.post(
  183. '/wx/roadShow/getCompanyById',
  184. data, {}
  185. )
  186. }
  187. export function add(data) {
  188. return $http.post(
  189. '/wx/repair/add',
  190. data, {}
  191. )
  192. }
  193. export function getPartyBranchList(data) {
  194. return $http.post(
  195. '/wx/partyBranch/getPartyBranchList',
  196. data, {}
  197. )
  198. }
  199. export function selectByCompanyId(data) {
  200. return $http.post(
  201. '/wx/SocialCarrierController/selectByCompanyId',
  202. data, {}
  203. )
  204. }
  205. export function getTreeData2(data) {
  206. return $http.post(
  207. '/wx/ParkInfoController/getTreeData2',
  208. data, {}
  209. )
  210. }
  211. export function getTreeData6(data) {
  212. return $http.post(
  213. '/wx/ParkInfoController/getTreeData6',
  214. data, {}
  215. )
  216. }
  217. export function getActivationRanking(data) {
  218. return $http.post(
  219. '/wx/partyBranch/getActivationRanking',
  220. data, {}
  221. )
  222. }
  223. export function findRectificationManagementInOutList(data) {
  224. return $http.post(
  225. '/wx/RectificationController/findRectificationManagementInOutList',
  226. data, {}
  227. )
  228. }
  229. export function findRectificationManagementInOutById(e) {
  230. return $http.post(
  231. '/wx/RectificationController/findRectificationManagementInOutById', {
  232. id: e
  233. }, {}
  234. )
  235. }
  236. export function repairList(data) {
  237. return $http.post(
  238. '/wx/repair/list',
  239. data, {}
  240. )
  241. }export function repairHandleList(data) {
  242. return $http.post(
  243. '/wx/repair/handleList',
  244. data, {}
  245. )
  246. }
  247. export function addSafetySelfCheckingManage(data) {
  248. return $http.post(
  249. '/wx/SafetyController/addSafetySelfCheckingManage',
  250. data, {}
  251. )
  252. }
  253. export function updateSafetySelfCheckingManage(data) {
  254. return $http.post(
  255. '/wx/SafetyController/updateSafetySelfCheckingManage',
  256. data, {}
  257. )
  258. }
  259. export function editRepair(data) {
  260. return $http.post(
  261. '/wx/repair/edit',
  262. data, {}
  263. )
  264. }
  265. export function addRepair(data) {
  266. return $http.post(
  267. '/wx/repair/add',
  268. data, {}
  269. )
  270. }
  271. export function getRepairDispatchById(id) {
  272. return $http.post(
  273. '/wx/repair/getById', {
  274. id: id
  275. }, {}
  276. )
  277. }
  278. export function getDispatchToPerson(data) {
  279. return $http.post(
  280. '/wx/repair/getDispatchToPerson',
  281. data, {}
  282. )
  283. }
  284. export function getCompanyById(data) {
  285. return $http.post(
  286. '/wx/roadShow/getCompanyById', data, {},
  287. )
  288. }
  289. export function getWxCompanyTags(e) {
  290. return $http.post(
  291. '/wx/MnpTagInfoController/tagInfoList', e, {}
  292. )
  293. }
  294. export function tagsBind(e) {
  295. return $http.post(
  296. '/wx/MnpTagInfoController/bind', e, {}
  297. )
  298. }
  299. export function saleControllerGetById(e) {
  300. return $http.post(
  301. '/wx/SaleController/getById', {
  302. id: e
  303. }, {}
  304. )
  305. }
  306. export function parkRoomGetById(e) {
  307. return $http.post(
  308. '/wx/ParkRoomController/getById', {
  309. id: e
  310. }, {}
  311. )
  312. }
  313. export function getAppUserMain(data) {
  314. return $http.post(
  315. '/wx/company/getById',
  316. data, {}
  317. )
  318. }
  319. export function parkRoomEdit(data) {
  320. return $http.post(
  321. '/wx/ParkRoomController/edit',
  322. data, {}
  323. )
  324. }
  325. export function confirmAudit(data) {
  326. return $http.post(
  327. '/wx/meetingAppoint/confirmAudit',
  328. data, {}
  329. )
  330. }
  331. export function getCompanyTags(e) {
  332. return $http.post(
  333. '/wx/MnpTagInfoController/getCompanyTags', e, {}
  334. )
  335. }
  336. export function getCompanyTagsByQybq(qybq) {
  337. return $http.post(
  338. '/wx/MnpTagInfoController/getCompanyTagsByQybq', {
  339. qybq: qybq
  340. }, {})
  341. }
  342. export function companyECdit(data) {
  343. return $http.post(
  344. '/wx/company/edit', data, {})
  345. }
  346. export function tagInfoList(e) {
  347. return $http.post(
  348. '/wx/MnpTagInfoController/tagInfoList',
  349. e, {})
  350. }
  351. export function findDeptList() {
  352. return $http.post(
  353. '/wx/SaleController/findDeptList', {}, {})
  354. }
  355. export function tagCategoryList() {
  356. return $http.post(
  357. '/wx/MnpTagController/tagCategoryList', {}, {}
  358. )
  359. }
  360. export function interviewEscalationListAll(id) {
  361. return $http.post('/wx/interviewEscalation/listAll', {
  362. companyId: id
  363. }, {})
  364. }
  365. export function getUserInfo(data) {
  366. let laocui_user_info = JSON.parse(uni.getStorageSync('laocui_user_info'))
  367. return $http.post(
  368. '/wx/frameUser/getMyInfo?userId=' + laocui_user_info.user.id, {}, {})
  369. }
  370. export function getRoomInfo(e) {
  371. return $http.post(
  372. '/wx/ParkRoomController/getById', {
  373. id: e
  374. }, {})
  375. }
  376. export function getCompanyHouseDetails(e) {
  377. return $http.post(
  378. '/wx/company/getById', {
  379. id: e
  380. }, {})
  381. }
  382. export function handleList(e) {
  383. return $http.post(
  384. '/wx/workPaneController/handleList',
  385. e, {})
  386. }
  387. export function readList(e) {
  388. return $http.post(
  389. '/wx/workPaneController/readList',
  390. e, {})
  391. }
  392. export function readListAll(e) {
  393. return $http.post(
  394. '/wx/workPaneController/readListAll',
  395. e, {})
  396. }
  397. export function getHouseImage(e) {
  398. return $http.post(
  399. '/wx/HouseTypeController/listAll',
  400. e, {})
  401. }
  402. export function getCustomer(e) {
  403. return $http.post(
  404. '/wx/CustomerManagementController/list',
  405. e, {})
  406. }
  407. // 获取待阅数量
  408. export function getReadSizeByTypes(e) {
  409. return $http.post(
  410. '/wx/workPaneController/getReadSizeByTypes',
  411. e, {})
  412. }
  413. // 阅读待阅
  414. export function userRead(e) {
  415. return $http.post(
  416. '/wx/workPaneController/userRead',
  417. e, {})
  418. }
  419. // 获取待办数量
  420. export function getHandleSizeTypes(e) {
  421. return $http.post(
  422. '/wx/workPaneController/getHandleSizeTypes',
  423. e, {})
  424. }
  425. // 获取待办列表
  426. export function handleListAll(e) {
  427. return $http.post(
  428. '/wx/workPaneController/handleListAll',
  429. e, {})
  430. }
  431. // handleList?
  432. export function findCompanyTags(e) {
  433. return $http.post(
  434. '/wx/MnpTagInfoController/getCompanyTags/' + e, {}, {})
  435. }
  436. export function removeTagsBind(e) {
  437. return $http.post(
  438. '/wx/MnpTagInfoController/removeBind', e, {}
  439. )
  440. }
  441. export function addInterview(e) {
  442. return $http.post(
  443. "/wx/interviewEscalation/add", e, {})
  444. }
  445. export function editInterview(e) {
  446. return $http.post(
  447. "/wx/interviewEscalation/edit", e, {})
  448. }
  449. export function getInterviewList(e) {
  450. return $http.post(
  451. "/wx/interviewEscalation/list", e, {})
  452. }
  453. export function getInterviewDetails(e) {
  454. return $http.post(
  455. "/wx/interviewEscalation/getById", {
  456. id: e
  457. }, {})
  458. }
  459. export function findSafetySelfCheckingPlanById(e) {
  460. return $http.post(
  461. "/wx/SafetyController/findSafetySelfCheckingPlanById", {
  462. id: e
  463. }, {})
  464. }
  465. //
  466. export function findSafetySelfCheckingPlanList(e) {
  467. return $http.post(
  468. "/wx/SafetyController/findSafetySelfCheckingPlanList",
  469. e, {})
  470. }
  471. export function getBySaveStatus(e) {
  472. return $http.post(
  473. "/wx/interviewEscalation/getBySaveStatus", {
  474. createdBy: e
  475. }, {})
  476. }
  477. export function companyExamineAdd(e) {
  478. return $http.post(
  479. "/wx/companyExamine/add", e, {})
  480. }
  481. export function companyExamineGetById(e) {
  482. return $http.post(
  483. "/wx/companyExamine/getById", e, {})
  484. }
  485. export function companyExamineExamine(e) {
  486. return $http.post(
  487. "/wx/companyExamine/examine", e, {})
  488. }
  489. export function listVo(e) {
  490. // 查询园区列表,不需要参数
  491. return $http.post(
  492. '/wx/company/listVo', e, {})
  493. }
  494. // /wx/SafetyController/addSafetySelfCheckingPlan
  495. export function addSafetySelfCheckingPlan(e) {
  496. // 查询园区列表,不需要参数
  497. return $http.post(
  498. '/wx/SafetyController/addSafetySelfCheckingPlan', {
  499. ...e
  500. }, {})
  501. }
  502. export function findSafetySelfCheckingManagetById(e) {
  503. // 查询园区列表,不需要参数
  504. return $http.post(
  505. '/wx/SafetyController/findSafetySelfCheckingManagetById', {
  506. id: e
  507. }, {})
  508. }
  509. export function findSafetySelfCheckingManageList(e) {
  510. // 查询园区列表,不需要参数
  511. return $http.post(
  512. '/wx/SafetyController/findSafetySelfCheckingManageList', e, {})
  513. }
  514. export function findXiangMuList() {
  515. // 查询园区列表,不需要参数
  516. return $http.post(
  517. '/wx/ParkFloorDiscController/listAll', {}, {})
  518. }
  519. export function findFenQiList(id) {
  520. // 用园区ID查询楼盘列表
  521. return $http.post(
  522. '/wx/ParkFloorDiscController/listAll', {
  523. groupIds: id
  524. }, {})
  525. }
  526. export function clickCollect(e) {
  527. return $http.post(
  528. '/wx/parkActivity/clickCollect',
  529. e, {})
  530. }
  531. export function insertRegisSignInfo(e) {
  532. return $http.post(
  533. '/wx/parkActivity/insertRegisSignInfo',
  534. e, {})
  535. }
  536. export function richScan(e) {
  537. return $http.post(
  538. '/wx/parkActivity/richScan',
  539. e, {})
  540. }
  541. export function getActivityById(id, signInCode, userId) {
  542. return $http.get(
  543. '/wx/parkActivity/getBySignInCode?id=' + id + '&userId=' + userId + "&signInCode=" + signInCode, {}, {})
  544. }
  545. // /wx/userPower/getUserPower?userId=1088765543780974592
  546. export function getUserPower(e) {
  547. return $http.post(
  548. '/wx/userPower/getUserPower', {
  549. userId: e
  550. }, {})
  551. }
  552. export function editPassword(e) {
  553. return $http.post(
  554. '/wx/frameUser/editPassword', e, {})
  555. }
  556. export function updateListRectificationManagement(e) {
  557. return $http.post(
  558. '/wx/RectificationController/updateListRectificationManagement', e, {})
  559. }
  560. // /wx/RectificationController/findUserListByRoleWuye
  561. export function findUserListByRoleWuye() {
  562. // 用园区ID查询楼盘列表
  563. return $http.post(
  564. '/wx/RectificationController/findUserListByRoleWuye',
  565. {}, {})
  566. }
  567. export function listAllUserMain() {
  568. // 用园区ID查询楼盘列表
  569. return $http.post(
  570. '/wx/UserMainExpandController/listAllUserMain',
  571. {}, {})
  572. }
  573. export function userList(e) {
  574. // http://192.168.2.112:9011/wx/frameUser/userList
  575. return $http.post(
  576. '/wx/frameUser/userList',
  577. e
  578. , {})
  579. }
  580. export function findAllSimpleCompanies(e) {
  581. // http://192.168.2.112:9011/wx/frameUser/userList
  582. return $http.post(
  583. '/wx/company/findAllSimpleCompanies', { searchInfo: e.qymc, pageNum: 1, pageSize: 10000 }, {})
  584. }
  585. export function findTrackUserList() {
  586. // http://192.168.2.112:9011/wx/frameUser/userList
  587. return $http.post(
  588. '/wx/SaleController/findTrackUserList', {}, {})
  589. }
  590. export function getSelectUserTwo(e) {
  591. // 用园区ID查询楼盘列表
  592. return $http.post(
  593. '/wx/frameUser/getSelectUserTwo', {
  594. searchName: e
  595. }, {})
  596. }
  597. export function getSelectDeptTwo(e) {
  598. // 用园区ID查询楼盘列表
  599. return $http.post(
  600. '/wx/frameUser/getSelectDeptTwo',
  601. {
  602. searchName: e
  603. }, {})
  604. }
  605. export function findRoomInfoListByIds(e) {
  606. // 用园区ID查询楼盘列表
  607. return $http.post(
  608. '/wx/SaleController/findRoomInfoListByIds',
  609. {
  610. ids: e
  611. }, {})
  612. }
  613. export function findCompanyList() {
  614. // 用园区ID查询楼盘列表
  615. return $http.post(
  616. '/wx/SaleController/findCompanyList', {}, {})
  617. }
  618. export function addyixiang(e) {
  619. return $http.post(
  620. '/wx/SaleController/add',
  621. e, {})
  622. }
  623. export function editSave(e) {
  624. return $http.post(
  625. '/wx/SaleController/editSave',
  626. e, {})
  627. }
  628. export function findCompanyInfoList(data) {
  629. return $http.post(
  630. "/wx/SaleController/findCompanyInfoList",
  631. data, {}
  632. )
  633. }
  634. export function findRoomByCondition(params) {
  635. // 用园区ID查询楼盘列表
  636. return $http.post(
  637. '/wx/SaleController/findRoomByCondition', params, {})
  638. }
  639. export function listByModel(params) {
  640. // 用园区ID查询楼盘列表
  641. return $http.post(
  642. '/wx/ParkRoomController/listByModel', params, {})
  643. }
  644. export function getCompanyAll(qymc) {
  645. return $http.post(
  646. '/wx/company/listAll', {
  647. qymc: qymc ? qymc : ""
  648. }, {})
  649. }
  650. export function getByCodes(params) {
  651. // 用园区ID查询楼盘列表
  652. return $http.post(
  653. '/wx/SysDictController/getByCodes',
  654. {
  655. codes: params
  656. }, {})
  657. }
  658. export function list(data) {
  659. return $http.post(
  660. parkActivity + '/getMeetingAppointList',
  661. data, {}
  662. )
  663. }
  664. export function listApp(data) {
  665. return $http.post(
  666. parkActivity + '/getMeetingAppointListApp',
  667. data, {}
  668. )
  669. }
  670. export function cancelAppoint(data) {
  671. return $http.post(
  672. parkActivity + '/cancelAppoint',
  673. data, {}
  674. )
  675. }
  676. // /wx/SaleController/
  677. export function getRepairList(data) {
  678. return $http.post(
  679. '/wx/repair/list',
  680. data, {}
  681. )
  682. }
  683. export function editHomeCommunityActivity(data) {
  684. return $http.post(
  685. '/wx/homeActivity/editHomeCommunityActivity',
  686. data, {}
  687. )
  688. }
  689. export function listHomeCommunityActivity(data) {
  690. return $http.post(
  691. '/wx/homeActivity/listHomeCommunityActivity',
  692. data, {}
  693. )
  694. }
  695. export function insertHomeCommunityActivity(data) {
  696. return $http.post(
  697. '/wx/homeActivity/insertHomeCommunityActivity',
  698. data, {}
  699. )
  700. }
  701. // export function activityList(data) {
  702. // return $http.post(
  703. // '/wx/homeActivity/list',
  704. // data, {}
  705. // )
  706. // }
  707. export function parkListAll(data) {
  708. return $http.post(
  709. '/wx/parkBrief/listAll',
  710. data, {}
  711. )
  712. }
  713. export function ParkInfoControllerListAll(data) {
  714. return $http.post(
  715. '/wx/ParkInfoController/listAll',
  716. data, {}
  717. )
  718. }
  719. export function parkBriefGetBridf(data) {
  720. return $http.post(
  721. '/wx/parkBrief/getBridf',
  722. data, {}
  723. )
  724. }
  725. // 报名
  726. export function updateRegistration(data) {
  727. return $http.post(
  728. '/wx/homeActivity/updateRegistration',
  729. data, {}
  730. )
  731. }
  732. // 查询活动详情
  733. export function getHomeCommunityActivityById(data) {
  734. return $http.post(
  735. '/wx/homeActivity/getHomeCommunityActivityById',
  736. data, {}
  737. )
  738. }
  739. // 查询企业是否报名
  740. export function isRegistration(data) {
  741. return $http.post(
  742. '/wx/homeActivity/isRegistration',
  743. data, {}
  744. )
  745. }
  746. //查询企业报名信息
  747. export function getRegistrationInfo(data) {
  748. return $http.post(
  749. '/wx/homeActivity/getRegistrationInfo',
  750. data, {}
  751. )
  752. }
  753. //签到
  754. export function updateSignIn(data) {
  755. return $http.post(
  756. '/wx/homeActivity/updateSignIn',
  757. data, {}
  758. )
  759. }
  760. export function isFinishComInfo(data) {
  761. return $http.post(
  762. '/wx/company/isFinishComInfo',
  763. data, {}
  764. )
  765. }
  766. export function getById(data) {
  767. return $http.post(
  768. '/wx/company/getById',
  769. data, {}
  770. )
  771. }
  772. export function addCompanyExamine(data) {
  773. return $http.post(
  774. '/wx/companyExamine/add',
  775. data, {}
  776. )
  777. }
  778. export function upload(data) {
  779. return $http.post(
  780. '/wx/fileController/upload',
  781. data, {}
  782. )
  783. }
  784. export function newNotice(data) {
  785. return $http.post(
  786. '/wx/noticePark/newNotice',
  787. data, {}
  788. )
  789. }
  790. export function noticeParkList(data) {
  791. return $http.post(
  792. '/wx/noticePark/list',
  793. data, {}
  794. )
  795. }
  796. export function propertyNoticeList(data) {
  797. return $http.post(
  798. '/wx/propertyNotice/list',
  799. data, {}
  800. )
  801. }
  802. export function noticeParkClickCollect(data) {
  803. return $http.post(
  804. '/wx/noticePark/clickCollect',
  805. data, {}
  806. )
  807. }
  808. export function propertyNoticeClickCollect(data) {
  809. return $http.post(
  810. '/wx/propertyNotice/clickCollect ',
  811. data, {}
  812. )
  813. }
  814. export function homeActivityClickCollect(data) {
  815. return $http.post(
  816. '/wx/homeActivity/clickCollect ',
  817. data, {}
  818. )
  819. }
  820. export function userNoticeAdd(data) {
  821. return $http.post(
  822. '/wx/userNotice/add',
  823. data, {}
  824. )
  825. }
  826. // 园区通知发布
  827. export function noticeParkAdd(data) {
  828. return $http.post(
  829. '/wx/noticePark/add',
  830. data, {}
  831. )
  832. }
  833. export function noticeParkGetById(data) {
  834. return $http.post(
  835. '/wx/noticePark/getById',
  836. data, {}
  837. )
  838. }
  839. // 园区通知编辑
  840. export function noticeParkEdit(data) {
  841. return $http.post(
  842. '/wx/noticePark/edit',
  843. data, {}
  844. )
  845. }
  846. // 新增我的反馈
  847. export function parkFeedbackInfoAdd(data) {
  848. return $http.post(
  849. '/wx/parkFeedbackInfo/add',
  850. data, {}
  851. )
  852. }
  853. // 新增我的反馈
  854. export function parkFeedbackInfoList(data) {
  855. return $http.post(
  856. '/wx/parkFeedbackInfo/list',
  857. data, {}
  858. )
  859. }
  860. // 获取我的反馈详情
  861. export function parkFeedbackInfoGetById(data) {
  862. return $http.get(
  863. '/wx/parkFeedbackInfo/getById',
  864. data, {}
  865. )
  866. }
  867. // 我的收藏列表
  868. export function parkUserCollectorsList(data) {
  869. return $http.post(
  870. '/wx/parkUserCollectors/list',
  871. data, {}
  872. )
  873. }
  874. // 产业政策列表
  875. export function policyList(data) {
  876. return $http.post(
  877. '/wx/policy/list',
  878. data, {}
  879. )
  880. }
  881. // 产业政策类型
  882. export function policyListAll(data) {
  883. return $http.post(
  884. '/wx/policyType/listAll',
  885. data, {}
  886. )
  887. }
  888. // 产业政策获取详情
  889. export function policyGetById(data) {
  890. return $http.post(
  891. '/wx/policy/getById',
  892. data, {}
  893. )
  894. }
  895. // 经法填报列表
  896. export function fillControllerList(data) {
  897. return $http.post(
  898. '/wx/fillController/list',
  899. data, {}
  900. )
  901. }
  902. // 经法填报详情
  903. export function getByStag(data) {
  904. return $http.post(
  905. '/wx/fillController/getByStag',
  906. data, {}
  907. )
  908. }
  909. // 经法填报详情保存/提交
  910. export function fillControllerEditSave(data) {
  911. return $http.post(
  912. '/wx/fillController/editSave',
  913. data, {}
  914. )
  915. }
  916. // 园区通知详情
  917. export function getParkNoticeById(data) {
  918. return $http.post(
  919. '/wx/noticePark/getById',
  920. data, {}
  921. )
  922. }
  923. // 物业通知详情
  924. export function getPropertyNoticeById(data) {
  925. return $http.post(
  926. '/wx/propertyNotice/getById',
  927. data, {}
  928. )
  929. }
  930. // 我的消息列表
  931. export function getMsgList(data) {
  932. return $http.post(
  933. '/wx/WxParkSystemMsgInfoController/getMsgList',
  934. data, {}
  935. )
  936. }
  937. // 获取管家
  938. export function getUserMainHouseKeeper(data) {
  939. return $http.post(
  940. '/wx/userRelation/getUserMainHouseKeeper',
  941. data, {}
  942. )
  943. }
  944. // 周边列表
  945. export function peripheryList(data) {
  946. return $http.post(
  947. '/wx/periphery/list',
  948. data, {}
  949. )
  950. }
  951. // 获取周边详情
  952. export function peripheryGetById(data) {
  953. return $http.post(
  954. '/wx/periphery/getById',
  955. data, {}
  956. )
  957. }
  958. export function peripheryAdd(data) {
  959. return $http.post(
  960. '/wx/periphery/add',
  961. data, {}
  962. )
  963. }
  964. export function peripheryEdit(data) {
  965. return $http.post(
  966. '/wx/periphery/edit',
  967. data, {}
  968. )
  969. }
  970. export function peripheryRemove(data) {
  971. return $http.post(
  972. '/wx/periphery/remove',
  973. data, {}
  974. )
  975. }
  976. // 报事报修提交
  977. export function repairAdd(data) {
  978. return $http.post(
  979. '/wx/repair/add',
  980. data, {}
  981. )
  982. }
  983. // 企业账单列表
  984. export function findBillManagementMoreForCollect(data) {
  985. return $http.post(
  986. '/wx/BillController/findBillManagementMoreForCollect',
  987. data, {}
  988. )
  989. }
  990. // 查看园区详情
  991. export function getByGroupId(data) {
  992. return $http.post(
  993. '/wx/parkBrief/getByGroupId',
  994. data, {}
  995. )
  996. }
  997. // 共享资源列表
  998. export function getMeetingRoomList(data) {
  999. return $http.post(
  1000. '/wx/meetingRoom/getMeetingRoomList',
  1001. data, {}
  1002. )
  1003. }
  1004. // 共享资源详情
  1005. export function meetingRoomDetail(data) {
  1006. return $http.post(
  1007. '/wx/meetingRoom/meetingRoomDetail',
  1008. data, {}
  1009. )
  1010. }
  1011. // 获取共享资源可选的时间段
  1012. export function roomTimeSoltUseful(data) {
  1013. return $http.post(
  1014. '/wx/meetingRoom/roomTimeSoltUseful',
  1015. data, {}
  1016. )
  1017. }
  1018. // 获取共享资源时间段状态
  1019. export function roomTimeSoltDetail(data) {
  1020. return $http.post(
  1021. '/wx/meetingRoom/roomTimeSoltDetail',
  1022. data, {}
  1023. )
  1024. }
  1025. // 共享资源预约 新增
  1026. export function meetingAppoint(data) {
  1027. return $http.post(
  1028. '/wx/meetingRoom/meetingAppoint',
  1029. data, {}
  1030. )
  1031. }
  1032. // 共享资源预约时间段校验
  1033. export function meetingAppointCheck(data) {
  1034. return $http.post(
  1035. '/wx/meetingRoom/meetingAppointCheck',
  1036. data, {}
  1037. )
  1038. }
  1039. // 共享资源预约 历史
  1040. export function getMeetingAppointListApp(data) {
  1041. return $http.post(
  1042. '/wx/meetingAppoint/getMeetingAppointListApp',
  1043. data, {}
  1044. )
  1045. }
  1046. // 共享资源预约 编辑
  1047. export function meetingAppointEdit(data) {
  1048. return $http.post(
  1049. '/wx/meetingAppoint/edit',
  1050. data, {}
  1051. )
  1052. }
  1053. // 共享资源预约 详情
  1054. export function meetingAppointDetail(e) {
  1055. return $http.post(
  1056. '/wx/meetingAppoint/meetingAppointDetail', e, {}
  1057. )
  1058. }
  1059. // // 共享资源预约 审核
  1060. export function meetingAppointConfirmAudit(e) {
  1061. return $http.post(
  1062. '/wx/meetingAppoint/confirmAudit', e, {}
  1063. )
  1064. }
  1065. // 查询用户部门
  1066. export function getUserDept(data) {
  1067. return $http.post(
  1068. '/wx/PubController/getUserDept',
  1069. data, {}
  1070. )
  1071. }
  1072. // 新增企业预定
  1073. export function parkRoomSlateAdd(e) {
  1074. return $http.post(
  1075. '/wx/ParkRoomSlateController/add', e, {}
  1076. )
  1077. }
  1078. // 我的预定
  1079. export function parkRoomSlateList(e) {
  1080. return $http.post(
  1081. '/wx/ParkRoomSlateController/listAll', e, {}
  1082. )
  1083. }
  1084. // 删除房源预定
  1085. export function parkRoomSlateRemove(e) {
  1086. return $http.post(
  1087. '/wx/ParkRoomSlateController/remove', e, {}
  1088. )
  1089. }
  1090. // 房源预定详情
  1091. export function getParkRoomSlateInfoById(e) {
  1092. return $http.post(
  1093. '/wx/ParkRoomSlateController/getById', e, {}
  1094. )
  1095. }
  1096. // 编辑企业预定
  1097. export function parkRoomSlateEdit(e) {
  1098. return $http.post(
  1099. '/wx/ParkRoomSlateController/edit', e, {}
  1100. )
  1101. }
  1102. // 添加至我的招商
  1103. export function parkRoomSlateAddSale(e) {
  1104. return $http.post(
  1105. '/wx/ParkRoomSlateController/addSale', e, {}
  1106. )
  1107. }
  1108. // 新增物业通知
  1109. export function propertyNoticeAdd(e) {
  1110. return $http.post(
  1111. '/wx/propertyNotice/add', e, {}
  1112. )
  1113. }
  1114. export function propertyNoticeEdit(e) {
  1115. return $http.post(
  1116. '/wx/propertyNotice/edit', e, {}
  1117. )
  1118. }
  1119. // 我的消息列表
  1120. export function getMyList(data) {
  1121. return $http.post(
  1122. '/wx/information/getMyList',
  1123. data, {}
  1124. )
  1125. }
  1126. // 阅读我的消息
  1127. export function updateInformation(data) {
  1128. return $http.post(
  1129. '/wx/information/updateInformation',
  1130. data, {}
  1131. )
  1132. }
  1133. // 阅读我的消息2
  1134. export function parkSystemMsgReadAdd(data) {
  1135. return $http.post(
  1136. '/wx/WxParkSystemMsgReadController/add',
  1137. data, {}
  1138. )
  1139. }
  1140. // 服务评价
  1141. export function parkServiceEvaluationAdd(data) {
  1142. return $http.post(
  1143. '/wx/parkServiceEvaluation/add',
  1144. data, {}
  1145. )
  1146. }
  1147. // 合同详情
  1148. export function getContractById(data) {
  1149. return $http.post(
  1150. '/wx/ParkContractManageController/getById',
  1151. data, {}
  1152. )
  1153. }
  1154. // 企业列表
  1155. export function getAllBaseCompany(data) {
  1156. return $http.post(
  1157. '/wx/company/getAllBaseCompanyPage',
  1158. data, {}
  1159. )
  1160. }
  1161. // 用户列表
  1162. export function findUserList(data) {
  1163. return $http.post(
  1164. '/wx/frameUser/page',
  1165. data, {}
  1166. )
  1167. }