|
@@ -45,6 +45,7 @@ import { userApi, UserVO } from '../api/user';
|
|
|
import { deptApi, type DeptVO } from '../api/dept';
|
|
import { deptApi, type DeptVO } from '../api/dept';
|
|
|
import { segregationPointApi, SegregationPointVO } from '../api/spm';
|
|
import { segregationPointApi, SegregationPointVO } from '../api/spm';
|
|
|
import { getFormPage, getForm, FormVO } from '../api/bpm/form';
|
|
import { getFormPage, getForm, FormVO } from '../api/bpm/form';
|
|
|
|
|
+import './IsolationWorkListTable.css';
|
|
|
import urgecy1Icon from '../assets/urgecy1.png';
|
|
import urgecy1Icon from '../assets/urgecy1.png';
|
|
|
import urgecy2Icon from '../assets/urgecy2.png';
|
|
import urgecy2Icon from '../assets/urgecy2.png';
|
|
|
import urgecy3Icon from '../assets/urgecy3.png';
|
|
import urgecy3Icon from '../assets/urgecy3.png';
|
|
@@ -3849,13 +3850,16 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{/* 表格容器 */}
|
|
{/* 表格容器 */}
|
|
|
- <div className="overflow-hidden min-w-0">
|
|
|
|
|
|
|
+ <div className="isolation-work-list-table overflow-hidden min-w-0">
|
|
|
<AntdTable
|
|
<AntdTable
|
|
|
columns={formManagementColumns}
|
|
columns={formManagementColumns}
|
|
|
dataSource={formManagementPageData}
|
|
dataSource={formManagementPageData}
|
|
|
rowKey="id"
|
|
rowKey="id"
|
|
|
pagination={false}
|
|
pagination={false}
|
|
|
scroll={{ x: 'max-content' }}
|
|
scroll={{ x: 'max-content' }}
|
|
|
|
|
+ rowClassName={(_, index) =>
|
|
|
|
|
+ index !== undefined && index % 2 === 1 ? 'isolation-work-list-row-alt' : ''
|
|
|
|
|
+ }
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -4039,7 +4043,7 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{/* 表格容器 */}
|
|
{/* 表格容器 */}
|
|
|
- <div className="overflow-hidden min-w-0">
|
|
|
|
|
|
|
+ <div className="isolation-work-list-table overflow-hidden min-w-0">
|
|
|
<AntdTable
|
|
<AntdTable
|
|
|
columns={processDesignColumns}
|
|
columns={processDesignColumns}
|
|
|
dataSource={processDesignPageData}
|
|
dataSource={processDesignPageData}
|
|
@@ -4047,6 +4051,9 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
|
|
|
pagination={false}
|
|
pagination={false}
|
|
|
scroll={{ x: 'max-content' }}
|
|
scroll={{ x: 'max-content' }}
|
|
|
loading={processDesignLoading}
|
|
loading={processDesignLoading}
|
|
|
|
|
+ rowClassName={(_, index) =>
|
|
|
|
|
+ index !== undefined && index % 2 === 1 ? 'isolation-work-list-row-alt' : ''
|
|
|
|
|
+ }
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -4349,7 +4356,7 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{/* 表格容器 */}
|
|
{/* 表格容器 */}
|
|
|
- <div className="overflow-hidden min-w-0">
|
|
|
|
|
|
|
+ <div className="isolation-work-list-table overflow-hidden min-w-0">
|
|
|
<AntdTable
|
|
<AntdTable
|
|
|
columns={workJobColumns}
|
|
columns={workJobColumns}
|
|
|
dataSource={workJobPageData}
|
|
dataSource={workJobPageData}
|
|
@@ -4357,6 +4364,9 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
|
|
|
pagination={false}
|
|
pagination={false}
|
|
|
scroll={{ x: 'max-content' }}
|
|
scroll={{ x: 'max-content' }}
|
|
|
loading={workJobLoading}
|
|
loading={workJobLoading}
|
|
|
|
|
+ rowClassName={(_, index) =>
|
|
|
|
|
+ index !== undefined && index % 2 === 1 ? 'isolation-work-list-row-alt' : ''
|
|
|
|
|
+ }
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -6620,7 +6630,7 @@ export default function IsolationWork({ subMenu }: IsolationWorkProps) {
|
|
|
{filteredData.map((row, index) => (
|
|
{filteredData.map((row, index) => (
|
|
|
<tr
|
|
<tr
|
|
|
key={row.id}
|
|
key={row.id}
|
|
|
- className="hover:bg-blue-50/30 transition-colors"
|
|
|
|
|
|
|
+ className={`transition-colors hover:bg-blue-50/30 ${index % 2 === 1 ? 'bg-[#f0f0f0]' : 'bg-white'}`}
|
|
|
>
|
|
>
|
|
|
<td className="px-6 py-4 text-sm text-gray-900">
|
|
<td className="px-6 py-4 text-sm text-gray-900">
|
|
|
{index + 1}
|
|
{index + 1}
|