文件查看
This commit is contained in:
parent
c7abdfb37d
commit
4449771d36
@ -1,7 +1,7 @@
|
|||||||
import { message } from "antd/lib/index";
|
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 { Button, Popconfirm, Row, Col, Checkbox, Radio, Form, Input, Select, Table, Upload, Icon, PageHeader, Modal, Spin } from 'antd';
|
||||||
import React from 'react';
|
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 ReactToPrint from "react-to-print";
|
||||||
import styles from '../../CustomPages/HI/StepForm.css';
|
import styles from '../../CustomPages/HI/StepForm.css';
|
||||||
import SEstyles from './SE.css';
|
import SEstyles from './SE.css';
|
||||||
@ -9,6 +9,7 @@ import XLSX from 'xlsx';
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import configc from "../../../config.js";
|
import configc from "../../../config.js";
|
||||||
|
import FormPage from '../../../components/FormPage'
|
||||||
|
|
||||||
const Option = Select.Option;
|
const Option = Select.Option;
|
||||||
const answer = {
|
const answer = {
|
||||||
@ -46,7 +47,12 @@ class SE018PaperPage extends React.Component {
|
|||||||
btnText: '提交问卷', //'下一题'
|
btnText: '提交问卷', //'下一题'
|
||||||
perPaper: [], //每次的答题 wyw 20260306
|
perPaper: [], //每次的答题 wyw 20260306
|
||||||
listPath: [],
|
listPath: [],
|
||||||
indexCour: -1 //课件
|
indexCour: -1, //课件,
|
||||||
|
fileData: [],
|
||||||
|
fileForm: {
|
||||||
|
title: "",
|
||||||
|
visible: false,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
@ -511,6 +517,7 @@ class SE018PaperPage extends React.Component {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
<FormPage {...this.state.tmpData} />
|
||||||
<div ref={el => (this.componentRef = el)} id={'tableId' + this.props.data.id}>
|
<div ref={el => (this.componentRef = el)} id={'tableId' + this.props.data.id}>
|
||||||
<h1 style={{ textAlign: 'center' }}>培训在线答题</h1>
|
<h1 style={{ textAlign: 'center' }}>培训在线答题</h1>
|
||||||
<Spin spinning={this.state.loading}>
|
<Spin spinning={this.state.loading}>
|
||||||
@ -685,6 +692,9 @@ class SE018PaperPage extends React.Component {
|
|||||||
</table>
|
</table>
|
||||||
</Spin>
|
</Spin>
|
||||||
</div>
|
</div>
|
||||||
|
{
|
||||||
|
GetFileModel(Modal, FormPage, this, this.state.fileForm.visible)
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user