From 72925dcc891c2b2cf5591ae89ab5260e41054629 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Fri, 13 Mar 2026 15:50:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E9=A2=98=20=E5=AE=A1=E9=98=85?= =?UTF-8?q?=E4=B8=AD=20=E4=B9=8B=E5=90=8E=E6=89=8D=E8=83=BD=E7=9C=8B?= =?UTF-8?q?=E7=AD=94=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/SE/SE018PaperPage.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/components/CustomPages/SE/SE018PaperPage.js b/src/components/CustomPages/SE/SE018PaperPage.js index 68bba33..555312d 100644 --- a/src/components/CustomPages/SE/SE018PaperPage.js +++ b/src/components/CustomPages/SE/SE018PaperPage.js @@ -48,6 +48,7 @@ class SE018PaperPage extends React.Component { perPaper: [], //每次的答题 wyw 20260306 listPath: [], indexCour: -1, //课件, + STATUS_RECORD: 1,//培训记录状态 2 审阅中 、3 归档 可查看答案是否正确 fileData: [], fileForm: { title: "", @@ -183,6 +184,7 @@ class SE018PaperPage extends React.Component { isCourEdit = true //考试 有 课件 this.state.listPath = ret.listPath } + let STATUS_RECORD = ret.STATUS_RECORD if (ret.listPath.length > 1) { this.state.btnText = '下一题' } @@ -215,6 +217,7 @@ class SE018PaperPage extends React.Component { isCourEdit: isCourEdit, listPath: this.state.listPath, btnText: this.state.btnText, + STATUS_RECORD: STATUS_RECORD }) if (isCourEdit == true) { this.onSave() @@ -477,7 +480,7 @@ class SE018PaperPage extends React.Component { } } render() { - const { record, perPaper, SelUsrID, UserList, notify, btnText, filepath, isViedo, isCourEdit, isVideoEnd, filepathf } = this.state; + const { record, perPaper, SelUsrID, UserList, notify, btnText, filepath, isViedo, isCourEdit, isVideoEnd, filepathf, STATUS_RECORD } = this.state; const SelUsr = SelUsrID && UserList.find(it => it.ID === SelUsrID); return