develop #17
@ -62,7 +62,7 @@
|
||||
|
||||
&:hover &_header img {
|
||||
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 {
|
||||
|
||||
@ -16,7 +16,10 @@ export default function ApplyClose(
|
||||
trigger={
|
||||
<MyButtons.Default
|
||||
title="关闭"
|
||||
disabled={props.item.status !== 'InProgress'}
|
||||
disabled={
|
||||
props.item.status !== 'InProgress' &&
|
||||
props.item.status !== 'PendingFollowUp'
|
||||
}
|
||||
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 { ProTable } from '@ant-design/pro-components';
|
||||
import { Space } from 'antd';
|
||||
@ -7,6 +12,12 @@ import Update from '../modals/TeamUpdate';
|
||||
|
||||
export default function Index({ title = '应急小组' }) {
|
||||
return (
|
||||
<MyPageContainer
|
||||
title={title}
|
||||
enableTabs={true}
|
||||
tabKey="emergency_events_teams"
|
||||
tabLabel={title}
|
||||
>
|
||||
<ProTable
|
||||
{...MyProTableProps.props}
|
||||
request={async (params, sort) =>
|
||||
@ -78,5 +89,6 @@ export default function Index({ title = '应急小组' }) {
|
||||
}),
|
||||
]}
|
||||
/>
|
||||
</MyPageContainer>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user