(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-9f3f291e"],{2532:function(e,t,a){"use strict";a.d(t,"s",(function(){return i})),a.d(t,"m",(function(){return o})),a.d(t,"l",(function(){return s})),a.d(t,"u",(function(){return n})),a.d(t,"k",(function(){return l})),a.d(t,"i",(function(){return u})),a.d(t,"h",(function(){return p})),a.d(t,"g",(function(){return c})),a.d(t,"j",(function(){return d})),a.d(t,"f",(function(){return f})),a.d(t,"e",(function(){return m})),a.d(t,"d",(function(){return _})),a.d(t,"v",(function(){return y})),a.d(t,"c",(function(){return g})),a.d(t,"t",(function(){return h})),a.d(t,"a",(function(){return v})),a.d(t,"b",(function(){return b})),a.d(t,"n",(function(){return R})),a.d(t,"q",(function(){return V})),a.d(t,"p",(function(){return k})),a.d(t,"r",(function(){return T})),a.d(t,"o",(function(){return w}));var r=a("6b2d");const i=e=>r.a.get("/RealVerifyType/list",{params:e}),o=e=>r.a.get("/RealVerifyType/detail",{params:e}),s=e=>r.a.get("/RealVerifyType/del",{params:e}),n=e=>r.a.post("/RealVerifyType/update",e),l=e=>r.a.post("/RealVerifyType/create",e),u=e=>r.a.get("/RealVerifyTip/list",{params:e}),p=e=>r.a.get("/RealVerifyTip/detail",{params:e}),c=e=>r.a.get("/RealVerifyTip/del",{params:e}),d=e=>r.a.post("/RealVerifyTip/update",e),f=e=>r.a.post("/RealVerifyTip/create",e),m=e=>r.a.get("/RealVerify/list",{params:e}),_=e=>r.a.get("/RealVerify/detail",{params:e}),y=e=>r.a.post("/RealVerify/update",e),g=e=>r.a.get("/RealVerify/del",{params:e}),h=e=>r.a.post("/RealVerifyType/save",e),v=e=>r.a.post("/RealVerifyConfig/edit",e),b=e=>r.a.get("/RealVerifyConfig/list",{params:e}),R=e=>r.a.post("/RealVerifyTypeField/create",e),V=e=>r.a.get("/RealVerifyTypeField/list",{params:e}),k=e=>r.a.get("/RealVerifyTypeField/detail",{params:e}),T=e=>r.a.post("/RealVerifyTypeField/update",e),w=e=>r.a.get("/RealVerifyTypeField/del",{params:e})},8673:function(e,t,a){"use strict";a.r(t);var r=a("2532"),i=a("b3ad"),o=(a("b6c4"),{data:()=>({form:{hide_name:0,hide_phone:0,hide_sfz:0,auto_status:0,auto_app_code:""}}),components:{MaterialSelect:i.a},methods:{submitForm(e){this.$refs[e].validate(e=>{if(!e)return!1;this.saveSetting()})},saveSetting(){Object(r.a)(this.form).then(e=>{1==e.code?(this.$message.success("保存成功!"),this.loadSetting()):this.$message.error(e.msg)})},loadSetting(){Object(r.b)().then(e=>{1==e.code?this.form=e.data:this.$message.error(e.msg)})}},mounted(){this.loadSetting()}}),s=a("2877"),n=Object(s.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"ls-card"},[a("el-page-header",{attrs:{content:"认证设置"},on:{back:function(t){return e.$router.go(-1)}}})],1),a("div",{staticClass:"ls-card m-t-16"},[a("div",{staticClass:"card-title"},[e._v("认证设置")]),a("div",{staticClass:"card-content m-t-24"},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"140px"}},[a("el-form-item",{attrs:{required:"",prop:"type_1_auto_status",label:"个人认证自动审核"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:e.form.type_1_auto_status,callback:function(t){e.$set(e.form,"type_1_auto_status",t)},expression:"form.type_1_auto_status"}})],1),a("el-form-item",{attrs:{prop:"type_1_auto_app_code",label:"个人认证appcode"}},[a("el-input",{attrs:{placeholder:"个人认证自动接口的appcode"},model:{value:e.form.type_1_auto_app_code,callback:function(t){e.$set(e.form,"type_1_auto_app_code",t)},expression:"form.type_1_auto_app_code"}}),a("el-link",{staticStyle:{"margin-left":"10px"},attrs:{href:"https://market.aliyun.com/detail/cmapi00037888?spm=5176.29867242_210807074.0.0.946d3e7eK3fUwZ#sku=yuncode31888000018",type:"primary"}},[e._v("购买套餐")])],1),a("el-form-item",{attrs:{required:"",prop:"type_2_auto_status",label:"企业认证自动审核"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:e.form.type_2_auto_status,callback:function(t){e.$set(e.form,"type_2_auto_status",t)},expression:"form.type_2_auto_status"}})],1),a("el-form-item",{attrs:{prop:"type_2_auto_app_code",label:"企业认证appcode"}},[a("el-input",{attrs:{placeholder:"企业认证自动接口的appcode"},model:{value:e.form.type_2_auto_app_code,callback:function(t){e.$set(e.form,"type_2_auto_app_code",t)},expression:"form.type_2_auto_app_code"}}),a("el-link",{staticStyle:{"margin-left":"10px"},attrs:{href:"https://market.aliyun.com/detail/cmapi00068871#sku=yuncode6287100001",type:"primary"}},[e._v("购买套餐")])],1)],1)],1)]),a("div",{staticClass:"bg-white ls-fixed-footer"},[a("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("取消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.submitForm("form")}}},[e._v("保存")])],1)])])}),[],!1,null,null,null);t.default=n.exports}}]);