json.Parameter22 = this.props.data.ORG_ID_HV;
This commit is contained in:
parent
7034f51118
commit
7a51b8c3cc
@ -99,6 +99,7 @@ class SE001EditPage extends React.Component {
|
|||||||
if (this.props.data.id == "")
|
if (this.props.data.id == "")
|
||||||
return;
|
return;
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, this.props.data.id);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
extendInclude(json, 'Nav_Posts');
|
extendInclude(json, 'Nav_Posts');
|
||||||
extendInclude(json, 'Nav_Posts.Nav_Post');
|
extendInclude(json, 'Nav_Posts.Nav_Post');
|
||||||
|
|||||||
@ -44,6 +44,7 @@ class SE005ReportEdit extends React.Component {
|
|||||||
}
|
}
|
||||||
loadList = () => {
|
loadList = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
this.setState({ loading: true })
|
this.setState({ loading: true })
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
@ -74,6 +75,7 @@ class SE005ReportEdit extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
json.Parameter3 = this.state.type;
|
json.Parameter3 = this.state.type;
|
||||||
if (this.state.ALL) {
|
if (this.state.ALL) {
|
||||||
|
|||||||
@ -37,6 +37,7 @@ class SE005ShowPrint extends React.Component {
|
|||||||
if (this.props.data.id == "")
|
if (this.props.data.id == "")
|
||||||
return;
|
return;
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendRule(json, 'ID', 1, this.props.data.id);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
extendInclude(json, 'Nav_LaunchDepartment');
|
extendInclude(json, 'Nav_LaunchDepartment');
|
||||||
|
|||||||
@ -28,6 +28,7 @@ class SE007AllView extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId, '', null, null);
|
let json = initFilter(this.props.login.OrgId, '', null, null);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.PageIndex = 1;
|
json.PageIndex = 1;
|
||||||
json.Limit = 100;
|
json.Limit = 100;
|
||||||
json.Start = 0;
|
json.Start = 0;
|
||||||
|
|||||||
@ -53,6 +53,7 @@ class SE007ShowPrint extends React.Component {
|
|||||||
if (this.props.data.id == "")
|
if (this.props.data.id == "")
|
||||||
return;
|
return;
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, this.props.data.id);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
extendSelectField(json, 'NAME');
|
extendSelectField(json, 'NAME');
|
||||||
extendSelectField(json, 'LAUNCH_TIME');
|
extendSelectField(json, 'LAUNCH_TIME');
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class SE009ShowPrint extends React.Component {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let json = initFilter(this.props.login.OrgId, data.ID);
|
let json = initFilter(this.props.login.OrgId, data.ID);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Parameter1 = ok ? '1' : '0'
|
json.Parameter1 = ok ? '1' : '0'
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
@ -59,6 +60,7 @@ class SE009ShowPrint extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, this.props.data.id);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
extendInclude(json, 'Nav_LaunchDepartment');
|
extendInclude(json, 'Nav_LaunchDepartment');
|
||||||
extendInclude(json, 'Nav_LaunchUser');
|
extendInclude(json, 'Nav_LaunchUser');
|
||||||
|
|||||||
@ -32,6 +32,7 @@ class SE011ShowPrint extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, this.props.data.id);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
extendInclude(json, 'Nav_LaunchDepartment');
|
extendInclude(json, 'Nav_LaunchDepartment');
|
||||||
extendInclude(json, 'Nav_LaunchUser');
|
extendInclude(json, 'Nav_LaunchUser');
|
||||||
|
|||||||
@ -57,6 +57,7 @@ class SE015ShowPrint extends React.Component {
|
|||||||
|
|
||||||
loadData = (dataId) => {
|
loadData = (dataId) => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, dataId);
|
extendRule(json, 'ID', 1, dataId);
|
||||||
extendInclude(json, 'Nav_LaunchDepartment');
|
extendInclude(json, 'Nav_LaunchDepartment');
|
||||||
extendInclude(json, 'Nav_LaunchUser');
|
extendInclude(json, 'Nav_LaunchUser');
|
||||||
@ -104,6 +105,7 @@ class SE015ShowPrint extends React.Component {
|
|||||||
|
|
||||||
onTableBtnApprove = () => {
|
onTableBtnApprove = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Parameter1 = this.props.data.id;
|
json.Parameter1 = this.props.data.id;
|
||||||
json.Parameter2 = this.props.data.TaskID;
|
json.Parameter2 = this.props.data.TaskID;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
@ -123,6 +125,7 @@ class SE015ShowPrint extends React.Component {
|
|||||||
}
|
}
|
||||||
personalApprove = () => {
|
personalApprove = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Parameter1 = this.props.data.id;
|
json.Parameter1 = this.props.data.id;
|
||||||
json.Parameter2 = this.props.data.TaskID;
|
json.Parameter2 = this.props.data.TaskID;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
|
|||||||
@ -51,6 +51,7 @@ class SE018EditPage extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = (dataId) => {
|
loadData = (dataId) => {
|
||||||
let json = initFilter(this.props.login.OrgId, '', null, null, null);
|
let json = initFilter(this.props.login.OrgId, '', null, null, null);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, dataId);
|
extendRule(json, 'ID', 1, dataId);
|
||||||
extendInclude(json, 'Nav_Notify');
|
extendInclude(json, 'Nav_Notify');
|
||||||
extendInclude(json, 'Nav_Notify.Nav_TrainContentList.Nav_Point');
|
extendInclude(json, 'Nav_Notify.Nav_TrainContentList.Nav_Point');
|
||||||
@ -113,6 +114,7 @@ class SE018EditPage extends React.Component {
|
|||||||
}
|
}
|
||||||
onApprove = () => {
|
onApprove = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Keyword = this.props.data.id;
|
json.Keyword = this.props.data.id;
|
||||||
json.Parameter1 = this.props.data.TaskID;
|
json.Parameter1 = this.props.data.TaskID;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
@ -137,6 +139,7 @@ class SE018EditPage extends React.Component {
|
|||||||
}
|
}
|
||||||
this.state.isClisk = true;
|
this.state.isClisk = true;
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Keyword = this.props.data.id;
|
json.Keyword = this.props.data.id;
|
||||||
json.Parameter1 = this.props.data.TaskID;
|
json.Parameter1 = this.props.data.TaskID;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
|
|||||||
@ -60,6 +60,7 @@ class SE018PaperPage extends React.Component {
|
|||||||
}
|
}
|
||||||
getUsers = () => {
|
getUsers = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendRule(json, 'RECORD_ID', 1, this.props.data.id);
|
extendRule(json, 'RECORD_ID', 1, this.props.data.id);
|
||||||
extendInclude(json, 'Nav_User');
|
extendInclude(json, 'Nav_User');
|
||||||
@ -108,6 +109,7 @@ class SE018PaperPage extends React.Component {
|
|||||||
|
|
||||||
|
|
||||||
let json = initFilter(this.props.login.OrgId, '', 'Nav_Test.TYPE', 1);
|
let json = initFilter(this.props.login.OrgId, '', 'Nav_Test.TYPE', 1);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendRule(json, 'RECORD_ID', 1, this.props.data.id);
|
extendRule(json, 'RECORD_ID', 1, this.props.data.id);
|
||||||
extendRule(json, 'USER_ID', 1, SelUsrID);
|
extendRule(json, 'USER_ID', 1, SelUsrID);
|
||||||
|
|||||||
@ -59,6 +59,7 @@ class SE019ShowPrint extends React.Component {
|
|||||||
if (this.props.data.id == "")
|
if (this.props.data.id == "")
|
||||||
return;
|
return;
|
||||||
let json = initFilter(this.props.login.OrgId, '', null, null, null);
|
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);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendInclude(json, 'Nav_OpinionList');
|
extendInclude(json, 'Nav_OpinionList');
|
||||||
|
|||||||
@ -31,6 +31,7 @@ class SE021ShowPrint extends React.Component {
|
|||||||
if (this.props.data.id == "")
|
if (this.props.data.id == "")
|
||||||
return;
|
return;
|
||||||
let json = initFilter(this.props.login.OrgId, '', null, null, null);
|
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);
|
extendRule(json, 'ID', 1, this.props.data.id);
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendInclude(json, 'Nav_User');
|
extendInclude(json, 'Nav_User');
|
||||||
|
|||||||
@ -34,6 +34,7 @@ class SE049ShowPrint extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Parameter1 = this.props.data.id;
|
json.Parameter1 = this.props.data.id;
|
||||||
json.IgnoreDataRule = true;
|
json.IgnoreDataRule = true;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
|
|||||||
@ -152,6 +152,7 @@ class SE051ShowPrint extends React.Component {
|
|||||||
let startTime = this.state.selectStartTime.format("YYYY-MM-DD");
|
let startTime = this.state.selectStartTime.format("YYYY-MM-DD");
|
||||||
let endTime = this.state.selectEndTime.format("YYYY-MM-DD");
|
let endTime = this.state.selectEndTime.format("YYYY-MM-DD");
|
||||||
let json = initFilter(this.props.login.OrgId);
|
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", 6, startTime);
|
||||||
extendRule(json, "START_TIME", 4, endTime);
|
extendRule(json, "START_TIME", 4, endTime);
|
||||||
json.Parameter1 = this.props.data.parentRecord.CODE;
|
json.Parameter1 = this.props.data.parentRecord.CODE;
|
||||||
|
|||||||
@ -98,6 +98,7 @@ class SE061ShowPrint extends React.Component {
|
|||||||
loadData = (id) => {
|
loadData = (id) => {
|
||||||
var orgId = this.props.login ? this.props.login.OrgId : '';
|
var orgId = this.props.login ? this.props.login.OrgId : '';
|
||||||
let json = initFilter(orgId);
|
let json = initFilter(orgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, id);
|
extendRule(json, 'ID', 1, id);
|
||||||
extendInclude(json, 'Nav_Department')
|
extendInclude(json, 'Nav_Department')
|
||||||
extendInclude(json, 'Nav_User')
|
extendInclude(json, 'Nav_User')
|
||||||
|
|||||||
@ -42,6 +42,7 @@ class SE062ShowPrint extends React.Component {
|
|||||||
if (dataId == "")
|
if (dataId == "")
|
||||||
return;
|
return;
|
||||||
let json = initFilter(this.props.login.OrgId, '', null, null, null);
|
let json = initFilter(this.props.login.OrgId, '', null, null, null);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, dataId);
|
extendRule(json, 'ID', 1, dataId);
|
||||||
extendInclude(json, 'Nav_NewUser.Nav_Department');
|
extendInclude(json, 'Nav_NewUser.Nav_Department');
|
||||||
extendInclude(json, 'Nav_NewUser.Nav_User');
|
extendInclude(json, 'Nav_NewUser.Nav_User');
|
||||||
@ -102,6 +103,7 @@ class SE062ShowPrint extends React.Component {
|
|||||||
}
|
}
|
||||||
onTableBtnSignin() {
|
onTableBtnSignin() {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.Parameter1 = this.props.data.id;
|
json.Parameter1 = this.props.data.id;
|
||||||
json.Parameter2 = this.props.data.TaskID;
|
json.Parameter2 = this.props.data.TaskID;
|
||||||
json.Parameter3 = this.state.data.EDU_CARD_ID;
|
json.Parameter3 = this.state.data.EDU_CARD_ID;
|
||||||
|
|||||||
@ -58,6 +58,7 @@ class SE063ShowPrint extends React.Component {
|
|||||||
|
|
||||||
loadData = (dataId) => {
|
loadData = (dataId) => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
let userID = this.props.data.parentRecord.USER_ID;
|
let userID = this.props.data.parentRecord.USER_ID;
|
||||||
extendRule(json, 'USERID', 1, userID);
|
extendRule(json, 'USERID', 1, userID);
|
||||||
json.IgnoreDataRule = true;
|
json.IgnoreDataRule = true;
|
||||||
|
|||||||
@ -56,6 +56,7 @@ class SE071ShowPrint extends React.Component {
|
|||||||
var isCheck = (this.props.data.tableKey != undefined && this.props.data.tableKey == '1') ? true : false
|
var isCheck = (this.props.data.tableKey != undefined && this.props.data.tableKey == '1') ? true : false
|
||||||
var orgId = this.props.login ? this.props.login.OrgId : '';
|
var orgId = this.props.login ? this.props.login.OrgId : '';
|
||||||
let json = initFilter(orgId);
|
let json = initFilter(orgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, id);
|
extendRule(json, 'ID', 1, id);
|
||||||
extendInclude(json, 'Nav_Department')
|
extendInclude(json, 'Nav_Department')
|
||||||
extendInclude(json, 'Nav_User')
|
extendInclude(json, 'Nav_User')
|
||||||
|
|||||||
@ -44,6 +44,7 @@ class SEConfigPage extends React.Component {
|
|||||||
}
|
}
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
type: 'app/getDataByPost',
|
type: 'app/getDataByPost',
|
||||||
payload: json,
|
payload: json,
|
||||||
|
|||||||
@ -57,6 +57,7 @@ class SESafeSurveyTest extends React.Component {
|
|||||||
}
|
}
|
||||||
getUsers = () => {
|
getUsers = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendRule(json, 'SAFE_ID', 1, this.props.data.id);
|
extendRule(json, 'SAFE_ID', 1, this.props.data.id);
|
||||||
extendInclude(json, 'Nav_User');
|
extendInclude(json, 'Nav_User');
|
||||||
@ -101,6 +102,7 @@ class SESafeSurveyTest extends React.Component {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let json = initFilter(this.props.login.OrgId, '', 'Nav_Test.TYPE', 1);
|
let json = initFilter(this.props.login.OrgId, '', 'Nav_Test.TYPE', 1);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
json.OrgType = 2;
|
json.OrgType = 2;
|
||||||
extendRule(json, 'SAFE_ID', 1, this.props.data.id);
|
extendRule(json, 'SAFE_ID', 1, this.props.data.id);
|
||||||
extendRule(json, 'USER_ID', 1, SelUsrID);
|
extendRule(json, 'USER_ID', 1, SelUsrID);
|
||||||
|
|||||||
@ -119,6 +119,7 @@ class SK002CheckList extends React.Component {
|
|||||||
|
|
||||||
loadData = () => {
|
loadData = () => {
|
||||||
let json = initFilter(this.props.login.OrgId);
|
let json = initFilter(this.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendInclude(json, 'Nav_Details');
|
extendInclude(json, 'Nav_Details');
|
||||||
extendInclude(json, 'Nav_ProductionUnit');
|
extendInclude(json, 'Nav_ProductionUnit');
|
||||||
extendInclude(json, 'Nav_Details.Nav_DetailContents.Nav_Contents');
|
extendInclude(json, 'Nav_Details.Nav_DetailContents.Nav_Contents');
|
||||||
|
|||||||
@ -116,6 +116,7 @@ class SK002ShowPrint extends React.Component {
|
|||||||
loadData = (dataId) => {
|
loadData = (dataId) => {
|
||||||
let that=this;
|
let that=this;
|
||||||
let json = initFilter(that.props.login.OrgId);
|
let json = initFilter(that.props.login.OrgId);
|
||||||
|
json.Parameter22 = this.props.data.ORG_ID_HV;
|
||||||
extendRule(json, 'ID', 1, dataId);
|
extendRule(json, 'ID', 1, dataId);
|
||||||
// extendInclude(json, 'Nav_Type');
|
// extendInclude(json, 'Nav_Type');
|
||||||
// extendInclude(json, 'Nav_Details');
|
// extendInclude(json, 'Nav_Details');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user