import{F as D}from"./index.d8717905.js";import{af as x,ag as B}from"./setting.644fa418.js";import{d as k,aX as C,b as r,c as t,e as _,f as d,h as a,i as e,u,F as V,j as w,k as I,m as p,t as z,E as N,R as A,S as L,g as R,_ as j}from"./index.0308b213.js";const G=s=>(A("data-v-a6918e51"),s=s(),L(),s),M=G(()=>R("span",null,"\u8054\u9E93\u5E73\u53F0",-1)),T=p("\u4FDD\u5B58"),U=k({setup(s){const c=C.get("uniacid"),o=r({uniacid:c,type:"aliyun"}),m=r({list:[{label:"\u963F\u91CC\u4E91",value:"aliyun"},{label:"\u8054\u9E93\u5E73\u53F0",value:"lianlu"}]}),f=()=>{x(c).then(l=>{l&&(o.type=l.data.type||"aliyun")})},y=()=>{B(o).then(l=>{N({message:"\u4FDD\u5B58\u6210\u529F",type:"success"})})};return f(),(l,i)=>{const F=t("el-radio"),g=t("el-radio-group"),b=t("el-form-item"),h=t("el-card"),E=t("el-form"),v=t("el-button");return _(),d("div",null,[a(E,{ref:"formRef",model:u(o),"label-width":"160px",size:"default","label-position":"left"},{default:e(()=>[a(h,{shadow:"always","body-style":{padding:"30px"}},{header:e(()=>[M]),default:e(()=>[a(b,{label:"\u5F00\u542F\u77ED\u4FE1/\u8BED\u97F3\u529F\u80FD"},{default:e(()=>[a(g,{modelValue:u(o).type,"onUpdate:modelValue":i[0]||(i[0]=n=>u(o).type=n),class:"ml-4"},{default:e(()=>[(_(!0),d(V,null,w(u(m).list,(n,S)=>(_(),I(F,{key:S,label:n.value,size:"large"},{default:e(()=>[p(z(n.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["model"]),a(D,null,{default:e(()=>[a(v,{type:"primary",size:"small",onClick:y},{default:e(()=>[T]),_:1})]),_:1})])}}});const J=j(U,[["__scopeId","data-v-a6918e51"]]);export{J as default};
