feat:合并

This commit is contained in:
lixg
2023-01-31 10:33:32 +08:00
parent 698062c0fd
commit 1d0cf629aa
3 changed files with 60 additions and 31 deletions

View File

@@ -2353,18 +2353,18 @@ import { useStore } from "vuex";
//列表表格
const columns1 = [
// {
// title: "号",
// width: 100,
// dataIndex: "num",
// key: "num",
// align: "center",
// customRender: ({ index, record }) => {
// const pageNum =
// Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
// return index + 1 + pageNum;
// },
// },
{
title: "课程编号",
width: 100,
dataIndex: "num",
key: "num",
align: "center",
customRender: ({ index, record }) => {
const pageNum =
Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
return index + 1 + pageNum;
},
},
{
title: "名称",
width: 400,