|
|
@@ -107,18 +107,18 @@ function WorkOrderMineInner() {
|
|
|
<time dateTime={today}><CalendarDays size={15} aria-hidden="true" />{WORK_DATE_FORMAT.format(new Date(today + "T12:00:00"))}</time>
|
|
|
<h1>我的待办</h1>
|
|
|
<p>查看分派给你的工单,安排处理与跟进。</p>
|
|
|
+ <nav className="work-order-mine-views" aria-label="待办分组">
|
|
|
+ {MINE_QUEUES.map(({ id, label, icon: Icon }) => <Link key={id} to={queueUrl(id)} replace state={location.state}
|
|
|
+ aria-current={activeQueue.id === id ? "page" : undefined}>
|
|
|
+ <Icon size={16} aria-hidden="true" />
|
|
|
+ <span>{label}</span>
|
|
|
+ {loaded && <small className="work-order-mine-view-count" data-priority={id === "due" && counts[id] > 0}>{counts[id]}</small>}
|
|
|
+ </Link>)}
|
|
|
+ </nav>
|
|
|
</div>
|
|
|
</header>
|
|
|
|
|
|
<div className="work-order-mine-toolbar">
|
|
|
- <nav className="work-order-mine-views" aria-label="待办分组">
|
|
|
- {MINE_QUEUES.map(({ id, label, icon: Icon }) => <Link key={id} to={queueUrl(id)} replace state={location.state}
|
|
|
- aria-current={activeQueue.id === id ? "page" : undefined}>
|
|
|
- <Icon size={16} aria-hidden="true" />
|
|
|
- <span>{label}</span>
|
|
|
- {loaded && <small className="work-order-mine-view-count" data-priority={id === "due" && counts[id] > 0}>{counts[id]}</small>}
|
|
|
- </Link>)}
|
|
|
- </nav>
|
|
|
<div className="work-order-mine-links">
|
|
|
<MobileEntryHint />
|
|
|
<Link className="ops-table-action" to="/work-orders">全部工单<ArrowRight size={14} aria-hidden="true" /></Link>
|