|
@@ -19,16 +19,16 @@ import { AbleParams, PageParams } from './types/common';
|
|
// 通用查询
|
|
// 通用查询
|
|
// 通用查询-任务查询
|
|
// 通用查询-任务查询
|
|
export function taskQuery(): Promise<OptionItem[]> {
|
|
export function taskQuery(): Promise<OptionItem[]> {
|
|
- return axios.post('/api/apply/task/list', {});
|
|
|
|
|
|
+ return axios.post('/api/admin/apply/task/list', {});
|
|
}
|
|
}
|
|
// 通用查询-教学点查询
|
|
// 通用查询-教学点查询
|
|
export function teachingQuery(): Promise<OptionItem[]> {
|
|
export function teachingQuery(): Promise<OptionItem[]> {
|
|
- return axios.post('/api/apply/teaching/list', {});
|
|
|
|
|
|
+ return axios.post('/api/admin/apply/teaching/list', {});
|
|
}
|
|
}
|
|
// 通用查询-考点查询
|
|
// 通用查询-考点查询
|
|
export function agentQuery(teachingId: number): Promise<OptionItem[]> {
|
|
export function agentQuery(teachingId: number): Promise<OptionItem[]> {
|
|
return axios.post(
|
|
return axios.post(
|
|
- '/api/apply/agent/list',
|
|
|
|
|
|
+ '/api/admin/apply/agent/list',
|
|
{},
|
|
{},
|
|
{ params: { id: teachingId } }
|
|
{ params: { id: teachingId } }
|
|
);
|
|
);
|
|
@@ -99,22 +99,22 @@ export function studentInfoTemplate(): Promise<AxiosResponse<Blob>> {
|
|
export function orderRecordListPage(
|
|
export function orderRecordListPage(
|
|
params: OrderRecordListPageParam
|
|
params: OrderRecordListPageParam
|
|
): Promise<OrderRecordListPageRes> {
|
|
): Promise<OrderRecordListPageRes> {
|
|
- return axios.post('/api/apply/std/page', params);
|
|
|
|
|
|
+ return axios.post('/api/admin/apply/std/page', params);
|
|
}
|
|
}
|
|
// 预约名单详情-取消预约
|
|
// 预约名单详情-取消预约
|
|
export function orderRecordCancel(id: number): Promise<boolean> {
|
|
export function orderRecordCancel(id: number): Promise<boolean> {
|
|
- return axios.post('/api/apply/std/cancel', {}, { params: { id } });
|
|
|
|
|
|
+ return axios.post('/api/admin/apply/std/cancel', {}, { params: { id } });
|
|
}
|
|
}
|
|
// 预约名单详情-一键自动分配
|
|
// 预约名单详情-一键自动分配
|
|
export function orderRecordAutoAssign(params: {
|
|
export function orderRecordAutoAssign(params: {
|
|
taskId: number;
|
|
taskId: number;
|
|
}): Promise<boolean> {
|
|
}): Promise<boolean> {
|
|
- return axios.post('/api/apply/std/auto/assign', {}, { params });
|
|
|
|
|
|
+ return axios.post('/api/admin/apply/std/auto/assign', {}, { params });
|
|
}
|
|
}
|
|
// 预约名单详情-导入模板下载
|
|
// 预约名单详情-导入模板下载
|
|
export function orderRecordTemplate(): Promise<AxiosResponse<Blob>> {
|
|
export function orderRecordTemplate(): Promise<AxiosResponse<Blob>> {
|
|
return axios.post(
|
|
return axios.post(
|
|
- '/api/apply/imp/template',
|
|
|
|
|
|
+ '/api/admin/apply/imp/template',
|
|
{},
|
|
{},
|
|
{
|
|
{
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|
|
@@ -126,14 +126,14 @@ export function orderRecordTemplate(): Promise<AxiosResponse<Blob>> {
|
|
export function orderRecordPrintTimeListPage(): Promise<
|
|
export function orderRecordPrintTimeListPage(): Promise<
|
|
OrderRecordPrintTimeItem[]
|
|
OrderRecordPrintTimeItem[]
|
|
> {
|
|
> {
|
|
- return axios.post('/api/apply/sign/in/date', {});
|
|
|
|
|
|
+ return axios.post('/api/admin/apply/sign/in/date', {});
|
|
}
|
|
}
|
|
// 预约名单详情-打印签到表
|
|
// 预约名单详情-打印签到表
|
|
export function orderRecordPrint(
|
|
export function orderRecordPrint(
|
|
params: OrderRecordPrintParam
|
|
params: OrderRecordPrintParam
|
|
): Promise<AxiosResponse<Blob>> {
|
|
): Promise<AxiosResponse<Blob>> {
|
|
return axios.post(
|
|
return axios.post(
|
|
- '/api/apply/std/auto/sign/in/print',
|
|
|
|
|
|
+ '/api/admin/apply/std/auto/sign/in/print',
|
|
{},
|
|
{},
|
|
{
|
|
{
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|
|
@@ -146,7 +146,7 @@ export function exportOrderRecordDetail(
|
|
params: ExportOrderRecordDetailParam
|
|
params: ExportOrderRecordDetailParam
|
|
): Promise<AxiosResponse<Blob>> {
|
|
): Promise<AxiosResponse<Blob>> {
|
|
return axios.post(
|
|
return axios.post(
|
|
- '/api/apply/std/auto/sign/in/apply',
|
|
|
|
|
|
+ '/api/admin/apply/export/teaching/available',
|
|
{},
|
|
{},
|
|
{
|
|
{
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|