diff --git a/src/api/videoCommunication.js b/src/api/videoCommunication.js index 4404f6e..fd21839 100644 --- a/src/api/videoCommunication.js +++ b/src/api/videoCommunication.js @@ -1,86 +1,10 @@ import request from '@/utils/request' -// 查询会议列表 -export function listMeeting(query) { +// 视讯-会议列表 +export function listConsultation(query) { return request({ - url: '/videoCommunication/meeting/list', + url: '/v1/consultation/list', method: 'get', params: query }) -} - -// 查询会议详情 -export function getMeeting(id) { - return request({ - url: '/videoCommunication/meeting/' + id, - method: 'get' - }) -} - -// 新增会议 -export function addMeeting(data) { - return request({ - url: '/videoCommunication/meeting', - method: 'post', - data: data - }) -} - -// 修改会议 -export function updateMeeting(data) { - return request({ - url: '/videoCommunication/meeting', - method: 'put', - data: data - }) -} - -// 删除会议 -export function delMeeting(id) { - return request({ - url: '/videoCommunication/meeting/' + id, - method: 'delete' - }) -} - -// 加入会议 -export function joinMeeting(data) { - return request({ - url: '/videoCommunication/meeting/join', - method: 'post', - data: data - }) -} - -// 开始会议 -export function startMeeting(id) { - return request({ - url: '/videoCommunication/meeting/start/' + id, - method: 'post' - }) -} - -// 结束会议 -export function endMeeting(id) { - return request({ - url: '/videoCommunication/meeting/end/' + id, - method: 'post' - }) -} - -// 获取会议回放 -export function getMeetingReplay(id) { - return request({ - url: '/videoCommunication/meeting/replay/' + id, - method: 'get' - }) -} - -// 查询会议统计 -export function getMeetingStats(query) { - return request({ - url: '/videoCommunication/meeting/stats', - method: 'get', - params: query - }) -} +} \ No newline at end of file diff --git a/src/views/utility/index.vue b/src/views/utility/index.vue index 59550f2..0e9409a 100644 --- a/src/views/utility/index.vue +++ b/src/views/utility/index.vue @@ -1,164 +1,180 @@