|
@@ -129,10 +129,13 @@ function WorkOrderMineInner() {
|
|
|
{list.loading ? <div className="order-empty work-order-mine-empty" role="status">
|
|
{list.loading ? <div className="order-empty work-order-mine-empty" role="status">
|
|
|
<LoaderCircle size={23} className="work-order-mine-loading" aria-hidden="true" />正在读取待办…
|
|
<LoaderCircle size={23} className="work-order-mine-loading" aria-hidden="true" />正在读取待办…
|
|
|
</div> : fail ? <TicketState fail={fail} onRetry={list.reload} />
|
|
</div> : fail ? <TicketState fail={fail} onRetry={list.reload} />
|
|
|
- : !displayedGroups.length ? <div className="order-empty work-order-mine-empty">
|
|
|
|
|
- <ClipboardCheck size={27} aria-hidden="true" />
|
|
|
|
|
- <h3>{rows.length ? "这一组暂无工单" : "暂无待办工单"}</h3>
|
|
|
|
|
- {!rows.length && <p>分派给你的工单会出现在这里。</p>}
|
|
|
|
|
|
|
+ : !displayedGroups.length ? <div className="work-order-mine-blank">
|
|
|
|
|
+ <span className="work-order-mine-blank-icon"><ClipboardCheck size={28} aria-hidden="true" /></span>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <h2>{rows.length ? "当前分组暂无工单" : "暂无待办工单"}</h2>
|
|
|
|
|
+ {!rows.length && <p>有工单分派给你时,会显示在这里。</p>}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ {rows.length > 0 && <Link className="ops-table-action" to={queueUrl("all")} replace state={location.state}>查看全部待办<ArrowRight size={14} aria-hidden="true" /></Link>}
|
|
|
</div> : <div className="ops-table-wrap work-order-mine-scroll" role="region" aria-label="待办工单清单" tabIndex={0}>
|
|
</div> : <div className="ops-table-wrap work-order-mine-scroll" role="region" aria-label="待办工单清单" tabIndex={0}>
|
|
|
<table className="ops-table work-order-mine-table" aria-label="我的待办工单">
|
|
<table className="ops-table work-order-mine-table" aria-label="我的待办工单">
|
|
|
<OpsTableColumns widths={[330, 190, 150, 190, 140]} />
|
|
<OpsTableColumns widths={[330, 190, 150, 190, 140]} />
|