去除部门树接口

This commit is contained in:
guanj
2026-05-28 15:10:40 +08:00
parent faac12615d
commit 9466141bff
7 changed files with 130 additions and 58 deletions

View File

@@ -182,7 +182,7 @@ const tableStore: any = new TableStore({
icon: 'el-icon-Check',
render: 'basicButton',
disabled: row => {
return !(props.deviceType === '2' && row.wavePath) || row.showName === '未知'
return !(props.deviceType == '2' && row.wavePath == null)
},
click: row => {
getFileByEventId(row.id).then(res => {
@@ -219,6 +219,8 @@ const handleBack = async () => {
}
defineExpose({ getTableParams })
onMounted(() => {
console.log('🚀 ~ props.deviceType:', props.deviceType)
tableStore.index()
})
</script>