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.
40 lines
922 B
40 lines
922 B
import axios from '../axios'; |
|
|
|
export function getList(obj: any) { |
|
return axios({ |
|
url: '/ex/exam-schedule/select', |
|
method: 'get', |
|
params: obj |
|
}) |
|
} |
|
|
|
export function add(obj: any) { |
|
return axios.post( '/ex/exam-schedule/insert', |
|
obj,{ |
|
headers: { |
|
'Content-Type': 'application/json' |
|
} |
|
}) |
|
} |
|
|
|
export function edit(obj: any) { |
|
return axios({ |
|
url: '/ex/exam-edit', |
|
method: 'get', |
|
}) |
|
} |
|
|
|
export const getIndustryList = async () => { |
|
const response = await axios.get('/ex/exam-schedule/getIndustry'); |
|
return response.data; |
|
}; |
|
|
|
export const getPaperList = async (obj:any) => { |
|
const response = await axios.get('/ex/dict/dictionary?code='+obj); |
|
return response.data; |
|
}; |
|
|
|
export const getRegionList = async (obj:any) => { |
|
const response = await axios.get('/ex/dict/dictionary?code='+obj); |
|
return response.data; |
|
}; |