| | |
| | | import { Search, RefreshRight, Plus, Delete } from '@element-plus/icons-vue' |
| | | import { onMounted, ref, provide, nextTick } from 'vue' |
| | | import { ElMessage, ElMessageBox } from 'element-plus' |
| | | import { getDeptTree } from '@/api/system/dept' |
| | | import { getDeptTreeListApi } from './dataObjectionApi' |
| | | import { getDictLabel } from '@ztzf/utils' |
| | | import FormDiaLog from './FormDiaLog.vue' |
| | | import { |
| | |
| | | const deptTree = ref([]) // 部门树 |
| | | const dictObj = ref({}) // 字典对象 |
| | | const treeProps = { |
| | | label: 'name', |
| | | label: 'title', |
| | | children: 'children', |
| | | } |
| | | const detailObjectionStatus = ref('') |
| | |
| | | |
| | | // 获取部门树 |
| | | function getDeptTreeFun() { |
| | | getDeptTree().then(res => { |
| | | getDeptTreeListApi().then(res => { |
| | | deptTree.value = res.data.data |
| | | }) |
| | | } |