(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0aa640"],{"118b":function(t,s,e){"use strict";e.r(s);var a,i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("v-dialog",{attrs:{persistent:"","max-width":"900px"},model:{value:t.thisValue,callback:function(s){t.thisValue=s},expression:"thisValue"}},[e("v-card",[e("v-card-title",[e("span",{staticClass:"headline"},[t._v("审核资料")])]),e("v-card-text",[e("v-container",[e("img",{attrs:{src:t.api+t.thisMsg.card_z_img,width:"100%"}}),e("img",{attrs:{src:t.api+t.thisMsg.card_f_img,width:"100%"}}),e("v-text-field",{attrs:{label:"姓名",disabled:""},model:{value:t.thisMsg.realname,callback:function(s){t.$set(t.thisMsg,"realname",s)},expression:"thisMsg.realname"}}),e("v-text-field",{attrs:{label:"身份证号码",disabled:""},model:{value:t.thisMsg.id_number,callback:function(s){t.$set(t.thisMsg,"id_number",s)},expression:"thisMsg.id_number"}}),e("p",[t._v("身份证有效日期")]),e("el-date-picker",{attrs:{value:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期"},model:{value:t.thisMsg.start_date,callback:function(s){t.$set(t.thisMsg,"start_date",s)},expression:"thisMsg.start_date"}}),t._v("-\n        "),e("el-date-picker",{attrs:{value:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期"},model:{value:t.thisMsg.end_date,callback:function(s){t.$set(t.thisMsg,"end_date",s)},expression:"thisMsg.end_date"}}),e("p",{staticClass:"mt-4"},[t._v("状态")]),e("v-radio-group",{attrs:{mandatory:!1,row:""},model:{value:t.thisMsg.status,callback:function(s){t.$set(t.thisMsg,"status",s)},expression:"thisMsg.status"}},[e("v-radio",{attrs:{label:"拒绝",value:1}}),e("v-radio",{attrs:{label:"通过",value:2}})],1),e("v-text-field",{attrs:{label:"拒绝理由"},model:{value:t.thisMsg.refuse_msg,callback:function(s){t.$set(t.thisMsg,"refuse_msg",s)},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(s){t.thisValue=!1,t.loading=!1}}},[t._v("取消")]),t._v("-\n      "),e("v-btn",{attrs:{color:"dark darken-1",loading:t.loading,text:""},on:{click:function(s){return t.doUpdate()}}},[t._v("提交")])],1)],1)],1)},l=[],n={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(t){this.thisValue=t},thisValue:function(t){this.$emit("change",t)},msg:function(t){this.thisMsg=JSON.parse(JSON.stringify(t))}},mounted:function(){a=this},methods:{doUpdate:function(){0==this.thisMsg.status?a.$message({showClose:!0,message:"请选择状态",type:"warning"}):(this.loading=!0,this.$post("verify/handle",{id:this.thisMsg.id,start_date:this.thisMsg.start_date,end_date:this.thisMsg.end_date,status:this.thisMsg.status,refuse_msg:this.thisMsg.refuse_msg},function(t){a.loading=!1,0==t.errno&&(a.$message({showClose:!0,message:t.errmsg,type:"success"}),a.thisValue=!1,a.$emit("changemsg",t))}))}}},r=n,d=e("6691"),o=Object(d["a"])(r,i,l,!1,null,null,null);s["default"]=o.exports}}]);
//# sourceMappingURL=chunk-2d0aa640.d8862fe9.js.map