import{_ as k}from"./index.64fe6e0c.js";import{y,A as V,u as A,B as U,F as x}from"./element-plus.33d6376e.js";import{f as _,b as N}from"./index.80c2a703.js";import{_ as S}from"./index.ed42dcff.js";import{g as I,s as L}from"./website.240ec80e.js";import{d as $,r as K,ad as M,o as u,c as d,U as e,L as o,V as P,a8 as T,K as F,a as t,M as j,S as f}from"./@vue.230e89ba.js";import"./@vueuse.88988742.js";import"./dayjs.66926594.js";import"./axios.2d915936.js";import"./@element-plus.739f7923.js";import"./lodash-es.29c53eac.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.b68d77aa.js";import"./vue-router.c0281831.js";import"./pinia.1d1aade0.js";import"./vue-demi.bfae2336.js";import"./css-color-function.a8f9466d.js";import"./color.903ca10f.js";import"./clone.9d64bb7a.js";import"./color-convert.69e17089.js";import"./color-string.e356f5de.js";import"./color-name.e7a4e1d3.js";import"./nprogress.a96d99f2.js";import"./echarts.6ad8c478.js";import"./zrender.f91f2f01.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.b3d01323.js";const q={class:"website-filing"},z=t("div",{class:"mb-5"},"\u5E95\u90E8\u7248\u6743\u8BBE\u7F6E",-1),G={class:"bg-page py-4"},H={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"),Ae=$({__name:"filing",setup(W){const a=K([{name:"",link:""}]),r=async()=>{const n=await I();!n.length||(a.value=n)},h=()=>{a.value.push({name:"",link:""})},v=n=>{if(a.value.length<=1)return _.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");a.value.splice(n,1)},E=async()=>{await L(a.value),_.msgSuccess("\u64CD\u4F5C\u6210\u529F"),r()};return r(),(n,X)=>{const i=y,m=V,g=S,D=N,p=A,C=U,w=x,B=k,b=M("perms");return u(),d("div",q,[e(w,{shadow:"never",class:"!border-none"},{default:o(()=>[z,e(C,{ref:"form",class:"ls-form","label-width":"100px"},{default:o(()=>[(u(!0),d(P,null,T(a.value,(s,c)=>(u(),F(g,{class:"mb-4",key:c,"show-close":a.value.length>1,onClose:l=>v(c)},{default:o(()=>[t("div",G,[e(m,{label:"\u663E\u793A\u540D\u79F0",prop:"name"},{default:o(()=>[t("div",H,[t("div",null,[e(i,{modelValue:s.name,"onUpdate:modelValue":l=>s.name=l,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])])])]),_:2},1024),e(m,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"link"},{default:o(()=>[t("div",J,[t("div",null,[e(i,{modelValue:s.link,"onUpdate:modelValue":l=>s.link=l,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(p,{type:"primary",onClick:h},{default:o(()=>[e(D,{name:"el-icon-Plus"}),Q]),_:1})])]),_:1},512)]),_:1}),j((u(),F(B,null,{default:o(()=>[e(p,{type:"primary",onClick:E},{default:o(()=>[R]),_:1})]),_:1})),[[b,["setting:copyright:save"]]])])}}});export{Ae as default};
