| | |
| | | dataIndex: 'name', |
| | | valueType: 'text', |
| | | copyable: true, |
| | | filterDropdown: (props) => <Filter name='name' {...props} actionRef={actionRef} setSearchParam={setSearchParam} />, |
| | | }, |
| | | { |
| | | title: '标识', |
| | |
| | | filterDropdown: (props) => <Filter name='code' {...props} actionRef={actionRef} setSearchParam={setSearchParam} />, |
| | | }, |
| | | { |
| | | title: '公司', |
| | | dataIndex: 'hostId$', |
| | | valueType: 'text', |
| | | }, |
| | | { |
| | | title: '状态', |
| | | dataIndex: 'status$', |
| | | valueType: 'text', |
| | | }, |
| | | { |
| | | title: '修改时间', |
| | | dataIndex: 'updateTime$', |
| | | valueType: 'text', |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'option', |
| | | width: '220px', |
| | |
| | | HostService service = SpringUtils.getBean(HostService.class); |
| | | Host host = service.getById(this.hostId); |
| | | if (!Cools.isEmpty(host)){ |
| | | return String.valueOf(host.getId()); |
| | | return String.valueOf(host.getName()); |
| | | } |
| | | return null; |
| | | } |