|
@@ -18,8 +18,9 @@
|
|
|
isunfold: false,//组织结构树展开收缩
|
|
|
selectdzzdm: "",
|
|
|
selectdzzmc: "",
|
|
|
- defaultselected: $state.params.dzzdm
|
|
|
+ defaultselected: ''
|
|
|
};
|
|
|
+ $scope.resettreeparams = angular.copy($scope.treeparams);
|
|
|
//查询条件
|
|
|
$scope.selectparams = {
|
|
|
pageindex: 1,
|
|
@@ -31,6 +32,7 @@
|
|
|
endDate: null
|
|
|
};
|
|
|
$scope.pageInfo = {ptotal: 0};
|
|
|
+ $scope.resetselectparams = angular.copy($scope.selectparams);
|
|
|
|
|
|
$scope.$on('tabChildReloadData', function (event, data) {
|
|
|
if (data.name == 'pf_meetingListCtrl') {
|
|
@@ -166,5 +168,12 @@
|
|
|
};
|
|
|
|
|
|
$scope.loadData();
|
|
|
+
|
|
|
+ $scope.reset = function () {
|
|
|
+ $scope.treeparams = angular.copy($scope.resettreeparams);
|
|
|
+ $scope.selectparams = angular.copy($scope.resetselectparams);
|
|
|
+ $scope.selectparams.partyLifeMeetingType = $scope.partyLifeMeetingType;
|
|
|
+ $scope.loadData();
|
|
|
+ }
|
|
|
});
|
|
|
})(angular);
|