bladex前端ui项目,基于avue-cli2.0开发
包含基础工作流,不包含表单设计器
https://git.javablade.com/blade/Saber
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
815 B
51 lines
815 B
|
7 years ago
|
import request from '@/router/axios';
|
||
|
|
|
||
|
|
export const getList = (current, size, params) => {
|
||
|
|
return request({
|
||
|
7 years ago
|
url: '/api/blade-desk/notice/list',
|
||
|
7 years ago
|
method: 'get',
|
||
|
7 years ago
|
params: {
|
||
|
|
...params,
|
||
|
7 years ago
|
current,
|
||
|
|
size,
|
||
|
7 years ago
|
}
|
||
|
7 years ago
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const remove = (ids) => {
|
||
|
|
return request({
|
||
|
7 years ago
|
url: '/api/blade-desk/notice/remove',
|
||
|
7 years ago
|
method: 'post',
|
||
|
7 years ago
|
params: {
|
||
|
7 years ago
|
ids,
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const add = (row) => {
|
||
|
|
return request({
|
||
|
7 years ago
|
url: '/api/blade-desk/notice/submit',
|
||
|
7 years ago
|
method: 'post',
|
||
|
|
data: row
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const update = (row) => {
|
||
|
|
return request({
|
||
|
7 years ago
|
url: '/api/blade-desk/notice/submit',
|
||
|
7 years ago
|
method: 'post',
|
||
|
|
data: row
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const getNotice = (id) => {
|
||
|
|
return request({
|
||
|
7 years ago
|
url: '/api/blade-desk/notice/detail',
|
||
|
7 years ago
|
method: 'get',
|
||
|
|
params: {
|
||
|
|
id
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|