公司级人员及证书的录入

This commit is contained in:
Teo
2025-06-25 18:48:23 +08:00
parent b7431c6292
commit b6d8f2b851
8 changed files with 230 additions and 20 deletions

View File

@ -1,4 +1,5 @@
export interface RecognizeRecordVO {
id: any;
/**
* 设备名称
*/
@ -32,7 +33,6 @@ export interface RecognizeRecordVO {
* 创建时间
*/
createTime: string;
}
export interface RecognizeRecordForm extends BaseEntity {
@ -79,22 +79,23 @@ export interface RecognizeRecordForm extends BaseEntity {
/**
* 故障描述
*/
describe?: string;
description?: string;
/**
* 备注
*/
remark?: string;
}
export interface RecognizeRecordQuery extends PageQuery {
/**
* 项目id
*/
projectId?: string | number;
/**
* 故障描述
*/
description?: string;
/**
* 设备名称
*/
@ -115,11 +116,8 @@ export interface RecognizeRecordQuery extends PageQuery {
*/
createTime?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -209,6 +209,18 @@ export const deptTreeSelect = (): AxiosPromise<DeptTreeVO[]> => {
});
};
/**
* 新增用户文件关联
* @param data 文件关联数据
*/
export const uploadCertList = (data: { userId: string | number; fileId: string }) => {
return request({
url: '/system/userFile',
method: 'post',
data: data
});
};
export default {
listUser,
getUser,

View File

@ -46,6 +46,7 @@ export interface UserVO extends BaseEntity {
postIds: any;
roleId: any;
admin: boolean;
filePath?: string;
}
/**
@ -65,6 +66,7 @@ export interface UserForm {
remark?: string;
postIds: string[];
roleIds: string[];
filePath?: string;
}
export interface UserInfoVO {