装备台账

This commit is contained in:
bb_pan 2026-02-02 15:18:11 +08:00
parent 5d01997d39
commit 5b5314a44d
1 changed files with 4 additions and 0 deletions

View File

@ -178,6 +178,8 @@ export default {
name: item.type, name: item.type,
value: item.total, value: item.total,
})) }))
} else {
this.dataMap.major = []
} }
const res5 = await getTenMajorApi(this.queryParams) const res5 = await getTenMajorApi(this.queryParams)
if (res5.data && res5.data.length > 0) { if (res5.data && res5.data.length > 0) {
@ -185,6 +187,8 @@ export default {
name: item.type, name: item.type,
value: item.total, value: item.total,
})) }))
} else {
this.dataMap.process = []
} }
} catch (error) { } catch (error) {
console.log('🚀 ~ error-->装备台账分析:', error) console.log('🚀 ~ error-->装备台账分析:', error)