Compare commits
3 Commits
ed66ae077c
...
024a456879
| Author | SHA1 | Date | |
|---|---|---|---|
| 024a456879 | |||
|
|
ec87966f54 | ||
|
|
41c9f5909b |
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
&:hover &_header img {
|
&:hover &_header img {
|
||||||
transform: scale(1.1) rotate(3deg);
|
transform: scale(1.1) rotate(3deg);
|
||||||
filter: drop-shadow(0 4px 8px rgba(247, 122, 58, 0.2));
|
// filter: drop-shadow(0 4px 8px rgba(247, 122, 58, 0.2));
|
||||||
}
|
}
|
||||||
|
|
||||||
&_label {
|
&_label {
|
||||||
|
|||||||
@ -16,7 +16,10 @@ export default function ApplyClose(
|
|||||||
trigger={
|
trigger={
|
||||||
<MyButtons.Default
|
<MyButtons.Default
|
||||||
title="关闭"
|
title="关闭"
|
||||||
disabled={props.item.status !== 'InProgress'}
|
disabled={
|
||||||
|
props.item.status !== 'InProgress' &&
|
||||||
|
props.item.status !== 'PendingFollowUp'
|
||||||
|
}
|
||||||
type="primary"
|
type="primary"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
import { MyButtons, MyColumns, MyProTableProps } from '@/common';
|
import {
|
||||||
|
MyButtons,
|
||||||
|
MyColumns,
|
||||||
|
MyPageContainer,
|
||||||
|
MyProTableProps,
|
||||||
|
} from '@/common';
|
||||||
import { Apis } from '@/gen/Apis';
|
import { Apis } from '@/gen/Apis';
|
||||||
import { ProTable } from '@ant-design/pro-components';
|
import { ProTable } from '@ant-design/pro-components';
|
||||||
import { Space } from 'antd';
|
import { Space } from 'antd';
|
||||||
@ -7,6 +12,12 @@ import Update from '../modals/TeamUpdate';
|
|||||||
|
|
||||||
export default function Index({ title = '应急小组' }) {
|
export default function Index({ title = '应急小组' }) {
|
||||||
return (
|
return (
|
||||||
|
<MyPageContainer
|
||||||
|
title={title}
|
||||||
|
enableTabs={true}
|
||||||
|
tabKey="emergency_events_teams"
|
||||||
|
tabLabel={title}
|
||||||
|
>
|
||||||
<ProTable
|
<ProTable
|
||||||
{...MyProTableProps.props}
|
{...MyProTableProps.props}
|
||||||
request={async (params, sort) =>
|
request={async (params, sort) =>
|
||||||
@ -78,5 +89,6 @@ export default function Index({ title = '应急小组' }) {
|
|||||||
}),
|
}),
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
</MyPageContainer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user