123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import request from '@/utils/request'
- // 创建重要提醒广播
- export function createRemindBroad(data) {
- return request({
- url: '/backend/remind-broad/create',
- method: 'post',
- data: data
- })
- }
- // 更新重要提醒广播
- export function updateRemindBroad(data) {
- return request({
- url: '/backend/remind-broad/update',
- method: 'put',
- data: data
- })
- }
- // 删除重要提醒广播
- export function deleteRemindBroad(id) {
- return request({
- url: '/backend/remind-broad/delete?id=' + id,
- method: 'delete'
- })
- }
- // 获得重要提醒广播
- export function getRemindBroad(id) {
- return request({
- url: '/backend/remind-broad/get?id=' + id,
- method: 'get'
- })
- }
- // 获得重要提醒广播分页
- export function getRemindBroadPage(query) {
- return request({
- url: '/backend/remind-broad/page',
- method: 'get',
- params: query
- })
- }
- // 导出重要提醒广播 Excel
- export function exportRemindBroadExcel(query) {
- return request({
- url: '/backend/remind-broad/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
- }
- // 获取所有部门信息
- export function getDepts(data) {
- return request({
- url: '/backend/remind-broad/getdepts',
- method: 'post',
- data: data
- })
- }
- // 重要提醒获取当前用户管理的大队信息
- export function getFireTeams(query){
- return request({
- url: '/backend/remind-broad/getfireteams',
- header: {
- 'content-type': 'application/x-www-form-urlencoded'
- },
- method: 'post',
- params: query
- })
- }
|