- {
- this.props.loading ?
-
-
-
- :
-
- }
+ render() {
+ const { loading, isWeaTable = true } = this.props;
+ return (
+
+ {loading
+ ?
+
- )
- }
-}
\ No newline at end of file
+ : isWeaTable
+ ?
+ :
}
+
+ );
+ }
+}
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
index f401680f..858e2d90 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
@@ -78,7 +78,7 @@ export default class SalaryDetail extends React.Component {
}
if(result.dataIndex === "taxAgentName" || result.dataIndex === "username" || result.dataIndex === "departmentName") {
- // result.fixed = "left"
+ result.fixed = "left"
}
return result;
@@ -162,6 +162,7 @@ export default class SalaryDetail extends React.Component {
this.pageInfo.current = value
this.handleDataPageChange(value)
}}
+ isWeaTable={false}
onShowSizeChange={(current, pageSize) => {
this.pageInfo = {current, pageSize}
this.handleShowSizeChange(this.pageInfo)
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js b/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
index a9bb78b0..4812ed30 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
@@ -449,6 +449,7 @@ export default class UserSure extends React.Component {
this.pageInfo.current = value;
this.handleUserListPageChange(value);
}}
+ isWeaTable={false}
onShowSizeChange={(current, pageSize) => {
this.pageInfo = { current, pageSize };
this.handleShowSizeChange(this.pageInfo);
@@ -456,6 +457,7 @@ export default class UserSure extends React.Component {
/>}
{this.state.selectedKey == 1 &&
Date: Tue, 21 Jun 2022 15:54:39 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/components/customTable/index.js | 14 +++++++++++++-
.../hrmSalary/components/customTable/index.less | 11 +++++++++++
2 files changed, 24 insertions(+), 1 deletion(-)
create mode 100644 pc4mobx/hrmSalary/components/customTable/index.less
diff --git a/pc4mobx/hrmSalary/components/customTable/index.js b/pc4mobx/hrmSalary/components/customTable/index.js
index 9efade1b..c40122dd 100644
--- a/pc4mobx/hrmSalary/components/customTable/index.js
+++ b/pc4mobx/hrmSalary/components/customTable/index.js
@@ -1,6 +1,13 @@
+/*
+ * Author: 黎永顺
+ * Description:
+ * Date: 2022-06-21 14:27:29
+ * LastEditTime: 2022-06-21 15:05:12
+ */
import React from "react";
import { WeaTable } from "ecCom";
import { Spin, Table } from "antd";
+import "./index.less";
export default class CustomTable extends React.Component {
render() {
@@ -13,7 +20,12 @@ export default class CustomTable extends React.Component {
: isWeaTable
?