webpackJsonp([100],{T435:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"sync-history",data:function(){return{tableAllData:{data:[{tagGroup:"蓝橙子",updateTime:"2019-05-20 12:00:00",changeItem:"标签组一",changeContent:"标签组",updateItem:"标签组",status:0,user:"赖昌星",reason:"好办后台同步"}],total:0,currentPage:1,pageSize:20},dialogData:{data:[{name:"刘晨曦",failReason:"会员不存在"},{name:"刘晨曦",failReason:"会员不存在"},{name:"刘晨曦",failReason:"会员不存在"},{name:"刘晨曦",failReason:"会员不存在"},{name:"刘晨曦",failReason:"会员不存在"},{name:"刘晨曦",failReason:"会员不存在"}],total:6,currentPage:1},searchTxt:"",statusType:0,failDialog:!1}},methods:{getTalbeList:function(){console.log("1")},handleSizeChange:function(){console.log("change size")},handleCurrentChange:function(){console.log("change page")},getDialogTable:function(){console.log("1")},dialogCurrentChange:function(){console.log("1")}}},n={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"app-detail-wrap history p-20"},[e("div",{staticClass:"top m-b-20"},[e("el-alert",{attrs:{type:"info","show-icon":"",closable:!1}},[e("span",{staticClass:"alert-info"},[a._v("\n        1. 同步历史指通过GIC修改并同步企微标签库，或者企微标签库修改同步的GIC标签库导致的标签覆盖（GIC标签库覆盖企微标签）"),e("br"),a._v("\n        2. 仅保存近一年同步历史\n      ")])])],1),a._v(" "),e("div",{staticClass:"search-group m-b-20"},[e("el-input",{staticStyle:{width:"316px"},attrs:{placeholder:"请输入标签组名称","prefix-icon":"el-icon-search"},model:{value:a.searchTxt,callback:function(t){a.searchTxt=t},expression:"searchTxt"}}),a._v(" "),e("el-select",{staticStyle:{width:"160px"},attrs:{placeholder:"全部状态"},model:{value:a.statusType,callback:function(t){a.statusType=t},expression:"statusType"}},[e("el-option",{attrs:{value:1}},[a._v("成功")]),a._v(" "),e("el-option",{attrs:{value:0}},[a._v("失败")])],1)],1),a._v(" "),e("div",{staticClass:"content"},[e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:a.tableAllData.data,"tooltip-effect":"dark"}},[e("el-table-column",{attrs:{label:"标签组",prop:"tagGroup"}}),a._v(" "),e("el-table-column",{attrs:{label:"更新时间",prop:"updateTime"}}),a._v(" "),e("el-table-column",{attrs:{label:"变更项",prop:"changeItem"}}),a._v(" "),e("el-table-column",{attrs:{label:"变更内容",prop:"changeContent"}}),a._v(" "),e("el-table-column",{attrs:{label:"涉及更新项",prop:"updateItem"}}),a._v(" "),e("el-table-column",{attrs:{label:"状态",prop:"status"},scopedSlots:a._u([{key:"default",fn:function(t){var l=t.row;return[e("div",{staticClass:"status-class"},[e("span",{class:[0==l.status?"status-error":"status-success"]}),a._v(" "),e("span",[a._v(a._s(0==l.status?"失败":"成功"))])])]}}])}),a._v(" "),e("el-table-column",{attrs:{label:"操作人",prop:"user"}}),a._v(" "),e("el-table-column",{attrs:{label:"原因",prop:"reason"}}),a._v(" "),e("el-table-column",{attrs:{label:"操作"},scopedSlots:a._u([{key:"default",fn:function(t){var l=t.row;return[e("el-button",{attrs:{type:"text"},on:{click:function(t){a.failDialog=!0}}},[a._v(a._s(0==l.status&&"同步失败明细"))])]}}])})],1),a._v(" "),e("div",{staticClass:"block common-wrap__page text-right m-t-24"},[e("dm-pagination",{attrs:{background:"","current-page":a.tableAllData.currentPage,"page-sizes":[20,40,60,80],"page-size":a.tableAllData.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:a.tableAllData.total},on:{"size-change":a.handleSizeChange,"current-change":a.handleCurrentChange}})],1)],1),a._v(" "),e("el-dialog",{attrs:{visible:a.failDialog,title:"同步失败明细",width:"500px","custom-class":"sync-fail"},on:{"update:visible":function(t){a.failDialog=t}}},[e("span",[a._v("温馨提示：仅展示同步失败的会员")]),a._v(" "),e("el-table",{staticClass:"m-b-20 m-t-20",attrs:{data:a.dialogData.data}},[e("el-table-column",{attrs:{prop:"name",label:"会员姓名"}}),a._v(" "),e("el-table-column",{attrs:{prop:"failReason",label:"会员同步失败原因"}})],1),a._v(" "),e("el-pagination",{staticStyle:{margin:"0 0 10px 0","text-align":"right"},attrs:{small:"",layout:"prev, pager, next",total:a.dialogData.total,"current-page":a.dialogData.currentPage,"page-size":5},on:{"current-change":a.dialogCurrentChange}}),a._v(" "),e("el-button",{staticClass:"close-btn",attrs:{type:"primary"},on:{click:function(t){a.failDialog=!1}}},[a._v("关闭")])],1)],1)},staticRenderFns:[]};var s=e("VU/8")(l,n,!1,function(a){e("VM+v")},"data-v-0ae0c145",null);t.default=s.exports},"VM+v":function(a,t){}});