meeting.js 6.5 KB

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