|
|
@@ -1039,17 +1039,18 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
loadData();
|
|
|
};
|
|
|
|
|
|
- $scope.init = function () {
|
|
|
+ var init = function () {
|
|
|
$scope.param.keyword = '';
|
|
|
- if ($scope.standard_tab == 'standard')
|
|
|
+ if ($scope.standard_tab == 'standard') {
|
|
|
$scope.param.type = "standard";
|
|
|
- if ($scope.standard_tab == 'unstandard')
|
|
|
+ } else if ($scope.standard_tab == 'unstandard') {
|
|
|
$scope.param.type = "nStandard";
|
|
|
+ }
|
|
|
$scope.isBatch = false;
|
|
|
$scope.param.count = 10;
|
|
|
};
|
|
|
|
|
|
- $scope.init();
|
|
|
+ init();
|
|
|
|
|
|
loadData();
|
|
|
|