xiangpei
2024-12-31 686b6f9e7ee9a390e179a3290d70d57c635ac7e1
src/components/flow/Dept/index.vue
@@ -4,9 +4,9 @@
      :title="`选择候选部门`"
      :visible.sync="show"
      width="65%"
      :destroy-on-close="true"
      :close-on-click-modal="false"
      :modal="false"
      :before-close="close">
      <el-tree
        ref="tree"
@@ -66,6 +66,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) {