← Back
Editing: dns-verification-legacy.js
System.register(["./public-legacy.js?v=1749179669910","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1749179669910","./page_layout-legacy.js?v=1749179669910","./naive-legacy.js?v=1749179669910","./vue-legacy.js?v=1749179669910","./common-legacy.js?v=1749179669910","./__commonjsHelpers__-legacy.js?v=1749179669910"],(function(e,l){"use strict";var a,t,s,n,u,o,d,i,r,c,_,p,y,v,m,f,x,S,h,C,b,g,B,$,j;return{setters:[e=>{a=e.i,t=e.a3,s=e._},e=>{n=e._},e=>{u=e.c,o=e.m,d=e.o},e=>{i=e._,r=e.T,c=e.cj,_=e.bU},e=>{p=e.d,y=e.O,v=e.af,m=e.j,f=e.n,x=e.a3,S=e.R,h=e.S,C=e.U,b=e.P,g=e.a1,B=e.c,$=e.a2,j=e.V},null,null],execute:function(){const l={class:"p-40px",show:!1},D={class:"text-14px mb-20px!"};e("default",p({__name:"dns-verification",props:{uc_id:{},verify:{},request:{type:Boolean},onRefresh:{type:Function}},emits:["close"],setup(e,{emit:p}){const{t:L}=y(),w=e,{uc_id:V,verify:k,request:U}=v(w),A=p,P=m({host_record:"",record_type:"",record_value:"",domain_name:""}),H=async()=>{const{message:e}=await t({uc_id:V.value});u(e)&&("PENDING"===e.certStatus?o.success(L("SSL.Business.index_23")):w.onRefresh(),P.host_record=e.data.DCVdnsHost,P.record_type=e.data.DCVdnsType,P.record_value=e.data.DCVdnsValue)},M=()=>{A("close")};f((()=>{U.value?H():N()}));const N=()=>{P.host_record=k.value.DCVdnsHost,P.record_type=k.value.DCVdnsType,P.record_value=k.value.DCVdnsValue,P.domain_name=k.value.dcvList[0].domainName};return(e,t)=>{const u=d,o=x("i18n-t"),p=i,y=r,v=c,m=_,f=n,L=s;return S(),h("div",l,[C("div",D,[b(o,{keypath:"SSL.Business.index_15",scope:"global"},{a:g((()=>[b(u,null,{default:g((()=>[B($(j(P).domain_name),1)])),_:1})])),b:g((()=>[B($(j(P).record_type),1)])),_:1})]),b(f,{model:j(P),"label-width":"100px"},{default:g((()=>[b(v,{label:e.$t("Mail.Domain.index_37")},{default:g((()=>[b(p,{class:"w-380px!",value:j(P).host_record,"onUpdate:value":t[0]||(t[0]=e=>j(P).host_record=e),readonly:""},null,8,["value"]),b(y,{class:"ml-10px!",type:"primary",onClick:t[1]||(t[1]=e=>j(a)(j(P).host_record))},{default:g((()=>[B($(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1},8,["label"]),b(v,{label:e.$t("Mail.Domain.index_36")},{default:g((()=>[b(p,{class:"w-380px!",value:j(P).record_type,"onUpdate:value":t[2]||(t[2]=e=>j(P).record_type=e),readonly:""},null,8,["value"])])),_:1},8,["label"]),b(v,{label:e.$t("Mail.Domain.index_38")},{default:g((()=>[b(m,null,{default:g((()=>[b(p,{type:"textarea",class:"w-380px!",value:j(P).record_value,"onUpdate:value":t[3]||(t[3]=e=>j(P).record_value=e),readonly:""},null,8,["value"]),b(y,{type:"primary",onClick:t[4]||(t[4]=e=>j(a)(j(P).record_value))},{default:g((()=>[B($(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"]),b(L,null,{default:g((()=>[t[5]||(t[5]=C("li",null,"Check for the existence of CAA records, and if they exist, please remove the relevant CAA records.",-1)),C("li",null,$(e.$t("SSL.Business.index_16")),1),C("li",null,$(e.$t("SSL.Business.index_17")),1),C("li",null,$(e.$t("SSL.Business.index_18")),1),C("li",null,$(e.$t("SSL.Business.index_19")),1),C("li",null,[b(u,{href:"https://www.aapanel.com/docs/Function/BusinessCertificate.html",target:"_blank"},{default:g((()=>[B($(e.$t("SSL.Business.index_20")),1)])),_:1})])])),_:1}),b(m,{class:"mt-20px!"},{default:g((()=>[b(y,{type:"primary",onClick:H},{default:g((()=>[B($(e.$t("SSL.Business.index_21")),1)])),_:1}),b(y,{onClick:M},{default:g((()=>[B($(e.$t("SSL.Business.index_22")),1)])),_:1})])),_:1})])}}}))}}}));
Save File
Cancel