http.js 25 KB

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