完成访客搭建,完善之前审核界面

This commit is contained in:
Zy
2026-04-13 18:10:23 +08:00
parent d957d1a039
commit 7f152c45f5
34 changed files with 1732 additions and 1208 deletions

View File

@@ -74,6 +74,147 @@ export const UploadidCardApi = () => {
};
// ! 住户审核流程--------------------------------------------------------------------------
export interface ResidentReviewProcessVO {
/**
* 住户审核表
*/
id: string | number;
/**
* 住户表id
*/
residentId: string | number;
/**
* 提交时间
*/
submitTime: string;
/**
* 提交状态 0未提交 1已提交
*/
submitStatus: string;
/**
* 物业审核时间
*/
propertyTime: string;
/**
* 物业审核状态 0 待审核 1审核通过 2审核未通过
*/
propertyStatus: string;
/**
* 物业审核意见
*/
propertyReviewFeedback: string;
/**
* 认证时间
*/
certificationTime: string;
/**
* 认证状态 0未认证 1已认证
*/
certificationStatus: string;
}
export interface ResidentReviewProcessForm extends BaseEntity {
/**
* 住户审核表
*/
id?: string | number;
/**
* 住户表id
*/
residentId?: string | number;
/**
* 提交时间
*/
submitTime?: string;
/**
* 提交状态 0未提交 1已提交
*/
submitStatus?: string;
/**
* 物业审核时间
*/
propertyTime?: string;
/**
* 物业审核状态 0 待审核 1审核通过 2审核未通过
*/
propertyStatus?: string;
/**
* 物业审核意见
*/
propertyReviewFeedback?: string;
/**
* 认证时间
*/
certificationTime?: string;
/**
* 认证状态 0未认证 1已认证
*/
certificationStatus?: string;
}
export interface ResidentReviewProcessQuery extends PageQuery {
/**
* 住户表id
*/
residentId?: string | number;
/**
* 提交时间
*/
submitTime?: string;
/**
* 提交状态 0未提交 1已提交
*/
submitStatus?: string;
/**
* 物业审核时间
*/
propertyTime?: string;
/**
* 物业审核状态 0 待审核 1审核通过 2审核未通过
*/
propertyStatus?: string;
/**
* 物业审核意见
*/
propertyReviewFeedback?: string;
/**
* 认证时间
*/
certificationTime?: string;
/**
* 认证状态 0未认证 1已认证
*/
certificationStatus?: string;
/**
* 日期范围参数
*/
params?: any;
}
/**
* 获取住户审核流程列表
*/
@@ -86,9 +227,19 @@ export const getresidentReviewlistAPI = (id: string) => {
/**
* 获取单一住户审核流程列表
*/
export const getresidentReviewByIdAPI = (id: number) => {
export const getresidentReviewByIdAPI = (id: number): AxiosPromise<ResidentReviewProcessVO> => {
return request({
url: `/residentReview/${id}`,
method: 'GET'
});
};
/**
* 更新 住户 审核 表
*/
export const UpdateResidentReviewAPI = (data: ResidentReviewProcessForm) => {
return request({
url: `/residentReview`,
method: 'PUT',
data
});
};