(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a3ac9"],{"02d5":function(s,t,e){"use strict";e.r(t);var a,i=function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("v-dialog",{attrs:{persistent:"","max-width":"600px"},model:{value:s.thisValue,callback:function(t){s.thisValue=t},expression:"thisValue"}},[e("v-card",[e("v-card-title",[e("span",{staticClass:"headline"},[s._v("审核资料")])]),e("v-card-text",[e("v-container",[e("p",{staticClass:"mt-4"},[s._v("状态")]),e("v-radio-group",{attrs:{mandatory:!1,row:""},model:{value:s.thisMsg.status,callback:function(t){s.$set(s.thisMsg,"status",t)},expression:"thisMsg.status"}},[e("v-radio",{attrs:{label:"拒绝",value:2}}),e("v-radio",{attrs:{label:"通过",value:1}})],1),e("v-text-field",{attrs:{label:"拒绝理由"},model:{value:s.thisMsg.refuse_msg,callback:function(t){s.$set(s.thisMsg,"refuse_msg",t)},expression:"thisMsg.refuse_msg"}})],1)],1),e("v-card-actions",{staticClass:"justify-space-between"},[e("v-btn",{attrs:{color:"blue gray",text:""},on:{click:function(t){s.thisValue=!1}}},[s._v("取消")]),s._v("-\n      "),e("v-btn",{attrs:{color:"dark darken-1",loading:s.loading,text:""},on:{click:function(t){return s.doUpdate()}}},[s._v("提交")])],1)],1)],1)},n=[],l={props:{value:{type:Boolean,required:!0,default:!1},msg:{type:Object,default:function(){return{}}}},data:function(){return{api:this.$api,thisValue:this.value,thisMsg:JSON.parse(JSON.stringify(this.msg)),loading:!1,roles:[]}},watch:{value:function(s){this.thisValue=s},thisValue:function(s){this.$emit("change",s)},msg:function(s){this.thisMsg=JSON.parse(JSON.stringify(s))}},mounted:function(){a=this},methods:{doUpdate:function(){0==this.thisMsg.status?a.$message({showClose:!0,message:"请选择状态",type:"warning"}):(this.loading=!0,this.$post("cash/verify",{id:this.thisMsg.id,status:this.thisMsg.status,refuse_msg:this.thisMsg.refuse_msg},function(s){a.loading=!1,0==s.errno&&(a.$message({showClose:!0,message:s.errmsg,type:"success"}),a.thisValue=!1,a.$emit("changemsg",s))}))}}},u=l,o=e("6691"),r=Object(o["a"])(u,i,n,!1,null,null,null);t["default"]=r.exports}}]);
//# sourceMappingURL=chunk-2d0a3ac9.dcb92ce9.js.map