准备合并代码

master
blak-kong 2 years ago
parent 0e2d775ebe
commit 9c83b1d9bf

@ -87,14 +87,10 @@ export default class InstrumentClickInUpload extends Component<any, any> {
let instrumentDetail = JSON.parse(objStr); let instrumentDetail = JSON.parse(objStr);
this.setState({ instrumentDetail }); this.setState({ instrumentDetail });
} }
const searchParams = new URLSearchParams(window.location.search);
const id = searchParams.get("id");
setTimeout(() => { setTimeout(() => {
this.firstNurseInfo(); this.firstNurseInfo();
this.getLatestClockRecord(); this.getLatestClockRecord();
this.modeInfoList(id); this.modeInfoList(this.state.instrumentDetail.id);
}, 10); }, 10);
} }

Loading…
Cancel
Save