diff --git a/zfipc-ui/src/views/patrol/plan/index.vue b/zfipc-ui/src/views/patrol/plan/index.vue index 2e438ef..e431f1c 100644 --- a/zfipc-ui/src/views/patrol/plan/index.vue +++ b/zfipc-ui/src/views/patrol/plan/index.vue @@ -1012,7 +1012,7 @@ export default { //加载动态数据的方法,仅在 lazy 为 true 时有效 //function(node, resolve),node为当前点击的节点,resolve为数据加载完成的回调(必须调用) lazyLoad(node, resolve) { - const queryParams = {}; + const queryParams = { type: 1 }; const data = []; if (node.value != null) { queryParams.parentEquipId = node.value; diff --git a/zfipc-ui/src/views/spareparts/info/index.vue b/zfipc-ui/src/views/spareparts/info/index.vue index 0f43f8a..41d7ca5 100644 --- a/zfipc-ui/src/views/spareparts/info/index.vue +++ b/zfipc-ui/src/views/spareparts/info/index.vue @@ -771,7 +771,7 @@ export default { //加载动态数据的方法,仅在 lazy 为 true 时有效 //function(node, resolve),node为当前点击的节点,resolve为数据加载完成的回调(必须调用) lazyLoad(node, resolve) { - const queryParams = {}; + const queryParams = { type: 1 }; const data = []; if (node.value != null) { queryParams.parentEquipId = node.value;