webpackJsonp([36],{"+jVO":function(e,t){},hclF:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("woOf"),l=a.n(n),i=a("Mdfv"),s=a("xT6B"),r={pageNum:1,pageSize:5,name:null,type:null,endTime:null},o=[{label:"PC首页轮播",value:0},{label:"APP首页轮播",value:1}],c={name:"homeAdvertiseList",data:function(){return{listQuery:l()({},r),typeOptions:l()({},o),list:null,total:null,listLoading:!1,multipleSelection:[],operates:[{label:"删除",value:0}],operateType:null}},created:function(){this.getList()},filters:{formatType:function(e){return 1===e?"APP首页轮播":"PC首页轮播"},formatTime:function(e){if(null==e||""===e)return"--";var t=new Date(e);return Object(s.a)(t,"yyyy-MM-dd hh:mm:ss")}},methods:{handleResetSearch:function(){this.listQuery=l()({},r)},handleSearchList:function(){this.listQuery.pageNum=1,this.getList()},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.pageNum=1,this.listQuery.pageSize=e,this.getList()},handleCurrentChange:function(e){this.listQuery.pageNum=e,this.getList()},handleUpdateStatus:function(e,t){var a=this;this.$confirm("是否要修改上线/下线状态?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.f)(t.id,{status:t.status}).then(function(e){a.getList(),a.$message({type:"success",message:"修改成功!"})})}).catch(function(){a.$message({type:"success",message:"已取消操作!"}),a.getList()})},handleDelete:function(e,t){this.deleteHomeAdvertise(t.id)},handleBatchOperate:function(){if(this.multipleSelection<1)this.$message({message:"请选择一条记录",type:"warning",duration:1e3});else{for(var e=[],t=0;t