http.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  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. export function parkListAll(data) {
  614. return $http.post(
  615. '/wx/parkBrief/listAll',
  616. data, {}
  617. )
  618. }
  619. export function ParkInfoControllerListAll(data) {
  620. return $http.post(
  621. '/wx/ParkInfoController/listAll',
  622. data, {}
  623. )
  624. }
  625. export function parkBriefGetBridf(data) {
  626. return $http.post(
  627. '/wx/parkBrief/getBridf',
  628. data, {}
  629. )
  630. }
  631. // 报名
  632. export function updateRegistration(data) {
  633. return $http.post(
  634. '/wx/homeActivity/updateRegistration',
  635. data, {}
  636. )
  637. }
  638. // 查询活动详情
  639. export function getHomeCommunityActivityById(data) {
  640. return $http.post(
  641. '/wx/homeActivity/getHomeCommunityActivityById',
  642. data, {}
  643. )
  644. }
  645. // 查询企业是否报名
  646. export function isRegistration(data) {
  647. return $http.post(
  648. '/wx/homeActivity/isRegistration',
  649. data, {}
  650. )
  651. }
  652. //查询企业报名信息
  653. export function getRegistrationInfo(data) {
  654. return $http.post(
  655. '/wx/homeActivity/getRegistrationInfo',
  656. data, {}
  657. )
  658. }
  659. //签到
  660. export function updateSignIn(data) {
  661. return $http.post(
  662. '/wx/homeActivity/updateSignIn',
  663. data, {}
  664. )
  665. }
  666. export function isFinishComInfo(data) {
  667. return $http.post(
  668. '/wx/company/isFinishComInfo',
  669. data, {}
  670. )
  671. }
  672. export function getById(data) {
  673. return $http.post(
  674. '/wx/company/getById',
  675. data, {}
  676. )
  677. }
  678. export function addCompanyExamine(data) {
  679. return $http.post(
  680. '/wx/companyExamine/add',
  681. data, {}
  682. )
  683. }
  684. export function upload(data) {
  685. return $http.post(
  686. '/wx/fileController/upload',
  687. data, {}
  688. )
  689. }
  690. export function newNotice(data) {
  691. return $http.post(
  692. '/wx/noticePark/newNotice',
  693. data, {}
  694. )
  695. }
  696. export function noticeParkList(data) {
  697. return $http.post(
  698. '/wx/noticePark/list',
  699. data, {}
  700. )
  701. }
  702. export function propertyNoticeList(data) {
  703. return $http.post(
  704. '/wx/propertyNotice/list',
  705. data, {}
  706. )
  707. }
  708. export function noticeParkClickCollect(data) {
  709. return $http.post(
  710. '/wx/noticePark/clickCollect',
  711. data, {}
  712. )
  713. }
  714. export function propertyNoticeClickCollect(data) {
  715. return $http.post(
  716. '/wx/propertyNotice/clickCollect ',
  717. data, {}
  718. )
  719. }
  720. export function homeActivityClickCollect(data) {
  721. return $http.post(
  722. '/wx/homeActivity/clickCollect ',
  723. data, {}
  724. )
  725. }
  726. export function userNoticeAdd(data) {
  727. return $http.post(
  728. '/wx/userNotice/add',
  729. data, {}
  730. )
  731. }
  732. // 园区通知发布
  733. export function noticeParkAdd(data) {
  734. return $http.post(
  735. '/wx/noticePark/add',
  736. data, {}
  737. )
  738. }
  739. export function noticeParkGetById(data) {
  740. return $http.post(
  741. '/wx/noticePark/getById',
  742. data, {}
  743. )
  744. }
  745. // 园区通知编辑
  746. export function noticeParkEdit(data) {
  747. return $http.post(
  748. '/wx/noticePark/edit',
  749. data, {}
  750. )
  751. }
  752. // 新增我的反馈
  753. export function parkFeedbackInfoAdd(data) {
  754. return $http.post(
  755. '/wx/parkFeedbackInfo/add',
  756. data, {}
  757. )
  758. }
  759. // 新增我的反馈
  760. export function parkFeedbackInfoList(data) {
  761. return $http.post(
  762. '/wx/parkFeedbackInfo/list',
  763. data, {}
  764. )
  765. }
  766. // 获取我的反馈详情
  767. export function parkFeedbackInfoGetById(data) {
  768. return $http.get(
  769. '/wx/parkFeedbackInfo/getById',
  770. data, {}
  771. )
  772. }
  773. // 我的收藏列表
  774. export function parkUserCollectorsList(data) {
  775. return $http.post(
  776. '/wx/parkUserCollectors/list',
  777. data, {}
  778. )
  779. }
  780. // 产业政策列表
  781. export function policyList(data) {
  782. return $http.post(
  783. '/wx/policy/list',
  784. data, {}
  785. )
  786. }
  787. // 产业政策类型
  788. export function policyListAll(data) {
  789. return $http.post(
  790. '/wx/policyType/listAll',
  791. data, {}
  792. )
  793. }
  794. // 产业政策获取详情
  795. export function policyGetById(data) {
  796. return $http.post(
  797. '/wx/policy/getById',
  798. data, {}
  799. )
  800. }
  801. // 经法填报列表
  802. export function fillControllerList(data) {
  803. return $http.post(
  804. '/wx/fillController/list',
  805. data, {}
  806. )
  807. }
  808. // 经法填报详情
  809. export function getByStag(data) {
  810. return $http.post(
  811. '/wx/fillController/getByStag',
  812. data, {}
  813. )
  814. }
  815. // 经法填报详情保存/提交
  816. export function fillControllerEditSave(data) {
  817. return $http.post(
  818. '/wx/fillController/editSave',
  819. data, {}
  820. )
  821. }
  822. // 园区通知详情
  823. export function getParkNoticeById(data) {
  824. return $http.post(
  825. '/wx/noticePark/getById',
  826. data, {}
  827. )
  828. }
  829. // 物业通知详情
  830. export function getPropertyNoticeById(data) {
  831. return $http.post(
  832. '/wx/propertyNotice/getById',
  833. data, {}
  834. )
  835. }
  836. // 我的消息列表
  837. export function getMsgList(data) {
  838. return $http.post(
  839. '/wx/WxParkSystemMsgInfoController/getMsgList',
  840. data, {}
  841. )
  842. }
  843. // 获取管家
  844. export function getUserMainHouseKeeper(data) {
  845. return $http.post(
  846. '/wx/userRelation/getUserMainHouseKeeper',
  847. data, {}
  848. )
  849. }
  850. // 周边列表
  851. export function peripheryList(data) {
  852. return $http.post(
  853. '/wx/periphery/list',
  854. data, {}
  855. )
  856. }
  857. // 获取周边详情
  858. export function peripheryGetById(data) {
  859. return $http.post(
  860. '/wx/periphery/getById',
  861. data, {}
  862. )
  863. }
  864. export function peripheryAdd(data) {
  865. return $http.post(
  866. '/wx/periphery/add',
  867. data, {}
  868. )
  869. }
  870. export function peripheryEdit(data) {
  871. return $http.post(
  872. '/wx/periphery/edit',
  873. data, {}
  874. )
  875. }
  876. export function peripheryRemove(data) {
  877. return $http.post(
  878. '/wx/periphery/remove',
  879. data, {}
  880. )
  881. }
  882. // 报事报修提交
  883. export function repairAdd(data) {
  884. return $http.post(
  885. '/wx/repair/add',
  886. data, {}
  887. )
  888. }
  889. // 企业账单列表
  890. export function findBillManagementMoreForCollect(data) {
  891. return $http.post(
  892. '/wx/BillController/findBillManagementMoreForCollect',
  893. data, {}
  894. )
  895. }
  896. // 查看园区详情
  897. export function getParkBriefById(data) {
  898. return $http.post(
  899. '/wx/parkBrief/getById',
  900. data, {}
  901. )
  902. }
  903. // 共享资源列表
  904. export function getMeetingRoomList(data) {
  905. return $http.post(
  906. '/wx/meetingRoom/getMeetingRoomList',
  907. data, {}
  908. )
  909. }
  910. // 共享资源详情
  911. export function meetingRoomDetail(data) {
  912. return $http.post(
  913. '/wx/meetingRoom/meetingRoomDetail',
  914. data, {}
  915. )
  916. }
  917. // 获取共享资源可选的时间段
  918. export function roomTimeSoltUseful(data) {
  919. return $http.post(
  920. '/wx/meetingRoom/roomTimeSoltUseful',
  921. data, {}
  922. )
  923. }
  924. // 获取共享资源时间段状态
  925. export function roomTimeSoltDetail(data) {
  926. return $http.post(
  927. '/wx/meetingRoom/roomTimeSoltDetail',
  928. data, {}
  929. )
  930. }
  931. // 共享资源预约 新增
  932. export function meetingAppoint(data) {
  933. return $http.post(
  934. '/wx/meetingRoom/meetingAppoint',
  935. data, {}
  936. )
  937. }
  938. // 共享资源预约时间段校验
  939. export function meetingAppointCheck(data) {
  940. return $http.post(
  941. '/wx/meetingRoom/meetingAppointCheck',
  942. data, {}
  943. )
  944. }
  945. // 共享资源预约 历史
  946. export function getMeetingAppointListApp(data) {
  947. return $http.post(
  948. '/wx/meetingAppoint/getMeetingAppointListApp',
  949. data, {}
  950. )
  951. }
  952. // 共享资源预约 编辑
  953. export function meetingAppointEdit(data) {
  954. return $http.post(
  955. '/wx/meetingAppoint/edit',
  956. data, {}
  957. )
  958. }
  959. // 共享资源预约 详情
  960. export function meetingAppointDetail(e) {
  961. return $http.post(
  962. '/wx/meetingAppoint/meetingAppointDetail', e, {}
  963. )
  964. }
  965. // // 共享资源预约 审核
  966. export function meetingAppointConfirmAudit(e) {
  967. return $http.post(
  968. '/wx/meetingAppoint/confirmAudit', e, {}
  969. )
  970. }
  971. // 查询用户部门
  972. export function getUserDept(data) {
  973. return $http.post(
  974. '/wx/PubController/getUserDept',
  975. data, {}
  976. )
  977. }
  978. // 新增企业预定
  979. export function parkRoomSlateAdd(e) {
  980. return $http.post(
  981. '/wx/ParkRoomSlateController/add', e, {}
  982. )
  983. }
  984. // 我的预定
  985. export function parkRoomSlateList(e) {
  986. return $http.post(
  987. '/wx/ParkRoomSlateController/listAll', e, {}
  988. )
  989. }
  990. // 删除房源预定
  991. export function parkRoomSlateRemove(e) {
  992. return $http.post(
  993. '/wx/ParkRoomSlateController/remove', e, {}
  994. )
  995. }
  996. // 房源预定详情
  997. export function getParkRoomSlateInfoById(e) {
  998. return $http.post(
  999. '/wx/ParkRoomSlateController/getById', e, {}
  1000. )
  1001. }
  1002. // 编辑企业预定
  1003. export function parkRoomSlateEdit(e) {
  1004. return $http.post(
  1005. '/wx/ParkRoomSlateController/edit', e, {}
  1006. )
  1007. }
  1008. // 新增物业通知
  1009. export function propertyNoticeAdd(e) {
  1010. return $http.post(
  1011. '/wx/propertyNotice/add', e, {}
  1012. )
  1013. }
  1014. export function propertyNoticeEdit(e) {
  1015. return $http.post(
  1016. '/wx/propertyNotice/edit', e, {}
  1017. )
  1018. }
  1019. // 我的消息列表
  1020. export function getMyList(data) {
  1021. return $http.post(
  1022. '/wx/information/getMyList',
  1023. data, {}
  1024. )
  1025. }
  1026. // 阅读我的消息
  1027. export function updateInformation(data) {
  1028. return $http.post(
  1029. '/wx/information/updateInformation',
  1030. data, {}
  1031. )
  1032. }
  1033. // 阅读我的消息2
  1034. export function parkSystemMsgReadAdd(data) {
  1035. return $http.post(
  1036. '/wx/WxParkSystemMsgReadController/add',
  1037. data, {}
  1038. )
  1039. }
  1040. // 服务评价
  1041. export function parkServiceEvaluationAdd(data) {
  1042. return $http.post(
  1043. '/wx/parkServiceEvaluation/add',
  1044. data, {}
  1045. )
  1046. }
  1047. // 合同详情
  1048. export function getContractById(data) {
  1049. return $http.post(
  1050. '/wx/ParkContractManageController/getById',
  1051. data, {}
  1052. )
  1053. }