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