| | |
| | | ref="waterCenterRef" |
| | | @updateChatInput="updateChatInput" |
| | | /> |
| | | <waterBottom @tagListClick="tagListClick" /> |
| | | <waterBottom /> |
| | | </div> |
| | | |
| | | <CustomDrawer |
| | |
| | | import CustomDrawer from '/@/components/drawer/CustomDrawer.vue'; |
| | | let state = reactive({ |
| | | isShowAdvanceExample: false, |
| | | customTagList: [], |
| | | customOfficeList: [], |
| | | |
| | | }); |
| | | |
| | | const topRef = ref(null); |
| | |
| | | customDrawerrRef.value.getTableData(); |
| | | } |
| | | }; |
| | | const tagListClick = (val) => { |
| | | if (val.length > 0) { |
| | | const selectTagList = []; |
| | | const officeList = []; |
| | | val.forEach((item) => { |
| | | if (item.section_id != 'office_assistant') { |
| | | selectTagList.push(item); |
| | | } else { |
| | | officeList.push(item); |
| | | } |
| | | }); |
| | | state.customTagList = selectTagList; |
| | | state.customOfficeList = officeList; |
| | | } else { |
| | | state.customTagList = []; |
| | | state.customOfficeList = []; |
| | | } |
| | | }; |
| | | |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .pc-chat_room { |