From 7a51b8c3ccd176c4ad37f0a9e8d2c897e14788f7 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Mon, 22 Dec 2025 15:33:31 +0800 Subject: [PATCH] json.Parameter22 = this.props.data.ORG_ID_HV; --- .../CustomPages/SE/SE001EditPage.js | 3 +- .../CustomPages/SE/SE005ReportEdit.js | 2 ++ .../CustomPages/SE/SE005ShowPrint.js | 3 +- src/components/CustomPages/SE/SE007AllView.js | 5 +-- .../CustomPages/SE/SE007ShowPrint.js | 3 +- .../CustomPages/SE/SE009ShowPrint.js | 34 ++++++++++--------- .../CustomPages/SE/SE011ShowPrint.js | 1 + .../CustomPages/SE/SE013ShowPrint.js | 2 +- .../CustomPages/SE/SE015ShowPrint.js | 3 ++ .../CustomPages/SE/SE018EditPage.js | 3 ++ .../CustomPages/SE/SE018PaperPage.js | 2 ++ .../CustomPages/SE/SE019ShowPrint.js | 1 + .../CustomPages/SE/SE021ShowPrint.js | 1 + .../CustomPages/SE/SE049ShowPrint.js | 1 + .../CustomPages/SE/SE051ShowPrint.js | 1 + .../CustomPages/SE/SE061ShowPrint.js | 1 + .../CustomPages/SE/SE062ShowPrint.js | 2 ++ .../CustomPages/SE/SE063ShowPrint.js | 1 + .../CustomPages/SE/SE071ShowPrint.js | 1 + src/components/CustomPages/SE/SEConfigPage.js | 1 + .../CustomPages/SE/SESafeSurveyTest.js | 2 ++ .../CustomPages/SK/SK002CheckList.js | 1 + .../CustomPages/SK/SK002ShowPrint.js | 1 + 23 files changed, 53 insertions(+), 22 deletions(-) diff --git a/src/components/CustomPages/SE/SE001EditPage.js b/src/components/CustomPages/SE/SE001EditPage.js index 9faa25e..176fa2d 100644 --- a/src/components/CustomPages/SE/SE001EditPage.js +++ b/src/components/CustomPages/SE/SE001EditPage.js @@ -99,6 +99,7 @@ class SE001EditPage extends React.Component { if (this.props.data.id == "") return; let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); extendInclude(json, 'Nav_Posts'); extendInclude(json, 'Nav_Posts.Nav_Post'); @@ -287,7 +288,7 @@ class SE001EditPage extends React.Component { onComplete: (ret) => { if (ret) { message.success('保存成功!'); - if (this.state.data.CREATE_TIME==undefined) { + if (this.state.data.CREATE_TIME == undefined) { this.state.data = {}; this.state.TYPE = null; this.state.NAME = ""; diff --git a/src/components/CustomPages/SE/SE005ReportEdit.js b/src/components/CustomPages/SE/SE005ReportEdit.js index 6128f95..67d8a88 100644 --- a/src/components/CustomPages/SE/SE005ReportEdit.js +++ b/src/components/CustomPages/SE/SE005ReportEdit.js @@ -44,6 +44,7 @@ class SE005ReportEdit extends React.Component { } loadList = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; this.setState({ loading: true }) this.props.dispatch({ @@ -74,6 +75,7 @@ class SE005ReportEdit extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; json.Parameter3 = this.state.type; if (this.state.ALL) { diff --git a/src/components/CustomPages/SE/SE005ShowPrint.js b/src/components/CustomPages/SE/SE005ShowPrint.js index 6e1bfa8..451ecea 100644 --- a/src/components/CustomPages/SE/SE005ShowPrint.js +++ b/src/components/CustomPages/SE/SE005ShowPrint.js @@ -37,6 +37,7 @@ class SE005ShowPrint extends React.Component { if (this.props.data.id == "") return; let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; extendRule(json, 'ID', 1, this.props.data.id); extendInclude(json, 'Nav_LaunchDepartment'); @@ -91,7 +92,7 @@ class SE005ShowPrint extends React.Component {
(this.componentRef = el)} id={'tableId' + this.props.data.id} style={{ padding: '20px' }}> -

安全意识调查问卷

+

安全意识调查问卷

diff --git a/src/components/CustomPages/SE/SE007AllView.js b/src/components/CustomPages/SE/SE007AllView.js index de2e9d9..b8ad024 100644 --- a/src/components/CustomPages/SE/SE007AllView.js +++ b/src/components/CustomPages/SE/SE007AllView.js @@ -15,7 +15,7 @@ class SE007AllView extends React.Component { data: null, total: 0, reportCount: 0, - year:new Date().getFullYear(), + year: new Date().getFullYear(), }; }; @@ -28,6 +28,7 @@ class SE007AllView extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId, '', null, null); + json.Parameter22 = this.props.data.ORG_ID_HV; json.PageIndex = 1; json.Limit = 100; json.Start = 0; @@ -129,7 +130,7 @@ class SE007AllView extends React.Component { content={() => this.componentRef} /> - this.onChange(evt.target.value)} placeholder="统计年份" value={this.state.year}/> + this.onChange(evt.target.value)} placeholder="统计年份" value={this.state.year} /> diff --git a/src/components/CustomPages/SE/SE007ShowPrint.js b/src/components/CustomPages/SE/SE007ShowPrint.js index efd3558..d0d9652 100644 --- a/src/components/CustomPages/SE/SE007ShowPrint.js +++ b/src/components/CustomPages/SE/SE007ShowPrint.js @@ -53,6 +53,7 @@ class SE007ShowPrint extends React.Component { if (this.props.data.id == "") return; let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); extendSelectField(json, 'NAME'); extendSelectField(json, 'LAUNCH_TIME'); @@ -67,7 +68,7 @@ class SE007ShowPrint extends React.Component { extendSelectField(json, 'Nav_Demands.OK'); extendSelectField(json, 'Nav_Demands.OTHER'); extendSelectField(json, 'Nav_Demands.Nav_User.NAME'); - + this.props.dispatch({ type: 'app/getDataByPost', payload: json, diff --git a/src/components/CustomPages/SE/SE009ShowPrint.js b/src/components/CustomPages/SE/SE009ShowPrint.js index 91f556e..1cbc193 100644 --- a/src/components/CustomPages/SE/SE009ShowPrint.js +++ b/src/components/CustomPages/SE/SE009ShowPrint.js @@ -1,7 +1,7 @@ import { message } from "antd/lib/index"; import { Button, Popconfirm, Row, Col, Form, Input, Select, Table } from 'antd'; import React from 'react'; -import { initFilter, extendRule, extendInclude, setDataFieldValue, guid, initQueryFilter,extendOrder } from "../../../utils/common"; +import { initFilter, extendRule, extendInclude, setDataFieldValue, guid, initQueryFilter, extendOrder } from "../../../utils/common"; import ReactToPrint from "react-to-print"; import styles from '../../CustomPages/HI/StepForm.css'; import XLSX from 'xlsx'; @@ -38,6 +38,7 @@ class SE009ShowPrint extends React.Component { return; } let json = initFilter(this.props.login.OrgId, data.ID); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Parameter1 = ok ? '1' : '0' json.OrgType = 2; this.props.dispatch({ @@ -59,6 +60,7 @@ class SE009ShowPrint extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); extendInclude(json, 'Nav_LaunchDepartment'); extendInclude(json, 'Nav_LaunchUser'); @@ -74,7 +76,7 @@ class SE009ShowPrint extends React.Component { url: 'SE/DepTrainPlan/Get', onComplete: (ret) => { if (ret) { - ret.Nav_DepTrainPlanDetail.sort((a,b)=>{return a.MOON-b.MOON}); + ret.Nav_DepTrainPlanDetail.sort((a, b) => { return a.MOON - b.MOON }); this.onClickApprove(false); this.setState({ data: ret }) } @@ -106,22 +108,22 @@ class SE009ShowPrint extends React.Component { tmpData: newtmpData, }); } - returnModel(level){ - let str=''; - if(level==undefined){ + returnModel(level) { + let str = ''; + if (level == undefined) { return str; } - if(level.indexOf('1')>=0){ - str+='讲授法 '; + if (level.indexOf('1') >= 0) { + str += '讲授法 '; } - if(level.indexOf('2')>=0){ - str+='视听法 '; + if (level.indexOf('2') >= 0) { + str += '视听法 '; } - if(level.indexOf('3')>=0){ - str+='研讨法 '; + if (level.indexOf('3') >= 0) { + str += '研讨法 '; } - if(level.indexOf('4')>=0){ - str+='演示法 '; + if (level.indexOf('4') >= 0) { + str += '演示法 '; } return str; } @@ -146,14 +148,14 @@ class SE009ShowPrint extends React.Component { {/* 部门培训计划 */} -
(this.componentRef = el)} id={'tableId' + this.props.data.id} style={{padding: '20px' }}> +
(this.componentRef = el)} id={'tableId' + this.props.data.id} style={{ padding: '20px' }}>

部门培训计划

{ data ?
-
+
- + diff --git a/src/components/CustomPages/SE/SE011ShowPrint.js b/src/components/CustomPages/SE/SE011ShowPrint.js index 327c811..7f07da5 100644 --- a/src/components/CustomPages/SE/SE011ShowPrint.js +++ b/src/components/CustomPages/SE/SE011ShowPrint.js @@ -32,6 +32,7 @@ class SE011ShowPrint extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); extendInclude(json, 'Nav_LaunchDepartment'); extendInclude(json, 'Nav_LaunchUser'); diff --git a/src/components/CustomPages/SE/SE013ShowPrint.js b/src/components/CustomPages/SE/SE013ShowPrint.js index f5c0872..56ef9a7 100644 --- a/src/components/CustomPages/SE/SE013ShowPrint.js +++ b/src/components/CustomPages/SE/SE013ShowPrint.js @@ -40,7 +40,7 @@ class SE013ShowPrint extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId); - json.Parameter22=this.props.data.ORG_ID_HV; + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); extendInclude(json, 'Nav_LaunchDepartment'); extendInclude(json, 'Nav_LaunchUser'); diff --git a/src/components/CustomPages/SE/SE015ShowPrint.js b/src/components/CustomPages/SE/SE015ShowPrint.js index e799e3b..5907b4a 100644 --- a/src/components/CustomPages/SE/SE015ShowPrint.js +++ b/src/components/CustomPages/SE/SE015ShowPrint.js @@ -57,6 +57,7 @@ class SE015ShowPrint extends React.Component { loadData = (dataId) => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, dataId); extendInclude(json, 'Nav_LaunchDepartment'); extendInclude(json, 'Nav_LaunchUser'); @@ -104,6 +105,7 @@ class SE015ShowPrint extends React.Component { onTableBtnApprove = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Parameter1 = this.props.data.id; json.Parameter2 = this.props.data.TaskID; this.props.dispatch({ @@ -123,6 +125,7 @@ class SE015ShowPrint extends React.Component { } personalApprove = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Parameter1 = this.props.data.id; json.Parameter2 = this.props.data.TaskID; this.props.dispatch({ diff --git a/src/components/CustomPages/SE/SE018EditPage.js b/src/components/CustomPages/SE/SE018EditPage.js index ac22122..695a213 100644 --- a/src/components/CustomPages/SE/SE018EditPage.js +++ b/src/components/CustomPages/SE/SE018EditPage.js @@ -51,6 +51,7 @@ class SE018EditPage extends React.Component { } loadData = (dataId) => { let json = initFilter(this.props.login.OrgId, '', null, null, null); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, dataId); extendInclude(json, 'Nav_Notify'); extendInclude(json, 'Nav_Notify.Nav_TrainContentList.Nav_Point'); @@ -113,6 +114,7 @@ class SE018EditPage extends React.Component { } onApprove = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Keyword = this.props.data.id; json.Parameter1 = this.props.data.TaskID; this.props.dispatch({ @@ -137,6 +139,7 @@ class SE018EditPage extends React.Component { } this.state.isClisk = true; let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Keyword = this.props.data.id; json.Parameter1 = this.props.data.TaskID; this.props.dispatch({ diff --git a/src/components/CustomPages/SE/SE018PaperPage.js b/src/components/CustomPages/SE/SE018PaperPage.js index a8bbe3b..c800fd6 100644 --- a/src/components/CustomPages/SE/SE018PaperPage.js +++ b/src/components/CustomPages/SE/SE018PaperPage.js @@ -60,6 +60,7 @@ class SE018PaperPage extends React.Component { } getUsers = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; extendRule(json, 'RECORD_ID', 1, this.props.data.id); extendInclude(json, 'Nav_User'); @@ -108,6 +109,7 @@ class SE018PaperPage extends React.Component { let json = initFilter(this.props.login.OrgId, '', 'Nav_Test.TYPE', 1); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; extendRule(json, 'RECORD_ID', 1, this.props.data.id); extendRule(json, 'USER_ID', 1, SelUsrID); diff --git a/src/components/CustomPages/SE/SE019ShowPrint.js b/src/components/CustomPages/SE/SE019ShowPrint.js index 093323f..0013efc 100644 --- a/src/components/CustomPages/SE/SE019ShowPrint.js +++ b/src/components/CustomPages/SE/SE019ShowPrint.js @@ -59,6 +59,7 @@ class SE019ShowPrint extends React.Component { if (this.props.data.id == "") return; let json = initFilter(this.props.login.OrgId, '', null, null, null); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); json.OrgType = 2; extendInclude(json, 'Nav_OpinionList'); diff --git a/src/components/CustomPages/SE/SE021ShowPrint.js b/src/components/CustomPages/SE/SE021ShowPrint.js index 1d6bf98..b58ab61 100644 --- a/src/components/CustomPages/SE/SE021ShowPrint.js +++ b/src/components/CustomPages/SE/SE021ShowPrint.js @@ -31,6 +31,7 @@ class SE021ShowPrint extends React.Component { if (this.props.data.id == "") return; let json = initFilter(this.props.login.OrgId, '', null, null, null); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, this.props.data.id); json.OrgType = 2; extendInclude(json, 'Nav_User'); diff --git a/src/components/CustomPages/SE/SE049ShowPrint.js b/src/components/CustomPages/SE/SE049ShowPrint.js index d238ecd..b9111ef 100644 --- a/src/components/CustomPages/SE/SE049ShowPrint.js +++ b/src/components/CustomPages/SE/SE049ShowPrint.js @@ -34,6 +34,7 @@ class SE049ShowPrint extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Parameter1 = this.props.data.id; json.IgnoreDataRule = true; this.props.dispatch({ diff --git a/src/components/CustomPages/SE/SE051ShowPrint.js b/src/components/CustomPages/SE/SE051ShowPrint.js index c996c94..a051b17 100644 --- a/src/components/CustomPages/SE/SE051ShowPrint.js +++ b/src/components/CustomPages/SE/SE051ShowPrint.js @@ -152,6 +152,7 @@ class SE051ShowPrint extends React.Component { let startTime = this.state.selectStartTime.format("YYYY-MM-DD"); let endTime = this.state.selectEndTime.format("YYYY-MM-DD"); let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, "START_TIME", 6, startTime); extendRule(json, "START_TIME", 4, endTime); json.Parameter1 = this.props.data.parentRecord.CODE; diff --git a/src/components/CustomPages/SE/SE061ShowPrint.js b/src/components/CustomPages/SE/SE061ShowPrint.js index e12a280..69d61ac 100644 --- a/src/components/CustomPages/SE/SE061ShowPrint.js +++ b/src/components/CustomPages/SE/SE061ShowPrint.js @@ -98,6 +98,7 @@ class SE061ShowPrint extends React.Component { loadData = (id) => { var orgId = this.props.login ? this.props.login.OrgId : ''; let json = initFilter(orgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, id); extendInclude(json, 'Nav_Department') extendInclude(json, 'Nav_User') diff --git a/src/components/CustomPages/SE/SE062ShowPrint.js b/src/components/CustomPages/SE/SE062ShowPrint.js index 273551b..734349b 100644 --- a/src/components/CustomPages/SE/SE062ShowPrint.js +++ b/src/components/CustomPages/SE/SE062ShowPrint.js @@ -42,6 +42,7 @@ class SE062ShowPrint extends React.Component { if (dataId == "") return; let json = initFilter(this.props.login.OrgId, '', null, null, null); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, dataId); extendInclude(json, 'Nav_NewUser.Nav_Department'); extendInclude(json, 'Nav_NewUser.Nav_User'); @@ -102,6 +103,7 @@ class SE062ShowPrint extends React.Component { } onTableBtnSignin() { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.Parameter1 = this.props.data.id; json.Parameter2 = this.props.data.TaskID; json.Parameter3 = this.state.data.EDU_CARD_ID; diff --git a/src/components/CustomPages/SE/SE063ShowPrint.js b/src/components/CustomPages/SE/SE063ShowPrint.js index 137680a..787d686 100644 --- a/src/components/CustomPages/SE/SE063ShowPrint.js +++ b/src/components/CustomPages/SE/SE063ShowPrint.js @@ -58,6 +58,7 @@ class SE063ShowPrint extends React.Component { loadData = (dataId) => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; let userID = this.props.data.parentRecord.USER_ID; extendRule(json, 'USERID', 1, userID); json.IgnoreDataRule = true; diff --git a/src/components/CustomPages/SE/SE071ShowPrint.js b/src/components/CustomPages/SE/SE071ShowPrint.js index a305b2c..f1d0593 100644 --- a/src/components/CustomPages/SE/SE071ShowPrint.js +++ b/src/components/CustomPages/SE/SE071ShowPrint.js @@ -56,6 +56,7 @@ class SE071ShowPrint extends React.Component { var isCheck = (this.props.data.tableKey != undefined && this.props.data.tableKey == '1') ? true : false var orgId = this.props.login ? this.props.login.OrgId : ''; let json = initFilter(orgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, id); extendInclude(json, 'Nav_Department') extendInclude(json, 'Nav_User') diff --git a/src/components/CustomPages/SE/SEConfigPage.js b/src/components/CustomPages/SE/SEConfigPage.js index d0747ac..f257d78 100644 --- a/src/components/CustomPages/SE/SEConfigPage.js +++ b/src/components/CustomPages/SE/SEConfigPage.js @@ -44,6 +44,7 @@ class SEConfigPage extends React.Component { } loadData = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; this.props.dispatch({ type: 'app/getDataByPost', payload: json, diff --git a/src/components/CustomPages/SE/SESafeSurveyTest.js b/src/components/CustomPages/SE/SESafeSurveyTest.js index e9feee2..b47801d 100644 --- a/src/components/CustomPages/SE/SESafeSurveyTest.js +++ b/src/components/CustomPages/SE/SESafeSurveyTest.js @@ -57,6 +57,7 @@ class SESafeSurveyTest extends React.Component { } getUsers = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; extendRule(json, 'SAFE_ID', 1, this.props.data.id); extendInclude(json, 'Nav_User'); @@ -101,6 +102,7 @@ class SESafeSurveyTest extends React.Component { return; } let json = initFilter(this.props.login.OrgId, '', 'Nav_Test.TYPE', 1); + json.Parameter22 = this.props.data.ORG_ID_HV; json.OrgType = 2; extendRule(json, 'SAFE_ID', 1, this.props.data.id); extendRule(json, 'USER_ID', 1, SelUsrID); diff --git a/src/components/CustomPages/SK/SK002CheckList.js b/src/components/CustomPages/SK/SK002CheckList.js index f77d4a6..0ad414c 100644 --- a/src/components/CustomPages/SK/SK002CheckList.js +++ b/src/components/CustomPages/SK/SK002CheckList.js @@ -119,6 +119,7 @@ class SK002CheckList extends React.Component { loadData = () => { let json = initFilter(this.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendInclude(json, 'Nav_Details'); extendInclude(json, 'Nav_ProductionUnit'); extendInclude(json, 'Nav_Details.Nav_DetailContents.Nav_Contents'); diff --git a/src/components/CustomPages/SK/SK002ShowPrint.js b/src/components/CustomPages/SK/SK002ShowPrint.js index f21d33b..f13c3aa 100644 --- a/src/components/CustomPages/SK/SK002ShowPrint.js +++ b/src/components/CustomPages/SK/SK002ShowPrint.js @@ -116,6 +116,7 @@ class SK002ShowPrint extends React.Component { loadData = (dataId) => { let that=this; let json = initFilter(that.props.login.OrgId); + json.Parameter22 = this.props.data.ORG_ID_HV; extendRule(json, 'ID', 1, dataId); // extendInclude(json, 'Nav_Type'); // extendInclude(json, 'Nav_Details');
计划年度 {data.PLAN_YEAR} 起止时间