import{_ as k}from"./index.9d1e28f3.js";import{C as V,D as A,w as U,F as x,T as N}from"./element-plus.bccb9376.js";import{f as T,b as I}from"./index.ac7c1248.js";import{_ as L}from"./index.54cf1246.js";import{g as $,s as K}from"./website.318a1534.js";import{d as h,r as M,ap as P,o as a,c as _,U as o,L as t,T as R,a9 as S,u as d,K as f,a as e,R as F,M as j}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.466e9fe4.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.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"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const q={class:"website-filing"},z=e("div",{class:"mb-5"},"\u7AD9\u70B9\u5E95\u90E8\u7248\u6743\u5907\u6848\u4FE1\u606F\u8BBE\u7F6E",-1),G={class:"py-4 bg-fill-lighter"},H={class:"w-80"},J={class:"w-80"},O=e("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),Q=h({name:"webFilling"}),Zo=h({...Q,setup(W){const r=M([{key:"",value:""}]),s=async()=>{const i=await $();!i.length||(r.value=i)},v=()=>{r.value.push({key:"",value:""})},E=i=>{if(r.value.length<=1)return T.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");r.value.splice(i,1)},g=async()=>{await K({config:r.value}),s()};return s(),(i,X)=>{const n=V,p=A,w=L,D=I,m=U,b=x,C=N,y=k,B=P("perms");return a(),_("div",q,[o(C,{shadow:"never",class:"!border-none"},{default:t(()=>[z,o(b,{ref:"form",class:"ls-form","label-width":"100px"},{default:t(()=>[(a(!0),_(R,null,S(d(r),(l,c)=>(a(),f(w,{class:"mb-4",key:c,"show-close":d(r).length>1,onClose:u=>E(c)},{default:t(()=>[e("div",G,[o(p,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:t(()=>[e("div",H,[e("div",null,[o(n,{modelValue:l.key,"onUpdate:modelValue":u=>l.key=u,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])])])]),_:2},1024),o(p,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"icp_link"},{default:t(()=>[e("div",J,[e("div",null,[o(n,{modelValue:l.value,"onUpdate:modelValue":u=>l.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)),e("div",null,[o(m,{type:"primary",onClick:v},{default:t(()=>[o(D,{name:"el-icon-Plus"}),F(" \u6DFB\u52A0 ")]),_:1})])]),_:1},512)]),_:1}),j((a(),f(y,null,{default:t(()=>[o(m,{type:"primary",onClick:g},{default:t(()=>[F("\u4FDD\u5B58")]),_:1})]),_:1})),[[B,["setting.web.web_setting/setCopyright"]]])])}}});export{Zo as default};
