Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
sy-sxk-ui
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
黄麒宇
sy-sxk-ui
Commits
31656047
Commit
31656047
authored
Oct 13, 2022
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
83105c92
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
43 行增加
和
2 行删除
+43
-2
user.vue
src/views/system/user.vue
+43
-2
没有找到文件。
src/views/system/user.vue
View file @
31656047
...
...
@@ -43,11 +43,13 @@
{{
scope
.
row
.
statusFlag
===
1
?
'正常'
:
'冻结'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"
3
00"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"
4
00"
>
<
template
slot-scope=
"scope"
>
<a-button
type=
"primary"
icon=
"edit"
ghost
size=
"small"
@
click=
"editClickBtn(scope.row)"
>
编辑
</a-button>
<a-button
type=
"primary"
ghost
size=
"small"
@
click=
"showDr(scope.row)"
>
库房分配
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 5px"
icon=
"edit"
ghost
size=
"small"
@
click=
"editClickBtn(scope.row)"
>
编辑
</a-button>
<a-button
type=
"danger"
style=
"margin-left: 5px"
icon=
"delete"
ghost
size=
"small"
@
click=
"deleteClick(scope.row)"
>
删除
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 5px"
icon=
"redo-outlined"
ghost
size=
"small"
@
click=
"refrdshClick(scope.row)"
>
重置密码
</a-button>
<!--
<a-button
type=
"primary"
style=
"margin-left: 5px"
ghost
size=
"small"
@
click=
"grantData(scope.row)"
>
授权
</a-button>
-->
</
template
>
</el-table-column>
...
...
@@ -164,6 +166,45 @@
<a-button
type=
"primary"
@
click=
"subFormData()"
ghost
style=
"margin-left: 6px;"
>
提 交
</a-button>
</span>
</el-dialog>
<!-- 抽屉 - 编辑 -->
<a-drawer
title=
"库房分配"
placement=
"right"
:visible=
"draFlag"
:width=
"400"
@
close=
"drClose"
>
<div
class=
"drawer_box"
>
<div
class=
"drawer_body"
>
<a-input
placeholder=
"搜索库房"
v-model=
"seleName"
@
pressEnter=
"seleRome()"
>
<a-icon
slot=
"prefix"
type=
"search"
/>
</a-input>
<!-- 库房选择 -->
<div
class=
"checkbox"
>
<a-checkbox
@
change=
"allClick"
:checked=
"checkAll"
>
全选
</a-checkbox>
<!-- 库房列表 -->
<a-checkbox-group
v-model=
"checkRoomKey"
@
change=
"allChange"
class=
"checkbox_box"
>
<a-checkbox
class=
"checkbox_child"
v-for=
"(item, index) in roomData"
:key=
"index"
:value=
"item.code"
>
{{ item.name }}
</a-checkbox>
</a-checkbox-group>
</div>
</div>
<!-- 按钮 -->
<div
class=
"drawer_btns top"
>
<a-button
type=
"danger"
ghost
class=
"mgr15"
@
click=
"draFlag = false"
>
取消
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"putUser()"
>
保存
</a-button>
</div>
</div>
</a-drawer>
</el-card>
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论