diff --git a/src/components/CustomPages/SK/SK080ShowPrint.js b/src/components/CustomPages/SK/SK080ShowPrint.js
new file mode 100644
index 0000000..b994287
--- /dev/null
+++ b/src/components/CustomPages/SK/SK080ShowPrint.js
@@ -0,0 +1,138 @@
+import { message } from "antd/lib/index";
+import { Button, Descriptions, Popconfirm, Row, Col, Form, Input, Select, Modal } from 'antd';
+import React from 'react';
+import { initFilter, extendRule, extendInclude, extendIgnoreDataRule, setDataFieldValue, guid, showFiles, showUserSign, showFileImg, GetFileModel } from "../../../utils/common";
+import ReactToPrint from "react-to-print";
+import config from "../../../config";
+import XLSX from 'xlsx';
+import { connect } from 'dva';
+import stylesStep from '../HI/StepForm.css';
+import FormPage from '../../FormPage'
+import moment from 'moment';
+class SK080ShowPrint extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ data: null,
+ enumData: null,
+ BtnAgreeDisplay: 'none',
+ fileForm: {
+ title: "",
+ visible: false,
+ },
+ };
+ };
+
+ componentDidMount() {
+ if (this.props.data?.id)
+ this.loadData(this.props.data?.id, this.props.data?.TaskID);
+ }
+
+ componentWillReceiveProps(NextProps) {
+ if (NextProps.data?.id && this.props.data?.id != NextProps.data?.id) {
+ this.loadData(NextProps.data?.id, this.props.data?.TaskID);
+ }
+ }
+
+ BtnClose = () => {
+ if (typeof this.props.data.onCancel != "undefined" && typeof this.props.data.onCancel == 'function')
+ this.props.data.onCancel();
+ }
+
+ loadData = (dataId, taskID) => {
+ let json = initFilter(this.props.login.OrgId);
+ json.Parameter22 = this.props.data.ORG_ID_HV;
+ extendRule(json, 'ID', 1, dataId);
+ extendIgnoreDataRule(json)
+ this.props.dispatch({
+ type: 'app/getDataByPost',
+ payload: json,
+ url: 'SK/SKMajorAccidentHazardManage/SKGet',
+ onComplete: (ret) => {
+ if (ret) {
+ if (this.props.data && this.props.data.loadDataDeal) {
+ this.props.data.loadDataDeal(1);
+ }
+ this.setState({ data: ret })
+ if (this.props.data.tableKey == "2" || this.props.data.tableKey == undefined) {
+ this.setState({ BtnAgreeDisplay: 'none' })
+ } else {
+ this.setState({ BtnAgreeDisplay: 'inline' })
+ }
+ this.onClickApprove(false);
+ }
+
+ }
+ });
+ }
+
+ onTableBtnExport() {
+ let TableWrap = document.getElementById('tableId' + this.props.data.id);
+ let Table = TableWrap.getElementsByTagName('table')[0];
+ const wb = XLSX.utils.table_to_book(Table);
+ XLSX.writeFile(wb, "重大事故隐患治理销号表.xlsx")
+ }
+ onClickApprove = (appVisible) => {
+ const newtmpData = {
+ data: { id: this.props.data.id, isShow: true, key: guid(), param: this.props.data.param, appVisible: appVisible, BtnAgreeDisplay: 'inline' },
+ formCode: "PF123",
+ }
+ this.setState({
+ tmpData: newtmpData,
+ });
+ }
+ render() {
+ const { data } = this.state;
+ const enums = this.props.data.enums ? this.props.data.enums : this.props.app.enums;
+ return
+
+
+ }
+ content={() => this.componentRef}
+ pageStyle=".printDIV { padding:0 40px;} img{width :120px}"
+ />
+
+
+
(this.componentRef = el)} style={{ padding: '20px' }} id={'tableId' + this.props.data.id}>
+
重大事故隐患治理销号表
+ {
+ data ?
+
+
+ {data.CODE}
+ {moment(data.CREATE_TIME).format('YYYY-MM-DD')}
+ {data.Nav_ApplyDepartment ? data.Nav_ApplyDepartment.NAME : ''}
+ {data.Nav_ApplyUser ? data.Nav_ApplyUser.NAME : ''}
+ {data.Nav_RectifyRecord?data.Nav_RectifyRecord?.CODE:''}
+
+ {data.HIDDEN_DESCRIPTION}
+ {data.HIDDEN_REASON}
+ {data.Nav_ChargeUser ? data.Nav_ChargeUser.NAME : ''}
+
+ {
+ data?.Nav_Users && data?.Nav_Users.map((item2, i) => {
+
+ return {(i > 0 ? "," : "") + item2.Nav_User.NAME}
+ })
+ }
+ {data.REVIEW_DESCRIPTION}
+ {
+ showFileImg(data?.Nav_Files, config.picServerHost, this)
+ }
+ {enums.SKReviewResultEnum.enums[data.REVIEW_RESULT]}
+ {data.Nav_MonitorDepart ? data.Nav_MonitorDepart.NAME : ''}
+ {data.MONITOR_OPINION}
+
+
: null
+ }
+
+
+ {
+ GetFileModel(Modal, FormPage, this, this.state.fileForm.visible)
+ }
+
+ }
+
+}
+export default connect(({ login, app }) => ({ login, app }))(SK080ShowPrint)
\ No newline at end of file
diff --git a/src/files/edit/SK080.js b/src/files/edit/SK080.js
new file mode 100644
index 0000000..741e30f
--- /dev/null
+++ b/src/files/edit/SK080.js
@@ -0,0 +1,17 @@
+import { message } from "antd/lib/index";
+import { getPropertyData, extendInclude, extendRule, getDataFieldValue, setDataFieldValue, initFilter, guid } from "../../utils/common";
+import moment from 'moment';
+import FormPage from '../../components/FormPage';
+import ListPage from '../../components/Table/ListPage';
+import ShowModal from '../../components/common/ShowModal';
+import { Button, Row, Col, Form, Input, Select, Upload, Icon, Modal, Spin,Table } from 'antd';
+/**
+ * @return {string}
+ */
+// 编辑
+export default {
+ onBeforeSaveHandleRecord(params) {
+ params.record.TaskID = params.data.TaskID //TaskID传递消息表ID
+ params.record.PUBLISH = params.customParams;
+ },
+}
diff --git a/src/utils/customConfig.js b/src/utils/customConfig.js
index 21693f0..283de77 100644
--- a/src/utils/customConfig.js
+++ b/src/utils/customConfig.js
@@ -264,6 +264,7 @@ const SK039ShowPrint = createLoadableComponent(() => import('../components/Custo
const SK041ShowPrint = createLoadableComponent(() => import('../components/CustomPages/SK/SK041ShowPrint'));
const SK043ShowPrint = createLoadableComponent(() => import('../components/CustomPages/SK/SK043ShowPrint'));
const SK045ShowPrint = createLoadableComponent(() => import('../components/CustomPages/SK/SK045ShowPrint'));
+const SK080ShowPrint = createLoadableComponent(() => import('../components/CustomPages/SK/SK080ShowPrint'));
const BI00FullScreen = createLoadableComponent(() => import('../components/CustomPages/BI/BI00FullScreen'));
const BI064FormRunAnalysis = createLoadableComponent(() => import('../components/CustomPages/BI/BI064FormRunAnalysis'));
@@ -515,6 +516,7 @@ export default function (componentName, formId, formParam, data, formCode, formD
SK041ShowPrint: ,
SK043ShowPrint: ,
SK045ShowPrint: ,
+ SK080ShowPrint: ,
BI00FullScreen: ,
BI064FormRunAnalysis: (