webpackJsonp([19],{"0W62":function(e,t){},kVpV:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("AKaA"),r=a("WSiR"),o=a("NTL1"),l=a("8V46"),s={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:""}},methods:{exportExcel:function(){window.location.href=o.a.downloadErrorData+"?requestProject=member&batchType="+this.batchType+"&batchId="+this.batchId},handleCurrentChange:function(e){this.page.currentPage=e,this.getLogsDetail()},handleSizeChange:function(e){this.page.pageSize=e,this.getLogsDetail()},getLogsDetail:function(){var e=this,t={batchId:this.batchId,batchType:this.batchType,currentPage:this.page.currentPage,pageSize:this.page.pageSize};Object(n.b)(o.a.queryBatchRetErrInfo,t).then(function(t){if(0==t.data.errorCode){var a=t.data.result;console.log(a),e.page.totalCount=a.totalCount,e.tableData=a.result}else Object(l.a)(t.data.message)}).catch(function(e){Object(l.b)(e)})}},created:function(){console.log(sessionStorage.getItem("bulkLogsDetail"));var e=JSON.parse(sessionStorage.getItem("bulkLogsDetail")),t=e.batchId,a=e.batchType,n=e.total,r=e.succeedNum,o=e.errorNum;this.batchId=t,this.batchType=a,console.log(this.batchType),this.count.all=n,this.count.success=r,this.count.error=o,this.getLogsDetail()},components:{NavPath:r.a}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"bulkLogsDetail"}},[a("nav-path",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"contentBulkIntegral"},[a("div",{staticClass:"contentInfo"},[a("div",{staticClass:"flex"},[a("span",{staticClass:"headerTips"},[e._v("总条数："+e._s(e.count.all)+" 条，成功导入 "+e._s(e.count.success)+" 条，"),a("span",{staticClass:"headerTipsError"},[e._v("错误 "+e._s(e.count.error)+" 条")])]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai"}),e._v(" 导出")])],1),e._v(" "),a("el-table",{attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"sequence",label:"序号"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.sequence||"--")+"\n          ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"errorCause",label:"错误提示"}}),e._v(" "),a("el-table-column",{attrs:{prop:"cardNum",label:"会员卡号"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.cardNum||"--")+"\n          ")]}}])}),e._v(" "),11==e.batchType||12==e.batchType?a("el-table-column",{attrs:{prop:"opIntegral",label:"变更额度"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.opIntegral||"--")+"\n          ")]}}],null,!1,761788206)}):e._e(),e._v(" "),11==e.batchType?a("el-table-column",{attrs:{label:"成本主体"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.costStoreName||"--")+"\n          ")]}}],null,!1,1787028140)}):e._e(),e._v(" "),13==e.batchType?a("el-table-column",{attrs:{label:"等级编码"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.gradeCode||"--")+"\n          ")]}}],null,!1,267654791)}):e._e(),e._v(" "),13==e.batchType?a("el-table-column",{attrs:{label:"等级名称"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.gradeName||"--")+"\n          ")]}}],null,!1,3867179405)}):e._e(),e._v(" "),14==e.batchType?a("el-table-column",{attrs:{label:"门店代码"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.costStoreCode||"--")+"\n          ")]}}],null,!1,2930117414)}):e._e(),e._v(" "),14==e.batchType?a("el-table-column",{attrs:{label:"门店名称"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.costStoreName||"--")+"\n          ")]}}],null,!1,1787028140)}):e._e(),e._v(" "),a("el-table-column",{attrs:{prop:"remark",label:"原因备注"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n            "+e._s(a.remark||"--")+"\n          ")]}}])})],1),e._v(" "),e.tableData.length>0?a("dm-pagination",{attrs:{background:"","current-page":e.page.currentPage,"page-sizes":[20,40,60,80],"page-size":e.page.pageSize,layout:"total, sizes, prev, pager, next",total:e.page.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("C7Lr")(s,c,!1,function(e){a("0W62")},"data-v-97b94d96",null);t.default=u.exports}});