部门视图,输入后自动查询调整1.5秒
This commit is contained in:
parent
9ed39bf57e
commit
1671680584
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<!-- import CSS -->
|
<!-- import CSS -->
|
||||||
<link rel="stylesheet" href="../apps/com.awspaas.user.apps.yili.integration/components/icon.css">
|
<link rel="stylesheet" href="../apps/com.awspaas.user.apps.yili.integration/components/icon.css">
|
||||||
<link rel="stylesheet" href="../apps/com.awspaas.user.apps.yili.integration/css/department1.css">
|
<link rel="stylesheet" href="../apps/com.awspaas.user.apps.yili.integration/css/department1.css?v=1743065420000">
|
||||||
<link rel="stylesheet" href="../apps/com.awspaas.user.apps.gpt_interface/css/gpt.css">
|
<link rel="stylesheet" href="../apps/com.awspaas.user.apps.gpt_interface/css/gpt.css">
|
||||||
<script>
|
<script>
|
||||||
var sid = '<#sid>';
|
var sid = '<#sid>';
|
||||||
@ -389,19 +389,6 @@
|
|||||||
},
|
},
|
||||||
//增加键盘回车事件
|
//增加键盘回车事件
|
||||||
search() {
|
search() {
|
||||||
// 控制一下,如果用户没输入东西就不去搜索
|
|
||||||
/*if(this.filtertreeText == ""){
|
|
||||||
return
|
|
||||||
}else{
|
|
||||||
if(this.checkedInfo==true){
|
|
||||||
this.fitlerNoFrameOptions = this.noFrameOptions.filter(option => {
|
|
||||||
return option.name.toLowerCase().includes(this.filtertreeText.toLowerCase());
|
|
||||||
});
|
|
||||||
}else{
|
|
||||||
this.$refs.treeNode.filter(this.filtertreeText);
|
|
||||||
}
|
|
||||||
|
|
||||||
}*/
|
|
||||||
// 清除之前的计时器
|
// 清除之前的计时器
|
||||||
if (this.debounceTimer) {
|
if (this.debounceTimer) {
|
||||||
clearTimeout(this.debounceTimer);
|
clearTimeout(this.debounceTimer);
|
||||||
@ -416,7 +403,7 @@
|
|||||||
} else {
|
} else {
|
||||||
this.leftTreedatabind();//不需要隐藏架构
|
this.leftTreedatabind();//不需要隐藏架构
|
||||||
}
|
}
|
||||||
}, 500); // 500 毫秒的延迟,可以根据实际需求调整
|
}, 1500); // 500 毫秒的延迟,可以根据实际需求调整
|
||||||
},
|
},
|
||||||
navtab(e) {
|
navtab(e) {
|
||||||
this.tab = e;
|
this.tab = e;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user