suyuan-breed/public/admin/assets/filing.83ed7fb8.js

2 lines
3.2 KiB
JavaScript

import{_ as y}from"./index.65ffcc98.js";import{B as k,C as V,w as A,D as U,J as x}from"./element-plus.ae8e286c.js";import{b as N,f as I}from"./index.fccb4ef5.js";import{_ as J}from"./index.f0cce4ed.js";import{g as L,s as T}from"./website.a4ed37e9.js";import{d as f,r as $,ae as K,o as n,c as _,T as e,K as o,L as P,J as d,U as R,a6 as S,a as t,R as F}from"./@vue.108c970a.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.664390f6.js";import"./axios.4ebfdb3f.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.e92d81a1.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.dbf33394.js";import"./color.e1b5fced.js";import"./clone.0a4e8ac3.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.f174a91e.js";import"./ms.a9ae1d6d.js";import"./nprogress.d7c3ab1b.js";import"./vue-clipboard3.add720e2.js";import"./clipboard.01ea18f5.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.241b9b5d.js";const j={class:"website-filing"},q=t("div",{class:"mb-5"},"\u7AD9\u70B9\u5E95\u90E8\u7248\u6743\u5907\u6848\u4FE1\u606F\u8BBE\u7F6E",-1),z={class:"py-4 bg-fill-lighter"},G={class:"w-80"},H={class:"w-80"},M=t("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),O=F(" \u6DFB\u52A0 "),Q=F("\u4FDD\u5B58"),W=f({name:"webFilling"}),Te=f({...W,setup(X){const l=$([{key:"",value:""}]),r=async()=>{const a=await L();!a.length||(l.value=a)},h=()=>{l.value.push({key:"",value:""})},v=a=>{if(l.value.length<=1)return I.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");l.value.splice(a,1)},E=async()=>{await T({config:l.value}),r()};return r(),(a,Y)=>{const i=k,p=V,g=J,w=N,m=A,D=U,b=x,C=y,B=K("perms");return n(),_("div",j,[e(b,{shadow:"never",class:"!border-none"},{default:o(()=>[q,e(D,{ref:"form",class:"ls-form","label-width":"100px"},{default:o(()=>[(n(!0),_(R,null,S(l.value,(s,c)=>(n(),d(g,{class:"mb-4",key:c,"show-close":l.value.length>1,onClose:u=>v(c)},{default:o(()=>[t("div",z,[e(p,{label:"\u663E\u793A\u540D\u79F0",prop:"icp_link"},{default:o(()=>[t("div",G,[t("div",null,[e(i,{modelValue:s.key,"onUpdate:modelValue":u=>s.key=u,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",H,[t("div",null,[e(i,{modelValue:s.value,"onUpdate:modelValue":u=>s.value=u,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5\uFF0C\u4F8B\u5982\uFF1Ahttp://www.beian.gov.cn"},null,8,["modelValue","onUpdate:modelValue"])]),M])]),_:2},1024)])]),_:2},1032,["show-close","onClose"]))),128)),t("div",null,[e(m,{type:"primary",onClick:h},{default:o(()=>[e(w,{name:"el-icon-Plus"}),O]),_:1})])]),_:1},512)]),_:1}),P((n(),d(C,null,{default:o(()=>[e(m,{type:"primary",onClick:E},{default:o(()=>[Q]),_:1})]),_:1})),[[B,["setting.web.web_setting/setCopyright"]]])])}}});export{Te as default};