fix(forceNotice): 修复包含处理页面字段映射错误

- 修正uniscid字段为uniscId,保持命名规范一致性
- 修正entname字段为entName,保持命名规范一致性
- 修正分页总数计算,使用data.length替代data.total
This commit is contained in:
chenxf 2026-01-06 14:44:36 +08:00
parent 1ee6f196d3
commit 65367e1169
1 changed files with 5 additions and 5 deletions

View File

@ -169,24 +169,24 @@ export default {
{ {
type: 'input', type: 'input',
label: '统一社会信用代码/注册号', label: '统一社会信用代码/注册号',
prop: 'uniscid', prop: 'uniscId',
tableProps: { tableProps: {
showOverflowTooltip: true, showOverflowTooltip: true,
width: '220px', width: '220px',
formatter: (row, column, cellValue, index) => { formatter: (row, column, cellValue, index) => {
return `${row.uniscid || row.regNo || ''}` return `${row.uniscId || row.regNo || ''}`
} }
} }
}, },
{ {
type: 'input', type: 'input',
label: '主体名称', label: '主体名称',
prop: 'entname', prop: 'entName',
tableProps: { tableProps: {
showOverflowTooltip: true, showOverflowTooltip: true,
width: '300px', width: '300px',
formatter: (row, column, cellValue, index) => { formatter: (row, column, cellValue, index) => {
return `${row.entname || ''}` return `${row.entName || ''}`
} }
} }
}, },
@ -691,7 +691,7 @@ export default {
}).then((data) => { }).then((data) => {
return { return {
tableData: data, tableData: data,
total: data.total total: data.length
} }
}) })
}, },