{
    template:'${tmpl}',
    data:function(){
        return {
          multipleSelection: [],
          isSingleSelect:false,
        }
    },
    mounted:function(){

    },
    created:function(){
      /*console.log("xxxxxxxxxxxxxxxxxxxxyyy");
      this.$store.commit('increment');
      console.log(this.count);
      console.log("xxxxxxxxxxxxxxxxxxxxyyy");*/
    },
    methods:{
      onColFormater(row,column,cellvalue,index){
        if(column.property=="status"){
          if(row["status"]==1){
            return "启动";
          }else{
            return "停用";
          }
        }
        return cellvalue;
       },
       handleSelectionChange:function(val){
         this.multipleSelection = val;
         console.log(val);
       },
       headerCellStyle:function(){
         return {"background-color":"red"};
       },
       fetchData:function(){

       },
       rowClick:function(row,key){
        if(key=="mydetail"){
          this.$store.state.queryParam=row.orderNum;
          this.$router.push("/worksorderdetail");
          return 
         }
     },
       fetchData:function(){

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