|
|
@@ -1062,10 +1062,10 @@ export function OperatorManagementPage() {
|
|
|
const data = useOrganizationData(["regions", "operators"]);
|
|
|
useOrganizationDemand(["enterprises"]);
|
|
|
const tableOverflow = useHorizontalOverflow();
|
|
|
- const minimumWidths = [122, 98, 140, 80, 80, 86, 108, 188];
|
|
|
+ const minimumWidths = [112, 88, 130, 76, 88, 92, 116, 200];
|
|
|
const minimumTableWidth = minimumWidths.reduce((sum, width) => sum + width, 0);
|
|
|
const extraWidth = Math.max(0, tableOverflow.width - minimumTableWidth);
|
|
|
- const extraShares = [.43, .33, 0, 0, .24, 0, 0, 0];
|
|
|
+ const extraShares = [.18, .12, 0, 0, .29, .10, .15, .16];
|
|
|
const columnWidths = minimumWidths.map((width, index) => width + extraWidth * extraShares[index]);
|
|
|
const [query, setQuery] = useState("");
|
|
|
const regionIds = useMemo(() => new Set(data.regions.map((item) => item.id)), [data.regions]);
|
|
|
@@ -1160,7 +1160,7 @@ export function OperatorManagementPage() {
|
|
|
const shareLabel = o.sharePending ? "未配置" : `${shareText(o)} · ${o.shareMode}`;
|
|
|
const accountOpened = o.account !== "未开通";
|
|
|
return <tr className={selected === o.id ? "selected" : ""} key={o.id} tabIndex={0} aria-label={`查看${regionPath(data, o.region)}${o.name}档案`} onKeyDown={(event) => { if (event.key === "Enter" && event.target === event.currentTarget) setSelected(o.id); }} onClick={() => setSelected(o.id)}>
|
|
|
- <td className="org-operator-identity"><strong title={o.name}>{o.name}</strong>{o.brand && <small>{o.brand}</small>}</td>
|
|
|
+ <td className="org-operator-identity"><span className="org-operator-name" title={o.name}>{o.name}</span>{o.brand && <small>{o.brand}</small>}</td>
|
|
|
<td title={regionPath(data, o.region)}>{regionPath(data, o.region)}</td>
|
|
|
<td><span className="org-operator-value" title={reconcileDayTitle(o, defaultDay)}>{reconcileDayText(o, defaultDay)}</span></td>
|
|
|
<td title={o.payCycle || undefined}>{o.payCycle || "未配置"}</td>
|