fuliqi
2025-02-12 e788995330a3fd588d0d80f28ee7510e4b7c787f
src/components/flow/Dept/MyDept.vue
@@ -1,7 +1,7 @@
<template>
  <div>
    <el-dialog
      :title="`选择候选部门`"
      :title="title"
      :visible.sync="show"
      width="65%"
      :destroy-on-close="true"
@@ -34,6 +34,11 @@
    show: {
      required: true,
      type: Boolean
    },
    title: {
      type: String,
      required: false,
      default: '候选部门'
    },
    checkeds: {
      required: true
@@ -82,7 +87,7 @@
    },
    handleCheckChange(data, checked, indeterminate) {
      if (checked) {
        if (this.checkList.indexOf(data) === -1) {
        if (this.checkList.every(item => item.id !== data.id)) {
          this.checkList.push(data)
        }
      } else {