|
@@ -106,7 +106,7 @@ function B1tab1({ topType, setTopType }: Props) {
|
|
|
return [
|
|
|
{
|
|
|
title: "站址地区",
|
|
|
- render: (item: B1tableAreaType) => item.id || "空",
|
|
|
+ render: (item: B1tableAreaType) => item.cityAll || "空",
|
|
|
},
|
|
|
{
|
|
|
title: "机房总数",
|
|
@@ -152,16 +152,16 @@ function B1tab1({ topType, setTopType }: Props) {
|
|
|
<Button
|
|
|
size="small"
|
|
|
type="text"
|
|
|
- disabled={!item.id}
|
|
|
- onClick={() => setModalTitle(item.id)}
|
|
|
+ disabled={!item.cityAll}
|
|
|
+ onClick={() => setModalTitle(item.cityAll)}
|
|
|
>
|
|
|
按日期查看
|
|
|
</Button>
|
|
|
<Button
|
|
|
size="small"
|
|
|
type="text"
|
|
|
- disabled={!item.id}
|
|
|
- onClick={() => setTopTypeFu("机房", item.id)}
|
|
|
+ disabled={!item.cityAll}
|
|
|
+ onClick={() => setTopTypeFu("机房", item.cityAll)}
|
|
|
>
|
|
|
按机房查看
|
|
|
</Button>
|
|
@@ -183,7 +183,7 @@ function B1tab1({ topType, setTopType }: Props) {
|
|
|
{
|
|
|
sheetData: B1TableList.list.map((v: B1tableAreaType) => ({
|
|
|
...v,
|
|
|
- id: v.id || "(空)",
|
|
|
+ id: v.cityAll || "(空)",
|
|
|
})),
|
|
|
sheetName: name,
|
|
|
sheetFilter: [
|