单位与部门

This commit is contained in:
孙景学
2025-07-16 11:22:57 +08:00
parent 54f5ad64ca
commit 1e5e5d4987
17 changed files with 147 additions and 117 deletions

View File

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