2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
import{_ as k}from"./index.ff137ca9.js";import{C as V,D as A,w as x,F as U,I}from"./element-plus.61695454.js";import{f as N,b as P}from"./index.1dd80bf2.js";import{_ as T}from"./index.ae7d0ef2.js";import{g as $,s as L}from"./website.5cdb9618.js";import{d as h,r as M,am as O,o as n,c as _,W as e,O as o,V as S,a7 as W,u as d,M as f,a as t,T as F,P as j}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.a2abcd4b.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.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.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.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"},K=t("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),Q=h({name:"webFilling"}),Ne=h({...Q,setup(R){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 L({config:l.value}),r()};return r(),(u,X)=>{const i=V,p=A,w=T,D=P,m=x,b=U,C=I,y=k,B=O("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),_(S,null,W(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"])]),K])]),_: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{Ne as default};
|