From 2b705c7c3cfa264abefd3520e856a6880651513c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Fri, 5 Dec 2025 01:20:42 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/files/edit/SK033.js | 9 +++++++++ src/files/list/SK066.js | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/files/edit/SK033.js b/src/files/edit/SK033.js index c185586..2ff0859 100644 --- a/src/files/edit/SK033.js +++ b/src/files/edit/SK033.js @@ -71,6 +71,14 @@ export default { if(login.tempDatas && login.tempDatas.length>0) { login.tempDatas.map(item=>{ + let mesList=[] + item.Nav_Details.map(t=>{ + let mes={ + NUM:t.NUM, + MEASURE:t.MEASURES_NAME + } + mesList.push(mes) + }) let tmpData = { ID:guid(), MineType: item.MineType, @@ -89,6 +97,7 @@ export default { MARK:10, ENABLE_STATUS:0, Nav_ProductionUnit: item.Nav_ProductionUnit, + Nav_DetailMeasures:mesList.sort((x, y) => x.NUM > y.NUM ? 1 : -1) } if(stateData && stateData.Nav_Details) { diff --git a/src/files/list/SK066.js b/src/files/list/SK066.js index 63126a8..e1467e6 100644 --- a/src/files/list/SK066.js +++ b/src/files/list/SK066.js @@ -41,7 +41,8 @@ export default { EVALUATE_LEVEL:item.EVALUATE_LEVEL, MARK:0, ENABLE_STATUS:0, - Nav_ProductionUnit:item.Nav_ProductionUnit + Nav_ProductionUnit:item.Nav_ProductionUnit, + Nav_Details:item.Nav_Details } temps.push(tmpData); }); From 62f923cb8899ebd6fe2fefebe1f45a204d8198d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Fri, 5 Dec 2025 12:20:34 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E4=BB=8A=E6=97=A5=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/PF/PFTodayReminder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } From 0ed97dbe467a5a0b2f71e4f298c710f7cb20e299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Fri, 5 Dec 2025 19:14:14 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E8=BE=A8=E8=AF=86=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/SK/SK039ShowPrint.js | 2 +- src/components/CustomPages/SK/SK041ShowPrint.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {item2?.NUM +item2?.MEASURES_NAME} + return {item2?.NUM +"、"+item2?.MEASURES_NAME} }) } From 2307f385631271fd2a099359d1447eb71bd5ea9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Fri, 5 Dec 2025 23:04:24 +0800 Subject: [PATCH 4/9] =?UTF-8?q?=E5=8A=A0=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/FO/FO019ShowPrint.js | 18 +++++++++++++++--- .../CustomPages/FO/FO035ShowPrint.js | 15 ++++++++++++--- .../CustomPages/FO/FO037ShowPrint.js | 15 ++++++++++++--- 3 files changed, 39 insertions(+), 9 deletions(-) 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 { 交底内容 {data.DisclosureContent} + + 附件 + {showFiles(data.Nav_Files, config.picServerHost, this)} + 交底人签字 { @@ -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) + } } From 1a6ac85749eda25b0326993c1205e9b88927f3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Sat, 6 Dec 2025 12:15:45 +0800 Subject: [PATCH 5/9] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/SK/SK035CheckLibrary.js | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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); From 022e4d73fd8d4ba5460f662d838d1383772bb9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Sat, 6 Dec 2025 16:46:36 +0800 Subject: [PATCH 6/9] =?UTF-8?q?=E8=BD=AC=E5=8A=9E=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/FM/SelectUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => { From 17f356053eea26b4b9489546c413ef138ca0b58a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Sun, 7 Dec 2025 12:08:04 +0800 Subject: [PATCH 7/9] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/files/edit/SK070.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/files/edit/SK070.js b/src/files/edit/SK070.js index 517779a..72cfe02 100644 --- a/src/files/edit/SK070.js +++ b/src/files/edit/SK070.js @@ -49,11 +49,11 @@ export default { message.error("请选择检查部门!") return } - if(!stateData.POST_ID) - { - message.error("请选择检查对象!") - return - } + // if(!stateData.POST_ID) + // { + // message.error("请选择检查对象!") + // return + // } if(!stateData.CHECK_TYPE) { message.error("请选择检查层级!") From 655a89144fd5165310cd8731c328b8f2de8b6fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Wed, 10 Dec 2025 17:07:08 +0800 Subject: [PATCH 8/9] =?UTF-8?q?=E6=95=B4=E6=94=B9=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=EF=BC=8C=E5=8A=A8=E7=81=AB=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/FO/FO043ShowPrint.js | 4 ++-- src/components/CustomPages/SK/SK022ShowPrint.js | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/CustomPages/FO/FO043ShowPrint.js b/src/components/CustomPages/FO/FO043ShowPrint.js index 942f5ee..5844415 100644 --- a/src/components/CustomPages/FO/FO043ShowPrint.js +++ b/src/components/CustomPages/FO/FO043ShowPrint.js @@ -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/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 : '' } From 1de26aa1ebe454461934277ef3a1e4e6371b3b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Wed, 10 Dec 2025 17:22:19 +0800 Subject: [PATCH 9/9] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/FO/FO041ShowPrint.js | 4 ++-- src/components/CustomPages/FO/FO043ShowPrint.js | 4 ++-- src/components/CustomPages/FO/FO045ShowPrint.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 5844415..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}" /> - +
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}" /> - +