mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 23:29:49 +00:00
Add group audit log 13 (#7661)
* add group audit log * Update mysql.sql * optimize parameters * update * update * update * optimize * code optimize * update * Update operation-logs.js * update * Update models.py * update --------- Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com> Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
21
frontend/src/models/org-logs-group-member-audit.js
Normal file
21
frontend/src/models/org-logs-group-member-audit.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import { lang } from '../utils/constants';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
dayjs.locale(lang);
|
||||
|
||||
class OrgGroupMemberAuditLog {
|
||||
constructor(object) {
|
||||
this.group_id = object.group_id;
|
||||
this.group_name = object.group_name;
|
||||
this.user_contact_email = object.user_contact_email;
|
||||
this.user_email = object.user_email;
|
||||
this.user_name = object.user_name;
|
||||
this.operator_email = object.operator_email;
|
||||
this.operator_name = object.operator_name;
|
||||
this.operator_contact_email = object.operator_contact_email;
|
||||
this.operation = object.operation;
|
||||
this.time = dayjs(object.date).format('YYYY-MM-DD HH:mm:ss');
|
||||
}
|
||||
}
|
||||
|
||||
export default OrgGroupMemberAuditLog;
|
Reference in New Issue
Block a user