From 35973032187c3c0ccf9b38d5a1561f2cf165c4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 18 Oct 2019 14:36:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E5=AE=A1=E6=A0=B8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/tpm/Audit_situationComponent.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/react/src/modules/tpm/Audit_situationComponent.js b/public/react/src/modules/tpm/Audit_situationComponent.js index 90ee53d7c..e138c6ceb 100644 --- a/public/react/src/modules/tpm/Audit_situationComponent.js +++ b/public/react/src/modules/tpm/Audit_situationComponent.js @@ -12,6 +12,16 @@ class Audit_situationComponent extends Component { this.state = { } } + + componentDidMount(){ + let url=`/shixuns/${this.props.match.params.shixunId}/review_newest_record.json`; + axios.get(url).then((response) => { + console.log(response) + + }).catch((error) => { + console.log(error) + }); + } showModal = () => { this.setState({ visible: true,