xiangpei
2024-12-25 f020f25a1c1bcd5b81e1548f2b107a907245a25e
src/components/flow/Dept/index.vue
@@ -7,6 +7,7 @@
      :destroy-on-close="true"
      :close-on-click-modal="false"
      :modal="false"
      :before-close="close">
      <el-tree
        ref="tree"
@@ -66,6 +67,11 @@
  methods: {
    setCheckList(value) {
      this.checkList = value
      this.$nextTick(() => {
        if (this.$refs.tree && this.checkeds) {
          this.$refs.tree.setCheckedKeys(this.checkeds);
        }
      });
    },
    handleCheckChange(data, checked, indeterminate) {
      if (checked) {