Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-live
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-live
Commits
1c42a605
提交
1c42a605
authored
5月 27, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改腾讯账号列表不出现滚动条bug
上级
94eec31e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
24 行增加
和
19 行删除
+24
-19
index.vue
src/pages/tencent/account/index.vue
+24
-19
没有找到文件。
src/pages/tencent/account/index.vue
浏览文件 @
1c42a605
...
@@ -28,25 +28,27 @@
...
@@ -28,25 +28,27 @@
<div
class=
"delete-bar"
>
<div
class=
"delete-bar"
>
<i
class=
"el-icon-warning"
></i>
已选择
<span
class=
"num"
>
{{
selection
.
length
||
0
}}
</span>
项
<el-button
type=
"text"
size=
"m"
:disabled=
"!selection.length"
@
click=
"handleDelete('')"
style=
"margin-left:15px;"
>
删除
</el-button>
<i
class=
"el-icon-warning"
></i>
已选择
<span
class=
"num"
>
{{
selection
.
length
||
0
}}
</span>
项
<el-button
type=
"text"
size=
"m"
:disabled=
"!selection.length"
@
click=
"handleDelete('')"
style=
"margin-left:15px;"
>
删除
</el-button>
</div>
</div>
<el-table
:data=
"listData"
style=
"width: 100%;flex:1;"
v-loading=
"loading"
@
selection-change=
"handleSelectionChange"
>
<div
class=
"table-container"
>
<el-table-column
type=
"selection"
width=
"45"
/>
<el-table
:data=
"listData"
style=
"width: 100%;"
height=
"100%"
v-loading=
"loading"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
prop=
"username"
label=
"姓名"
min-width=
"120"
/>
<el-table-column
type=
"selection"
width=
"45"
/>
<el-table-column
prop=
"phone"
label=
"手机号码"
min-width=
"80"
/>
<el-table-column
prop=
"username"
label=
"姓名"
min-width=
"120"
/>
<el-table-column
prop=
"email"
label=
"邮箱"
min-width=
"140"
/>
<el-table-column
prop=
"phone"
label=
"手机号码"
min-width=
"80"
/>
<el-table-column
prop=
"userid"
label=
"用户ID"
min-width=
"120"
/>
<el-table-column
prop=
"email"
label=
"邮箱"
min-width=
"140"
/>
<el-table-column
label=
"用户类型"
min-width=
"80"
>
<el-table-column
prop=
"userid"
label=
"用户ID"
min-width=
"120"
/>
<template
slot-scope=
"
{ row }">
<el-table-column
label=
"用户类型"
min-width=
"80"
>
<span
v-if=
"row.type === 2"
>
普通用户
</span>
<template
slot-scope=
"
{ row }">
<span
v-else
>
虚拟会议室
</span>
<span
v-if=
"row.type === 2"
>
普通用户
</span>
</
template
>
<span
v-else
>
虚拟会议室
</span>
</el-table-column>
</
template
>
<el-table-column
label=
"操作"
min-width=
"80"
v-if=
"isSuperAdmin"
>
</el-table-column>
<
template
slot-scope=
"scope"
>
<el-table-column
label=
"操作"
min-width=
"80"
v-if=
"isSuperAdmin"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleEdit(scope.row)"
>
编辑
</el-button>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleDelete(scope.row.userid)"
>
删除
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"handleEdit(scope.row)"
>
编辑
</el-button>
</
template
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleDelete(scope.row.userid)"
>
删除
</el-button>
</el-table-column>
</
template
>
</el-table>
</el-table-column>
</el-table>
</div>
<div
class=
"footer-bar"
>
<div
class=
"footer-bar"
>
<el-pagination
:current-page
.
sync=
"curPage"
:page-size
.
sync=
"pageSize"
:page-sizes=
"[10, 20, 50, 100]"
layout=
"total, prev, pager, next, sizes, jumper"
:total=
"total"
@
current-change=
"pageChange"
@
size-change=
"pageChange"
style=
"text-align:right;"
></el-pagination>
<el-pagination
:current-page
.
sync=
"curPage"
:page-size
.
sync=
"pageSize"
:page-sizes=
"[10, 20, 50, 100]"
layout=
"total, prev, pager, next, sizes, jumper"
:total=
"total"
@
current-change=
"pageChange"
@
size-change=
"pageChange"
style=
"text-align:right;"
></el-pagination>
</div>
</div>
...
@@ -306,6 +308,9 @@ h5{
...
@@ -306,6 +308,9 @@ h5{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.table-container
{
flex
:
1
;
}
.search-filter
{
.search-filter
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论