feat: PC法规处列表
This commit is contained in:
parent
3cbf071838
commit
16d7c75c12
@ -447,8 +447,15 @@ const getAffectedSites = async () => {
|
|||||||
}))
|
}))
|
||||||
pagination.total = res.total || 0
|
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 {
|
} else {
|
||||||
console.log('@@@执行到这里了',)
|
|
||||||
if (res.code === '00000' && res.data) {
|
if (res.code === '00000' && res.data) {
|
||||||
// 处理返回数据
|
// 处理返回数据
|
||||||
const allData = res.data
|
const allData = res.data
|
||||||
@ -686,9 +693,6 @@ const getColumnsByType = (type) => {
|
|||||||
return typeMap[type] || unifiedColumns
|
return typeMap[type] || unifiedColumns
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await loadBarChartData()
|
await loadBarChartData()
|
||||||
await fetchDistrictOptions()
|
await fetchDistrictOptions()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user