This commit is contained in:
parent
c54d14da8d
commit
87a75d0ce2
|
@ -647,6 +647,7 @@ const columnsList = reactive({
|
|||
{
|
||||
label: "工作单位",
|
||||
property: "gzdw",
|
||||
show: true,
|
||||
},
|
||||
{
|
||||
label: "工作时间",
|
||||
|
@ -886,6 +887,15 @@ const getTable = (url, csh) => {
|
|||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
tableType.data = res.data;
|
||||
let ass = "";
|
||||
tableType.columns.forEach((element) => {
|
||||
// res.data[0].element.property
|
||||
ass = element.property;
|
||||
console.log(66, element.property,ass);
|
||||
console.log(77, res.data[0]);
|
||||
});
|
||||
|
||||
// res.data[tableType.columns]
|
||||
if (res?.count) {
|
||||
pagination.total = res.count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue