You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.1 KiB
JavaScript

import request from '@/utils/request'
// 查询通知公告-班组列表
export function listNoticeGroup(query) {
return request({
url: '/system/noticeGroup/list',
method: 'get',
params: query
});
}
// 查询通知公告-班组详细
export function getNoticeGroup(id) {
return request({
url: '/system/noticeGroup/' + id,
method: 'get'
});
}
// 新增通知公告-班组
export function addNoticeGroup(data) {
return request({
url: '/system/noticeGroup',
method: 'post',
data: data
});
}
// 修改通知公告-班组
export function updateNoticeGroup(data) {
return request({
url: '/system/noticeGroup',
method: 'put',
data: data
});
}
// 删除通知公告-班组
export function delNoticeGroup(data) {
return request({
url: '/system/noticeGroup/delNoticeGroup',
method: 'post',
data: data
});
}
export function teamBind(data) {
return request({
url: '/system/noticeGroup/teamBind',
method: 'post',
data: data
});
}