@@ -23,10 +23,10 @@ body{
.ant-form-item-label > label{
color: #000;
}
-.ant-table-wrapper{
+/*.ant-table-wrapper{
height: calc(100vh - 240px);
overflow-y: auto;
-}
+}*/
.wrapper{
min-width: 1214px;
padding: 15px 30px;
@@ -5,6 +5,7 @@
background: @bg-color;
padding: 0 10px 10px;
margin:0 10px;
+ height: calc(100vh - 60px);
.ant-tabs-nav{
height: 40px;
@@ -334,6 +334,7 @@ function DataManager() {
<Table
columns={columns}
dataSource={userList}
+ scroll={{ y: 'calc(100vh - 320px)' }}
rowKey={record => record.id + record.roleName}
pagination={{
pageNo: 1,
@@ -147,6 +147,7 @@ function ExceptionLog() {
dataSource={logList}
rowKey={record => record.operationId}
@@ -184,6 +184,7 @@ function OrgManager() {
return (
pagination={false}
+ scroll={{ y: 'calc(100vh - 240px)' }}
className="components-table-demo-nested"
rowKey={record => record.id}
@@ -292,6 +292,7 @@ function InpaManager() {
@@ -104,6 +104,7 @@ function LoginLog() {
rowKey={record => record.operationDate}
@@ -112,6 +112,7 @@ function MsgManage() {
dataSource={dataSource}
@@ -88,6 +88,7 @@ function MyMessage() {
@@ -116,6 +116,7 @@ function OperationLog() {
@@ -299,6 +299,7 @@ function OrgManager() {
rowKey={record => record.deptId}
@@ -200,6 +200,7 @@ function RoleManager(){
@@ -313,6 +313,7 @@ function UserManager() {
rowKey={record => record.userId + record.hospitalName}