1、审批页面 TASK_ORGID 传递 Parameter22 赋值 原有orgid
2、initFilter IgnoreOrgRule: true
This commit is contained in:
parent
3cc89f5861
commit
30a5fbcc50
@ -123,6 +123,9 @@ class PFCommonApprove extends React.Component {
|
||||
if (this.state.data.CALLBACK_INTERFACE && this.state.data.CALLBACK_INTERFACE.indexOf("New") > -1) {
|
||||
newUrl = this.state.data.CALLBACK_INTERFACE
|
||||
}
|
||||
if (this.props.data && this.props.data.TASK_ORGID && this.props.data.TASK_ORGID.length > 0 && this.props.data.TASK_ORGID !== this.props.login.OrgId) {
|
||||
this.state.data.Parameter22 = this.props.data.TASK_ORGID
|
||||
}
|
||||
if (newUrl.length > 0) {
|
||||
this.props.dispatch({
|
||||
type: 'app/getDataByPost',
|
||||
|
||||
@ -238,6 +238,7 @@ class PFCommonApproveView extends React.Component {
|
||||
appVisible:appVisibleTemp,
|
||||
BtnAgreeDisplay:this.props.data.BtnAgreeDisplay?this.props.data.BtnAgreeDisplay:'inline'
|
||||
});
|
||||
json.Parameter22=this.props.data?.TASK_ORGID
|
||||
this.props.dispatch({
|
||||
type: 'app/getDataByPost',
|
||||
payload: json,
|
||||
|
||||
@ -12,7 +12,6 @@ import moment from 'moment';
|
||||
import Item from "antd/lib/list/Item";
|
||||
class SK033ShowPrint extends React.Component {
|
||||
constructor(props) {
|
||||
debugger
|
||||
super(props);
|
||||
this.state = {
|
||||
data: null,
|
||||
@ -86,7 +85,7 @@ class SK033ShowPrint extends React.Component {
|
||||
}
|
||||
onClickApprove = (appVisible) => {
|
||||
const newtmpData = {
|
||||
data: { id: this.props.data.id, isShow: true, key: guid(), param: this.props.data.param, appVisible: appVisible, BtnAgreeDisplay: 'inline' },
|
||||
data: { id: this.props.data.id, isShow: true, key: guid(), param: this.props.data.param, appVisible: appVisible, BtnAgreeDisplay: 'inline', TASK_ORGID: this.props.data?.TASK_ORGID },
|
||||
formCode: "PF123",
|
||||
}
|
||||
this.setState({
|
||||
|
||||
@ -212,7 +212,8 @@ export function initFilter(OrgId, Keyword = "", Sort, Order, PageIndex = 1, Para
|
||||
FilterGroup: { Rules: [], Groups: [] },
|
||||
SelectField: [],
|
||||
DataRule: [],
|
||||
IgnoreDataRule: false
|
||||
IgnoreDataRule: false,
|
||||
IgnoreOrgRule: true
|
||||
};
|
||||
// let params = $("#search-form").elFilterParam();
|
||||
// extend(json, params);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user