(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{578:function(t,e,n){"use strict";n.r(e);var r=n(3),c=(n(35),{data:function(){return{status:!0}},computed:{},mounted:function(){this.getInfo()},methods:{getInfo:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post("/api/admin/UserFinancial/cunxinbaoInfo");case 2:(n=e.sent)&&1===n.status&&(t.status=1===n.data.status);case 4:case"end":return e.stop()}}),e)})))()},setStatus:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=!0===t?1:0,n.next=3,e.$post("/api/admin/UserFinancial/cunxinbaoSet",{status:t});case 3:case"end":return n.stop()}}),n)})))()}}}),o=n(2),component=Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mainContainer"},[n("div",{staticClass:"mainTableTools"},[n("el-row",[n("span",[t._v("存薪宝设置：")]),t._v(" "),n("el-switch",{attrs:{"active-text":"已开启","inactive-text":"已关闭"},on:{change:t.setStatus},model:{value:t.status,callback:function(e){t.status=e},expression:"status"}})],1)],1)])}),[],!1,null,"13d777b2",null);e.default=component.exports}}]);