敏感词聊天记录
This commit is contained in:
@@ -6,7 +6,10 @@
|
|||||||
<AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect">
|
<AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect">
|
||||||
<span class="label" v-if="deptUserList.length">{{deptUserList[0].name}}</span>
|
<span class="label" v-if="deptUserList.length">{{deptUserList[0].name}}</span>
|
||||||
<span v-else style="color:#999;">部门名称</span>
|
<span v-else style="color:#999;">部门名称</span>
|
||||||
<u-icon name="arrow-down" color="#999" size="24" style="margin-left:8px;"/>
|
<div class="clear-btn" v-if="deptUserList.length" @click.stop="clearDept">
|
||||||
|
<img src="./img/del-icon.png" alt="" class="del-icon">
|
||||||
|
</div>
|
||||||
|
<u-icon name="arrow-down" color="#999" size="24" style="margin-left:8px;" v-else />
|
||||||
</AiPagePicker>
|
</AiPagePicker>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
@@ -53,6 +56,10 @@ export default {
|
|||||||
document.title = '触发记录'
|
document.title = '触发记录'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
clearDept() {
|
||||||
|
this.deptUserList = []
|
||||||
|
this.getListInit()
|
||||||
|
},
|
||||||
getListInit() {
|
getListInit() {
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.pages = 2
|
this.pages = 2
|
||||||
@@ -120,6 +127,15 @@ export default {
|
|||||||
.left {
|
.left {
|
||||||
width: 350px;
|
width: 350px;
|
||||||
line-height: 64px;
|
line-height: 64px;
|
||||||
|
.clear-btn {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
.del-icon {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
width: calc(100% - 350px);
|
width: calc(100% - 350px);
|
||||||
|
|||||||
Reference in New Issue
Block a user