webpackJsonp([13],{kVpV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("AKaA"),n=a("WSiR"),o=a("NTL1"),s=a("8V46"),c={data:function(){return{navpath:[{name:"首页",path:""},{name:"微信会员",path:""},{name:"批量导入",path:""},{name:"日志详情",path:""}],tableData:[],page:{currentPage:1,pageSize:20,totalCount:0},integralType:"积分扣除",count:{all:0,success:0,error:0},batchId:"",batchType:"",isShow:!1}},methods:{exportExcel:function(){window.location.href=o.a.downloadErrorData+"?requestProject=member&batchType="+this.batchType+"&batchId="+this.batchId},getLogsDetail:function(){var t=this,e={batchId:this.batchId,batchType:this.batchType};Object(r.b)(o.a.queryBatchRetErrInfo,e).then(function(e){if(0==e.data.errorCode){var a=e.data.result;t.page.totalCount=a.totalCount,t.tableData=a.result}else Object(s.a)(e.data.message)}).catch(function(t){Object(s.b)(t)})}},created:function(){if(this.$route.query.data){var t=this.$route.query.data,e=t.batchId,a=t.batchType,r=t.total,n=t.succeedNum,o=t.errorNum,c=t.operaUerName;this.batchId=e,this.batchType=a,console.log(this.batchType),11==a&&(this.isShow=!0,this.operation=c),this.count.all=r,this.count.success=n,this.count.error=o,console.log(this.$route.query.data),this.getLogsDetail()}else Object(s.a)("123")},components:{NavPath:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"bulkLogsDetail"}},[a("nav-path",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"contentBulkIntegral"},[a("div",{staticClass:"contentInfo"},[a("div",{staticClass:"flex"},[a("span",{staticClass:"headerTips"},[t._v("总条数："+t._s(t.count.all)+" 条，成功导入 "+t._s(t.count.success)+" 条，"),a("span",{staticClass:"headerTipsError"},[t._v("错误 "+t._s(t.count.error)+" 条")])]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai"}),t._v(" 导出")])],1),t._v(" "),a("el-table",{attrs:{data:t.tableData}},[a("el-table-column",{attrs:{prop:"sequence",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"errorCause",label:"错误提示"}}),t._v(" "),a("el-table-column",{attrs:{prop:"cardNum",label:"会员卡号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"opIntegral",label:"变更额度"}}),t._v(" "),t.isShow?a("el-table-column",{attrs:{prop:"address",label:"成本主体"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v("\n            "+t._s(a.costStoreName||"--")+"\n          ")]}}],null,!1,1787028140)}):t._e(),t._v(" "),a("el-table-column",{attrs:{prop:"remark",label:"原因备注"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v("\n            "+t._s(a.remark||"--")+"\n          ")]}}])})],1),t._v(" "),t.tableData.length>0?a("el-pagination",{attrs:{background:"","current-page":t.page.currentPage,"page-sizes":[20,40,60,80],"page-size":t.page.pageSize,layout:"total, sizes, prev, pager, next",total:t.page.totalCount},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1)]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var i=a("VU/8")(c,l,!1,function(t){a("qx3A")},"data-v-c4db8e5a",null);e.default=i.exports},qx3A:function(t,e){}});