diff --git a/src/components/CustomPages/FM/SelectUser.js b/src/components/CustomPages/FM/SelectUser.js
index d1705f2..0c7df40 100644
--- a/src/components/CustomPages/FM/SelectUser.js
+++ b/src/components/CustomPages/FM/SelectUser.js
@@ -98,7 +98,7 @@ class SelectUser extends React.Component {
jsonUser.Limit=1000;
this.props.dispatch({
type: 'app/getDataByPost',
- url: 'FM/User/OrderPagedAuthority',
+ url: 'FM/User/OrderPagedWithLevel',
payload: jsonUser,
onlyData: false,
onComplete: (ret) => {
diff --git a/src/components/CustomPages/FO/FO019ShowPrint.js b/src/components/CustomPages/FO/FO019ShowPrint.js
index 6668054..f80a43d 100644
--- a/src/components/CustomPages/FO/FO019ShowPrint.js
+++ b/src/components/CustomPages/FO/FO019ShowPrint.js
@@ -1,20 +1,25 @@
import { message } from "antd/lib/index";
-import { Button,Descriptions, Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd';
+import { Button,Descriptions, Modal,Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd';
import React from 'react';
-import { initFilter, extendRule, extendInclude,extendIgnoreDataRule, setDataFieldValue, guid, initQueryFilter } from "../../../utils/common";
+import { initFilter, extendRule, extendInclude,extendIgnoreDataRule, setDataFieldValue, guid,showFiles,GetFileModel, initQueryFilter } from "../../../utils/common";
import ReactToPrint from "react-to-print";
import styles from '../HI/StepForm.css';
import config from "../../../config";
import XLSX from 'xlsx';
import { connect } from 'dva';
import moment from 'moment';
+import FormPage from '../../FormPage'
class FO019ShowPrint extends React.Component {
constructor(props) {
super(props);
this.state = {
data: null,
enumData: null,
- BtnAgreeDisplay: 'none'
+ BtnAgreeDisplay: 'none',
+ fileForm: {
+ title: "",
+ visible: false,
+ },
};
};
@@ -170,6 +175,10 @@ class FO019ShowPrint extends React.Component {
| 交底人签字 |
{
@@ -214,6 +223,9 @@ class FO019ShowPrint extends React.Component {
:null
}
+ {
+ GetFileModel(Modal, FormPage, this, this.state.fileForm.visible)
+ }
}
diff --git a/src/components/CustomPages/FO/FO035ShowPrint.js b/src/components/CustomPages/FO/FO035ShowPrint.js
index 927031b..316d27f 100644
--- a/src/components/CustomPages/FO/FO035ShowPrint.js
+++ b/src/components/CustomPages/FO/FO035ShowPrint.js
@@ -1,20 +1,25 @@
import { message } from "antd/lib/index";
-import { Button,Descriptions, Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd';
+import { Button,Descriptions, Modal,Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd';
import React from 'react';
-import { initFilter, extendRule, extendInclude,extendIgnoreDataRule, setDataFieldValue, guid, initQueryFilter,showUserSign } from "../../../utils/common";
+import { initFilter, extendRule, extendInclude,extendIgnoreDataRule, setDataFieldValue, guid, showFiles,GetFileModel,initQueryFilter,showUserSign } 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 FormPage from '../../FormPage'
class FO035ShowPrint extends React.Component {
constructor(props) {
super(props);
this.state = {
data: null,
enumData: null,
- BtnAgreeDisplay: 'none'
+ BtnAgreeDisplay: 'none',
+ fileForm: {
+ title: "",
+ visible: false,
+ },
};
};
@@ -128,6 +133,7 @@ class FO035ShowPrint extends React.Component {
})
}
{data.DisclosureContent}
+ {showFiles(data.Nav_Files, config.picServerHost, this)}
{
(data.Nav_User && data.Nav_User.FILE_PATH)?
showUserSign(data.Nav_User, config.picServerHost):null
@@ -149,6 +155,9 @@ class FO035ShowPrint extends React.Component {
: null
}
+ {
+ GetFileModel(Modal, FormPage, this, this.state.fileForm.visible)
+ }
}
diff --git a/src/components/CustomPages/FO/FO037ShowPrint.js b/src/components/CustomPages/FO/FO037ShowPrint.js
index c09e93b..ec794b0 100644
--- a/src/components/CustomPages/FO/FO037ShowPrint.js
+++ b/src/components/CustomPages/FO/FO037ShowPrint.js
@@ -1,20 +1,25 @@
import { message } from "antd/lib/index";
-import { Button,Descriptions, Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd';
+import { Button,Descriptions,Modal, Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd';
import React from 'react';
-import { initFilter, extendRule, extendInclude,extendIgnoreDataRule, setDataFieldValue, guid, initQueryFilter,showUserSign } from "../../../utils/common";
+import { initFilter, extendRule, extendInclude,extendIgnoreDataRule, showFiles,GetFileModel,setDataFieldValue, guid, initQueryFilter,showUserSign } 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 FormPage from '../../FormPage'
class FO037ShowPrint extends React.Component {
constructor(props) {
super(props);
this.state = {
data: null,
enumData: null,
- BtnAgreeDisplay: 'none'
+ BtnAgreeDisplay: 'none',
+ fileForm: {
+ title: "",
+ visible: false,
+ },
};
};
@@ -129,6 +134,7 @@ class FO037ShowPrint extends React.Component {
})
}
{data.DisclosureContent}
+ {showFiles(data.Nav_Files, config.picServerHost, this)}
{
(data.Nav_User && data.Nav_User.FILE_PATH)?
showUserSign(data.Nav_User, config.picServerHost):null
@@ -150,6 +156,9 @@ class FO037ShowPrint extends React.Component {
: null
}
+ {
+ GetFileModel(Modal, FormPage, this, this.state.fileForm.visible)
+ }
}
diff --git a/src/components/CustomPages/FO/FO041ShowPrint.js b/src/components/CustomPages/FO/FO041ShowPrint.js
index 5f59a4b..95acd08 100644
--- a/src/components/CustomPages/FO/FO041ShowPrint.js
+++ b/src/components/CustomPages/FO/FO041ShowPrint.js
@@ -95,11 +95,11 @@ class FO041ShowPrint extends React.Component {
return
}
+ trigger={() => }
content={() => this.componentRef}
pageStyle=".printDIV { padding:0 40px;} img{width :120px}"
/>
-
+
diff --git a/src/components/CustomPages/FO/FO043ShowPrint.js b/src/components/CustomPages/FO/FO043ShowPrint.js
index 942f5ee..45992f5 100644
--- a/src/components/CustomPages/FO/FO043ShowPrint.js
+++ b/src/components/CustomPages/FO/FO043ShowPrint.js
@@ -107,11 +107,11 @@ class FO043ShowPrint extends React.Component {
}
+ trigger={() => }
content={() => this.componentRef}
pageStyle=".printDIV { padding:0 40px;} img{width :120px}"
/>
-
+
@@ -141,7 +141,7 @@ class FO043ShowPrint extends React.Component {
{data.JOB_CONTENT}
{data.Nav_Type?.NAME}
{data.JOB_CONTENT}
- {data.Nav_MonitorUser?.NAME}
+ {/* {data.Nav_MonitorUser?.NAME} */}
{data.JOB_DATE}
{data.JOB_END_DATE}
{ data.Nav_Risks && data.Nav_Risks.map((item, i) => {
@@ -259,7 +259,7 @@ class FO043ShowPrint extends React.Component {
}
- = 10?'block':'none'}}>
+ 15?'block':'none'}}>
{
data.COMPLETED_CONTENT
}
diff --git a/src/components/CustomPages/FO/FO045ShowPrint.js b/src/components/CustomPages/FO/FO045ShowPrint.js
index 5a99a84..8dce8ba 100644
--- a/src/components/CustomPages/FO/FO045ShowPrint.js
+++ b/src/components/CustomPages/FO/FO045ShowPrint.js
@@ -107,11 +107,11 @@ class FO045ShowPrint extends React.Component {
}
+ trigger={() => }
content={() => this.componentRef}
pageStyle=".printDIV { padding:0 40px;} img{width :120px}"
/>
-
+
diff --git a/src/components/CustomPages/PF/PFTodayReminder.js b/src/components/CustomPages/PF/PFTodayReminder.js
index 645115b..e85b257 100644
--- a/src/components/CustomPages/PF/PFTodayReminder.js
+++ b/src/components/CustomPages/PF/PFTodayReminder.js
@@ -95,7 +95,7 @@ class PFTodayReminder extends React.Component {
}
{
this.props.data ?
-
+
:null
}
diff --git a/src/components/CustomPages/SK/SK022ShowPrint.js b/src/components/CustomPages/SK/SK022ShowPrint.js
index 5ad6582..39986a2 100644
--- a/src/components/CustomPages/SK/SK022ShowPrint.js
+++ b/src/components/CustomPages/SK/SK022ShowPrint.js
@@ -1,7 +1,7 @@
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, GetFileModel } from "../../../utils/common";
+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';
@@ -163,10 +163,10 @@ class SK022ShowPrint extends React.Component {
{data.RECTIFICATION_MONEY}
{data.COMPLETE_DATE?moment(data.COMPLETE_DATE).format('YYYY-MM-DD'):null}
{
- showFiles(data?.Nav_RectifyPhotoas, config.picServerHost, this)
+ showFileImg(data?.Nav_RectifyPhotoas, config.picServerHost, this)
}
{
- showFiles(data?.Nav_RectifyPhotobs, config.picServerHost, this)
+ showFileImg(data?.Nav_RectifyPhotobs, config.picServerHost, this)
}
{
showFiles(data?.Nav_RectifyFiles, config.picServerHost, this)
@@ -175,13 +175,12 @@ class SK022ShowPrint extends React.Component {
{enums.SKAcceptResultEnum.enums[data.ACCEPT_RESULTE]}
{data.ACCEPT_OPINION}
{
- data.STATUS == 20 &&
data.Nav_RecitifyUser && data.Nav_RecitifyUser.FILE_PATH ?
showUserSign(data.Nav_RecitifyUser, config.picServerHost)
: data.Nav_RecitifyUser ? data.Nav_RecitifyUser.NAME : ''
}
{
- data.STATUS == 30 && data.Nav_AcceptUser && data.Nav_AcceptUser.FILE_PATH ?
+ (data.STATUS == 20 ||data.STATUS == 30)&& data.Nav_AcceptUser && data.Nav_AcceptUser.FILE_PATH ?
showUserSign(data.Nav_RecitifyUser, config.picServerHost)
: data.Nav_AcceptUser ? data.Nav_AcceptUser.NAME : ''
}
diff --git a/src/components/CustomPages/SK/SK035CheckLibrary.js b/src/components/CustomPages/SK/SK035CheckLibrary.js
index 9210b9b..b490e3f 100644
--- a/src/components/CustomPages/SK/SK035CheckLibrary.js
+++ b/src/components/CustomPages/SK/SK035CheckLibrary.js
@@ -80,19 +80,19 @@ class SK035CheckLibrary extends React.Component {
dataIndex: "Nav_Department.NAME",
key: "Nav_Department.NAME",
},
- {
- title: "检查岗位",
- dataIndex: "Nav_DetailPosts",
- key: "Nav_DetailPosts",
- render: (text, record) =>
- {
- return
- }
- },
+ // {
+ // title: "检查岗位",
+ // dataIndex: "Nav_DetailPosts",
+ // key: "Nav_DetailPosts",
+ // render: (text, record) =>
+ // {
+ // return
+ // }
+ // },
{
title: "检查类型",
dataIndex: "Nav_CheckType.NAME",
@@ -161,7 +161,7 @@ class SK035CheckLibrary extends React.Component {
onComplete: (retTemp) => {
if (retTemp) {
let json = initFilter(that.props.login.OrgId);
- extendRule(json, 'MineType', 1, retTemp.MineType);
+ extendRule(json, 'PRODUCTION_UNIT_ID', 1, retTemp.PRODUCTION_UNIT_ID);
extendRule(json, 'AREA_ID', 1, retTemp.AREA_ID);
extendRule(json, 'TYPE_ID', 1, retTemp.TYPE_ID);
extendRule(json, 'RISK_NAME', 1, retTemp.RISK_NAME);
diff --git a/src/components/CustomPages/SK/SK039ShowPrint.js b/src/components/CustomPages/SK/SK039ShowPrint.js
index ace2661..d4d483f 100644
--- a/src/components/CustomPages/SK/SK039ShowPrint.js
+++ b/src/components/CustomPages/SK/SK039ShowPrint.js
@@ -185,7 +185,7 @@ class SK039ShowPrint extends React.Component {
{
//item.MEASURE
item?.Nav_DetailMeasures && item?.Nav_DetailMeasures.map((item2, i) => {
- return {item2?.NUM + item2?.MEASURES_NAME}
+ return {item2?.NUM+"、" + item2?.MEASURES_NAME}
})
}
|
diff --git a/src/components/CustomPages/SK/SK041ShowPrint.js b/src/components/CustomPages/SK/SK041ShowPrint.js
index 9a9972e..4a4512b 100644
--- a/src/components/CustomPages/SK/SK041ShowPrint.js
+++ b/src/components/CustomPages/SK/SK041ShowPrint.js
@@ -185,7 +185,7 @@ class SK041ShowPrint extends React.Component {
{
//item.MEASURE
item?.Nav_DetailMeasures && item?.Nav_DetailMeasures.map((item2, i) => {
- return