Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
55c2ad34
提交
55c2ad34
编写于
9月 07, 2020
作者:
alex.zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
黑名单优化
上级
2aa29f78
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
45 行增加
和
20 行删除
+45
-20
blacklist-manage.vue
src/views/yqrange/blacklist-manage.vue
+40
-16
checkBlackList.vue
src/views/yqrange/checkBlackList.vue
+4
-2
yq-range.vue
src/views/yqrange/yq-range.vue
+1
-2
未找到文件。
src/views/yqrange/blacklist-manage.vue
浏览文件 @
55c2ad34
<
template
>
<
template
>
<div
class=
"yqrange-index-wrapper"
>
<div
class=
"yqrange-index-wrapper"
>
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
:curmbThird=
"curmbThird"
:jumPathThird=
"jumPathThird"
:jumPathFouth=
"jumPathFouth"
></bread-crumb>
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
:curmbThird=
"curmbThird"
:jumPathThird=
"jumPathThird"
:jumPathFouth=
"jumPathFouth"
></bread-crumb>
<div
class=
"yqrange-index-content screenSet"
id=
"screenSet"
>
<div
class=
"yqrange-index-content screenSet"
id=
"screenSet"
>
<div
class=
"header-title"
>
黑名单
</div>
<div
class=
"header-title"
>
黑名单
</div>
<el-form
<el-form
...
@@ -10,8 +16,12 @@
...
@@ -10,8 +16,12 @@
label-suffix=
":"
label-suffix=
":"
:inline=
"true"
:inline=
"true"
>
>
<el-row
:gutter=
"30"
type=
"flex"
style=
"margin-top: 10px"
>
<el-row
:gutter=
"10"
type=
"flex"
style=
"margin-top: 10px"
>
<p
class=
"add_btn"
@
click=
"openDialogBlackList()"
>
+ 添加人员至黑名单
</p>
<!--
<p
class=
"add_btn"
@
click=
"openDialogBlackList()"
>
+ 添加人员至黑名单
</p>
-->
<el-col
class=
"add-organization"
>
<i
class=
"el-icon-circle-plus-outline"
@
click=
"openDialogBlackList()"
></i>
<i
class=
"text"
@
click=
"openDialogBlackList()"
>
添加人员至黑名单
</i>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"机构"
>
<el-form-item
label=
"机构"
>
<el-input
size=
"small"
v-model=
"searchForm.organization"
placeholder=
"请输入机构名称"
></el-input>
<el-input
size=
"small"
v-model=
"searchForm.organization"
placeholder=
"请输入机构名称"
></el-input>
...
@@ -22,7 +32,7 @@
...
@@ -22,7 +32,7 @@
<el-input
size=
"small"
v-model=
"searchForm.staffName"
placeholder=
"请输入人员名称"
></el-input>
<el-input
size=
"small"
v-model=
"searchForm.staffName"
placeholder=
"请输入人员名称"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
4
"
style=
"text-align: right;margin-top: 5px"
>
<el-col
:span=
"
7
"
style=
"text-align: right;margin-top: 5px"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"search"
>
搜索
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"search"
>
搜索
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"searchCancel"
style=
"margin-left:0;"
>
取消搜索
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"searchCancel"
style=
"margin-left:0;"
>
取消搜索
</el-button>
</el-col>
</el-col>
...
@@ -57,17 +67,13 @@
...
@@ -57,17 +67,13 @@
</div>
</div>
<el-dialog
<el-dialog
title=
"添加
机构
"
title=
"添加
人员至黑名单
"
:visible
.
sync=
"dialogBlackList"
:visible
.
sync=
"dialogBlackList"
width=
"80%"
width=
"80%"
top=
"5vh"
top=
"5vh"
:before-close=
"handleClose"
:before-close=
"handleClose"
>
>
<checkBlackList
<checkBlackList
:circleId=
"circleId"
@
addOrg=
"addOrg"
@
handleClose=
"handleClose"
></checkBlackList>
:circleId=
"circleId"
@
addOrg=
"addOrg"
@
handleClose=
"handleClose"
></checkBlackList>
<!-- :roleType="roleType" -->
<!-- :roleType="roleType" -->
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -90,7 +96,7 @@ export default {
...
@@ -90,7 +96,7 @@ export default {
curmbFirst
:
"云鹊小圈"
,
curmbFirst
:
"云鹊小圈"
,
curmbSecond
:
""
,
curmbSecond
:
""
,
curmbThird
:
"黑名单"
,
curmbThird
:
"黑名单"
,
jumPathThird
:
'/yq-range'
,
jumPathThird
:
"/yq-range"
,
searchForm
:
{
searchForm
:
{
organization
:
""
,
organization
:
""
,
staffName
:
""
,
staffName
:
""
,
...
@@ -107,12 +113,17 @@ export default {
...
@@ -107,12 +113,17 @@ export default {
created
()
{
created
()
{
vm
=
this
;
vm
=
this
;
// this.circleId = this.$route.query.id;
// this.circleId = this.$route.query.id;
//
this.circleId = 131;
this
.
circleId
=
131
;
this
.
circleId
=
this
.
$route
.
query
.
circleId
;
//
this.circleId = this.$route.query.circleId;
this
.
idType
=
localStorage
.
getItem
(
"storageIdType"
);
this
.
idType
=
localStorage
.
getItem
(
"storageIdType"
);
this
.
circleName
=
this
.
$route
.
query
.
circleName
;
this
.
circleName
=
this
.
$route
.
query
.
circleName
;
this
.
curmbSecond
=
"圈子管理-"
+
this
.
circleName
;
this
.
curmbSecond
=
"圈子管理-"
+
this
.
circleName
;
this
.
jumPathFouth
=
"/range-manage?id="
+
this
.
circleId
+
"&name="
+
this
.
circleName
+
"&activeName=first"
;
this
.
jumPathFouth
=
"/range-manage?id="
+
this
.
circleId
+
"&name="
+
this
.
circleName
+
"&activeName=first"
;
console
.
log
(
"alex storageIdType = "
+
this
.
idType
+
", id = "
+
this
.
id
);
console
.
log
(
"alex storageIdType = "
+
this
.
idType
+
", id = "
+
this
.
id
);
this
.
searchList
();
this
.
searchList
();
},
},
...
@@ -123,7 +134,9 @@ export default {
...
@@ -123,7 +134,9 @@ export default {
this
.
searchList
();
this
.
searchList
();
},
},
searchCancel
()
{
searchCancel
()
{
this
.
searchForm
.
organization
=
""
;
this
.
searchForm
.
staffName
=
""
;
this
.
searchList
();
},
},
searchList
()
{
searchList
()
{
...
@@ -212,7 +225,7 @@ export default {
...
@@ -212,7 +225,7 @@ export default {
this
.
handleClose
();
this
.
handleClose
();
this
.
search
();
this
.
search
();
},
},
}
}
,
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
...
@@ -253,5 +266,16 @@ export default {
...
@@ -253,5 +266,16 @@ export default {
margin-top
:
10px
;
margin-top
:
10px
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.add-organization
{
margin-left
:
0px
;
line-height
:
20px
;
width
:
200px
;
cursor
:
pointer
;
padding-top
:
10px
;
i
{
font-size
:
16px
;
margin-right
:
2px
;
}
}
}
}
</
style
>
</
style
>
src/views/yqrange/checkBlackList.vue
浏览文件 @
55c2ad34
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<div
slot=
"empty"
>
<div
slot=
"empty"
>
<div
class=
"table-empty"
>
<div
class=
"table-empty"
>
<img
src=
"../../assets/image/no-content1.png"
>
<img
src=
"../../assets/image/no-content1.png"
>
<p>
没有
机构
信息
</p>
<p>
没有
相关
信息
</p>
</div>
</div>
</div>
</div>
</el-table>
</el-table>
...
@@ -150,7 +150,9 @@ export default {
...
@@ -150,7 +150,9 @@ export default {
this
.
searchList
();
this
.
searchList
();
},
},
searchCancel
()
{
searchCancel
()
{
this
.
formOrganization
.
organization
=
""
;
this
.
formOrganization
.
name
=
""
;
this
.
searchList
();
},
},
searchList
()
{
searchList
()
{
console
.
log
(
"黑名单搜索 "
+
this
.
circleId
);
console
.
log
(
"黑名单搜索 "
+
this
.
circleId
);
...
...
src/views/yqrange/yq-range.vue
浏览文件 @
55c2ad34
...
@@ -331,8 +331,7 @@ export default {
...
@@ -331,8 +331,7 @@ export default {
//成员管理
//成员管理
roleManage
(
row
)
{
roleManage
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
// path: '/role-manage?id=' + row.id,
path
:
'/role-manage?id='
+
row
.
id
,
path
:
'/blacklist-manage?id='
+
row
.
id
,
})
})
},
},
//编辑
//编辑
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录