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