|
@@ -369,6 +369,7 @@ function B1tab1({ topType, setTopType }: Props, ref: any) {
|
|
|
<div className="B1topRow">
|
|
|
<span>场景审核:</span>
|
|
|
<Select
|
|
|
+ disabled={!tableSelect.isUploadScene}
|
|
|
style={{ width: 200 }}
|
|
|
value={tableSelect.auditStatus}
|
|
|
onChange={(e) =>
|
|
@@ -380,6 +381,7 @@ function B1tab1({ topType, setTopType }: Props, ref: any) {
|
|
|
<div className="B1topRow">
|
|
|
<span>场景推送:</span>
|
|
|
<Select
|
|
|
+ disabled={!tableSelect.isUploadScene}
|
|
|
style={{ width: 200 }}
|
|
|
value={tableSelect.pushStatus}
|
|
|
onChange={(e) =>
|
|
@@ -391,6 +393,7 @@ function B1tab1({ topType, setTopType }: Props, ref: any) {
|
|
|
<div className="B1topRow">
|
|
|
<span>Json推送:</span>
|
|
|
<Select
|
|
|
+ disabled={!tableSelect.isUploadScene}
|
|
|
style={{ width: 200 }}
|
|
|
value={tableSelect.jsonStatus}
|
|
|
onChange={(e) =>
|
|
@@ -406,6 +409,10 @@ function B1tab1({ topType, setTopType }: Props, ref: any) {
|
|
|
setTableSelect({
|
|
|
...tableSelect,
|
|
|
isUploadScene: e.target.checked ? 0 : 1,
|
|
|
+ // 把 场景审核 场景推送 Json推送变成初始值
|
|
|
+ auditStatus: "",
|
|
|
+ pushStatus: "",
|
|
|
+ jsonStatus: "",
|
|
|
});
|
|
|
}}
|
|
|
>
|