提交 d02c7111 编写于 作者: alex.zhang's avatar alex.zhang

黑名单选中状态

上级 1d859fd3
......@@ -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;
......
......@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册