fix : 修改人员选择框细节

This commit is contained in:
2024-06-19 00:08:09 +08:00
parent da49b51b3d
commit bd1393d41c

View File

@@ -20,7 +20,7 @@
<template #default="{ node, data }"> <template #default="{ node, data }">
<div class="tree-node"> <div class="tree-node">
<div v-if="data.type === 0" style="display: flex;align-items: center;padding: 3px 0"> <div v-if="data.type === 0" style="display: flex;align-items: center;padding: 3px 0">
<el-icon :color="data.accountType==='1'?'#95d475':'#409eff'"> <el-icon :color="data.accountType==='0'?'#95d475':'#409eff'">
<UserFilled/> <UserFilled/>
</el-icon> </el-icon>
{{ node.label }}-{{ data.companyName }} {{ node.label }}-{{ data.companyName }}
@@ -192,6 +192,7 @@ const showUserPicker = () => {
radio.value = 0; radio.value = 0;
visible.value = true; visible.value = true;
expandedKeys.value = []; expandedKeys.value = [];
filterText.value=''
getList(); getList();
}; };
const handleChange = (item, data) => { const handleChange = (item, data) => {