Pārlūkot izejas kodu

fix: 业务审批下表格宽度加上ml的值

lanjianrong 2 gadi atpakaļ
vecāks
revīzija
7b2d6be27a

+ 1 - 1
src/pages/Business/Inventory/index.tsx

@@ -119,7 +119,7 @@ const Inventory = () => {
     <PageContainer title={false}>
       <div className="h-full w-full flex flex-row">
         <LeftMenu title="业务列表" onChange={key => handleMenuOnChange(key)} />
-        <div className="bg-white ml-8 rounded-20px" style={{ width: 'calc(100% - 216px)' }}>
+        <div className="bg-white ml-8 rounded-20px" style={{ width: 'calc(100% - 248px)' }}>
           <ProTable
             scroll={{ y: document.body.clientHeight - 259 }}
             search={false}

+ 1 - 1
src/pages/Business/Matter/index.tsx

@@ -107,7 +107,7 @@ const Matter: React.FC = () => {
     <PageContainer title={false}>
       <div className="h-full w-full flex flex-row">
         <LeftMenu title="业务列表" onChange={key => handleMenuOnChange(key)} />
-        <div className="bg-white ml-8 rounded-20px" style={{ width: 'calc(100% - 216px)' }}>
+        <div className="bg-white ml-8 rounded-20px" style={{ width: 'calc(100% - 248px)' }}>
           <ProTable
             search={false}
             rowKey="ID"

+ 1 - 1
src/pages/Business/Process/index.tsx

@@ -92,7 +92,7 @@ const Process: React.FC<ProcessProps> = ({ executorMap }) => {
     <PageContainer title={false}>
       <div className="h-full w-full flex flex-row">
         <LeftMenu title="业务列表" onChange={key => handleMenuOnChange(key)} />
-        <div className="ml-8 bg-white rounded-20px" style={{ width: 'calc(100% - 216px)' }}>
+        <div className="ml-8 bg-white rounded-20px" style={{ width: 'calc(100% - 248px)' }}>
           <ProTable
             scroll={{ y: document.body.clientHeight - 259 }}
             pagination={false}

+ 1 - 1
src/pages/Business/Step/index.tsx

@@ -117,7 +117,7 @@ const Step: React.FC<StepProps> = ({ executorMap, matterMap, conditionSchema, di
     <PageContainer title={false}>
       <div className="w-full flex flex-row">
         <LeftMenu title="业务主体" onChange={handleMenuChange} />
-        <div className="ml-8 bg-white rounded-20px" style={{ width: 'calc(100% - 216px)' }}>
+        <div className="ml-8 bg-white rounded-20px" style={{ width: 'calc(100% - 248px)' }}>
           <ProTable
             columns={columns}
             search={false}