http.js 24 KB

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