import { Button, Descriptions,Popconfirm, Row, Col, Form,Modal, Input, Select, Table } from 'antd'; import React , { useState }from 'react'; import { initFilter, extendRule, extendInclude, extendIgnoreDataRule,setDataFieldValue,GetFileModel, guid, initQueryFilter,showFiles } from "../../../utils/common"; import ReactToPrint from "react-to-print"; import stylesStep from '../HI/StepForm.css'; import config from "../../../config"; import XLSX from 'xlsx'; import { connect } from 'dva'; import moment from 'moment'; import { message } from "antd/lib/index"; import FormPage from '../../../components/FormPage' import DropDownPagination from '../../common/DropDownPaginationEx' class SK004CheckPost extends React.Component { constructor(props) { super(props); this.state = { fileForm: { title: "", visible: false, }, inputText:"", inputText2:"", inputText3:"", departId:null, data: {}, depart: {}, departName:'', postName:'', phone:'', post: {}, cards: {}, dataList: [], MineType:0, CHECK_CYCLE:0, CHECK_TYPE:0, CHECK_CYCLE_ID:null, BtnAgreeDisplay: 'none', showDetail:false, Details:[], columns : [ { title: '序号', dataIndex: 'NUM', key: "NUM", render: (text, record, index) => { return } }, { title: "生产单元", dataIndex: "Nav_ProductionUnit.NAME", key: "Nav_ProductionUnit.NAME", // render: (text, record, index) => { // return // } }, { title: "辨识区域", dataIndex: "Nav_Area.NAME", key: "Nav_Area.NAME", }, { title: "风险名称", dataIndex: "RISK_NAME", key: "RISK_NAME", }, { title: "风险描述", dataIndex: "RISK_DESCRIPTION", key: "RISK_DESCRIPTION", }, { title: "风险类别", dataIndex: "Nav_Type.NAME", key: "Nav_Type.NAME", }, // { // title: "风险评价L", // dataIndex: "EVALUATE_L", // key: "EVALUATE_L", // }, // { // title: "风险评价E", // dataIndex: "EVALUATE_E", // key: "EVALUATE_E", // }, // { // title: "风险评价C", // dataIndex: "EVALUATE_C", // key: "EVALUATE_C", // }, // { // title: "分值D", // dataIndex: "EVALUATE_SCORE", // key: "EVALUATE_SCORE", // }, { title: "风险等级", dataIndex: "EVALUATE_LEVEL", key: "EVALUATE_LEVEL", render: (text, record, index) => { return } }, // { // title: '操作', // dataIndex: '', // key: '', // render: (text, record, index) => { // return