webpackJsonp([14],{"3eU/":function(t,a){},EOvX:function(t,a,e){"use strict";a.a=function(t,a){var e={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};/(y+)/.test(a)&&(a=a.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(var l in e)new RegExp("("+l+")").test(a)&&(a=a.replace(RegExp.$1,1==RegExp.$1.length?e[l]:("00"+e[l]).substr((""+e[l]).length)));return a}},Gl7f:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l=e("3Xzz"),n=e("EOvX"),i={name:"syncTagHistory",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:"/member-tag"},{name:"同步标签",path:""}],tableData:[],currentPage:1,pageSize:20,total:0,searchVal:"",dateformat:n.a,dialogData:{dialogVisible:!1,tagTableData:[],total:0,currentPage:1,searchTagVal:""}}},components:{navCrumb:l.a},methods:{cancelSync:function(){var t=this;this.$confirm("取消同步后，该分类下的标签将不会再同步至微盟，并且该分类下已同步至微盟侧的会员标签将同步从微盟侧删除，是否继续取消?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(a){t.$message.success("取消成功")}).catch(function(t){})},getTableData:function(){console.log("111")},onCurrentChange:function(t){this.currentPage=t,this.getTableData()},onSizeChange:function(t){this.pageSize=t,this.currentPage=1,this.getTableData()},getDiaglogTableData:function(){},onDialogPageChange:function(t){this.currentPage=t,this.getDiaglogTableData()}},watch:{"dialogData.dialogVisible":function(t){t&&(this.dialogData.searchTagVal="",this.getDiaglogData())}}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"common-wrap syncTag"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"title"},[e("el-input",{staticClass:"w220",attrs:{placeholder:"请输入标签分类名称","prefix-icon":"el-icon-search"},model:{value:t.searchVal,callback:function(a){t.searchVal=a},expression:"searchVal"}}),t._v(" "),e("el-button",{staticClass:"add-btn",attrs:{type:"primary"},on:{click:function(a){t.dialogData.dialogVisible=!0}}},[t._v("添加标签分类")]),t._v(" "),e("span",[t._v("添加标签分类后，分类下面所有会员标签均会同步至微盟")])],1),t._v(" "),e("div",{staticClass:"sync-content"},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{label:"标签分类",prop:""}}),t._v(" "),e("el-table-column",{attrs:{label:"标签分组",prop:""}}),t._v(" "),e("el-table-column",{attrs:{label:"添加时间",prop:""}}),t._v(" "),e("el-table-column",{attrs:{label:"操作"}},[[e("el-button",{attrs:{type:"text"},on:{click:t.cancelSync}},[t._v("取消同步")])]],2)],1),t._v(" "),e("el-pagination",{staticStyle:{"text-align":"right",padding:"28px 0"},attrs:{"hide-on-single-page":"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.onSizeChange,"current-change":t.onCurrentChange}})],1)])]),t._v(" "),e("el-dialog",{attrs:{visible:t.dialogData.dialogVisible,width:"1000px"},on:{"update:visible":function(a){return t.$set(t.dialogData,"dialogVisible",a)}}},[e("template",{slot:"title"},[e("p",{staticClass:"el-dialog__title"},[t._v("添加分类标签"),e("span",{staticClass:"tip"},[t._v("仅查询未同步的标签")])])]),t._v(" "),e("div",{staticClass:"dialog_contetn"},[e("el-input",{staticClass:"w220 mb20",attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入标签分类名称"},model:{value:t.dialogData.searchTagVal,callback:function(a){t.$set(t.dialogData,"searchTagVal",a)},expression:"dialogData.searchTagVal"}}),t._v(" "),e("el-table",{attrs:{data:t.dialogData.tagTableData}},[e("el-table-column",{attrs:{label:"序号",prop:""}}),t._v(" "),e("el-table-column",{attrs:{label:"标签分类",prop:""}}),t._v(" "),e("el-table-column",{attrs:{label:"标签分组",prop:""}}),t._v(" "),e("el-table-column",{attrs:{label:"操作"}},[e("el-button",{attrs:{type:"text"}},[t._v("添加")])],1)],1),t._v(" "),e("el-pagination",{staticStyle:{"text-align":"right",margin:"28px 0 8px"},attrs:{"hide-on-single-page":"",layout:"prev, pager, next","current-page":t.dialogData.currentPage,"page-size":5,total:t.dialogData.total},on:{"current-change":t.onDialogPageChange}})],1),t._v(" "),e("template",{slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:function(a){t.dialogData.dialogVisible=!1}}},[t._v("关闭")])],1)],2)],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("3eU/")},"data-v-03634d4d",null);a.default=s.exports}});