WokerTask/public/admin/assets/filing.3e5339ad.js

2 lines
3.3 KiB
JavaScript

import{_ as k}from"./index.518d7fd2.js";import{C as V,D as A,w as U,F as x,J as N}from"./element-plus.ff90c99c.js";import{f as I,b as P}from"./index.a6925776.js";import{_ as $}from"./index.57adeac9.js";import{g as q,s as J}from"./website.2da12e92.js";import{d as h,r as L,aq as Q,o as s,c as _,W as e,Q as o,F as R,a9 as S,u as d,P as f,a as t,U as F,R as T}from"./@vue.f8dfc830.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const W={class:"website-filing"},j=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"},K=t("div",{class:"form-tips"},"\u8DF3\u8F6C\u94FE\u63A5\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4E0D\u8DF3\u8F6C",-1),M=h({name:"webFilling"}),Le=h({...M,setup(O){const l=L([{key:"",value:""}]),n=async()=>{const u=await q();!u.length||(l.value=u)},v=()=>{l.value.push({key:"",value:""})},E=u=>{if(l.value.length<=1)return I.msgError("\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A");l.value.splice(u,1)},g=async()=>{await J({config:l.value}),n()};return n(),(u,X)=>{const i=V,p=A,w=$,D=P,m=U,b=x,C=N,y=k,B=Q("perms");return s(),_("div",W,[e(C,{shadow:"never",class:"!border-none"},{default:o(()=>[j,e(b,{ref:"form",class:"ls-form","label-width":"100px"},{default:o(()=>[(s(!0),_(R,null,S(d(l),(a,c)=>(s(),f(w,{class:"mb-4",key:c,"show-close":d(l).length>1,onClose:r=>E(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:a.key,"onUpdate:modelValue":r=>a.key=r,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:a.value,"onUpdate:modelValue":r=>a.value=r,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}),T((s(),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};