| | |
| | | |
| | | // 通用组件 |
| | | const MainAction = asyncSpinComponent(() => import('@/tabviews/zshare/actionList')) |
| | | const MainTable = asyncSpinComponent(() => import('@/tabviews/zshare/normalTable')) |
| | | const MainTable = asyncSpinComponent(() => import('@/tabviews/custom/components/share/normalTable')) |
| | | |
| | | class NormalTable extends Component { |
| | | static propTpyes = { |
| | |
| | | this.setState({ |
| | | data: result.data.map((item, index) => { |
| | | item.key = index |
| | | item.$$uuid = item[setting.primaryKey] || '' |
| | | return item |
| | | }), |
| | | total: result.total, |
| | |
| | | fields={config.columns} |
| | | total={this.state.total} |
| | | MenuID={this.props.MenuID} |
| | | lineMarks={config.lineMarks} |
| | | loading={this.state.loading} |
| | | refreshdata={this.refreshbytable} |
| | | statFValue={this.state.statFValue} |