Commit 805ef06c by 抽刀断水

需要转化transformFormTable

parent 8250f54f
......@@ -1325,6 +1325,7 @@ export default {
default: () => [],
},
cxFormData: Object,
transformFormTable: Object,
cxUrl: String,
header: String,
pageFlag: String,
......@@ -1919,6 +1920,12 @@ export default {
}
});
self.tableData = response.data.rows;
for (let t in self.transformFormTable){
self.tableData.map(res=>{
console.log(res);
res[t] = self.transformFormTable[t][res[t]]
})
}
self.tableDataLength = response.data.total;
self.tPage = Math.ceil(response.data.total / self.page_size);
self.talbeBhgCount = response.data.bhgCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment