摘要: //当前时间加1个自然月 $scope.now = new Date() var fromDate = $filter('date')($scope.now, 'yyyy-MM-dd')getMonth(1, "-", $scope.now.getDate(),$scope.now) //计算月份 阅读全文
posted @ 2018-06-04 13:59 雨落雪纷飞 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: 第一步:通过点击事件,打开新窗口,并且传递参数 $scope.finalTrial = function(data){ var url = $state.href('content.checkFinalTrial') window.open(url+'?id='+data.id+'&type=1') 阅读全文
posted @ 2018-06-04 10:07 雨落雪纷飞 阅读(4022) 评论(0) 推荐(0) 编辑