作业现场模块增加json.Parameter22 = this.props.data.ORG_ID_HV;

This commit is contained in:
何美荣 2025-12-22 16:45:33 +08:00
parent 4419026764
commit f685435a77
16 changed files with 691 additions and 682 deletions

View File

@ -66,6 +66,7 @@ class FO003ShowPrint 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_Team'); extendInclude(json, 'Nav_Team');
extendInclude(json, 'Nav_Class'); extendInclude(json, 'Nav_Class');

View File

@ -53,6 +53,7 @@ class FO005ShowPrint 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_Users.Nav_User'); extendInclude(json, 'Nav_Users.Nav_User');
extendInclude(json, 'Nav_Team'); extendInclude(json, 'Nav_Team');

View File

@ -60,6 +60,7 @@ class FO008ShowPrint 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_User'); extendInclude(json, 'Nav_User');
extendInclude(json, 'Nav_Department'); extendInclude(json, 'Nav_Department');

View File

@ -60,6 +60,7 @@ class FO015ShowPrint 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_Meeting'); // extendInclude(json, 'Nav_Meeting');
// extendInclude(json, 'Nav_CreateUser'); // extendInclude(json, 'Nav_CreateUser');

View File

@ -58,6 +58,7 @@ class FO017ShowPrint extends React.Component {
loadData = () => { loadData = () => {
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, that.props.data.id); extendRule(json, 'ID', 1, that.props.data.id);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
// extendInclude(json, 'Nav_CrucialLicensePerson'); // extendInclude(json, 'Nav_CrucialLicensePerson');

View File

@ -60,6 +60,7 @@ class FO019ShowPrint 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);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
// extendRule(json, 'ID', 1, dataId); // extendRule(json, 'ID', 1, dataId);
@ -79,8 +80,7 @@ class FO019ShowPrint extends React.Component {
url: 'FO/FOTechDisclosureFrom/GetEdit', url: 'FO/FOTechDisclosureFrom/GetEdit',
onComplete: (ret) => { onComplete: (ret) => {
if (ret) { if (ret) {
if(this.props.data && this.props.data.loadDataDeal) if (this.props.data && this.props.data.loadDataDeal) {
{
this.props.data.loadDataDeal(1); this.props.data.loadDataDeal(1);
} }
this.setState({ data: ret }) this.setState({ data: ret })

View File

@ -60,6 +60,7 @@ class FO021ShowPrint 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_JobName.Nav_MonitorUser'); // extendInclude(json, 'Nav_JobName.Nav_MonitorUser');
// extendInclude(json, 'Nav_JobNameOut.Nav_MonitorUser'); // extendInclude(json, 'Nav_JobNameOut.Nav_MonitorUser');
@ -355,8 +356,7 @@ class FO021ShowPrint extends React.Component {
else else
return <img style={{ margin: "0 0 0 8px", width: '150px' }} title={item.Nav_User.NAME} /> return <img style={{ margin: "0 0 0 8px", width: '150px' }} title={item.Nav_User.NAME} />
} }
else if (item.DEAL_STATUS == 0) else if (item.DEAL_STATUS == 0) {
{
if (item.Nav_User != null && item.Nav_User.FILE_PATH != null) if (item.Nav_User != null && item.Nav_User.FILE_PATH != null)
return <label style={{ color: 'red' }} title='未签到'> {item.Nav_User.NAME}</label> return <label style={{ color: 'red' }} title='未签到'> {item.Nav_User.NAME}</label>
else else

View File

@ -76,6 +76,7 @@ class FO022ShowPrint 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_JobName.Nav_MonitorUser'); // extendInclude(json, 'Nav_JobName.Nav_MonitorUser');
// extendInclude(json, 'Nav_JobNameOut.Nav_MonitorUser'); // extendInclude(json, 'Nav_JobNameOut.Nav_MonitorUser');

View File

@ -58,6 +58,7 @@ class FO025ShowPrint extends React.Component {
loadData = () => { loadData = () => {
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, that.props.data.id); extendRule(json, 'ID', 1, that.props.data.id);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
// extendInclude(json, 'Nav_CrucialLicensePerson'); // extendInclude(json, 'Nav_CrucialLicensePerson');

View File

@ -60,6 +60,7 @@ class FO035ShowPrint 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);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
this.props.dispatch({ this.props.dispatch({
@ -68,8 +69,7 @@ class FO035ShowPrint extends React.Component {
url: 'FO/FOTechDisclosureFromTech/GetEdit', url: 'FO/FOTechDisclosureFromTech/GetEdit',
onComplete: (ret) => { onComplete: (ret) => {
if (ret) { if (ret) {
if(this.props.data && this.props.data.loadDataDeal) if (this.props.data && this.props.data.loadDataDeal) {
{
this.props.data.loadDataDeal(1); this.props.data.loadDataDeal(1);
} }
this.setState({ data: ret }) this.setState({ data: ret })

View File

@ -60,6 +60,7 @@ class FO037ShowPrint 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);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
this.props.dispatch({ this.props.dispatch({
@ -68,8 +69,7 @@ class FO037ShowPrint extends React.Component {
url: 'FO/FOTechDisclosureFromSafe/GetEdit', url: 'FO/FOTechDisclosureFromSafe/GetEdit',
onComplete: (ret) => { onComplete: (ret) => {
if (ret) { if (ret) {
if(this.props.data && this.props.data.loadDataDeal) if (this.props.data && this.props.data.loadDataDeal) {
{
this.props.data.loadDataDeal(1); this.props.data.loadDataDeal(1);
} }
this.setState({ data: ret }) this.setState({ data: ret })

View File

@ -59,6 +59,7 @@ class FO041ShowPrint 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);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
this.props.dispatch({ this.props.dispatch({
@ -67,8 +68,7 @@ class FO041ShowPrint extends React.Component {
url: 'FO/FOLeaderWellRecord/GetEdit', url: 'FO/FOLeaderWellRecord/GetEdit',
onComplete: (ret) => { onComplete: (ret) => {
if (ret) { if (ret) {
if(this.props.data && this.props.data.loadDataDeal) if (this.props.data && this.props.data.loadDataDeal) {
{
this.props.data.loadDataDeal(1); this.props.data.loadDataDeal(1);
} }
this.setState({ data: ret }) this.setState({ data: ret })

View File

@ -60,6 +60,7 @@ class FO043ShowPrint 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);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
this.props.dispatch({ this.props.dispatch({
@ -68,8 +69,7 @@ class FO043ShowPrint extends React.Component {
url: 'FO/FOFireJob/GetEdit', url: 'FO/FOFireJob/GetEdit',
onComplete: (ret) => { onComplete: (ret) => {
if (ret) { if (ret) {
if(this.props.data && this.props.data.loadDataDeal) if (this.props.data && this.props.data.loadDataDeal) {
{
this.props.data.loadDataDeal(1); this.props.data.loadDataDeal(1);
} }
this.setState({ data: ret }) this.setState({ data: ret })

View File

@ -60,6 +60,7 @@ class FO045ShowPrint 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);
extendIgnoreDataRule(json) extendIgnoreDataRule(json)
this.props.dispatch({ this.props.dispatch({
@ -68,8 +69,7 @@ class FO045ShowPrint extends React.Component {
url: 'FO/FOFireJobWb/GetEdit', url: 'FO/FOFireJobWb/GetEdit',
onComplete: (ret) => { onComplete: (ret) => {
if (ret) { if (ret) {
if(this.props.data && this.props.data.loadDataDeal) if (this.props.data && this.props.data.loadDataDeal) {
{
this.props.data.loadDataDeal(1); this.props.data.loadDataDeal(1);
} }
this.setState({ data: ret }) this.setState({ data: ret })

View File

@ -63,6 +63,7 @@ class FOChangeShfitRecord 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_Class'); extendInclude(json, 'Nav_Class');
extendInclude(json, 'Nav_Team'); extendInclude(json, 'Nav_Team');

View File

@ -99,6 +99,7 @@ class FoTeamActivityShowPrint extends React.Component {
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); //ID=‘’,字段,等于,条件值, 1代表=2代表不等于3小于4小于等于5大于6大于等于7以开始的Like,8以结束的Like9包含 extendRule(json, 'ID', 1, id); //ID=‘’,字段,等于,条件值, 1代表=2代表不等于3小于4小于等于5大于6大于等于7以开始的Like,8以结束的Like9包含
extendInclude(json, 'Nav_Taem'); extendInclude(json, 'Nav_Taem');
extendInclude(json, 'Nav_User'); extendInclude(json, 'Nav_User');