62 lines
2.4 KiB
TypeScript
62 lines
2.4 KiB
TypeScript
/**
|
|
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
|
|
* No deletion without permission, or be held responsible to law.
|
|
* @author gaoxq
|
|
*/
|
|
import { defHttp } from '@jeesite/core/utils/http/axios';
|
|
import { useGlobSetting } from '@jeesite/core/hooks/setting';
|
|
import { BasicModel, Page } from '@jeesite/core/api/model/baseModel';
|
|
import { UploadApiResult } from '@jeesite/core/api/sys/upload';
|
|
import { UploadFileParams } from '@jeesite/types/axios';
|
|
import { AxiosProgressEvent } from 'axios';
|
|
|
|
const { ctxPath, adminPath } = useGlobSetting();
|
|
|
|
export interface BizMeetingInfo extends BasicModel<BizMeetingInfo> {
|
|
createTime?: string; // 记录时间
|
|
title: string; // 会议标题
|
|
meetingCode: string; // 会议编号
|
|
meetingContent: string; // 会议内容
|
|
meetingUser: string; // 参会人员
|
|
otherUser?: string; // 其他人员
|
|
meetingType: string; // 会议类型
|
|
startTime: string; // 开始时间
|
|
endTime: string; // 结束时间
|
|
meetingLocation: string; // 会议地点
|
|
ustatus: string; // 会议状态
|
|
remark?: string; // 补充说明
|
|
createUser: string; // 创建人员
|
|
updateTime?: string; // 更新时间
|
|
ftenantId?: string; // 租户id
|
|
fflowId?: string; // 流程id
|
|
fflowTaskId?: string; // 流程任务主键
|
|
fflowState?: number; // 流程任务状态
|
|
}
|
|
|
|
export const bizMeetingInfoList = (params?: BizMeetingInfo | any) =>
|
|
defHttp.get<BizMeetingInfo>({ url: adminPath + '/biz/meetingInfo/list', params });
|
|
|
|
export const bizMeetingInfoListData = (params?: BizMeetingInfo | any) =>
|
|
defHttp.post<Page<BizMeetingInfo>>({ url: adminPath + '/biz/meetingInfo/listData', params });
|
|
|
|
export const bizMeetingInfoForm = (params?: BizMeetingInfo | any) =>
|
|
defHttp.get<BizMeetingInfo>({ url: adminPath + '/biz/meetingInfo/form', params });
|
|
|
|
export const bizMeetingInfoSave = (params?: any, data?: BizMeetingInfo | any) =>
|
|
defHttp.postJson<BizMeetingInfo>({ url: adminPath + '/biz/meetingInfo/save', params, data });
|
|
|
|
export const bizMeetingInfoImportData = (
|
|
params: UploadFileParams,
|
|
onUploadProgress: (progressEvent: AxiosProgressEvent) => void,
|
|
) =>
|
|
defHttp.uploadFile<UploadApiResult>(
|
|
{
|
|
url: ctxPath + adminPath + '/biz/meetingInfo/importData',
|
|
onUploadProgress,
|
|
},
|
|
params,
|
|
);
|
|
|
|
export const bizMeetingInfoDelete = (params?: BizMeetingInfo | any) =>
|
|
defHttp.get<BizMeetingInfo>({ url: adminPath + '/biz/meetingInfo/delete', params });
|