(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e541d"],{"945a":function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:e.loadingFull,expression:"loadingFull",modifiers:{fullscreen:!0,lock:!0}}]}),e._v(" "),r("el-form",{ref:"form",attrs:{"label-width":"120px",model:e.form,rules:e.formRules}},[r("el-form-item",{attrs:{label:"代理手机号:",prop:"mobile"}},[r("el-input",{staticStyle:{width:"700px"},attrs:{type:"text",placeholder:"代理手机号"},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"邀请代理id:"}},[r("el-input",{staticStyle:{width:"700px"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:99},placeholder:"例: [1111,2222,3333,4444,5555]"},model:{value:e.form.ids,callback:function(t){e.$set(e.form,"ids",t)},expression:"form.ids"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.toRecoveryUser}},[e._v("恢复")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.resetForm}},[e._v("重置")])],1)],1)],1)},l=[],s=r("b775");function i(e){return Object(s["a"])({url:"/user/restoreUserInfo",method:"post",data:e})}var a={data:function(){return{loadingFull:!1,form:{mobile:"",ids:""},formRules:{mobile:[{required:!0,message:"请输入代理手机号",trigger:"blur"}]}}},methods:{resetForm:function(){this.form={mobile:"",ids:""},this.$refs.form.resetFields()},toRecoveryUser:function(){var e=this;this.$refs.form.validate((function(t){if(!t)return!1;e.loadingFull=!0,i(e.form).then((function(t){e.loadingFull=!1,200===t.code?(e.$message.success("数据恢复成功"),e.resetForm()):e.$message.error(t.message||"数据恢复失败")})).catch((function(){e.loadingFull=!1,e.$message.error("数据恢复失败")}))}))}}},n=a,m=r("2877"),c=Object(m["a"])(n,o,l,!1,null,"3571a478",null);t["default"]=c.exports}}]);