2023-09-21 22:45:42 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
const getList=(projectId,deptId)=> {
|
|
|
|
return request({
|
|
|
|
url: `bgscreen/standard/getList?projectId=${projectId}&deptId=${deptId}`,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2023-10-22 23:46:07 +08:00
|
|
|
const groupByType=data=>{
|
|
|
|
return request({
|
|
|
|
url:'bgscreen/standard/groupByType',
|
|
|
|
method:'post',
|
|
|
|
data:data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const groupByProject=()=>{
|
|
|
|
return request({
|
|
|
|
url:'bgscreen/standard/groupByProject',
|
|
|
|
method:'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-09-21 22:45:42 +08:00
|
|
|
export default{
|
2023-10-22 23:46:07 +08:00
|
|
|
getList,
|
|
|
|
groupByType,
|
|
|
|
groupByProject
|
2023-09-21 22:45:42 +08:00
|
|
|
}
|