Compare commits

..

No commits in common. "024a45687919b91541cc6799c240e857f1723522" and "ed66ae077cfd6b6b737db88720b5609bd718d50e" have entirely different histories.

3 changed files with 73 additions and 88 deletions

View File

@ -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 {

View File

@ -16,10 +16,7 @@ export default function ApplyClose(
trigger={ trigger={
<MyButtons.Default <MyButtons.Default
title="关闭" title="关闭"
disabled={ disabled={props.item.status !== 'InProgress'}
props.item.status !== 'InProgress' &&
props.item.status !== 'PendingFollowUp'
}
type="primary" type="primary"
/> />
} }

View File

@ -1,9 +1,4 @@
import { import { MyButtons, MyColumns, MyProTableProps } from '@/common';
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';
@ -12,12 +7,6 @@ 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) =>
@ -89,6 +78,5 @@ export default function Index({ title = '应急小组' }) {
}), }),
]} ]}
/> />
</MyPageContainer>
); );
} }