Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
d02c7111
提交
d02c7111
编写于
9月 07, 2020
作者:
alex.zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
黑名单选中状态
上级
1d859fd3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
6 行删除
+11
-6
blacklist-manage.vue
src/views/yqrange/blacklist-manage.vue
+3
-4
checkBlackList.vue
src/views/yqrange/checkBlackList.vue
+8
-2
未找到文件。
src/views/yqrange/blacklist-manage.vue
浏览文件 @
d02c7111
...
...
@@ -73,7 +73,7 @@
top=
"5vh"
:before-close=
"handleClose"
>
<checkBlackList
:circleId=
"circleId"
@
addOrg=
"addOrg"
@
handleClose=
"handleClose"
></checkBlackList>
<checkBlackList
v-if=
"dialogBlackList"
:circleId=
"circleId"
@
addOrg=
"addOrg"
@
handleClose=
"handleClose"
></checkBlackList>
<!-- :roleType="roleType" -->
</el-dialog>
</div>
...
...
@@ -112,9 +112,8 @@ export default {
},
created
()
{
vm
=
this
;
// this.circleId = this.$route.query.id;
this
.
circleId
=
131
;
// this.circleId = this.$route.query.circleId;
// this.circleId = 131;
this
.
circleId
=
this
.
$route
.
query
.
circleId
;
this
.
idType
=
localStorage
.
getItem
(
"storageIdType"
);
this
.
circleName
=
this
.
$route
.
query
.
circleName
;
this
.
curmbSecond
=
"圈子管理-"
+
this
.
circleName
;
...
...
src/views/yqrange/checkBlackList.vue
浏览文件 @
d02c7111
...
...
@@ -171,6 +171,7 @@ export default {
this
.
tableOrganization
=
res
.
data
.
peoplesDtoList
;
this
.
totalOrganization
=
res
.
data
.
total
;
this
.
initOrganizationStatus
();
}
else
{
// vm.$message.info(res.message);
// vm.$message.info("操作失败,请重试");
...
...
@@ -184,6 +185,7 @@ export default {
console
.
log
(
"clear() enter"
)
clearBlackListCacheOrg
(
this
.
circleId
)
.
then
(()
=>
{
this
.
search
();
})
.
catch
((
err
=>
{
console
.
log
(
err
)}))
},
...
...
@@ -411,6 +413,7 @@ export default {
},
//机构table中勾选一个
selectOrganization
(
selection
,
row
)
{
console
.
log
(
"selectOrganization() : "
+
row
.
name
)
this
.
selectionList
=
selection
;
let
flag
=
false
;
for
(
let
i
=
0
;
i
<
selection
.
length
;
i
++
)
{
...
...
@@ -475,14 +478,14 @@ export default {
let
hashTable
=
{};
let
newArr
=
[];
for
(
let
i
=
0
,
l
=
arr
.
length
;
i
<
l
;
i
++
)
{
if
(
!
hashTable
[
arr
[
i
].
id
])
{
if
(
!
hashTable
[
arr
[
i
].
id
]
&&
arr
[
i
].
status
!=
2
)
{
hashTable
[
arr
[
i
].
id
]
=
true
;
newArr
.
push
(
arr
[
i
]);
}
}
return
newArr
;
},
//删除已选中的tag
//删除已选中的tag
handleClose
(
item
)
{
this
.
selectOrganization
([],
item
)
this
.
$refs
.
multipleOrganization
.
toggleRowSelection
(
item
);
...
...
@@ -536,6 +539,9 @@ export default {
display
:
table-caption
;
overflow-y
:
scroll
;
max-height
:
500px
;
&
:
:-
webkit-scrollbar
()
{
width
:
2px
!
important
;
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录