meeting.js 7.1 KB

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