var formData = 'id=74&date=1%2F2%2F2017&type=addtime&status=1&hours=8¬e=10';
function parse(data) {
var result = {};
data.split('&').forEach(function(item) {
var key = item.slice(0, item.indexOf('='));
var value = item.slice(item.indexOf('=') + 1);
result[key] = value;
});
return result;
}
console.log(parse(formData));