http.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164
  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 companyExamineGetById(e) {
  384. return $http.post(
  385. "/wx/company/getById", e, {})
  386. }
  387. export function listByModel(e) {
  388. return $http.post(
  389. '/wx/SaleController/findSaleManagementListByRoomId',
  390. e, {})
  391. }
  392. export function listVo(e) {
  393. // 查询园区列表,不需要参数
  394. return $http.post(
  395. '/wx/company/listVo', e, {})
  396. }
  397. // /wx/SafetyController/addSafetySelfCheckingPlan
  398. export function addSafetySelfCheckingPlan(e) {
  399. // 查询园区列表,不需要参数
  400. return $http.post(
  401. '/wx/SafetyController/addSafetySelfCheckingPlan', {
  402. ...e
  403. }, {})
  404. }
  405. export function findSafetySelfCheckingManagetById(e) {
  406. // 查询园区列表,不需要参数
  407. return $http.post(
  408. '/wx/SafetyController/findSafetySelfCheckingManagetById', {
  409. id: e
  410. }, {})
  411. }
  412. export function findSafetySelfCheckingManageList(e) {
  413. // 查询园区列表,不需要参数
  414. return $http.post(
  415. '/wx/SafetyController/findSafetySelfCheckingManageList', e, {})
  416. }
  417. export function findYuanQuList() {
  418. // 查询园区列表,不需要参数
  419. return $http.post(
  420. '/wx/SaleController/findYuanQuList', {}, {})
  421. }
  422. export function findLongPanList(id) {
  423. // 用园区ID查询楼盘列表
  424. return $http.post(
  425. '/wx/SaleController/findLouPanList', {
  426. id: id
  427. }, {})
  428. }
  429. export function findLouDongList(id) {
  430. // 用园区ID查询楼盘列表
  431. return $http.post(
  432. '/wx/SaleController/findLouDongList', {
  433. id: id
  434. }, {})
  435. }
  436. export function clickCollect(e) {
  437. return $http.post(
  438. '/wx/parkActivity/clickCollect',
  439. e, {})
  440. }
  441. export function insertRegisSignInfo(e) {
  442. return $http.post(
  443. '/wx/parkActivity/insertRegisSignInfo',
  444. e, {})
  445. }
  446. export function richScan(e) {
  447. return $http.post(
  448. '/wx/parkActivity/richScan',
  449. e, {})
  450. }
  451. export function getActivityById(id, signInCode, userId) {
  452. return $http.get(
  453. '/wx/parkActivity/getBySignInCode?id=' + id + '&userId=' + userId + "&signInCode=" + signInCode, {}, {})
  454. }
  455. // /wx/userPower/getUserPower?userId=1088765543780974592
  456. export function getUserPower(e) {
  457. return $http.post(
  458. '/wx/userPower/getUserPower', {
  459. userId: e
  460. }, {})
  461. }
  462. export function editPassword(e) {
  463. return $http.post(
  464. '/wx/frameUser/editPassword', e, {})
  465. }
  466. export function updateListRectificationManagement(e) {
  467. return $http.post(
  468. '/wx/RectificationController/updateListRectificationManagement', e, {})
  469. }
  470. // /wx/RectificationController/findUserListByRoleWuye
  471. export function findUserListByRoleWuye() {
  472. // 用园区ID查询楼盘列表
  473. return $http.post(
  474. '/wx/RectificationController/findUserListByRoleWuye',
  475. {}, {})
  476. }
  477. export function listAllUserMain() {
  478. // 用园区ID查询楼盘列表
  479. return $http.post(
  480. '/wx/UserMainExpandController/listAllUserMain',
  481. {}, {})
  482. }
  483. export function userList(e) {
  484. // http://192.168.2.112:9011/wx/frameUser/userList
  485. return $http.post(
  486. '/wx/frameUser/userList',
  487. e
  488. , {})
  489. }
  490. export function findAllSimpleCompanies(e) {
  491. // http://192.168.2.112:9011/wx/frameUser/userList
  492. return $http.post(
  493. '/wx/company/findAllSimpleCompanies', { searchInfo: e.qymc, pageNum: 1, pageSize: 10000 }, {})
  494. }
  495. export function findTrackUserList() {
  496. // http://192.168.2.112:9011/wx/frameUser/userList
  497. return $http.post(
  498. '/wx/SaleController/findTrackUserList', {}, {})
  499. }
  500. export function getSelectUserTwo(e) {
  501. // 用园区ID查询楼盘列表
  502. return $http.post(
  503. '/wx/frameUser/getSelectUserTwo', {
  504. searchName: e
  505. }, {})
  506. }
  507. export function getSelectDeptTwo(e) {
  508. // 用园区ID查询楼盘列表
  509. return $http.post(
  510. '/wx/frameUser/getSelectDeptTwo',
  511. {
  512. searchName: e
  513. }, {})
  514. }
  515. export function findRoomInfoListByIds(e) {
  516. // 用园区ID查询楼盘列表
  517. return $http.post(
  518. '/wx/SaleController/findRoomInfoListByIds',
  519. {
  520. ids: e
  521. }, {})
  522. }
  523. export function findCompanyList() {
  524. // 用园区ID查询楼盘列表
  525. return $http.post(
  526. '/wx/SaleController/findCompanyList', {}, {})
  527. }
  528. export function addyixiang(e) {
  529. return $http.post(
  530. '/wx/SaleController/add',
  531. e, {})
  532. }
  533. export function editSave(e) {
  534. return $http.post(
  535. '/wx/SaleController/editSave',
  536. e, {})
  537. }
  538. export function findCompanyInfoList(data) {
  539. return $http.post(
  540. "/wx/SaleController/findCompanyInfoList",
  541. data, {}
  542. )
  543. }
  544. export function findRoomByCondition(params) {
  545. // 用园区ID查询楼盘列表
  546. return $http.post(
  547. '/wx/SaleController/findRoomByCondition', params, {})
  548. }
  549. export function findRoomByConditionExcel(params) {
  550. // 用园区ID查询楼盘列表
  551. return $http.post(
  552. '/wx/SaleController/findRoomByConditionExcel', params, {})
  553. }
  554. export function getCompanyAll(qymc) {
  555. return $http.post(
  556. '/wx/company/listAll', {
  557. qymc: qymc ? qymc : ""
  558. }, {})
  559. }
  560. export function getByCodes(params) {
  561. // 用园区ID查询楼盘列表
  562. return $http.post(
  563. '/wx/sysDict/getByCodes',
  564. {
  565. codes: params
  566. }, {})
  567. }
  568. export function list(data) {
  569. return $http.post(
  570. parkActivity + '/getMeetingAppointList',
  571. data, {}
  572. )
  573. }
  574. export function listApp(data) {
  575. return $http.post(
  576. parkActivity + '/getMeetingAppointListApp',
  577. data, {}
  578. )
  579. }
  580. export function cancelAppoint(data) {
  581. return $http.post(
  582. parkActivity + '/cancelAppoint',
  583. data, {}
  584. )
  585. }
  586. // /wx/SaleController/
  587. export function getRepairList(data) {
  588. return $http.post(
  589. '/wx/repair/list',
  590. data, {}
  591. )
  592. }
  593. export function editHomeCommunityActivity(data) {
  594. return $http.post(
  595. '/wx/homeActivity/editHomeCommunityActivity',
  596. data, {}
  597. )
  598. }
  599. export function listHomeCommunityActivity(data) {
  600. return $http.post(
  601. '/wx/homeActivity/listHomeCommunityActivity',
  602. data, {}
  603. )
  604. }
  605. export function insertHomeCommunityActivity(data) {
  606. return $http.post(
  607. '/wx/homeActivity/insertHomeCommunityActivity',
  608. data, {}
  609. )
  610. }
  611. export function activityList(data) {
  612. return $http.post(
  613. '/wx/homeActivity/list',
  614. data, {}
  615. )
  616. }
  617. export function parkListAll(data) {
  618. return $http.post(
  619. '/wx/parkBrief/listAll',
  620. data, {}
  621. )
  622. }
  623. export function ParkInfoControllerListAll(data) {
  624. return $http.post(
  625. '/wx/ParkInfoController/listAll',
  626. data, {}
  627. )
  628. }
  629. export function parkBriefGetBridf(data) {
  630. return $http.post(
  631. '/wx/parkBrief/getBridf',
  632. data, {}
  633. )
  634. }
  635. // 报名
  636. export function updateRegistration(data) {
  637. return $http.post(
  638. '/wx/homeActivity/updateRegistration',
  639. data, {}
  640. )
  641. }
  642. // 查询活动详情
  643. export function getHomeCommunityActivityById(data) {
  644. return $http.post(
  645. '/wx/homeActivity/getHomeCommunityActivityById',
  646. data, {}
  647. )
  648. }
  649. // 查询企业是否报名
  650. export function isRegistration(data) {
  651. return $http.post(
  652. '/wx/homeActivity/isRegistration',
  653. data, {}
  654. )
  655. }
  656. //查询企业报名信息
  657. export function getRegistrationInfo(data) {
  658. return $http.post(
  659. '/wx/homeActivity/getRegistrationInfo',
  660. data, {}
  661. )
  662. }
  663. //签到
  664. export function updateSignIn(data) {
  665. return $http.post(
  666. '/wx/homeActivity/updateSignIn',
  667. data, {}
  668. )
  669. }
  670. export function isFinishComInfo(data) {
  671. return $http.post(
  672. '/wx/company/isFinishComInfo',
  673. data, {}
  674. )
  675. }
  676. export function getById(data) {
  677. return $http.post(
  678. '/wx/company/getById',
  679. data, {}
  680. )
  681. }
  682. export function addCompanyExamine(data) {
  683. return $http.post(
  684. '/wx/companyExamine/add',
  685. data, {}
  686. )
  687. }
  688. export function upload(data) {
  689. return $http.post(
  690. '/wx/fileController/upload',
  691. data, {}
  692. )
  693. }
  694. export function newNotice(data) {
  695. return $http.post(
  696. '/wx/noticePark/newNotice',
  697. data, {}
  698. )
  699. }
  700. export function noticeParkList(data) {
  701. return $http.post(
  702. '/wx/noticePark/list',
  703. data, {}
  704. )
  705. }
  706. export function propertyNoticeList(data) {
  707. return $http.post(
  708. '/wx/propertyNotice/list',
  709. data, {}
  710. )
  711. }
  712. export function noticeParkClickCollect(data) {
  713. return $http.post(
  714. '/wx/noticePark/clickCollect',
  715. data, {}
  716. )
  717. }
  718. export function propertyNoticeClickCollect(data) {
  719. return $http.post(
  720. '/wx/propertyNotice/clickCollect ',
  721. data, {}
  722. )
  723. }
  724. export function homeActivityClickCollect(data) {
  725. return $http.post(
  726. '/wx/homeActivity/clickCollect ',
  727. data, {}
  728. )
  729. }
  730. export function userNoticeAdd(data) {
  731. return $http.post(
  732. '/wx/userNotice/add',
  733. data, {}
  734. )
  735. }
  736. // 园区通知发布
  737. export function noticeParkAdd(data) {
  738. return $http.post(
  739. '/wx/noticePark/add',
  740. data, {}
  741. )
  742. }
  743. export function noticeParkGetById(data) {
  744. return $http.post(
  745. '/wx/noticePark/getById',
  746. data, {}
  747. )
  748. }
  749. // 园区通知编辑
  750. export function noticeParkEdit(data) {
  751. return $http.post(
  752. '/wx/noticePark/edit',
  753. data, {}
  754. )
  755. }
  756. // 新增我的反馈
  757. export function parkFeedbackInfoAdd(data) {
  758. return $http.post(
  759. '/wx/parkFeedbackInfo/add',
  760. data, {}
  761. )
  762. }
  763. // 新增我的反馈
  764. export function parkFeedbackInfoList(data) {
  765. return $http.post(
  766. '/wx/parkFeedbackInfo/list',
  767. data, {}
  768. )
  769. }
  770. // 获取我的反馈详情
  771. export function parkFeedbackInfoGetById(data) {
  772. return $http.get(
  773. '/wx/parkFeedbackInfo/getById',
  774. data, {}
  775. )
  776. }
  777. // 我的收藏列表
  778. export function parkUserCollectorsList(data) {
  779. return $http.post(
  780. '/wx/parkUserCollectors/list',
  781. data, {}
  782. )
  783. }
  784. // 产业政策列表
  785. export function policyList(data) {
  786. return $http.post(
  787. '/wx/policy/list',
  788. data, {}
  789. )
  790. }
  791. // 产业政策类型
  792. export function policyListAll(data) {
  793. return $http.post(
  794. '/wx/policyType/listAll',
  795. data, {}
  796. )
  797. }
  798. // 产业政策获取详情
  799. export function policyGetById(data) {
  800. return $http.post(
  801. '/wx/policy/getById',
  802. data, {}
  803. )
  804. }
  805. // 经法填报列表
  806. export function fillControllerList(data) {
  807. return $http.post(
  808. '/wx/fillController/list',
  809. data, {}
  810. )
  811. }
  812. // 经法填报详情
  813. export function getByStag(data) {
  814. return $http.post(
  815. '/wx/fillController/getByStag',
  816. data, {}
  817. )
  818. }
  819. // 经法填报详情保存/提交
  820. export function fillControllerEditSave(data) {
  821. return $http.post(
  822. '/wx/fillController/editSave',
  823. data, {}
  824. )
  825. }
  826. // 园区通知详情
  827. export function getParkNoticeById(data) {
  828. return $http.post(
  829. '/wx/noticePark/getById',
  830. data, {}
  831. )
  832. }
  833. // 物业通知详情
  834. export function getPropertyNoticeById(data) {
  835. return $http.post(
  836. '/wx/propertyNotice/getById',
  837. data, {}
  838. )
  839. }
  840. // 我的消息列表
  841. export function getMsgList(data) {
  842. return $http.post(
  843. '/wx/WxParkSystemMsgInfoController/getMsgList',
  844. data, {}
  845. )
  846. }
  847. // 获取管家
  848. export function getUserMainHouseKeeper(data) {
  849. return $http.post(
  850. '/wx/userRelation/getUserMainHouseKeeper',
  851. data, {}
  852. )
  853. }
  854. // 周边列表
  855. export function peripheryList(data) {
  856. return $http.post(
  857. '/wx/periphery/list',
  858. data, {}
  859. )
  860. }
  861. // 获取周边详情
  862. export function peripheryGetById(data) {
  863. return $http.post(
  864. '/wx/periphery/getById',
  865. data, {}
  866. )
  867. }
  868. export function peripheryAdd(data) {
  869. return $http.post(
  870. '/wx/periphery/add',
  871. data, {}
  872. )
  873. }
  874. export function peripheryEdit(data) {
  875. return $http.post(
  876. '/wx/periphery/edit',
  877. data, {}
  878. )
  879. }
  880. export function peripheryRemove(data) {
  881. return $http.post(
  882. '/wx/periphery/remove',
  883. data, {}
  884. )
  885. }
  886. // 报事报修提交
  887. export function repairAdd(data) {
  888. return $http.post(
  889. '/wx/repair/add',
  890. data, {}
  891. )
  892. }
  893. // 企业账单列表
  894. export function findBillManagementMoreForCollect(data) {
  895. return $http.post(
  896. '/wx/BillController/findBillManagementMoreForCollect',
  897. data, {}
  898. )
  899. }
  900. // 查看园区详情
  901. export function getParkBriefById(data) {
  902. return $http.post(
  903. '/wx/parkBrief/getById',
  904. data, {}
  905. )
  906. }
  907. // 共享资源列表
  908. export function getMeetingRoomList(data) {
  909. return $http.post(
  910. '/wx/meetingRoom/getMeetingRoomList',
  911. data, {}
  912. )
  913. }
  914. // 共享资源详情
  915. export function meetingRoomDetail(data) {
  916. return $http.post(
  917. '/wx/meetingRoom/meetingRoomDetail',
  918. data, {}
  919. )
  920. }
  921. // 获取共享资源可选的时间段
  922. export function roomTimeSoltUseful(data) {
  923. return $http.post(
  924. '/wx/meetingRoom/roomTimeSoltUseful',
  925. data, {}
  926. )
  927. }
  928. // 获取共享资源时间段状态
  929. export function roomTimeSoltDetail(data) {
  930. return $http.post(
  931. '/wx/meetingRoom/roomTimeSoltDetail',
  932. data, {}
  933. )
  934. }
  935. // 共享资源预约 新增
  936. export function meetingAppoint(data) {
  937. return $http.post(
  938. '/wx/meetingRoom/meetingAppoint',
  939. data, {}
  940. )
  941. }
  942. // 共享资源预约时间段校验
  943. export function meetingAppointCheck(data) {
  944. return $http.post(
  945. '/wx/meetingRoom/meetingAppointCheck',
  946. data, {}
  947. )
  948. }
  949. // 共享资源预约 历史
  950. export function getMeetingAppointListApp(data) {
  951. return $http.post(
  952. '/wx/meetingAppoint/getMeetingAppointListApp',
  953. data, {}
  954. )
  955. }
  956. // 共享资源预约 编辑
  957. export function meetingAppointEdit(data) {
  958. return $http.post(
  959. '/wx/meetingAppoint/edit',
  960. data, {}
  961. )
  962. }
  963. // 共享资源预约 详情
  964. export function meetingAppointDetail(e) {
  965. return $http.post(
  966. '/wx/meetingAppoint/meetingAppointDetail', e, {}
  967. )
  968. }
  969. // // 共享资源预约 审核
  970. export function meetingAppointConfirmAudit(e) {
  971. return $http.post(
  972. '/wx/meetingAppoint/confirmAudit', e, {}
  973. )
  974. }
  975. // 查询用户部门
  976. export function getUserDept(data) {
  977. return $http.post(
  978. '/wx/PubController/getUserDept',
  979. data, {}
  980. )
  981. }
  982. // 新增企业预定
  983. export function parkRoomSlateAdd(e) {
  984. return $http.post(
  985. '/wx/ParkRoomSlateController/add', e, {}
  986. )
  987. }
  988. // 我的预定
  989. export function parkRoomSlateList(e) {
  990. return $http.post(
  991. '/wx/ParkRoomSlateController/listAll', e, {}
  992. )
  993. }
  994. // 删除房源预定
  995. export function parkRoomSlateRemove(e) {
  996. return $http.post(
  997. '/wx/ParkRoomSlateController/remove', e, {}
  998. )
  999. }
  1000. // 房源预定详情
  1001. export function getParkRoomSlateInfoById(e) {
  1002. return $http.post(
  1003. '/wx/ParkRoomSlateController/getById', e, {}
  1004. )
  1005. }
  1006. // 编辑企业预定
  1007. export function parkRoomSlateEdit(e) {
  1008. return $http.post(
  1009. '/wx/ParkRoomSlateController/edit', e, {}
  1010. )
  1011. }
  1012. // 新增物业通知
  1013. export function propertyNoticeAdd(e) {
  1014. return $http.post(
  1015. '/wx/propertyNotice/add', e, {}
  1016. )
  1017. }
  1018. export function propertyNoticeEdit(e) {
  1019. return $http.post(
  1020. '/wx/propertyNotice/edit', e, {}
  1021. )
  1022. }
  1023. // 我的消息列表
  1024. export function getMyList(data) {
  1025. return $http.post(
  1026. '/wx/information/getMyList',
  1027. data, {}
  1028. )
  1029. }
  1030. // 阅读我的消息
  1031. export function updateInformation(data) {
  1032. return $http.post(
  1033. '/wx/information/updateInformation',
  1034. data, {}
  1035. )
  1036. }
  1037. // 阅读我的消息2
  1038. export function parkSystemMsgReadAdd(data) {
  1039. return $http.post(
  1040. '/wx/WxParkSystemMsgReadController/add',
  1041. data, {}
  1042. )
  1043. }
  1044. // 服务评价
  1045. export function parkServiceEvaluationAdd(data) {
  1046. return $http.post(
  1047. '/wx/parkServiceEvaluation/add',
  1048. data, {}
  1049. )
  1050. }
  1051. // 合同详情
  1052. export function getContractById(data) {
  1053. return $http.post(
  1054. '/wx/ParkContractManageController/getById',
  1055. data, {}
  1056. )
  1057. }