2024-11-11 11:30:56 +08:00
|
|
|
import{_ as k}from"./index.ee0e8467.js";import{C as V,D as A,w as U,F as x,L}from"./element-plus.7e347b00.js";import{f as N,b as I}from"./index.fd76ab8a.js";import{_ as T}from"./index.209f4c2d.js";import{g as $,s as K}from"./website.e86cb9bd.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.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.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.101084e3.js";import"./pinia.a969beab.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.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"}),Te=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{Te as default};
|