feat: PC法规处列表

This commit is contained in:
huangchenhao 2026-05-09 15:31:06 +08:00
parent 3cbf071838
commit 16d7c75c12

View File

@ -447,8 +447,15 @@ const getAffectedSites = async () => {
}))
pagination.total = res.total || 0
}
} else if (cardTypeVal.value == '桥梁') {
if (res.data) {
tableData.value = res.data.map((item, index) => ({
...processDataByType(item, cardType.value),
id: index + 1,
}))
pagination.total = res.total || 0
}
} else {
console.log('@@@执行到这里了',)
if (res.code === '00000' && res.data) {
//
const allData = res.data
@ -686,9 +693,6 @@ const getColumnsByType = (type) => {
return typeMap[type] || unifiedColumns
}
onMounted(async () => {
await loadBarChartData()
await fetchDistrictOptions()