fix transflow clientIds

master
luoyang 5 years ago
parent 66deba0e80
commit 14921df45a

@ -200,10 +200,12 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
url += connectSymbol + 'dev_id=' + params.dev_id; url += connectSymbol + 'dev_id=' + params.dev_id;
connectSymbol = '&' connectSymbol = '&'
} }
params.client_ids.forEach(function (i) { if (params.client_ids) {
url += connectSymbol + 'client_ids=' + i; params.client_ids.forEach(function (i) {
connectSymbol = '&'; url += connectSymbol + 'client_ids=' + i;
}); connectSymbol = '&';
});
}
if (params.datefrom) { if (params.datefrom) {
params.datefrom = $filter('date')(params.datefrom, 'yyyyMMdd'); params.datefrom = $filter('date')(params.datefrom, 'yyyyMMdd');
url += connectSymbol + 'datefrom=' + params.datefrom; url += connectSymbol + 'datefrom=' + params.datefrom;

Loading…
Cancel
Save