|
|
@ -5,6 +5,7 @@ import { convertColumns, exceptStr, paginationFun } from "@/utils/common";
|
|
|
|
import styles from "@/pages/atdTable/components/index.less";
|
|
|
|
import styles from "@/pages/atdTable/components/index.less";
|
|
|
|
import { defaultPage, IPage } from "@/common/types";
|
|
|
|
import { defaultPage, IPage } from "@/common/types";
|
|
|
|
import cs from "classnames";
|
|
|
|
import cs from "classnames";
|
|
|
|
|
|
|
|
import { Storage } from "@/utils";
|
|
|
|
|
|
|
|
|
|
|
|
const { Text } = Typography;
|
|
|
|
const { Text } = Typography;
|
|
|
|
const payrollFilesTable: FC = (props) => {
|
|
|
|
const payrollFilesTable: FC = (props) => {
|
|
|
@ -45,6 +46,7 @@ const payrollFilesTable: FC = (props) => {
|
|
|
|
if (item.dataIndex === "operate") {
|
|
|
|
if (item.dataIndex === "operate") {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
...item,
|
|
|
|
...item,
|
|
|
|
|
|
|
|
width: Storage.local.get("languageidweaver") == "8" ? 210 : item.width,
|
|
|
|
render: (text: string, r: { id?: string }) => {
|
|
|
|
render: (text: string, r: { id?: string }) => {
|
|
|
|
let dom = null;
|
|
|
|
let dom = null;
|
|
|
|
if (!showOperateBtn) {
|
|
|
|
if (!showOperateBtn) {
|
|
|
@ -245,7 +247,7 @@ const payrollFilesTable: FC = (props) => {
|
|
|
|
rowSelection={rowSelection}
|
|
|
|
rowSelection={rowSelection}
|
|
|
|
scroll={{ x: 1200, y: !showSumrow ? `calc(100vh - 100px)` : "calc(100vh - 129px)" }}
|
|
|
|
scroll={{ x: 1200, y: !showSumrow ? `calc(100vh - 100px)` : "calc(100vh - 129px)" }}
|
|
|
|
pagination={{
|
|
|
|
pagination={{
|
|
|
|
...paginationFun(pageInfo, sizeChange, onChange),
|
|
|
|
...paginationFun(pageInfo, sizeChange, onChange, i18n),
|
|
|
|
size: "default"
|
|
|
|
size: "default"
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
summary={() => {
|
|
|
|
summary={() => {
|
|
|
|