用户管理重置查询时取消部门树形数据选中的状态
This commit is contained in:
1 parent
e55aadc127
commit
738d76247d
1 file changed
+3
@@ -5,6 +5,7 @@
|
||||
<div class="layout-padding-auto layout-padding-view">
|
||||
<el-scrollbar>
|
||||
<query-tree
|
||||
ref="queryTreeRef"
|
||||
:placeholder="$t('common.queryDeptTip')"
|
||||
:query="deptData.queryList"
|
||||
:show-expand="true"
|
||||
@@ -240,6 +241,7 @@ const excelUploadRef = ref()
|
||||
const queryRef = ref()
|
||||
const showSearch = ref(true)
|
||||
const inputPassword = ref()
|
||||
const queryTreeRef = ref() // 树组件ref引用
|
||||
|
||||
// 多选rows
|
||||
const selectObjs = ref([]) as any
|
||||
@@ -275,6 +277,7 @@ const isDeepDeptChange = () => {
|
||||
const resetQuery = () => {
|
||||
queryRef.value?.resetFields()
|
||||
state.queryForm.deptId = ""
|
||||
queryTreeRef.value.getdeptTree()
|
||||
getDataList()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user