mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
fix:修改审核管理模块四个页面序号显示ID问题
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user