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) + } } }