记录el-select+el-tree复选框,支持模糊查询,懒加载,树父子节点不关联,不全选

news2024/9/28 14:54:00

需求:一个机构下拉菜单,一个人员下拉菜单,默认带入当前登录用户的机构和人员。机构下拉菜单为两个接口,模糊查询为一个接口不包含懒加载,默认非模糊查询情况下为一个接口,点击节点懒加载。机构下拉菜单数据变动更新人员下拉菜单数据。日期默认为当天

<template>
    <div class="app-container">
        <div id="app" class="mb82 grid-content pd20">
          <div>
              <el-row :gutter="20">
                  <el-col id="tittle">检查信息</el-col>
              </el-row>
               <el-divider ></el-divider>
          </div>
          <div class="center">
            <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
              <el-form-item label="检查时间:" prop="checkTime">
                <el-date-picker
                  class="width100"
                  v-model="ruleForm.checkTime"
                  type="date"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  placeholder="选择日期">
                </el-date-picker>
              </el-form-item>
              <el-form-item label="检查机构:" prop="selectOrg">
                <el-select
                    class="el-input-search width100"
                    v-model="ruleForm.selectOrg"
                    ref="refSelectOrg"
                    :multiple="true"
                    @remove-tag="removetagOrg"
                    @clear="clearallOrg"
                    clearable
                    @change ="$forceUpdate();">
                    <el-option
                        value=""
                        style="height:auto;background-color: #fff;">
                        <el-input
                            :validate-event="false"
                            v-model="filterTextOrg"
                            ref="refSelectOrgSearch"
                            placeholder="请输入"
                            @click.stop.native
                            clearable
                            @clear="clearallOrgSearch"
                            style="margin-bottom:8px;"></el-input>
                        <el-tree
                          :show-checkbox="true"
                          style="padding:20px 10px;"
                          :data="orgList"
                          :props="defaultPropsOrg"
                          node-key="orgId"
                          check-strictly
                          highlight-current
                          :expand-on-click-node="true"
                          ref="refTreeOrg"
                          :default-expanded-keys="expandedKeysOrgData"
                          :default-checked-keys="checkedKeysOrgData"
                          @check-change="handleNodeCheckOrg"
                          @node-click="handleNodeClick">
                        </el-tree>
                    </el-option>
                </el-select>
              </el-form-item>
              <el-form-item label="检查人员:" prop="selectUser">
                <el-select
                    class="el-input-search width100"
                    v-model="ruleForm.selectUser"
                    ref="refSelectOrg"
                    :multiple="true"
                    @remove-tag="removetagUser"
                    @clear="clearallUser"
                    clearable
                    @change ="$forceUpdate();">
                    <el-option
                        value=""
                        style="height:auto;background-color: #fff;">
                        <el-input
                            :validate-event="false"
                            v-model="filterTextUser"
                            ref="refSelectUserSearch"
                            placeholder="请输入"
                            @click.stop.native
                            clearable
                            @clear="clearallUserSearch"
                            style="margin-bottom:8px;"></el-input>
                        <el-tree
                          :show-checkbox="true"
                          style="padding:20px 10px;"
                          :data="userList"
                          :props="defaultPropsUser"
                          node-key="userId"
                          check-strictly
                          highlight-current
                          :expand-on-click-node="true"
                          ref="refTreeUser"
                          :default-expanded-keys="expandedKeysUserData"
                          :default-checked-keys="checkedKeysUserData"
                          @check-change="handleNodeCheckUser">
                        </el-tree>
                    </el-option>
                </el-select>
              </el-form-item>
              <el-form-item label="检查结果:" prop="checkResult">
                <el-input type="textarea" v-model="ruleForm.checkResult"></el-input>
              </el-form-item>
            </el-form>
          </div>
        </div>
        <div class="footerBtn bg">
          <el-divider></el-divider>
          <el-row class="pd20">
            <el-col :span="23" style="text-align: right;">
              <el-button size="small" @click="goback">返回</el-button>
              <el-button type="primary" size="small" @click="submitBtn('ruleForm')">提交</el-button>
            </el-col>
          </el-row>
        </div>
    </div>
</template>

<script>
import axios from "axios";
import {warnView,getInfo,childNode,childNodeFuzzyQuery,getUserListByOrg,saveCheck} from "../../../../api/warning"
export default {
    data() {
      return {
  // 检察机构start
        filterTextOrg:'',
        orgList:[],
        defaultPropsOrg: {
          children: 'childNodeList',
          label: 'orgName',
          value:'orgId',
          isLeaf: 'leaf'
        },
        expandedKeysOrgData:['792394093041156096'],
        checkedKeysOrgData:[],
        nodeCheckedOrgData:[],
  // 检察机构end
  // 检察人员start
        filterTextUser:'',
        userList:[],
        defaultPropsUser: {
          children: 'userList',
          label: 'realName',
          value:'userId',
          isLeaf: 'leaf'
        },
        expandedKeysUserData:[],
        checkedKeysUserData:[],
        nodeCheckedUserData:[],
  // 检察人员end
        ruleForm: {
          checkTime: '',
          selectOrg: [],
          selectUser: [],
          checkResult: '',
        },
        rules: {
          checkTime: [
            { required: true, message: '检查时间不能为空', trigger: 'change' },
          ],
          selectOrg: [
            { type: 'array', required: true, message: '检查机构不能为空', trigger: 'change' },
          ],
          selectUser: [
            { type: 'array', required: true, message: '检查人员不能为空', trigger: 'change' },
          ],
          checkResult: [
            { required: true, message: '检查结果不能为空', trigger: 'blur' },
          ],
        },
        orgId:'',
        orgName:'',
      }
    },
    watch: {
      // 检察机构start
      // 监听输入值
      filterTextOrg(val) {
        if(val){
          this.childNodeFuzzyQueryChange(val)
        }else{
          this.childNodeChangeAll(this.orgId)
        }
      },
      'ruleForm.selectOrg': {
        handler: function (newVal, oldVal) {
          let that = this
            if(newVal){
              // this.$refs.refTreeOrg.filter(newVal);
            }else{
              console.log('newVal1111111',newVal)

            }
        },
        deep: true
      },
      // 检察机构end
      // 检察人员start
      filterTextUser(val) {
        this.getUserListByOrgChange(val)
      },

      // 检察人员end
    },
    created() {
      getInfo("").then((res) => {
        this.userId = res.data.userId;
        this.realName = res.data.realName;
        this.orgId = res.data.orgId;
        this.orgName = res.data.orgName;
        this.nodeCheckedOrgData = [{
           orgId:this.orgId,
           orgName:this.orgName,
         }]
        this.ruleForm.selectOrg.push(this.orgName)
        this.checkedKeysOrgData.push(this.orgId)
        this.childNodeChangeAll('792394093041156096')

        this.nodeCheckedUserData = [{
           userId:this.userId,
           realName:this.realName,
         }]
        this.ruleForm.selectUser.push(this.realName)
        this.checkedKeysUserData.push(this.userId)
        this.getUserListByOrgChange();
      })

    },
    mounted() {
      this.ruleForm.superviseId = this.$route.query.superviseId; // 监管idDate().getTime(); // 检查编号
      this.ruleForm.checkTime = this.dateTypeFormat('YYYY-mm-dd HH:MM:SS', new Date())
    },
    methods: {
      // 去重
      unique(arr){
        return Array.from(new Set(arr))
      },
      // 返回上一页
      goback() {
        this.$router.go(-1);
      },
      // 格式化日期
      dateTypeFormat(fmt, date) {
        let ret
        const opt = {
          'Y+': date.getFullYear().toString(), // 年
          'm+': (date.getMonth() + 1).toString(), // 月
          'd+': date.getDate().toString(), // 日
          'H+': date.getHours().toString(), // 时
          'M+': date.getMinutes().toString(), // 分
          'S+': date.getSeconds().toString() // 秒
          // 有其他格式化字符需求可以继续添加,必须转化成字符串
        }
        for (const k in opt) {
          ret = new RegExp('(' + k + ')').exec(fmt)
          if (ret) {
            fmt = fmt.replace(ret[1], (ret[1].length === 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, '0')))
          }
        }
        return fmt
      },
// 检察机构start
      // 获取模糊查询机构树
      childNodeFuzzyQueryChange(val){
        let data = {
          orgId:'',
          value:val
        }
        childNodeFuzzyQuery(data).then((res) => {
          this.orgList = res.data || [];
        })
      },
      // 获取机构树非模糊查询
      childNodeChangeAll(id){
        let orgId = id || ''
        childNode(orgId).then((res) => {
          res.data.node.childNodeList = res.data.childOrgList
          this.orgList = []
          this.orgList.push(res.data.node);
         })
      },
      // 删除机构单个下拉菜单标签
      removetagOrg(val){
        this.nodeCheckedOrgData.forEach((item, index, arr) => {
          if(item.orgName === val) {
            arr.splice(index, 1)
            this.checkedKeysOrgData = this.checkedKeysOrgData.filter(i => i !== item.orgId)
          }
        })
          this.checkedKeysOrgData = this.unique(this.checkedKeysOrgData)

          this.$nextTick(() => {
             this.$refs.refTreeOrg.setCheckedKeys(this.checkedKeysOrgData,true)
          })
          // 数据变动更改人员树
          this.nodeCheckedUserData=[];
          this.ruleForm.selectUser=[];
          this.checkedKeysUserData=[];
          this.getUserListByOrgChange('')
      },
      // 清空机构下拉菜单
      clearallOrg(){},
      // 清空机构模糊查询
      clearallOrgSearch(){},
      // 点击机构树复选框
      handleNodeCheckOrg(data,checked){
        if(checked === true) {
            this.ruleForm.selectOrg.push(data.orgName)
            this.checkedKeysOrgData.push(data.orgId)
            this.nodeCheckedOrgData.push(data)
            if(this.ruleForm.selectOrg)
            this.ruleForm.selectOrg = this.unique(this.ruleForm.selectOrg)
            this.checkedKeysOrgData = this.unique(this.checkedKeysOrgData)
            const map = new Map();
            this.nodeCheckedOrgData.filter(i => !map.has(i.orgId) && map.set(i.orgId, i));
            this.$refs.refTreeOrg.setChecked(data.orgId, true)
          }else{
            this.nodeCheckedOrgData.forEach((item, index, arr) => {
              if(item.orgId === data.orgId) {
                arr.splice(index, 1)
                this.checkedKeysOrgData = this.checkedKeysOrgData.filter(i => i !== item.orgId)
              }
            })
            if(this.ruleForm.selectOrg.includes(data.orgName)) {
              this.ruleForm.selectOrg.forEach((item, index, arr) => {
                if(item === data.orgName) {
                  arr.splice(index, 1)
                }
              })
              this.$refs.refTreeOrg.setChecked(data.orgId, false)
            }
          }
          // 数据变动更改人员树
          this.nodeCheckedUserData=[];
          this.ruleForm.selectUser=[];
          this.checkedKeysUserData=[];
          this.getUserListByOrgChange('')

      },
      // 点击机构树节点
      handleNodeClick(data,node){
        console.log(data)
        console.log(node)
        let that = this
        let orgId = '';
        if (node.level >= 1) {
             orgId = node.data.orgId;
         }

        childNode(orgId).then((res) =>{
          if(res.code == 20000){
            let parentData = [];
            let data;
          if (node.level === 0) {
            parentData[0] = res.data.node
            data = parentData;
           }
          if (node.level >= 1) {
               data = res.data.childOrgList;
           }

           //TODO 追加数据 append data
          this.$refs.refTreeOrg.updateKeyChildren(orgId,res.data.childOrgList);
          setTimeout(()=>{
            if(res.data.childOrgList){ node.expanded = true}
          },300)
          } else {
            this.$message({
                message: res.message,
                type: "error"
            });
          }
        })
      },
// 检查机构end
// 检察人员start
      // 获取模糊查询人员树
            getUserListByOrgChange(val){
              this.checkedKeysOrgData = this.unique(this.checkedKeysOrgData)

              let data = {
                orgIds:this.checkedKeysOrgData,
                searchValue:val || ''
              }
              getUserListByOrg(data).then((res) => {
                this.userList = res.data || [];
              })
            },

            // 删除人员单个下拉菜单标签
            removetagUser(val){
                this.nodeCheckedUserData.forEach((item, index, arr) => {
                  if(item.realName === val) {
                    arr.splice(index, 1)
                    this.checkedKeysUserData = this.checkedKeysUserData.filter(i => i !== item.userId)
                  }
                })
                this.checkedKeysUserData = this.unique(this.checkedKeysUserData)

                this.$nextTick(() => {
                   this.$refs.refTreeUser.setCheckedKeys(this.checkedKeysUserData,true)
                })
            },
            // 清空人员下拉菜单
            clearallUser(){},
            // 清空人员模糊查询
            clearallUserSearch(){},
            // 点击人员树复选框
            handleNodeCheckUser(data,checked){
              if(checked === true) {
                  this.ruleForm.selectUser.push(data.realName)
                  this.checkedKeysUserData.push(data.userId)
                  this.nodeCheckedUserData.push(data)
                  if(this.ruleForm.selectUser)
                  this.ruleForm.selectUser = this.unique(this.ruleForm.selectUser)
                  this.checkedKeysUserData = this.unique(this.checkedKeysUserData)
                  const map = new Map();
                  this.nodeCheckedUserData.filter(i => !map.has(i.userId) && map.set(i.userId, i));
                  this.$refs.refTreeUser.setChecked(data.userId, true)
                }else{
                  this.nodeCheckedUserData.forEach((item, index, arr) => {
                    if(item.userId === data.userId) {
                      arr.splice(index, 1)
                      this.checkedKeysUserData = this.checkedKeysUserData.filter(i => i !== item.userId)
                    }
                  })
                  if(this.ruleForm.selectUser.includes(data.realName)) {
                    this.ruleForm.selectUser.forEach((item, index, arr) => {
                      if(item === data.realName) {
                        arr.splice(index, 1)
                      }
                    })
                    this.$refs.refTreeUser.setChecked(data.userId, false)
                  }
                }


            },

// 检查人员end
      // 表单提交弹窗
      submitBtn(formName){
        this.$refs[formName].validate((valid) => {
          if (valid) {
            this.$confirm('确定提交吗?', '提示', {
              confirmButtonText: '确定',
              cancelButtonText: '取消',
              type: 'warning'
            }).then(() => {
              this.submitChange();
            }).catch(() => {
              this.$message({
                type: 'info',
                message: '已取消'
              });
            });

          } else {
            return false;
          }
        });
      },
      // 提交表单
      submitChange(){
        const map = new Map();
        this.nodeCheckedOrgData = this.nodeCheckedOrgData.filter(i => !map.has(i.orgId) && map.set(i.orgId, i));
        this.nodeCheckedUserData = this.nodeCheckedUserData.filter(i => !map.has(i.userId) && map.set(i.userId, i));
        this.ruleForm.orgList = this.nodeCheckedOrgData;
        this.ruleForm.userList = this.nodeCheckedUserData;

        let data = {
          superviseId:this.ruleForm.superviseId,
          orgList:this.ruleForm.orgList,
          userList:this.ruleForm.userList,
          checkResult:this.ruleForm.checkResult,
          checkTime:this.ruleForm.checkTime,
        }
        console.log('data',data)
        saveCheck(data).then((res) => {
          if(res.code == '20000'){
            this.$message({
              message: '提交成功',
              type: 'success'
            });
            this.$router.go(-1);
          }else{
            this.$message({
              message: res.message,
              type: 'error'
            });
          }
        })
      },

    }
}
</script>

<style scoped lang="less">
.app-container {
  margin: 10px;
}
#app {
  /* padding: 15px; */
  background-color: #fff;
  font-size: 14px;
}
  .title{
    text-align: center;
    color: #0066FF;
    font-weight:800;
    font-size: 16px;
  }
  .chart-container{
    position: relative;
    width: 100%;
    height: calc(100vh - 84px);
  }

  .description{
    font-size: 12px;
    padding-left: 20px;
    color: #555;
  }
  .mt10{
    margin-top: 10px;
  }
  .mg15-0{
	  margin: 15px 0;
  }
  .mt30{
    margin-top: 30px;
  }
  .mt26{
    margin-top: 26px;
  }
  .state-box{
    width: 10px;
    height: 10px;
    margin-right: 5px;
    margin-bottom: 1px;
    display: inline-block;
  }
  .state-box-max {
    width: 19px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    color: #fff;
    margin-right: 10px;
    margin-top: 1px;
    display: inline-block;
  }
  .violet{
    background: #9933FF;
  }
  .yellow{
    background: #e6a23c;
  }
  .blue{
    background: #0066FF;
  }
  .footerBtn{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9;
    width: calc(100%);
    -webkit-transition: width 0.28s;
    transition: width 0.28s;
  }
  .el-divider--horizontal{margin: 0px 15px;}
  .bg{
    background: #fff;
  }
 .el-col{
   margin:0 24px;
 }
  .pdt10{
    padding-top: 10px;
  }
  .mb15{
    margin-bottom: 15px;
  }
  .mb82{
    margin-bottom: 82px;
  }
  .mb60{
    margin-bottom: 60px;
  }
  .mb10{
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .diaglogClas{
    margin-bottom: 15px;
  }
  .grid-content {
   /*  padding-top: 15px; */
    border-radius: 4px;
    min-height: 36px;
    background: #fff;
  }
  .bg-purple {
    /* background: #dddfe6; */
    width: 100%;
    height: 55px;
    line-height: 55px;
    font-size: 12px;
    /* font-weight:800; */
    text-align: center;
    border: 1px solid #d3dce6;
  }

  .expClas{
      float: right;
      position: initial;
      margin-top: 30px;
  }
  .footCenter{
    text-align: center;
  }
/deep/.el-autocomplete-suggestion{
  display: inline-table;
}
.width100{width: 100%;}
.center{
  width: 700px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
}
.footerBtn{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9;
    width: calc(100%);
    -webkit-transition: width 0.28s;
    transition: width 0.28s;
}
.bg{background: #fff;}
.pd20{padding: 15px;padding-right: 0;}
</style>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1386858.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

探索FTP:原理、实践与安全优化

引言 在正式开始讲解之前&#xff0c;首先来了解一下文件存储的类型有哪些。 DAS、SAN和NAS是三种不同的存储架构&#xff0c;分别用于解决不同场景下的数据存储需求。 DAS (Direct Attached Storage 直接附加存储)&#xff1a;DAS 是指将存储设备&#xff08;如硬盘&#x…

线程之间如何传递上下文信息

文章目录 源码解读1. 扩展ThreadPoolExecutor2. 扩展Runnable3. 整体流程 源于工作中一个业务场景的需求。 源码 话不多说&#xff0c;先贴完整的源码&#xff1a; public class ContextPassingBetweenThread {private static ThreadLocal<String> CONTEXT new Thread…

倍福嵌入式PLC开发团队建设

倍福嵌入式PLC开发工程师确实比较难找&#xff0c;这是因为这个领域需要具备丰富的专业知识和技能&#xff0c;而且经验越丰富的工程师越难找到。以下是一些可能导致倍福嵌入式PLC开发工程师难找的原因&#xff1a; 具备相关技能的工程师数量相对较少&#xff1a;嵌入式PLC开发…

Linux平台建立GB28181设备模拟器

目录 下载模拟器解决动态库缺少问题运行模拟器抓包参考资料 在没有GB28181摄像机的情况下,在Linux虚拟机中模拟出一台GB28181摄像机用于调试和学习. 下载模拟器 到网站下载Linux 平台版本: https://www.happytimesoft.com/download.html tar -zxvf happytime-gb28181-device…

Python简介-Python入门到精通

Python的创始人为荷兰人吉多范罗苏姆&#xff08;Guido van Rossum&#xff09;。1989年圣诞节期间&#xff0c;在阿姆斯特丹&#xff0c;Guido为了打发圣诞节的无趣&#xff0c;决心开发一个新的脚本解释程序&#xff0c;作为ABC语言的一种继承。之所以选中Python&#xff08;…

Python中元组解构的技巧

更多资料获取 &#x1f4da; 个人网站&#xff1a;ipengtao.com 在Python中&#xff0c;元组&#xff08;tuple&#xff09;是一种常用的数据结构&#xff0c;它可以将多个值组合在一起。元组的解构是一项强大的特性&#xff0c;快速、方便地将元组中的值分配给多个变量。本文…

【电脑技巧】Win11关闭自动更新

要想彻底关闭Windows电脑的自动更新&#xff0c;仅仅从系统设置里面选择暂停更新是完全不够用的&#xff0c;只有将windows自动更新的服务关闭掉&#xff0c;才能有效阻止其更新。 关闭win11电脑自动更新的办法&#xff0c;具体操作如下&#xff1a; 1.在winr运行框中输入servi…

vivado 使用IP Integrator源

使用IP Integrator源 在Vivado Design Suite中&#xff0c;您可以在RTL中添加和管理IP子系统块设计&#xff08;.bd&#xff09;项目或设计。使用Vivado IP集成程序&#xff0c;您可以创建IP子系统块设计。IP集成程序使您能够通过实例化和将Vivado IP目录中的多个IP核互连。可…

运筹说 第56期 | 整数规划的数学模型割平面法

前几章讨论过的线性规划问题的一个共同特点是&#xff1a;最优解的取值可以是分数或者小数。然而&#xff0c;在许多实际问题中&#xff0c;决策者要求最优解必须是整数&#xff0c;例如公交车的车辆数、员工的人数、机器的台数、产品的件数等。那么&#xff0c;我们能否将得到…

Zynq7020 使用 Video Processing Subsystem 实现图像缩放

1、前言 没玩过图像缩放都不好意思说自己玩儿过FPGA&#xff0c;这是CSDN某大佬说过的一句话&#xff0c;鄙人深信不疑。。。 目前市面上主流的FPGA图像缩放方案如下&#xff1a;1&#xff1a;Xilinx的HLS方案&#xff0c;该方案简单&#xff0c;易于实现&#xff0c;但只能用…

【RTOS】快速体验FreeRTOS所有常用API(4)队列

目录 四、队列2.1 概念2.2 创建队列2.3 写队列2.4 读队列2.5 队列集&#xff08;可跳过&#xff09; 四、队列 该部分在上份代码基础上修改得来&#xff0c;代码下载链接&#xff1a; https://wwzr.lanzout.com/iBNAS1l75bvc 密码:7xy2 该代码尽量做到最简&#xff0c;不添加多…

软件技术写作指南

▲ 搜索“大龙谈智能内容”关注公众号▲ James是一位居住在苏格兰的文档工程师。 2023年12月&#xff0c;他写了一个名为《Advent of Technical Writing》的系列文章。从12月1日到12月24日&#xff0c;他每天都会在其中发表一篇关于技术写作的博客文章。现在&#xff0c;该系…

c语言for循环和水仙花

c语言for循环和水仙花 c语言for循环和水仙花 c语言for循环和水仙花一、for循环语句格式二、for循环案例水仙花 一、for循环语句格式 for(初始值&#xff1b;表达式&#xff1b;表达式) { 代码 }int main() {for (int i 0; i < 10; i){printf("%d\n", i);} }二、f…

Python数据分析案例32——财经新闻爬虫和可视化分析

案例背景 很多同学的课程作业都是需要自己爬虫数据然后进行分析&#xff0c;这里提供一个财经新闻的爬虫案例供学习。本案例的全部数据和代码获取可以参考&#xff1a;财经新闻数据 数据来源 新浪财经的新闻网&#xff0c;说实话&#xff0c;他这个网站做成这样就是用来爬虫的…

【docker笔记】DockerFile

DockerFile Docker镜像结构的分层 镜像不是一个单一的文件&#xff0c;而是有多层构成。 容器其实是在镜像的最上面加了一层读写层&#xff0c;在运行容器里做的任何文件改动&#xff0c;都会写到这个读写层。 如果删除了容器&#xff0c;也就是删除了其最上面的读写层&…

解决Qt的release构建下无法进入断点调试的问题

在工作的时候遇到了第三方库只提供release版本的库的情况&#xff0c;我需要在这基础上封装一层自家库&#xff0c;在调试的时候遇到如下问题&#xff0c;但是在Qt环境下&#xff0c;release的库只能在进行release构建和调试。 卡在了一直进不了断点的情况。提示内容如下&#…

苹果手机怎么退出QQ群聊?方法简单,一学就会!

QQ作为中国流行的社交软件之一&#xff0c;被大家广泛使用。有时候&#xff0c;我们可能会不小心加入了一些不需要的群聊&#xff0c;或者发现群聊的内容不再符合您的兴趣。 那么&#xff0c;大家这时候可以考虑退出群聊。怎么退出qq群聊&#xff1f;本文将为大家提供详细的步…

SpringBoot中整合ElasticSearch实现增删改查等操作

场景 SpringBoot中整合ElasticSearch快速入门以及踩坑记录&#xff1a; https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/135599698 在上面进行集成的基础上&#xff0c;实现对ES数据的增删改查等操作。 注&#xff1a; 博客&#xff1a;霸道流氓气质-CSDN博客…

SeaTunnel 海量数据同步工具的使用(连载中……)

一、概述 SeaTunnel 是一个非常易用&#xff0c;高性能、支持实时流式和离线批处理的海量数据处理产品&#xff0c;前身是 WaterDrop &#xff08;中文名&#xff1a;水滴&#xff09;&#xff0c;自 2021年10月12日更名为 SeaTunnel 。2021年12月9日&#xff0c;SeaTunnel 正式…