|
@@ -59,6 +59,10 @@ export function CustomerPlanPage() {
|
|
|
const customerNo = customerNoParam || identity?.customerNo || "";
|
|
const customerNo = customerNoParam || identity?.customerNo || "";
|
|
|
const board = useLoad(() => portalPlanBoard({ view: "board" }), []);
|
|
const board = useLoad(() => portalPlanBoard({ view: "board" }), []);
|
|
|
const data = board.data;
|
|
const data = board.data;
|
|
|
|
|
+ const notes = data?.notes.filter((note) =>
|
|
|
|
|
+ note !== "两表合计即该客户的全部订阅;单客户行量为个位到几十 ⇒ 整表一次返回、不分页。"
|
|
|
|
|
+ && note !== "状态由期间派生并由日终任务刷,本页只读结果,⛔ 在读时现算。"
|
|
|
|
|
+ ) ?? [];
|
|
|
|
|
|
|
|
const sections = data && [
|
|
const sections = data && [
|
|
|
{ id: "current-plans", title: "当前套餐", rows: data.current_rows, icon: Layers3, empty: "暂无当前套餐" },
|
|
{ id: "current-plans", title: "当前套餐", rows: data.current_rows, icon: Layers3, empty: "暂无当前套餐" },
|
|
@@ -125,10 +129,10 @@ export function CustomerPlanPage() {
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
</div>
|
|
</div>
|
|
|
- <p className="portal-plan-note" role="note"><Info size={14} aria-hidden="true" />{data.amount_note}</p>
|
|
|
|
|
</section>
|
|
</section>
|
|
|
))}
|
|
))}
|
|
|
- {data.notes.length > 0 && <ul className="portal-plan-notes" role="note">{data.notes.map((note) => <li key={note}>{note}</li>)}</ul>}
|
|
|
|
|
|
|
+ {notes.length > 0 && <ul className="portal-plan-notes" role="note">{notes.map((note) => <li key={note}>{note}</li>)}</ul>}
|
|
|
|
|
+ <p className="portal-plan-note" role="note"><Info size={14} aria-hidden="true" />{data.amount_note}</p>
|
|
|
</div>}
|
|
</div>}
|
|
|
</section>;
|
|
</section>;
|
|
|
}
|
|
}
|