window.location.href.substr(window.location.href.length - 6)
if (window.location.href.substr(window.location.href.length - 6) == "flag=1") {
var tOption = document.getElementById("two");
tOption.text = "待确认订单";
tOption.selected = true;
if ($rootScope.loginInfo.isGroup > 0) {
$scope.queryordersaaa(0);
}
else {
$scope.queryordersaaa(0);
}
}