import{_ as y}from"./index.59e880ed.js";import{B as k,C as V,w as A,D as U,H as x}from"./element-plus.c4a2af8a.js";import{b as N,f as I}from"./index.2b468485.js";import{_ as L}from"./index.30d806cb.js";import{g as S,s as $}from"./website.e5dc8eaa.js";import{d as f,r as H,af as K,o as n,c as _,U as e,L as o,M,K as d,V as P,a7 as T,a as t,S as F}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.ff93117e.js";import"./axios.eb055ccc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.ec5da75f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.31dc130b.js";import"./color.b6d632a4.js";import"./clone.7a47b02c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.3a33898e.js";import"./ms.a9ae1d6d.js";import"./nprogress.fa64f2fc.js";import"./vue-clipboard3.be0dfeee.js";import"./clipboard.824ba320.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const j={class:"website-filing"},q=t("div",{class:"mb-5"},"\u7AD9\u70B9\u5E95\u90E8\u7248\u6743\u5907\u6848\u4FE1\u606F\u8BBE\u7F6E",-1),z={class:"py-4 bg-fill-lighter"},G={class:"w-80"},J={class:"w-80"},O=t("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),Q=F(" \u6DFB\u52A0 "),R=F("\u4FDD\u5B58"),W=f({name:"webFilling"}),$e=f({...W,setup(X){const l=H([{key:"",value:""}]),r=async()=>{const a=await S();!a.length||(l.value=a)},h=()=>{l.value.push({key:"",value:""})},v=a=>{if(l.value.length<=1)return I.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");l.value.splice(a,1)},E=async()=>{await $({config:l.value}),r()};return r(),(a,Y)=>{const i=k,p=V,g=L,w=N,m=A,D=U,b=x,C=y,B=K("perms");return n(),_("div",j,[e(b,{shadow:"never",class:"!border-none"},{default:o(()=>[q,e(D,{ref:"form",class:"ls-form","label-width":"100px"},{default:o(()=>[(n(!0),_(P,null,T(l.value,(s,c)=>(n(),d(g,{class:"mb-4",key:c,"show-close":l.value.length>1,onClose:u=>v(c)},{default:o(()=>[t("div",z,[e(p,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:o(()=>[t("div",G,[t("div",null,[e(i,{modelValue:s.key,"onUpdate:modelValue":u=>s.key=u,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])])])]),_:2},1024),e(p,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"icp_link"},{default:o(()=>[t("div",J,[t("div",null,[e(i,{modelValue:s.value,"onUpdate:modelValue":u=>s.value=u,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5\uFF0C\u4F8B\u5982\uFF1Ahttp://www.beian.gov.cn"},null,8,["modelValue","onUpdate:modelValue"])]),O])]),_:2},1024)])]),_:2},1032,["show-close","onClose"]))),128)),t("div",null,[e(m,{type:"primary",onClick:h},{default:o(()=>[e(w,{name:"el-icon-Plus"}),Q]),_:1})])]),_:1},512)]),_:1}),M((n(),d(C,null,{default:o(()=>[e(m,{type:"primary",onClick:E},{default:o(()=>[R]),_:1})]),_:1})),[[B,["setting.web.web_setting/setCopyright"]]])])}}});export{$e as default};