multiStoreAdmin/build/store/assets/protocol.aacf7d42.js

2 lines
3.4 KiB
JavaScript

import{_ as b}from"./index.16598435.js";import{D as F,F as w,G as x,J as E,w as y}from"./element-plus.ab0703f2.js";import{_ as B}from"./index.vue_vue_type_style_index_0_lang.e219c7fb.js";import{c as h,d as D}from"./website.e50d131e.js";import{d as g,r as A,ap as C,o as _,c as U,a as i,W as o,Q as e,u as r,R as k,P,U as N,F as G}from"./@vue.340249d8.js";import"./index.5ab034a5.js";import"./@vueuse.e3650918.js";import"./lodash.3d784a58.js";import"./axios.45058a27.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.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"./@element-plus.558a564d.js";import"./nprogress.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./lodash-es.edba6135.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./@wangeditor.2e5c8ceb.js";import"./picker.8f1a8dd6.js";import"./index.5670c3d4.js";import"./index.b4523e0b.js";import"./index.vue_vue_type_script_setup_true_lang.5fc87b57.js";import"./index.47f5f1d6.js";import"./index.6b401445.js";import"./index.vue_vue_type_script_setup_true_lang.9909e290.js";import"./usePaging.fff444fa.js";import"./vue3-video-play.fb56db8a.js";import"./vuedraggable.5c3595e9.js";import"./vue.75cf012d.js";import"./sortablejs.dcbae258.js";const I={class:"xl:flex"},J=i("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),Q=i("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),It=g({__name:"protocol",setup(R){const t=A({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),a=async()=>{t.value=await h()},d=async()=>{await D({...t.value}),a()};return a(),(T,m)=>{const n=F,p=w,s=x,u=B,c=E,f=y,v=b,V=C("perms");return _(),U(G,null,[i("div",I,[o(c,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:e(()=>[J]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(n,{modelValue:r(t).service_title,"onUpdate:modelValue":m[0]||(m[0]=l=>r(t).service_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).service_content,"onUpdate:modelValue":m[1]||(m[1]=l=>r(t).service_content=l),height:"500"},null,8,["modelValue"])]),_:1}),o(c,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:e(()=>[Q]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(n,{modelValue:r(t).privacy_title,"onUpdate:modelValue":m[2]||(m[2]=l=>r(t).privacy_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).privacy_content,"onUpdate:modelValue":m[3]||(m[3]=l=>r(t).privacy_content=l),height:"500"},null,8,["modelValue"])]),_:1})]),k((_(),P(v,null,{default:e(()=>[o(f,{type:"primary",onClick:d},{default:e(()=>[N("\u4FDD\u5B58")]),_:1})]),_:1})),[[V,["setting.web.web_setting/setAgreement"]]])],64)}}});export{It as default};