@@ -178,7 +178,8 @@
onSearch(value) {
let that = this
if (value) {
- searchByKeywords({keyWord: value}).then((res) => {
+ value = '*' + value + '*';
+ queryIdTree({departName: value}).then((res) => {
if (res.success) {
that.departTree = []
for (let i = 0; i < res.result.length; i++) {