1
0
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:
awu0403
2025-03-28 17:51:29 +08:00
committed by GitHub
parent 29c8c12fa8
commit ebe1c54153
22 changed files with 793 additions and 9 deletions

View 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;