From a35e1a8d806e7e9323665652c3ecc5ed22eddead Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 16 Aug 2025 10:34:56 +0800
Subject: [PATCH] Merge branch 'feature/v5.0/5.0.2' into feature/v5.0/5.0.3
---
src/views/dataCenter/components/searchData.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/views/dataCenter/components/searchData.vue b/src/views/dataCenter/components/searchData.vue
index fc5052f..82f4f61 100644
--- a/src/views/dataCenter/components/searchData.vue
+++ b/src/views/dataCenter/components/searchData.vue
@@ -259,13 +259,11 @@
searchForm.endTime = end.format(timeFormat);
handleSearch()
}
-
};
// 部门下得机巢
const requestDockInfo = () => {
getRegionTreeAll({ parentCode: userAreaCode.value }).then(res => {
deptTreeData.value = res.data.data ? [res.data.data] : [];
-
handleNodeClick({ id: userAreaCode.value });
});
};
@@ -273,19 +271,18 @@
// 处理机巢数据
searchForm.deviceSn = '';
machineData.value = '';
-
const droneList = await getDeviceRegion({ areaCode: data.id });
-
machineData.value = droneList?.data?.data;
+
// 默认选中值
if (signDevice_sn.value) {
searchForm.deviceSn = signDevice_sn.value;
}
// 所属部门重新请求值
-
deptData.value = [];
getDeptsByAreaCode();
handleSearch();
+
};
// 所属部门信息
const getDeptsByAreaCode = () => {
@@ -323,6 +320,7 @@
searchForm.deviceSn = '';
searchForm.resultType = '';
searchForm.photoType = '';
+ searchForm.wayLineJobId=''
handleNodeClick({ id: userAreaCode.value });
handleSearch();
};
@@ -342,8 +340,9 @@
}
// 切换文件夹
const handleswitchFolders =()=>{
- emit('handleswitchFolders');
+ emit('handleswitchFolders');
}
+
onMounted(() => {
requestDockInfo();
getDownloadStatusApi({type: 'htsjzx'}).then(res =>{
@@ -352,6 +351,8 @@
}
})
});
+
+
</script>
<style scoped lang="scss">
--
Gitblit v1.9.3