|
@ -86,7 +86,7 @@ function AuditConf() { |
|
|
const [currentEvidence, setCurrentEvidence] = useState(""); |
|
|
const [currentEvidence, setCurrentEvidence] = useState(""); |
|
|
|
|
|
|
|
|
const [loading, setLoading] = useState(false); |
|
|
const [loading, setLoading] = useState(false); |
|
|
const [currentOperator, setCurrentOperator] = useState(""); |
|
|
|
|
|
|
|
|
const [currentOperator, setCurrentOperator] = useState("0"); |
|
|
const [deleteConfirm, setDeleteConfirm] = useState(false); |
|
|
const [deleteConfirm, setDeleteConfirm] = useState(false); |
|
|
const [currentOperatorName, setCurrentOperatorName] = useState(""); |
|
|
const [currentOperatorName, setCurrentOperatorName] = useState(""); |
|
|
const [treeData, setTreeData] = useState([]); |
|
|
const [treeData, setTreeData] = useState([]); |
|
@ -144,14 +144,14 @@ function AuditConf() { |
|
|
}) |
|
|
}) |
|
|
.catch((err) => message.warn(err)); |
|
|
.catch((err) => message.warn(err)); |
|
|
} |
|
|
} |
|
|
useEffect(() => { |
|
|
|
|
|
console.log(getValueId); |
|
|
|
|
|
if (getValueId =='' || getValueId == '0') { |
|
|
|
|
|
setGetDisable(true) |
|
|
|
|
|
}else{ |
|
|
|
|
|
setGetDisable(false) |
|
|
|
|
|
} |
|
|
|
|
|
}, [getValueId]) |
|
|
|
|
|
|
|
|
// useEffect(() => { |
|
|
|
|
|
// console.log(getValueId); |
|
|
|
|
|
// if (getValueId =='' || getValueId == '0') { |
|
|
|
|
|
// setGetDisable(true) |
|
|
|
|
|
// }else{ |
|
|
|
|
|
// setGetDisable(false) |
|
|
|
|
|
// } |
|
|
|
|
|
// }, [getValueId]) |
|
|
//删除单个稽查取证 |
|
|
//删除单个稽查取证 |
|
|
function deleteEvidence(id) { |
|
|
function deleteEvidence(id) { |
|
|
ajax |
|
|
ajax |
|
@ -245,7 +245,7 @@ function AuditConf() { |
|
|
<span className="letter">条结果</span> |
|
|
<span className="letter">条结果</span> |
|
|
</span> |
|
|
</span> |
|
|
<Button |
|
|
<Button |
|
|
disabled={getDisable} |
|
|
|
|
|
|
|
|
// disabled={getDisable} |
|
|
type="primary" |
|
|
type="primary" |
|
|
onClick={() => { |
|
|
onClick={() => { |
|
|
setAddModal(true); |
|
|
setAddModal(true); |
|
|