lanjianrong 3 年之前
父节点
当前提交
9153377247

+ 1 - 1
src/pages/Institutions/Company/List/index.tsx

@@ -120,7 +120,7 @@ const CompanyList = () => {
         params={state.params}
         actionRef={tRef}
         columnsState={columnsState}
-        scroll={{ y: document.body.clientHeight - 291 }}
+        scroll={{ y: document.body.clientHeight - 315 }}
         columns={columns}
         request={async (params, filter, sorter) => {
           const { code = -1, data: { items = [], total = 0 } = {} } = await queryInstitutionList({

+ 1 - 1
src/pages/Institutions/Staff/components/StaffDetail.tsx

@@ -69,7 +69,7 @@ const StaffDrawer: React.FC<StaffModalProps> = ({
     onSuccess: () => {
       message.success('修改成功')
       // eslint-disable-next-line no-unused-expressions
-      formRef?.current?.setFieldsValue()
+      formRef.current?.setFieldsValue()
     }
   })
 

+ 1 - 1
src/pages/Institutions/Staff/index.tsx

@@ -179,7 +179,7 @@ const CompanyList: React.FC<ListProps> = () => {
         params={state.params}
         actionRef={tRef}
         columnsState={columnsState}
-        scroll={{ y: document.body.clientHeight - 313 }}
+        scroll={{ y: document.body.clientHeight - 315 }}
         columns={columns}
         request={async (params, filter, sorter) => {
           const { code = -1, data: { items = [], total = 0 } = {} } = await queryAccountList({

+ 1 - 1
src/pages/Project/Management/List/index.tsx

@@ -167,7 +167,7 @@ const List: React.FC<ListProps> = ({ schema, dispatch, pTypeList }) => {
         params={state.params}
         actionRef={tRef}
         columnsState={columnsState}
-        scroll={{ y: document.body.clientHeight - 291 }}
+        scroll={{ y: document.body.clientHeight - 315 }}
         columns={columns}
         request={async (params, filter, sorter) => {
           const { code = -1, data: { items = [], total = 0 } = {} } = await getProjectList({

+ 1 - 1
src/pages/Project/Verification/index.tsx

@@ -173,7 +173,7 @@ const FlowList = () => {
         rowKey="ID"
         actionRef={tRef}
         params={state.params}
-        scroll={{ y: document.body.clientHeight - 313 }}
+        scroll={{ y: document.body.clientHeight - 315 }}
         request={async (params, filters, sorter) => {
           const {
             code = -1,