会话存档
This commit is contained in:
		| @@ -42,7 +42,7 @@ | ||||
|         <el-form-item label="生效部门" prop="deptList"> | ||||
|           <ai-picker :instance="instance" v-model="form.deptList" @pick="e => onUserChange(e)" :multiple="true" dialogTitle="选择部门" action="/app/wxcp/wxdepartment/departList"> | ||||
|             <div class="time-select"> | ||||
|               <span class="dept-name" v-if="form.deptList && form.deptList.length">已选择{{form.deptList.length}}个部门</span> | ||||
|               <span class="dept-name" v-if="6666 && form.deptList.length">已选择{{form.deptList.length}}个部门</span> | ||||
|               <span class="dept-name" style="color:#999;" v-else>请选择</span> | ||||
|               <i class="el-icon-arrow-down"></i> | ||||
|             </div> | ||||
| @@ -115,7 +115,8 @@ export default { | ||||
|           ...this.search, | ||||
|           current: this.current, | ||||
|           size: this.size, | ||||
|           total: this.total | ||||
|           total: this.total, | ||||
|           wordName: this.search.name | ||||
|         } | ||||
|       }).then(res => { | ||||
|         if(res?.data) { | ||||
| @@ -152,6 +153,7 @@ export default { | ||||
|       this.dialog = true | ||||
|     }, | ||||
|     add() { | ||||
|       this.form.deptList = [] | ||||
|       this.dialog = true | ||||
|     }, | ||||
|     onUserChange (e) { | ||||
|   | ||||
| @@ -23,10 +23,12 @@ | ||||
|         <div class="addressBook-left__list--wrapper"> | ||||
|           <div class="addressBook-left__list--item" v-for="(item, index) in list" :key="index" :class="leftActiveIndex == index ? 'active' : ''" @click="leftClick(index)"> | ||||
|             <div v-if="tabIndex == 1" class="flex-left"> | ||||
|               <img src="./img/group-img.png" alt="">{{item.roomName}} | ||||
|               <img src="./img/group-img.png" alt=""> | ||||
|               <p>{{item.roomName}}啦啦啦啦啦啦啦</p> | ||||
|             </div> | ||||
|             <div v-else> | ||||
|               <img :src="item.toUserAvatar" alt="">{{item.toUserName}} | ||||
|             <div v-else class="flex-left"> | ||||
|               <img :src="item.toUserAvatar" alt=""> | ||||
|               <p>{{item.toUserName}}啦啦啦啦啦啦啦啦啦啦啦啦啦啦</p> | ||||
|             </div> | ||||
|             <div class="flex-right" :class="`type`+item.roomType" v-if="tabIndex == 1 && item.roomType > 0">{{item.roomType == 1 ? '内部' : '外部'}}</div> | ||||
|             <div class="flex-right" :class="`type`+item.toUserType" v-if="tabIndex != 1 && item.toUserType > 0">{{item.toUserType == 1 ? '内部' : '外部'}}</div> | ||||
| @@ -355,7 +357,7 @@ | ||||
| <style scoped lang="scss"> | ||||
|   .detail { | ||||
|     .addressBook-left { | ||||
|       width: 100%; | ||||
|       width: 300px; | ||||
|       height: auto; | ||||
|       background: #FAFAFB; | ||||
|       position: relative; | ||||
| @@ -405,11 +407,19 @@ | ||||
|             height: 44px; | ||||
|             border-radius: 50%; | ||||
|             margin-right: 8px; | ||||
|             vertical-align: middle; | ||||
|             vertical-align: top; | ||||
|           } | ||||
|           .flex-left { | ||||
|             padding-right: 8px; | ||||
|             box-sizing: border-box; | ||||
|             width: calc(100% - 56px); | ||||
|             p { | ||||
|               display: inline-block; | ||||
|               width: calc(100% - 52px); | ||||
|               overflow: hidden; | ||||
|               white-space: nowrap; | ||||
|               text-overflow: ellipsis; | ||||
|             } | ||||
|           } | ||||
|           .flex-right { | ||||
|             font-size: 12px; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user