http.js 24 KB

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