1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 02:42:47 +00:00
Files
seahub/frontend/src/models/org-logs-group-member-audit.js
awu0403 ebe1c54153 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>
2025-03-28 17:51:29 +08:00

22 lines
674 B
JavaScript

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;