fix(forceNotice): 修复包含处理页面字段映射错误
- 修正uniscid字段为uniscId,保持命名规范一致性 - 修正entname字段为entName,保持命名规范一致性 - 修正分页总数计算,使用data.length替代data.total
This commit is contained in:
parent
1ee6f196d3
commit
65367e1169
|
|
@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue