-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(member-group): Team #2616
Merged
Merged
feat(member-group): Team #2616
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cb49a7a
feat: member-group schema define
FinleyGe 30f48e7
feat(fe): create group
FinleyGe 0dc93fd
feat: add group edit modal
FinleyGe e4d9aac
feat(fe): add avatar group component
FinleyGe e3d2970
feat: edit group
FinleyGe d3f6018
feat: bio-mode support for select-member component
FinleyGe 6c8ac7b
fix: avatar group key unique
FinleyGe a662aa8
feat: group manage
FinleyGe c53407f
feat: divide member into group and clbs
FinleyGe de683d3
feat: finish team permission
FinleyGe 2be3f5b
chore: adjust
FinleyGe 71e7dec
fix: get clbs
FinleyGe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { TeamMemberItemType } from 'support/user/team/type'; | ||
import { TeamPermission } from '../user/controller'; | ||
|
||
type MemberGroupSchemaType = { | ||
_id: string; | ||
teamId: string; | ||
name: string; | ||
avatar: string; | ||
}; | ||
|
||
type GroupMemberSchemaType = { | ||
groupId: string; | ||
tmbId: string; | ||
}; | ||
|
||
type MemberGroupType = MemberGroupSchemaType & { | ||
members: string[]; // we can get tmb's info from other api. there is no need but only need to get tmb's id | ||
permission: TeamPermission; | ||
}; | ||
|
||
type MemberGroupListType = MemberGroupType[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export type postCreateGroupData = { | ||
name: string; | ||
avatar?: string; | ||
memberIdList?: string[]; | ||
}; | ||
|
||
export type putUpdateGroupData = { | ||
groupId: string; | ||
name?: string; | ||
avatar?: string; | ||
memberIdList?: string[]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为啥要加个 null,,undefined 岂不是找不到了