(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d230532"],{ec97:function(e,t,n){"use strict";n.r(t);var c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-space",[n("a-button",{attrs:{type:"primary"},on:{click:e.confirmToEffective}},[e._v("生效")]),n("a-button",{attrs:{type:"primary"},on:{click:e.confirmToIneffective}},[e._v("失效")])],1)},o=[],i=n("6c6d"),r={name:"UpdateCardTypeEffective",props:{selectedRowKeys:{type:Array,required:!0}},methods:{warningSelectObjects:function(){this.$warning({title:"请选择操作对象",content:""})},confirmToEffective:function(){var e=this,t=e.selectedRowKeys;0===t.length?this.warningSelectObjects():this.$confirm({title:"确定生效吗?",content:"",okText:"确定",okType:"danger",cancelText:"取消",onOk:function(){Object(i["a"])(t,!0).then((function(t){0===t.code&&e.$emit("completed")}))}})},confirmToIneffective:function(){var e=this,t=e.selectedRowKeys;0===t.length?this.warningSelectObjects():this.$confirm({title:"失效后，关联的通用套餐、客户套餐将删除此卡片材质，确定失效吗?",content:"",okText:"确定",okType:"danger",cancelText:"取消",onOk:function(){Object(i["a"])(t,!1).then((function(t){0===t.code&&e.$emit("completed")}))}})}}},a=r,s=n("2877"),f=Object(s["a"])(a,c,o,!1,null,null,null);t["default"]=f.exports}}]);