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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
const app = getApp();
import $http from "./http";
import $binding from "./binding";
// 获取创建会议室的会议室列表
export function getMeetingRoom(data) {
return $http({
method: "get",
data: data,
url: "/meet/meeting-room/page"
});
}
// 获取会议室分类
// 办公区域
// OFFICE_LOCATION(0,"meeting_room_location")
// 会议室设施
// OFFICE_FACILITY(1,"meeting_room_facility")
// 会议室分类
// OFFICE_CATEGORY(2,"meeting_room_category")
export function getLabelTree(data) {
return $http({
method: "get",
data: data,
url: "/admin/label/tree"
});
}
// 更新办公区域,设施,分类
export function getMettingRoomLabelUpdate(data) {
return $http({
method: "POST",
data: JSON.stringify(data),
url: "/admin/label/update"
});
}
// 添加办公区域、会议室分类、会议室设置
export function getMettingRoomLabelSave(data) {
return $http({
method: "POST",
data: JSON.stringify(data),
url: "/admin/label/save"
});
}
// 删除办公区域、会议室分类、会议室设置
export function getMettingRoomLabelRemove(data) {
return $http({
method: "get",
data: data,
url: `/admin/label/remove/${data}`
});
}
// 删除会议室
export function getRemoveMeetingRoom(data) {
return $http({
method: "get",
data: "",
url: `/meet/meeting-room/remove/${data}`
});
}
// 创建会议室
export function saveMettingRoom(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: "/meet/meeting-room/save"
});
}
// 修改会议室
export function mettingRoomUpdate(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: "/meet/meeting-room/update"
});
}
// 获取会议室详情
export function getMeetingRoomVOByUuid(data) {
return $http({
method: "get",
data: "",
url: `/meet/meeting-room/getMeetingRoomVOByUuid/${data}`
});
}
// 获取我的会议
export function myMeetingPage(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: "/meet/meeting/myPage"
});
}
// 获取预定会议室列表
export function getReserveRoomList(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: "/meet/meeting-room/queryMeetingRoomAndOccupyTimeSlot"
});
}
// 获取预定会议详情
export function getMyMeetingDetails(data) {
return $http({
method: "get",
data: "",
url: `/meet/meeting/${data}`
});
}
// 修改预定时间设置
export function updateGlobalSetting(data) {
return $http({
method: "post",
data: JSON.stringify(data),
url: `/meet/meeting-global-setting/update`
});
}
// 获取首页信息
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 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 $binding({
method: "POST",
data: "",
url: `https://third-authentication-beta.mingwork.com/microsoft/getThirdLoginUrl?state=${data}`
});
}