From 4449771d36bb90636516a5dac472730220a5dcd2 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Mon, 9 Mar 2026 16:48:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/SE/SE018PaperPage.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/CustomPages/SE/SE018PaperPage.js b/src/components/CustomPages/SE/SE018PaperPage.js index 8811f65..68bba33 100644 --- a/src/components/CustomPages/SE/SE018PaperPage.js +++ b/src/components/CustomPages/SE/SE018PaperPage.js @@ -1,7 +1,7 @@ import { message } from "antd/lib/index"; import { Button, Popconfirm, Row, Col, Checkbox, Radio, Form, Input, Select, Table, Upload, Icon, PageHeader, Modal, Spin } from 'antd'; import React from 'react'; -import { initFilter, extendRule, extendInclude, setDataFieldValue, guid, initQueryFilter, showFiles, getFileShow } from "../../../utils/common"; +import { initFilter, extendRule, extendInclude, setDataFieldValue, guid, initQueryFilter, GetFileModel, showFiles, getFileShow } from "../../../utils/common"; import ReactToPrint from "react-to-print"; import styles from '../../CustomPages/HI/StepForm.css'; import SEstyles from './SE.css'; @@ -9,6 +9,7 @@ import XLSX from 'xlsx'; import { connect } from 'dva'; import moment from 'moment'; import configc from "../../../config.js"; +import FormPage from '../../../components/FormPage' const Option = Select.Option; const answer = { @@ -46,7 +47,12 @@ class SE018PaperPage extends React.Component { btnText: '提交问卷', //'下一题' perPaper: [], //每次的答题 wyw 20260306 listPath: [], - indexCour: -1 //课件 + indexCour: -1, //课件, + fileData: [], + fileForm: { + title: "", + visible: false, + }, }; }; componentDidMount() { @@ -511,6 +517,7 @@ class SE018PaperPage extends React.Component { ) } +
(this.componentRef = el)} id={'tableId' + this.props.data.id}>

培训在线答题

@@ -685,6 +692,9 @@ class SE018PaperPage extends React.Component {
+ { + GetFileModel(Modal, FormPage, this, this.state.fileForm.visible) + } } }