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 };