feat: 询价发布助手去掉状态筛选,列表状态列替换为品类

This commit is contained in:
Sisyphus 2026-06-30 17:43:56 +08:00
parent c1c7342621
commit 761200a70c

View File

@ -395,7 +395,6 @@ export default function InquiryPage({ onLeadDetail }: { onLeadDetail?: (id: stri
{[ {[
{ label: '公告日期', value: fTime, set: setFTime, opts: ['全部日期', '今天', '昨天', '本周', '本月'] }, { label: '公告日期', value: fTime, set: setFTime, opts: ['全部日期', '今天', '昨天', '本周', '本月'] },
{ label: '星级', value: fStar, set: setFStar, opts: ['全部星级', '5星', '4星', '3星', '2星及以下'] }, { label: '星级', value: fStar, set: setFStar, opts: ['全部星级', '5星', '4星', '3星', '2星及以下'] },
{ label: '状态', value: fStatus, set: setFStatus, opts: STATUS_OPTIONS },
{ label: '甲方级别', value: fLevel, set: setFLevel, opts: LEVEL_OPTIONS }, { label: '甲方级别', value: fLevel, set: setFLevel, opts: LEVEL_OPTIONS },
{ label: '品类', value: fCat, set: setFCat, opts: CAT_OPTIONS }, { label: '品类', value: fCat, set: setFCat, opts: CAT_OPTIONS },
{ label: '来源平台', value: fSource, set: setFSource, opts: SOURCE_OPTIONS }, { label: '来源平台', value: fSource, set: setFSource, opts: SOURCE_OPTIONS },
@ -446,7 +445,7 @@ export default function InquiryPage({ onLeadDetail }: { onLeadDetail?: (id: stri
<th className="p-4 w-20 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">星级</th> <th className="p-4 w-20 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">星级</th>
<th className="p-4 w-16 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">甲方级别</th> <th className="p-4 w-16 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">甲方级别</th>
<th className="p-4 w-20 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase text-right whitespace-nowrap">金额(万)</th> <th className="p-4 w-20 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase text-right whitespace-nowrap">金额(万)</th>
<th className="p-4 w-16 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">状态</th> <th className="p-4 w-16 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">品类</th>
<th className="p-4 w-24 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">投标截止</th> <th className="p-4 w-24 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">投标截止</th>
<th className="p-4 w-24 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">公告日期</th> <th className="p-4 w-24 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">公告日期</th>
<th className="p-4 w-20 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">发布状态</th> <th className="p-4 w-20 text-[10px] font-bold tracking-wider text-on-surface-variant uppercase whitespace-nowrap">发布状态</th>
@ -476,7 +475,7 @@ export default function InquiryPage({ onLeadDetail }: { onLeadDetail?: (id: stri
<td className="p-4 text-right whitespace-nowrap"> <td className="p-4 text-right whitespace-nowrap">
<span className={lead.amount === '待确认' ? 'text-[10px] text-slate-400' : 'text-[11px] font-medium'}>{lead.amount}</span> <span className={lead.amount === '待确认' ? 'text-[10px] text-slate-400' : 'text-[11px] font-medium'}>{lead.amount}</span>
</td> </td>
<td className="p-4 whitespace-nowrap"><span className={`px-2 py-0.5 text-[10px] font-medium rounded-full ${getStatusClass(lead.status)}`}>{lead.status}</span></td> <td className="p-4 whitespace-nowrap"><span className={`px-2 py-0.5 text-[10px] font-medium rounded-full ${lead.cat ? 'bg-purple-50 text-purple-700' : 'bg-slate-100 text-slate-400'}`}>{lead.cat || '-'}</span></td>
<td className="p-4 text-[10px] text-slate-500 whitespace-nowrap">{lead.deadline ? lead.deadline.slice(5, 10) : '-'}</td> <td className="p-4 text-[10px] text-slate-500 whitespace-nowrap">{lead.deadline ? lead.deadline.slice(5, 10) : '-'}</td>
<td className="p-4 text-[10px] text-slate-500 whitespace-nowrap">{lead.publishTime ? lead.publishTime.slice(0, 10) : '-'}</td> <td className="p-4 text-[10px] text-slate-500 whitespace-nowrap">{lead.publishTime ? lead.publishTime.slice(0, 10) : '-'}</td>
<td className="p-4 whitespace-nowrap"> <td className="p-4 whitespace-nowrap">