import{_ as k}from"./index.f1422708.js";import{C as V,D as A,w as U,F as x,N}from"./element-plus.55d71530.js";import{f as I,b as L}from"./index.e2bd5212.js";import{_ as S}from"./index.54e5bacf.js";import{g as $,s as q}from"./website.7b08c7b3.js";import{d as h,r as M,aq as O,o as n,c as _,V as e,M as o,U as P,aa as T,u as d,L as f,a as t,S as F,O as j}from"./@vue.96c135a1.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.f4694335.js";import"./@element-plus.07bd0514.js";import"./dayjs.37feae28.js";import"./@amap.8a62addd.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.d6737109.js";import"./axios.c6b9fe3d.js";import"./vue-router.64fdcd9a.js";import"./pinia.aebd7275.js";import"./css-color-function.7f53c13d.js";import"./color.4952d479.js";import"./clone.dd01d7ea.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.80787eb0.js";import"./tslib.60310f1a.js";import"./zrender.6f33727c.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.3d7ee361.js";const z={class:"website-filing"},G=t("div",{class:"mb-5"},"\u7AD9\u70B9\u5E95\u90E8\u7248\u6743\u5907\u6848\u4FE1\u606F\u8BBE\u7F6E",-1),H={class:"py-4 bg-fill-lighter"},J={class:"w-80"},K={class:"w-80"},Q=t("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),R=h({name:"webFilling"}),Ie=h({...R,setup(W){const l=M([{key:"",value:""}]),r=async()=>{const a=await $();!a.length||(l.value=a)},v=()=>{l.value.push({key:"",value:""})},E=a=>{if(l.value.length<=1)return I.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");l.value.splice(a,1)},g=async()=>{await q({config:l.value}),r()};return r(),(a,X)=>{const i=V,p=A,w=S,D=L,m=U,b=x,C=N,y=k,B=O("perms");return n(),_("div",z,[e(C,{shadow:"never",class:"!border-none"},{default:o(()=>[G,e(b,{ref:"form",class:"ls-form","label-width":"100px"},{default:o(()=>[(n(!0),_(P,null,T(d(l),(u,c)=>(n(),f(w,{class:"mb-4",key:c,"show-close":d(l).length>1,onClose:s=>E(c)},{default:o(()=>[t("div",H,[e(p,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:o(()=>[t("div",J,[t("div",null,[e(i,{modelValue:u.key,"onUpdate:modelValue":s=>u.key=s,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",K,[t("div",null,[e(i,{modelValue:u.value,"onUpdate:modelValue":s=>u.value=s,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5\uFF0C\u4F8B\u5982\uFF1Ahttp://www.beian.gov.cn"},null,8,["modelValue","onUpdate:modelValue"])]),Q])]),_:2},1024)])]),_:2},1032,["show-close","onClose"]))),128)),t("div",null,[e(m,{type:"primary",onClick:v},{default:o(()=>[e(D,{name:"el-icon-Plus"}),F(" \u6DFB\u52A0 ")]),_:1})])]),_:1},512)]),_:1}),j((n(),f(y,null,{default:o(()=>[e(m,{type:"primary",onClick:g},{default:o(()=>[F("\u4FDD\u5B58")]),_:1})]),_:1})),[[B,["setting.web.web_setting/setCopyright"]]])])}}});export{Ie as default};
