fix: 修复部门管理页面一级需求部门类型显示问题

This commit is contained in:
Your Name 2026-01-19 22:13:02 +08:00
parent c99a927cca
commit 3a345c7994

View File

@ -589,10 +589,10 @@
>三级</a-tag>
<a-tag
size="small"
:color="record.deptType === 'demand' ? 'orange' : 'green'"
:color="record.deptType === 'demand' ? 'orange' : record.deptType === 'primary_demand' ? 'blue' : 'green'"
style="margin-left: 4px;"
>
{{ record.deptType === 'demand' ? '需求部门' : '接单部门' }}
{{ record.deptType === 'demand' ? '需求部门' : record.deptType === 'primary_demand' ? '一级需求部门' : '接单部门' }}
</a-tag>
</div>
<div class="dept-info-sub">