luohairen
2024-12-26 ecb3896ed4e76701c2247520e456c2f8cb29e908
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) {