sh_real_name_system_app/src/services/common.js

53 lines
1.0 KiB
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',
})
}
2025-09-05 14:08:12 +08:00
// 获取请求配置
export const getRequestConfigAPI = () => {
return http({
url: '/auth/getConfig',
method: 'GET',
})
}