2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import{_ as k}from"./index.768810a5.js";import{C as V,D as A,w as U,F as x,L}from"./element-plus.3a5be7a7.js";import{f as N,b as I}from"./index.077791ea.js";import{_ as T}from"./index.51db1d5e.js";import{g as $,s as K}from"./website.83b268ed.js";import{d as h,r as M,ap as P,o as n,c as _,U as e,L as o,T as R,a9 as S,u as d,K as f,a as t,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.8ae0c638.js";import"./axios.2b8d80bd.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.60201f64.js";import"./vue-router.886c5f5a.js";import"./pinia.a969beab.js";import"./css-color-function.b82a2ce7.js";import"./color.b905eb26.js";import"./clone.e1fb2883.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.495afef3.js";import"./vue-clipboard3.cb649e18.js";import"./clipboard.4592e390.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=t("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=t("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),Q=h({name:"webFilling"}),Le=h({...Q,setup(W){const l=M([{key:"",value:""}]),r=async()=>{const u=await $();!u.length||(l.value=u)},v=()=>{l.value.push({key:"",value:""})},E=u=>{if(l.value.length<=1)return N.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");l.value.splice(u,1)},g=async()=>{await K({config:l.value}),r()};return r(),(u,X)=>{const i=V,p=A,w=T,D=I,m=U,b=x,C=L,y=k,B=P("perms");return n(),_("div",q,[e(C,{shadow:"never",class:"!border-none"},{default:o(()=>[z,e(b,{ref:"form",class:"ls-form","label-width":"100px"},{default:o(()=>[(n(!0),_(R,null,S(d(l),(a,c)=>(n(),f(w,{class:"mb-4",key:c,"show-close":d(l).length>1,onClose:s=>E(c)},{default:o(()=>[t("div",G,[e(p,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:o(()=>[t("div",H,[t("div",null,[e(i,{modelValue:a.key,"onUpdate:modelValue":s=>a.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",J,[t("div",null,[e(i,{modelValue:a.value,"onUpdate:modelValue":s=>a.value=s,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(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{Le as default};
|