2 lines
3.3 KiB
JavaScript
2 lines
3.3 KiB
JavaScript
import{_ as V}from"./index.f122b62f.js";import{C as A,D as U,w as x,F as L,L as N}from"./element-plus.91c68cc0.js";import{f as I,b as T}from"./index.d12b3af4.js";import{_ as $}from"./index.839c505b.js";import{g as K,s as M}from"./website.9a6a0ca2.js";import{d as E,r as P,ap as R,o as a,c as d,U as o,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.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.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"}),Io=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,e)=>{const p=A,m=U,b=$,h=T,_=x,C=L,y=N,B=V,k=R("perms");return a(),d("div",z,[o(y,{shadow:"never",class:"!border-none"},{default:t(()=>[e[2]||(e[2]=l("div",{class:"mb-5"},"\u7AD9\u70B9\u5E95\u90E8\u7248\u6743\u5907\u6848\u4FE1\u606F\u8BBE\u7F6E",-1)),o(C,{ref:"form",class:"ls-form","label-width":"100px"},{default:t(()=>[(a(!0),d(S,null,j(f(u),(r,c)=>(a(),F(b,{class:"mb-4",key:c,"show-close":f(u).length>1,onClose:s=>w(c)},{default:t(()=>[l("div",G,[o(m,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:t(()=>[l("div",H,[l("div",null,[o(p,{modelValue:r.key,"onUpdate:modelValue":s=>r.key=s,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])])])]),_:2},1024),o(m,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"icp_link"},{default:t(()=>[l("div",J,[l("div",null,[o(p,{modelValue:r.value,"onUpdate:modelValue":s=>r.value=s,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5\uFF0C\u4F8B\u5982\uFF1Ahttp://www.beian.gov.cn"},null,8,["modelValue","onUpdate:modelValue"])]),e[0]||(e[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,[o(_,{type:"primary",onClick:g},{default:t(()=>[o(h,{name:"el-icon-Plus"}),e[1]||(e[1]=v(" \u6DFB\u52A0 "))]),_:1})])]),_:1},512)]),_:1}),q((a(),F(B,null,{default:t(()=>[o(_,{type:"primary",onClick:D},{default:t(()=>e[3]||(e[3]=[v("\u4FDD\u5B58")])),_:1})]),_:1})),[[k,["setting.web.web_setting/setCopyright"]]])])}}});export{Io as default};
|