123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- const { request } = require("../func/request"); // 会议室-分页列表
- const meetingGetPageList = data => {
- return request({
- url: "/api/meeting/getPageList",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 会议室-已预约记录
- const appointmentDateRecordList = data => {
- return request({
- url: "/api/meeting/appointmentDateRecordList",
- data: data,
- method: "post",
- type: "application/json"
- });
- };
- // 会议预约-获取日期和预约数量
- const meetingRecordDateData = (data) => {
- return request({
- url: '/api/meeting/meetingRecordDateData',
- data: data,
- method: 'post',
- type: 'application/json'
- })
- }
- // 会议室-提交预约
- const insertMeetingRecord = data => {
- return request({
- url: "/api/meeting/insertMeetingRecord",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 我的预约-状态
- const meetingRecordStatus = data => {
- return request({
- url: "//api/meeting/meetingRecordStatus",
- data: data,
- method: "get",
- type: "application/x-www-form-urlencoded"
- });
- }; // 会议室-我的预约
- const myMeetingRecord = data => {
- return request({
- url: "/api/meeting/myMeetingRecord",
- data: data,
- method: "post",
- type: "application/json"
- });
- };
- // (new)会议预约-近期预约记录(会议记录)
- const recentMeetingRecord = (data) => {
- return request({
- url: '/api/meeting/recentMeetingRecord',
- data: data,
- method: 'post',
- type: 'application/json'
- })
- }
- // 审核预约列表
- const checkMeetingRecord = data => {
- return request({
- url: "/api/meeting/checkMeetingRecord",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 审核预约
- const checkMeeting = data => {
- return request({
- url: "/api/meeting/checkMeeting",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 会议室-我的会议
- const myMeeting = data => {
- return request({
- url: "/api/meeting/myMeeting",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 会议室-取消会议
- const cancellationMeeting = data => {
- return request({
- url: "/api/meeting/cancellationMeeting",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- }; // 服务-会议中可提供的服务列表
- const getMeetingInServiceList = data => {
- return request({
- url: "/api/meeting/meetingInServiceList",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- }; // 服务-提交服务
- const meetingServiceListSubmit = data => {
- return request({
- url: "/api/meeting/meetingServiceListSubmit",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 服务-会议的服务列表
- const meetingInServiceList = data => {
- return request({
- url: "/api/meeting/meetingInServiceList",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 服务-审核列表
- const checkMeetingInServiceList = data => {
- return request({
- url: "/api/meeting/checkMeetingInServiceList",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 服务-审核
- const checkMeetingInService = data => {
- return request({
- url: "/api/meeting/checkMeetingInService",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 服务-关闭服务
- const closeMeetingInService = data => {
- return request({
- url: "/api/meeting/closeMeetingInService",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- }; // 续约-续约时间跨度
- const continueMeetingSpan = data => {
- return request({
- url: "/api/meeting/continueMeetingSpan",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- }; // 续约-会议续约
- const continueMeeting = data => {
- return request({
- url: "/api/meeting/continueMeeting",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 续约-我的续约
- const myContinueMeeting = data => {
- return request({
- url: "/api/meeting/myContinueMeeting",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 续约-续约审核列表
- const checkContinueMeetingPageList = data => {
- return request({
- url: "/api/meeting/checkContinueMeetingPageList",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 续约-续约审核
- const checkContinueMeeting = data => {
- return request({
- url: "/api/meeting/checkContinueMeeting",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 转让-获取转让用户信息
- const turnUsername = data => {
- return request({
- url: "/api/meeting/turnUsername",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- }; // 转让-提交会议转让
- const turnMeetingSubmit = data => {
- return request({
- url: "/api/meeting/turnMeetingSubmit",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 转让-我的转让
- const myTurnMeetingPageList = data => {
- return request({
- url: "/api/meeting/myTurnMeetingPageList",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 转让-转让审核列表
- const checkTurnMeetingPageList = data => {
- return request({
- url: "/api/meeting/checkTurnMeetingPageList",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 转让-转让审核
- const checkTurnMeeting = data => {
- return request({
- url: "/api/meeting/checkTurnMeeting",
- data: data,
- method: "post",
- type: "application/json"
- });
- }; // 续约-关闭续约
- const closeContinueMeeting = data => {
- return request({
- url: "/api/meeting/closeContinueMeeting",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- }; // 转让-关闭转让
- const closeTurnMeeting = data => {
- return request({
- url: "/api/meeting/closeTurnMeeting",
- data: data,
- type: "application/x-www-form-urlencoded"
- });
- };
- module.exports = {
- meetingGetPageList,
- appointmentDateRecordList,
- insertMeetingRecord,
- meetingRecordStatus,
- myMeetingRecord,
- checkMeetingRecord,
- checkMeeting,
- myMeeting,
- cancellationMeeting,
- continueMeetingSpan,
- continueMeeting,
- meetingInServiceList,
- meetingServiceListSubmit,
- checkMeetingInServiceList,
- checkMeetingInService,
- myContinueMeeting,
- checkContinueMeetingPageList,
- checkContinueMeeting,
- turnUsername,
- turnMeetingSubmit,
- myTurnMeetingPageList,
- checkTurnMeetingPageList,
- checkTurnMeeting,
- getMeetingInServiceList,
- closeMeetingInService,
- closeContinueMeeting,
- closeTurnMeeting,
- recentMeetingRecord,
- meetingRecordDateData
- };
|