meeting.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. const { request } = require("../func/request"); // 会议室-分页列表
  2. const meetingGetPageList = data => {
  3. return request({
  4. url: "/api/meeting/getPageList",
  5. data: data,
  6. method: "post",
  7. type: "application/json"
  8. });
  9. }; // 会议室-已预约记录
  10. const appointmentDateRecordList = data => {
  11. return request({
  12. url: "/api/meeting/appointmentDateRecordList",
  13. data: data,
  14. method: "post",
  15. type: "application/json"
  16. });
  17. };
  18. // 会议预约-获取日期和预约数量
  19. const meetingRecordDateData = (data) => {
  20. return request({
  21. url: '/api/meeting/meetingRecordDateData',
  22. data: data,
  23. method: 'post',
  24. type: 'application/json'
  25. })
  26. }
  27. // 会议室-提交预约
  28. const insertMeetingRecord = data => {
  29. return request({
  30. url: "/api/meeting/insertMeetingRecord",
  31. data: data,
  32. method: "post",
  33. type: "application/json"
  34. });
  35. }; // 我的预约-状态
  36. const meetingRecordStatus = data => {
  37. return request({
  38. url: "//api/meeting/meetingRecordStatus",
  39. data: data,
  40. method: "get",
  41. type: "application/x-www-form-urlencoded"
  42. });
  43. }; // 会议室-我的预约
  44. const myMeetingRecord = data => {
  45. return request({
  46. url: "/api/meeting/myMeetingRecord",
  47. data: data,
  48. method: "post",
  49. type: "application/json"
  50. });
  51. };
  52. // (new)会议预约-近期预约记录(会议记录)
  53. const recentMeetingRecord = (data) => {
  54. return request({
  55. url: '/api/meeting/recentMeetingRecord',
  56. data: data,
  57. method: 'post',
  58. type: 'application/json'
  59. })
  60. }
  61. // 审核预约列表
  62. const checkMeetingRecord = data => {
  63. return request({
  64. url: "/api/meeting/checkMeetingRecord",
  65. data: data,
  66. method: "post",
  67. type: "application/json"
  68. });
  69. }; // 审核预约
  70. const checkMeeting = data => {
  71. return request({
  72. url: "/api/meeting/checkMeeting",
  73. data: data,
  74. method: "post",
  75. type: "application/json"
  76. });
  77. }; // 会议室-我的会议
  78. const myMeeting = data => {
  79. return request({
  80. url: "/api/meeting/myMeeting",
  81. data: data,
  82. method: "post",
  83. type: "application/json"
  84. });
  85. }; // 会议室-取消会议
  86. const cancellationMeeting = data => {
  87. return request({
  88. url: "/api/meeting/cancellationMeeting",
  89. data: data,
  90. type: "application/x-www-form-urlencoded"
  91. });
  92. }; // 服务-会议中可提供的服务列表
  93. const getMeetingInServiceList = data => {
  94. return request({
  95. url: "/api/meeting/meetingInServiceList",
  96. data: data,
  97. type: "application/x-www-form-urlencoded"
  98. });
  99. }; // 服务-提交服务
  100. const meetingServiceListSubmit = data => {
  101. return request({
  102. url: "/api/meeting/meetingServiceListSubmit",
  103. data: data,
  104. method: "post",
  105. type: "application/json"
  106. });
  107. }; // 服务-会议的服务列表
  108. const meetingInServiceList = data => {
  109. return request({
  110. url: "/api/meeting/meetingInServiceList",
  111. data: data,
  112. method: "post",
  113. type: "application/json"
  114. });
  115. }; // 服务-审核列表
  116. const checkMeetingInServiceList = data => {
  117. return request({
  118. url: "/api/meeting/checkMeetingInServiceList",
  119. data: data,
  120. method: "post",
  121. type: "application/json"
  122. });
  123. }; // 服务-审核
  124. const checkMeetingInService = data => {
  125. return request({
  126. url: "/api/meeting/checkMeetingInService",
  127. data: data,
  128. method: "post",
  129. type: "application/json"
  130. });
  131. }; // 服务-关闭服务
  132. const closeMeetingInService = data => {
  133. return request({
  134. url: "/api/meeting/closeMeetingInService",
  135. data: data,
  136. type: "application/x-www-form-urlencoded"
  137. });
  138. }; // 续约-续约时间跨度
  139. const continueMeetingSpan = data => {
  140. return request({
  141. url: "/api/meeting/continueMeetingSpan",
  142. data: data,
  143. type: "application/x-www-form-urlencoded"
  144. });
  145. }; // 续约-会议续约
  146. const continueMeeting = data => {
  147. return request({
  148. url: "/api/meeting/continueMeeting",
  149. data: data,
  150. method: "post",
  151. type: "application/json"
  152. });
  153. }; // 续约-我的续约
  154. const myContinueMeeting = data => {
  155. return request({
  156. url: "/api/meeting/myContinueMeeting",
  157. data: data,
  158. method: "post",
  159. type: "application/json"
  160. });
  161. }; // 续约-续约审核列表
  162. const checkContinueMeetingPageList = data => {
  163. return request({
  164. url: "/api/meeting/checkContinueMeetingPageList",
  165. data: data,
  166. method: "post",
  167. type: "application/json"
  168. });
  169. }; // 续约-续约审核
  170. const checkContinueMeeting = data => {
  171. return request({
  172. url: "/api/meeting/checkContinueMeeting",
  173. data: data,
  174. method: "post",
  175. type: "application/json"
  176. });
  177. }; // 转让-获取转让用户信息
  178. const turnUsername = data => {
  179. return request({
  180. url: "/api/meeting/turnUsername",
  181. data: data,
  182. type: "application/x-www-form-urlencoded"
  183. });
  184. }; // 转让-提交会议转让
  185. const turnMeetingSubmit = data => {
  186. return request({
  187. url: "/api/meeting/turnMeetingSubmit",
  188. data: data,
  189. method: "post",
  190. type: "application/json"
  191. });
  192. }; // 转让-我的转让
  193. const myTurnMeetingPageList = data => {
  194. return request({
  195. url: "/api/meeting/myTurnMeetingPageList",
  196. data: data,
  197. method: "post",
  198. type: "application/json"
  199. });
  200. }; // 转让-转让审核列表
  201. const checkTurnMeetingPageList = data => {
  202. return request({
  203. url: "/api/meeting/checkTurnMeetingPageList",
  204. data: data,
  205. method: "post",
  206. type: "application/json"
  207. });
  208. }; // 转让-转让审核
  209. const checkTurnMeeting = data => {
  210. return request({
  211. url: "/api/meeting/checkTurnMeeting",
  212. data: data,
  213. method: "post",
  214. type: "application/json"
  215. });
  216. }; // 续约-关闭续约
  217. const closeContinueMeeting = data => {
  218. return request({
  219. url: "/api/meeting/closeContinueMeeting",
  220. data: data,
  221. type: "application/x-www-form-urlencoded"
  222. });
  223. }; // 转让-关闭转让
  224. const closeTurnMeeting = data => {
  225. return request({
  226. url: "/api/meeting/closeTurnMeeting",
  227. data: data,
  228. type: "application/x-www-form-urlencoded"
  229. });
  230. };
  231. module.exports = {
  232. meetingGetPageList,
  233. appointmentDateRecordList,
  234. insertMeetingRecord,
  235. meetingRecordStatus,
  236. myMeetingRecord,
  237. checkMeetingRecord,
  238. checkMeeting,
  239. myMeeting,
  240. cancellationMeeting,
  241. continueMeetingSpan,
  242. continueMeeting,
  243. meetingInServiceList,
  244. meetingServiceListSubmit,
  245. checkMeetingInServiceList,
  246. checkMeetingInService,
  247. myContinueMeeting,
  248. checkContinueMeetingPageList,
  249. checkContinueMeeting,
  250. turnUsername,
  251. turnMeetingSubmit,
  252. myTurnMeetingPageList,
  253. checkTurnMeetingPageList,
  254. checkTurnMeeting,
  255. getMeetingInServiceList,
  256. closeMeetingInService,
  257. closeContinueMeeting,
  258. closeTurnMeeting,
  259. recentMeetingRecord,
  260. meetingRecordDateData
  261. };