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.
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
|
|
export const TaskApi = {
|
|
|
|
/**
|
|
|
|
* 获取列表
|
|
|
|
* @param {Object} params
|
|
|
|
*/
|
|
|
|
getList: (params) => {
|
|
|
|
return request({
|
|
|
|
url: `/system/task-info/appPage`,
|
|
|
|
method: 'GET',
|
|
|
|
params
|
|
|
|
})
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 获取详情
|
|
|
|
*/
|
|
|
|
getDetail: (id) => {
|
|
|
|
return request({
|
|
|
|
url: `/system/task-info/appGet?id=${id}`,
|
|
|
|
method: 'GET',
|
|
|
|
})
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 转发
|
|
|
|
*/
|
|
|
|
replay: (data) => {
|
|
|
|
return request({
|
|
|
|
url: `/system/enterprise-inspections/passOn`,
|
|
|
|
method: 'POST',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 查询部门树
|
|
|
|
*/
|
|
|
|
getDept: () => {
|
|
|
|
return request({
|
|
|
|
url: `/system/task-info/appSelectCreateDept`,
|
|
|
|
method: 'GET',
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|