webpackJsonp([27],{dpCg:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("woOf"),l=a.n(i),n=a("vLgD");var s=a("s/Rn"),o={pageNum:1,pageSize:5,brandName:null,recommendStatus:null},r=[{label:"未推荐",value:0},{label:"推荐中",value:1}],c={name:"homeBrandList",data:function(){return{listQuery:l()({},o),recommendOptions:l()({},r),list:null,total:null,listLoading:!1,multipleSelection:[],operates:[{label:"设为推荐",value:0},{label:"取消推荐",value:1},{label:"删除",value:2}],operateType:null,selectDialogVisible:!1,dialogData:{list:null,total:null,multipleSelection:[],listQuery:{keyword:null,pageNum:1,pageSize:5}},sortDialogVisible:!1,sortDialogData:{sort:0,id:null}}},created:function(){this.getList()},filters:{formatRecommendStatus:function(t){return 1===t?"推荐中":"未推荐"}},methods:{handleResetSearch:function(){this.listQuery=l()({},o)},handleSearchList:function(){this.listQuery.pageNum=1,this.getList()},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.pageNum=1,this.listQuery.pageSize=t,this.getList()},handleCurrentChange:function(t){this.listQuery.pageNum=t,this.getList()},handleRecommendStatusStatusChange:function(t,e){this.updateRecommendStatusStatus([e.id],e.recommendStatus)},handleDelete:function(t,e){this.deleteBrand([e.id])},handleBatchOperate:function(){if(this.multipleSelection<1)this.$message({message:"请选择一条记录",type:"warning",duration:1e3});else{for(var t=[],e=0;e