This commit is contained in:
duanxiaohai 2024-10-10 14:08:19 +08:00
parent c54d14da8d
commit 87a75d0ce2
1 changed files with 10 additions and 0 deletions

View File

@ -647,6 +647,7 @@ const columnsList = reactive({
{ {
label: "工作单位", label: "工作单位",
property: "gzdw", property: "gzdw",
show: true,
}, },
{ {
label: "工作时间", label: "工作时间",
@ -886,6 +887,15 @@ const getTable = (url, csh) => {
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {
tableType.data = res.data; 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) { if (res?.count) {
pagination.total = res.count; pagination.total = res.count;
} }