|
@@ -130,7 +130,7 @@ function B3Push() {
|
|
|
? "(空)"
|
|
|
: `${item.province} - ${item.city}`,
|
|
|
},
|
|
|
- // 待完善
|
|
|
+ // 待完善
|
|
|
{
|
|
|
title: "项目经理",
|
|
|
render: (item: B3tableType) => {
|
|
@@ -211,6 +211,11 @@ function B3Push() {
|
|
|
title: "操作",
|
|
|
render: (item: B3tableType) => (
|
|
|
<Button
|
|
|
+ disabled={
|
|
|
+ item.pushStatus === 2 &&
|
|
|
+ item.pushLinkStatus === 2 &&
|
|
|
+ item.jsonStatus === 2
|
|
|
+ }
|
|
|
size="small"
|
|
|
type="text"
|
|
|
onClick={() => pushFu(item.sceneCode)}
|
|
@@ -301,7 +306,7 @@ function B3Push() {
|
|
|
请确定是否推送所选文件?
|
|
|
<br /> 当前共选中{pushsTit.current[0]}个机房编码 <br />共
|
|
|
{pushsTit.current[1]}个场景可推送,{pushsTit.current[2]}
|
|
|
- 个Json文件可推送
|
|
|
+ 个链接可推送,{pushsTit.current[3]}个Json文件可推送
|
|
|
</>
|
|
|
}
|
|
|
okText="推送"
|
|
@@ -342,12 +347,16 @@ function B3Push() {
|
|
|
pushsTit.current = [
|
|
|
arr.length,
|
|
|
arr.filter((v) => v.pushStatus !== 2).length,
|
|
|
+ arr.filter((v) => v.pushLinkStatus !== 2).length,
|
|
|
arr.filter((v) => v.jsonStatus !== 2).length,
|
|
|
];
|
|
|
},
|
|
|
getCheckboxProps: (item) => {
|
|
|
return {
|
|
|
- disabled: item.pushStatus === 2 && item.jsonStatus === 2,
|
|
|
+ disabled:
|
|
|
+ item.pushStatus === 2 &&
|
|
|
+ item.pushLinkStatus === 2 &&
|
|
|
+ item.jsonStatus === 2,
|
|
|
};
|
|
|
},
|
|
|
}}
|