页面button颜色统一,表格不可选择页面数量

This commit is contained in:
zhangyc
2022-12-11 11:46:52 +08:00
parent 6fc160ae79
commit 65fbc3eba4
84 changed files with 1642 additions and 2633 deletions

View File

@@ -64,7 +64,7 @@
</div>
<div class="pa">
<a-pagination
showSizeChanger="true"
:showSizeChanger="false"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
@@ -293,23 +293,23 @@ export default {
});
const tableDataFunc = () => {
const columns = [
{
title: "序号",
dataIndex: "number",
key: "number",
width: 100,
align: "center",
className: "h",
customRender: ({ index }) => {
// {
// title: "序号",
// dataIndex: "number",
// // key: "number",
// width: 100,
// align: "center",
// className: "h",
// customRender: ({ index }) => {
//{ text, record, index, column }
return index + 1;
},
},
// return index + 1;
// },
// },
{
title: "名称",
dataIndex: "manager",
key: "manager",
width: 100,
width:"30%",
align: "center",
ellipsis: true,
className: "h",
@@ -321,7 +321,7 @@ export default {
title: "状态",
dataIndex: "state",
key: "state",
width: 100,
width:"10%",
align: "center",
className: "h",
customRender: ({ record }) => {
@@ -339,7 +339,7 @@ export default {
title: "创建人",
dataIndex: "creater",
key: "creater",
width: 100,
width:"10%",
align: "center",
className: "h",
customRender: ({ text }) => {
@@ -350,7 +350,7 @@ export default {
title: "发布时间",
dataIndex: "pubtime",
key: "pubtime",
width: 180,
width:"10%",
align: "center",
className: "h",
customRender: ({ text }) => {
@@ -361,7 +361,7 @@ export default {
title: "创建时间",
dataIndex: "cretime",
key: "cretime",
width: 180,
width:"10%",
align: "center",
className: "h",
customRender: ({ text }) => {
@@ -373,8 +373,9 @@ export default {
className: "h",
dataIndex: "opacation",
key: "opacation",
width: 200,
width:"20%",
align: "center",
fixed: "right",
},
];
return columns;