wujingjing
2024-07-22 bc4ab46fb5c4cb4435efabfe4b316be4ace5b026
src/views/project/ch/home/Home.vue
@@ -14,7 +14,7 @@
                              ref="waterCenterRef"
                              @updateChatInput="updateChatInput"
                           />
                           <waterBottom @tagListClick="tagListClick" />
                           <waterBottom  />
                        </div>
                        <CustomDrawer
@@ -46,8 +46,7 @@
import CustomDrawer from '/@/components/drawer/CustomDrawer.vue';
let state = reactive({
   isShowAdvanceExample: false,
   customTagList: [],
   customOfficeList: [],
});
const topRef = ref(null);
@@ -62,24 +61,7 @@
      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 {