单位与部门
This commit is contained in:
@ -27,8 +27,8 @@ interface Data {
|
||||
type OptionType = { label: string; value: string };
|
||||
//准入状态
|
||||
const statusColor = (status: string) => {
|
||||
if (status === '已驳回' || status === '已退出') return 'red';
|
||||
if (status === '已准入') return 'green';
|
||||
if (status === '已驳回' || status === '已退出') return '#ef6969';
|
||||
if (status === '已准入') return '#004f8e';
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@ -177,11 +177,9 @@ const RegistrationQuery: React.FC<RegistrationQueryProps> = ({ dispatch }) => {
|
||||
render: (record) => (
|
||||
<Space>
|
||||
<a
|
||||
style={{ color: '#1677ff' }}
|
||||
onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}
|
||||
>查看</a>
|
||||
<a
|
||||
style={{ color: '#1677ff' }}
|
||||
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
|
||||
>准入明细</a>
|
||||
</Space>
|
||||
|
Reference in New Issue
Block a user