30 lines
658 B
JavaScript
30 lines
658 B
JavaScript
import { http } from '@/utils/http'
|
|
|
|
// 获取项目
|
|
export const getProjectApi = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: '/imgTool/sys/select/getProsSelect',
|
|
header: {
|
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
},
|
|
data,
|
|
})
|
|
}
|
|
// 获取专业
|
|
export const getMajorApi = () => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/imgTool/sys/select/getProfessionSelect',
|
|
isNull: true,
|
|
})
|
|
}
|
|
// 获取工序
|
|
export const getProcedureApi = (data) => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/imgTool/sys/select/getProcessSelect',
|
|
data,
|
|
})
|
|
}
|