http.js 25 KB

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