| | |
| | | |
| | | if (!param) return // 未获取参数时,不发请求 |
| | | |
| | | // 数据管理权限 |
| | | if (this.props.dataManager) { |
| | | param.dataM = 'Y' |
| | | } |
| | | |
| | | let result = await Api.genericInterface(param) |
| | | if (result.status) { |
| | | let _data = result.data[0] || '' |
| | |
| | | func: 'sPC_Get_TableData', |
| | | obj_name: 'data', |
| | | arr_field: arr_field, |
| | | ID: primaryId, |
| | | dataM: this.props.dataManager ? 'Y' : '' |
| | | ID: primaryId |
| | | } |
| | | |
| | | let _dataresource = setting.dataresource |
| | |
| | | getCustomParam = () => { |
| | | const { setting, primaryId } = this.state |
| | | |
| | | let param = { |
| | | dataM: this.props.dataManager ? 'Y' : '' |
| | | } |
| | | let param = {} |
| | | |
| | | if (setting.interType === 'inner') { |
| | | param.func = setting.innerFunc |