fix:修改审核管理模块四个页面序号显示ID问题

This commit is contained in:
wyx
2022-12-06 21:49:14 +08:00
parent 1d16211424
commit a7dd165d76
4 changed files with 27 additions and 10 deletions

View File

@@ -175,8 +175,8 @@ export default {
columns1: [
{
title: "序号",
dataIndex: "projectId",
key: "projectId",
dataIndex: "number",
key: "number",
align: "center",
},
{
@@ -299,7 +299,14 @@ export default {
console.log('获取已审核项目列表数据',res)
let result = res.data.data;
state.total = res.data.data.total;
state.tableData1 = result.rows
let numdata = []
result.rows.map((value, index) => {
let obj = value
obj.number = index+1
numdata.push(obj);
});
state.tableData1 = numdata
})
};
const changePagination = (pagina) => {