sh_real_name_system_app/src/services/common.js

45 lines
896 B
JavaScript
Raw Normal View History

import { http } from '@/utils/http'
// 获取工种
export const getPostTypeSelectListAPI = () => {
return http({
url: '/bmw/postType/listAll',
method: 'GET',
})
}
// 获取工程
export const getLotProjectSelectListByConditionAPI = (data) => {
return http({
url: '/bmw/select/selectPro',
method: 'POST',
data,
})
}
// 获取分包
export const getSubSelectListByConditionAPI = (data) => {
return http({
url: '/bmw/select/selectSub',
method: 'POST',
data,
})
}
// 获取班组
export const getTeamSelectListByConditionAPI = (data) => {
return http({
url: '/bmw/select/selectTeam',
method: 'POST',
data,
})
}
// 获取工程
export const getProjectSelectListByConditionAPI = () => {
return http({
url: '/bmw/pmProject/listAll',
method: 'GET',
})
}