2025-03-20 10:46:42 +08:00

2 lines
3.2 KiB
JavaScript

import{_ as V}from"./index.a48c03c4.js";import{L as A,B as U,C as x,w as L,D as N}from"./element-plus.2acb577d.js";import{f as I,b as T}from"./index.81df6f20.js";import{_ as $}from"./index.8caf87ac.js";import{g as K,s as M}from"./website.a5e8049d.js";import{d as E,r as P,am as R,o as r,c as d,U as e,L as t,a as l,T as S,a9 as j,u as f,K as F,R as v,M as q}from"./@vue.821a47ec.js";import"./lodash-es.df44a280.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.81e2759c.js";import"./@element-plus.dabbc398.js";import"./dayjs.d2a77ee0.js";import"./axios.9e996410.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.6bfd3540.js";import"./vue-router.4c04f9b6.js";import"./pinia.fefed778.js";import"./css-color-function.8ff67959.js";import"./color.bfa08e9a.js";import"./clone.660f80c4.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.dcb32030.js";import"./vue-clipboard3.e681583f.js";import"./clipboard.3ad9b20b.js";import"./echarts.42bea269.js";import"./tslib.60310f1a.js";import"./zrender.2cb48b70.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8864a4be.js";const z={class:"website-filing"},G={class:"py-4 bg-fill-lighter"},H={class:"w-80"},J={class:"w-80"},O=E({name:"webFilling"}),Ue=E({...O,setup(Q){const u=P([{key:"",value:""}]),i=async()=>{const n=await K();!n.length||(u.value=n)},g=()=>{u.value.push({key:"",value:""})},w=n=>{if(u.value.length<=1)return I.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");u.value.splice(n,1)},D=async()=>{await M({config:u.value}),i()};return i(),(n,o)=>{const p=U,m=x,b=$,h=T,_=L,C=N,B=A,y=V,k=R("perms");return r(),d("div",z,[e(B,{shadow:"never",class:"!border-none"},{default:t(()=>[o[2]||(o[2]=l("div",{class:"mb-5"},"\u7AD9\u70B9\u5E95\u90E8\u7248\u6743\u5907\u6848\u4FE1\u606F\u8BBE\u7F6E",-1)),e(C,{ref:"form",class:"ls-form","label-width":"100px"},{default:t(()=>[(r(!0),d(S,null,j(f(u),(s,c)=>(r(),F(b,{class:"mb-4",key:c,"show-close":f(u).length>1,onClose:a=>w(c)},{default:t(()=>[l("div",G,[e(m,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:t(()=>[l("div",H,[l("div",null,[e(p,{modelValue:s.key,"onUpdate:modelValue":a=>s.key=a,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])])])]),_:2},1024),e(m,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"icp_link"},{default:t(()=>[l("div",J,[l("div",null,[e(p,{modelValue:s.value,"onUpdate:modelValue":a=>s.value=a,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5\uFF0C\u4F8B\u5982\uFF1Ahttp://www.beian.gov.cn"},null,8,["modelValue","onUpdate:modelValue"])]),o[0]||(o[0]=l("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1))])]),_:2},1024)])]),_:2},1032,["show-close","onClose"]))),128)),l("div",null,[e(_,{type:"primary",onClick:g},{default:t(()=>[e(h,{name:"el-icon-Plus"}),o[1]||(o[1]=v(" \u6DFB\u52A0 "))]),_:1})])]),_:1},512)]),_:1}),q((r(),F(y,null,{default:t(()=>[e(_,{type:"primary",onClick:D},{default:t(()=>o[3]||(o[3]=[v("\u4FDD\u5B58")])),_:1})]),_:1})),[[k,["setting.web.web_setting/setCopyright"]]])])}}});export{Ue as default};