Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
5944d489
提交
5944d489
authored
5月 19, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(role): 角色管理_修复添加用户功能
同上
上级
3ee192c0
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
27 行增加
和
10 行删除
+27
-10
authUser.vue
src/views/system/role/authUser.vue
+16
-7
selectUser.vue
src/views/system/role/selectUser.vue
+11
-3
没有找到文件。
src/views/system/role/authUser.vue
浏览文件 @
5944d489
...
...
@@ -3,10 +3,19 @@
<div
class=
"app-container"
>
<div
class=
"container"
>
<el-form
:model=
"queryParams"
ref=
"queryRef"
v-show=
"showSearch"
:inline=
"true"
>
<el-form-item
label=
"用户
名称
"
prop=
"userName"
>
<el-form-item
label=
"用户
工号
"
prop=
"userName"
>
<el-input
v-model=
"queryParams.userName"
placeholder=
"请输入用户名称"
placeholder=
"请输入用户工号"
clearable
style=
"width: 240px"
@
input=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"用户昵称"
prop=
"nickName"
>
<el-input
v-model=
"queryParams.nickName"
placeholder=
"请输入用户昵称"
clearable
style=
"width: 240px"
@
input=
"handleQuery"
...
...
@@ -36,7 +45,7 @@
v-hasPermi=
"['system:role:add']"
>
添加用户
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<
!--
<
el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
...
...
@@ -53,13 +62,13 @@
icon=
"Close"
@
click=
"handleClose"
>
关闭
</el-button>
</el-col>
</el-col>
-->
<right-toolbar
v-model:showSearch=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<el-table
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"用户
名称
"
prop=
"userName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"用户
工号
"
prop=
"userName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"用户昵称"
prop=
"nickName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"邮箱"
prop=
"email"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"手机"
prop=
"phonenumber"
:show-overflow-tooltip=
"true"
/>
...
...
@@ -73,11 +82,11 @@
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
!-- <
el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button link type="primary" icon="CircleClose" @click="cancelAuthUser(scope.row)" v-hasPermi="['system:role:remove']">取消授权</el-button>
</template>
</el-table-column>
</el-table-column>
-->
</el-table>
<pagination
...
...
src/views/system/role/selectUser.vue
浏览文件 @
5944d489
...
...
@@ -7,10 +7,18 @@
<el-form
:model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
>
<el-form-item
label=
"用户
名称
"
<el-form-item
label=
"用户
工号
"
prop=
"userName"
>
<el-input
v-model=
"queryParams.userName"
placeholder=
"请输入用户名称"
placeholder=
"请输入用户工号"
clearable
style=
"width: 180px"
@
input=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"用户昵称"
prop=
"nickName"
>
<el-input
v-model=
"queryParams.nickName"
placeholder=
"请输入用户昵称"
clearable
style=
"width: 180px"
@
input=
"handleQuery"
/>
...
...
@@ -35,7 +43,7 @@
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
label=
"用户
名称
"
<el-table-column
label=
"用户
工号
"
prop=
"userName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"用户昵称"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论