框架底层优化:列表弹窗列表 添加ORGID
This commit is contained in:
parent
8a85e2dd9e
commit
c7b757d758
@ -164,6 +164,9 @@ class TableBaseComponent extends ComponentBase {
|
||||
extendParam['Start'] = 0;
|
||||
extendParam['IsAllLoad'] = !!customParams.IsAllLoad;
|
||||
const tempParamJson = this.getLoadParam({ tableCode });
|
||||
if (this.props.data && this.props.data.ORG_ID_HV && this.props.data.ORG_ID_HV.length > 0) {
|
||||
tempParamJson.Parameter22 = this.props.data.ORG_ID_HV
|
||||
}
|
||||
if (param && extendParam) {
|
||||
this.setSearchParam({
|
||||
tableCode,
|
||||
|
||||
@ -90,6 +90,9 @@ class TableModal extends React.Component {
|
||||
customJson[this.props.customParams] = this.props.id;
|
||||
//console.log(params);
|
||||
//const isEdit=tmpData.data?!tmpData.data.isBatchEdit:true;
|
||||
if (this.props.data && this.props.data.ORG_ID) {
|
||||
params.ORG_ID_HV = this.props.data.ORG_ID
|
||||
}
|
||||
return (
|
||||
<div style={{ display: 'inline-block' }}>
|
||||
<span onClick={this.showModal}>{this.props.children}</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user