var angular = require('angular');
require('../modules');
var module = angular.module('linker.services');

module.provider('linkerConfig', function() {
  this.topDeptId = '001';
  this.topLeader = '局领导';
  this.fliterAllUsers = '';
  this.filterAllDepts = '';


  this.setFliterAllUsers = function(filter) {
    this.fliterAllUsers = filter;
  }

  this.setFilterAllDepts = function(filter) {
    this.filterAllDepts = filter;
  }

  this.setTopDeptId = function(value) {
    this.topDeptId = value;
  };

  this.setTopLeader = function(value) {
    this.topLeader = value;
  };

  this.$get = [function() {
    return this;
  }];
});
