diff --git a/components.d.ts b/components.d.ts index b30770c..6c5ff5e 100644 --- a/components.d.ts +++ b/components.d.ts @@ -50,6 +50,7 @@ declare module 'vue' { ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] ElRadio: typeof import('element-plus/es')['ElRadio'] + ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] @@ -70,6 +71,7 @@ declare module 'vue' { EmojiPicker: typeof import('./src/components/comment/emojiPicker.vue')['default'] GlobaIcon: typeof import('./src/components/globaIcon/index.vue')['default'] GlobalIcon: typeof import('./src/components/GlobalIcon/index.vue')['default'] + MemberSelector: typeof import('./src/components/memberSelector/index.vue')['default'] NameAvatar: typeof import('./src/components/nameAvatar/index.vue')['default'] OverflowTabs: typeof import('./src/components/overflowTabs/index.vue')['default'] PageForm: typeof import('./src/components/pageForm/index.vue')['default'] diff --git a/src/components/memberSelector/index.vue b/src/components/memberSelector/index.vue new file mode 100644 index 0000000..d005f60 --- /dev/null +++ b/src/components/memberSelector/index.vue @@ -0,0 +1,306 @@ + + + + + + 成员管理 + + + 角色:超级管理员 + + + + + + 添加成员 + + + + + + + + {{ item.name }} + {{ item.dept }} + + + 移除 + + + + + + + + + + + + + diff --git a/src/components/nameAvatar/index.vue b/src/components/nameAvatar/index.vue index 5446ca0..1cca949 100644 --- a/src/components/nameAvatar/index.vue +++ b/src/components/nameAvatar/index.vue @@ -2,7 +2,11 @@ {{ displayText }} @@ -10,16 +14,20 @@ + + diff --git a/src/pages/stage/permission/index.vue b/src/pages/stage/permission/index.vue index 4575fbb..ed0c298 100644 --- a/src/pages/stage/permission/index.vue +++ b/src/pages/stage/permission/index.vue @@ -8,7 +8,7 @@ - 新增角色 + {{ checkRolesText.btnText }} @@ -31,18 +31,32 @@ pagination :request-api="getTableData" > + + + + {{ row.status }} + + + + + + +
角色:超级管理员