|
|
@ -114,7 +114,6 @@ class DeviceInstall extends React.Component {
|
|
|
|
|
|
|
|
|
|
|
|
rowSelection = {
|
|
|
|
rowSelection = {
|
|
|
|
onChange: (selectedRowKeys, selectedRows) => {
|
|
|
|
onChange: (selectedRowKeys, selectedRows) => {
|
|
|
|
// console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
selectedRows: selectedRows
|
|
|
|
selectedRows: selectedRows
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -142,9 +141,12 @@ class DeviceInstall extends React.Component {
|
|
|
|
limit: 10,
|
|
|
|
limit: 10,
|
|
|
|
status: "ACTIVE",
|
|
|
|
status: "ACTIVE",
|
|
|
|
requireDeviceInfo: true,
|
|
|
|
requireDeviceInfo: true,
|
|
|
|
type: deviceType
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (deviceType !== 'ANY') {
|
|
|
|
|
|
|
|
extraParams.type = deviceType;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// note: encode with '%26' not '&'
|
|
|
|
// note: encode with '%26' not '&'
|
|
|
|
const encodedExtraParams = Object.keys(extraParams).map(key => key + '=' + extraParams[key]).join('&');
|
|
|
|
const encodedExtraParams = Object.keys(extraParams).map(key => key + '=' + extraParams[key]).join('&');
|
|
|
|
|
|
|
|
|
|
|
|