工行这里学车报名流程h5
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.
 
 
 
 

71 lines
2.4 KiB

import http from '@/utils/request';
import { Ajax1 } from '@/utils/request';
class indexApi {
// 查询学校
async queryTrainingSchoolListFromApp(data) {
return await Ajax1('/school/manage/queryTrainingSchoolListFromApp.do', data, 'post');
}
// 查询学校详情
async getTrainingSchoolAppDetails(data) {
return await Ajax1('/school/manage/getTrainingSchoolAppDetails.do', data,'post');
}
// 查询班型
async queryTrainingClasss(data) {
return await Ajax1('/class/manage/queryTrainingClasss.do', data,'post');
}
// 查询场地
async queryTrainingSiteAppList(data) {
return await Ajax1('/school/manage/queryTrainingSiteAppList.do', data,'post');
}
// 用户协议隐私政策
async getAgreement(data) {
return await http('/util/manage/getAgreement.do', data={},'post');
}
// 短信验证
async getLoginRegistCode(data) {
return await Ajax1( '/util/manage/getLoginRegistCode.do', data, 'post');
}
// 验证码登录
async loginSMS(data) {
return await Ajax1('/account/manage/login.do', data,'post');
}
// 我的查询个人账号基本信息
async getOwnerAccountBase(data) {
return await http('/account/manage/getOwnerAccountBase.do', data,'post');
}
// 创建转校报名信息(包括修改)-1
async createTransferTrainingApplyDetails(data={}) {
return await Ajax1('/apply/manage/createTransferTrainingApplyDetails.do', data,'post');
}
// 提交表单
async createTrainingApplyDetails(data) {
return await Ajax1('/apply/manage/createTrainingApplyDetails.do', data,'post');
}
// 通过车型查询班型列表
async querySimpleTrainingClasssByModel(data) {
return await Ajax1('/class/manage/querySimpleTrainingClasssByModel.do', data,'post');
}
// 查询报名详情-3
async getTrainingApplyDetails(data) {
return await Ajax1('/apply/manage/getTrainingApplyDetails.do', data,'post');
}
// 根据驾校id查询车型
async queryDriveModels(data) {
return await Ajax1('/school/manage/queryDriveModels.do', data,'post');
}
//创建报名-1
async createTrainingApplySimple(data) {
return await Ajax1('/apply/manage/createTrainingApplySimple.do', data,'post');
}
// app升级版本
async getLastVersion(data={}) {
return await Ajax1('/appVersion/getLastVersion.do', data,'post');
}
// 查询区域
async queryRegionByParentCode(data) {
return await Ajax1('/util/manage/queryRegionByParentCode.do?regionCode=330100', data,'post');
}
}
export default new indexApi();