The attribute table of the Query widget fails to show up in the Portal for ArcGIS 10.3.1 built-in Web AppBuilder, if the feature layer used in the Query widget has range domains.
The issue has been fixed in Portal for ArcGIS 10.4.
解决办法
Workaround 1: Use ArcGIS Online.
Workaround 2: Use higher versions of Portal for ArcGIS.
Workaround 3: The issue can be averted if the feature layer has coded domains in place of range domains.