邀约记录

This commit is contained in:
weiwei committed 2025-07-30 12:14:12 +08:00
1 parent a813da33ee
commit 8dc019eab5
6 files changed
+181 -346

No files matched your search

+25 -7
View File
@@ -7,11 +7,29 @@ export default {
url: `/integrated/app/visitor/getDictListByType?type=${type}`,
method: "GET",
}),
}
// const updateCheckStatus = () => {
// request({
// url: `/integrated/visitors/app/updateCheckStatus?id=1950037876011745282&checkStatus=2`,
// method: "GET",
// })
// }
// 保存访客邀约
saveInvitation: (data: any): Promise<any> =>
request({
url: `/integrated/visitors/app/saveYY`,
method: "POST",
data,
}),
// 获取访客邀约列表
// type为1:主动申请 type为2:邀约 type为3:后台创建
getInvitationRecord: (params: { current: number; size: number; checkStatus?: string; type?: number }): Promise<any> =>
request({
url: `/integrated/visitors/app/yy/page`,
method: "GET",
params,
}),
// 更新审核状态通过 2:通过 3:拒绝
updateCheckStatus: (params: { id: string; checkStatus: number | string }): Promise<any> =>
request({
url: `/integrated/visitors/app/updateCheckStatus`,
method: "GET",
params,
}),
}