Commit de1e538f by 张杰

修复车辆监控页面 树形展开无数据问题

1 parent 89fe0264
...@@ -501,8 +501,10 @@ export default { ...@@ -501,8 +501,10 @@ export default {
console.log("进入此处"); console.log("进入此处");
let oParams = {}; let oParams = {};
oParams.uId = nodeData.id; oParams.uId = nodeData.id;
oParams.termType = this.searchType; if (this.searchText) {
oParams.term = this.searchText; oParams.termType = this.searchType;
oParams.term = this.searchText;
}
MONITOR_SERVICE.getVehicleTreeUserList(oParams).then(({ data }) => { MONITOR_SERVICE.getVehicleTreeUserList(oParams).then(({ data }) => {
if (data.length) { if (data.length) {
data.map((item) => { data.map((item) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!