79 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			79 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| // @ts-ignore
 | |
| /* eslint-disable */
 | |
| import request from '../common/utils/http';
 | |
| 
 | |
| /** 3.考车对考生缺考操作 考车对考生缺考操作 POST /exam/examinationStuAbsent.ws */
 | |
| export async function examinationStuAbsentUsingPost(
 | |
|   body: API.Pinyin_26,
 | |
|   options?: { [key: string]: any },
 | |
| ) {
 | |
|   return request<API.ROfobject>('/exam/examinationStuAbsent.ws', {
 | |
|     method: 'POST',
 | |
|     headers: {
 | |
|       'Content-Type': 'application/json;charset=UTF-8',
 | |
|     },
 | |
|     data: body,
 | |
|     ...(options || {}),
 | |
|   });
 | |
| }
 | |
| 
 | |
| /** 2.断点续考 断点续考获取考试项目 POST /exam/getExaminationItem.ws */
 | |
| export async function getExaminationItemUsingPost(
 | |
|   body: API.Pinyin_18,
 | |
|   options?: { [key: string]: any },
 | |
| ) {
 | |
|   return request<API.ROf8>('/exam/getExaminationItem.ws', {
 | |
|     method: 'POST',
 | |
|     headers: {
 | |
|       'Content-Type': 'application/json;charset=UTF-8',
 | |
|     },
 | |
|     data: body,
 | |
|     ...(options || {}),
 | |
|   });
 | |
| }
 | |
| 
 | |
| /** 1.下载考生信息 考车端通过此接口下载监管(或本地随机)分配的考生信息 POST /exam/getExaminationStudentInfo.ws */
 | |
| export async function getExaminationStudentInfoUsingPost(
 | |
|   body: API.Pinyin_3,
 | |
|   options?: { [key: string]: any },
 | |
| ) {
 | |
|   return request<API.ROf_>('/exam/getExaminationStudentInfo.ws', {
 | |
|     method: 'POST',
 | |
|     headers: {
 | |
|       'Content-Type': 'application/json;charset=UTF-8',
 | |
|     },
 | |
|     data: body,
 | |
|     ...(options || {}),
 | |
|   });
 | |
| }
 | |
| 
 | |
| /** 4.上传考试过程数据文件 上传考试过程数据文件 POST /exam/uploadExamDataFile.ws */
 | |
| export async function uploadExamDataFileUsingPost(
 | |
|   body: API.Pinyin_2,
 | |
|   options?: { [key: string]: any },
 | |
| ) {
 | |
|   return request<API.ROfobject>('/exam/uploadExamDataFile.ws', {
 | |
|     method: 'POST',
 | |
|     headers: {
 | |
|       'Content-Type': 'application/json;charset=UTF-8',
 | |
|     },
 | |
|     data: body,
 | |
|     ...(options || {}),
 | |
|   });
 | |
| }
 | |
| 
 | |
| /** 5.上传考生考试里程 上传考生考试里程 POST /exam/uploadExamMileage.ws */
 | |
| export async function uploadExamMileageUsingPost(
 | |
|   body: API.Pinyin__,
 | |
|   options?: { [key: string]: any },
 | |
| ) {
 | |
|   return request<API.ROfobject>('/exam/uploadExamMileage.ws', {
 | |
|     method: 'POST',
 | |
|     headers: {
 | |
|       'Content-Type': 'application/json;charset=UTF-8',
 | |
|     },
 | |
|     data: body,
 | |
|     ...(options || {}),
 | |
|   });
 | |
| }
 |