1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
import $http from "./http";
// 区域标签树
export function getRoomTree() {
return $http({
method: "get",
url: "/admin/label/tree?scene=meeting_room_location"
});
}
// 获取预定会议室列表
export function getReserveRoomList(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: "/meet/meeting-room/queryMeetingRoomAndOccupyTimeSlot"
});
}
// 获取首页信息
export function getHomeUserSchedule(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/getHomeUserSchedule`
});
}
/* 创建日程全部请求 */
// 创建日程
export function addSchedule(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/addSchedule`
});
}
// 获取参会会人员的日程
export function getUserScheduleInTime(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/getUserScheduleInTime`
});
}
// 获取日程详情
export function getScheduleDetail(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/getScheduleDetail`
});
}
// 文件上传
export function uploadPermissions(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/admin/ddOpenApi/getCustomSpaceAndGrantCustomSpace`
});
}
// 文件预览
export function previewPermissions(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/admin/ddOpenApi/getCustomSpaceAndGrantCustomSpace`
});
}
// 编辑日程
export function modifySchedule(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/modifySchedule`
});
}
// 删除日程
export function deleteSchedule(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/deleteSchedule`
});
}
// 可用会议室列表
export function queryAvailableMeetingRoomByTime(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-room/queryAvailableMeetingRoomByTime`
});
}
// 跨天会议判断是否可点击
export function getAllScheduleWithMeetingRoomByTime(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-room/getAllScheduleWithMeetingRoomByTime`
});
}
// 获取动态展示
export function getDynamic(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-log/list`
});
}
// 获取动态展示
export function saveFileInfo(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-log-resource/save`
});
}
// 删除文件
export function delFile(data) {
return $http({
method: "get",
url: `/meet/schedule-accessory/remove/${data}`
});
}
// 编辑文件
export function editFile(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule-accessory/update`
});
}
// 参加 不参加
export function isParticipate(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/schedule/confirm`
});
}
//会议室详情的获取重复会议动态列表
export function getMeetingRoomRepeatAffairs(groupId, page) {
return $http({
method: "get",
url: `/meet/meeting-log/scheduleTemplateMeetingLogPage?groupId=${groupId}&size=10¤t=${page}`
});
}
//会议室详情的获取动态列表
export function getMeetingRoomAffairs(id) {
return $http({
method: "get",
url: `/meet/meeting-log/detail/${id}`
});
}
//会议室创建新任务
export function createMeetingTask(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-log-resource/save`
});
}
//会议室修改任务
export function updateMeetingTask(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-log-resource/update`
});
}
//删除任务
export function deleteMeetingTask(id) {
return $http({
method: "get",
url: `/meet/meeting-log-resource/remove/${id}`
});
}
// 测试的首页api
export function getHomeUserSchedule1(data) {
return $http({
method: "POST",
data: JSON.stringify(data),
url: "/meet/schedule/getHomeUserSchedule1"
});
}
// 动态list
export function getDynamicList(data) {
return $http({
method: "get",
data: data,
url: `/meet/meeting-log/page`
});
}
// 我的动态会议置顶
export function meetingCollection(data) {
return $http({
method: "POST",
data: JSON.stringify(data),
url: "/meet/schedule/collection"
});
}
// 获取outlook页面授权地址
export function getOutlookUrl(data) {
return $http({
method: "POST",
data: "",
url: `/microsoft/getThirdLoginUrl?state=${data}`,
type: "binding"
});
}
// 获取绑定的app
export function getThirdUserPlatForm(data) {
return $http({
method: "get",
data: data,
url: `/admin/third/user/getThirdUserPlatForm`
});
}
// 解绑第三方app
export function unbindingApp(data) {
return $http({
method: "get",
data: "",
url: `/admin/third/user/remove/${data}`
});
}
// 获取zoom授权页面
export function getZoomUrl(data) {
return $http({
method: "get",
data: "",
url: `/zoom/auth?orgId=${data.orgId}&userId=${data.userId}`,
type: "binding"
});
}