{
  template: '${tmpl}',
  data: function () {
    return {
      multipleSelection: [],
      isSingleSelect: false,
    }
  },
  mounted: function () {
    var epartnerId = this.$router.currentRoute.query.epartnerId;
    if(epartnerId) {
      console.log(epartnerId, "---------------epartnerId---------------");
      this.$refs.ecommissionallGrid.linkInInitQuery("epartner_id", epartnerId);
    }

    var ecompanyId = this.$router.currentRoute.query.ecompanyId;
    if(ecompanyId) {
      console.log(ecompanyId, "---------------ecompanyId---------------");
      this.$refs.ecommissionallGrid.linkInInitQuery("ecompany_id", ecompanyId);
    }

  },
  created: function () {},
  methods: {
    onColFormater(row, column, cellvalue, index) {
      var self = this;

      if(typeof(cellvalue) == 'number') {
        return cellvalue || 0;
      }
      return cellvalue || "---";
    },
    handleSelectionChange: function (val) {
      this.multipleSelection = val;
      console.log(val);
    },
    fetchData: function () {

    },
    onRowClick(row, key, e) {
      console.log("................////////////////////////////");
      var that = this;
      console.log($(e.target).text());
    },

  },
  computed: Vuex.mapState({
    count: state => state.count,
    headStyle: function () {
      return {
        "background-color": "white"
      };
    }
  }),
  vname: "gsb-epartneraudit"
}