泛微薪资核算iframe表格

feature/V2-系统多语言
黎永顺 2 years ago
parent ddffad8642
commit 4fb8eaad28

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

Loading…
Cancel
Save