框架底层优化:列表弹窗列表 添加ORGID

This commit is contained in:
wyw 2026-05-26 09:23:08 +08:00
parent 8a85e2dd9e
commit c7b757d758
2 changed files with 6 additions and 0 deletions

View File

@ -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,

View File

@ -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>