1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00
* org groups

* update front page

* update operation ui
This commit is contained in:
陈钦亮
2019-03-13 10:32:38 +08:00
committed by Daniel Pan
parent 032e1ff166
commit e5886f73f4
4 changed files with 270 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
import { Utils } from '../utils/utils';
import { lang } from '../utils/constants';
import moment from 'moment';
moment.locale(lang);
class OrgGroupInfo {
constructor(object) {
this.id = object.id;
this.groupName = object.group_name;
this.creatorName = object.creator_name;
this.creatorEmail = object.creator_email;
this.creatorContactEmail = object.creator_contact_email;
this.ctime = moment(object.ctime).format('YYYY-MM-DD HH:mm:ss');
}
}
export default OrgGroupInfo;