import{_ as b}from"./index.dd27da2c.js";import{C as w,D as x,F as E,N as F,w as y}from"./element-plus.55d71530.js";import{_ as B}from"./index.vue_vue_type_style_index_0_lang.88c8d169.js";import{e as h,f as D}from"./website.6ce47a6c.js";import{d as g,r as A,aq as C,o as _,c as U,a as i,V as o,M as e,u as r,O as k,L as N,S as P,U as I}from"./@vue.96c135a1.js";import"./index.b7f6427b.js";import"./@vueuse.f4694335.js";import"./lodash.d6737109.js";import"./@amap.8a62addd.js";import"./axios.c6b9fe3d.js";import"./vue-router.64fdcd9a.js";import"./pinia.aebd7275.js";import"./css-color-function.7f53c13d.js";import"./color.4952d479.js";import"./clone.dd01d7ea.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"./dayjs.37feae28.js";import"./@element-plus.07bd0514.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.80787eb0.js";import"./tslib.60310f1a.js";import"./zrender.6f33727c.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.3d7ee361.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./@wangeditor.f28454bb.js";import"./picker.76cdcf9b.js";import"./index.9939838f.js";import"./index.7e1cd87f.js";import"./index.vue_vue_type_script_setup_true_lang.39bbbfbb.js";import"./index.630379b3.js";import"./index.7f807500.js";import"./index.vue_vue_type_script_setup_true_lang.bc0f922f.js";import"./usePaging.af60c1ec.js";import"./vue3-video-play.f32fd690.js";import"./vuedraggable.7c3813d2.js";import"./vue.19f894a8.js";import"./sortablejs.a173b1ef.js";const q={class:"xl:flex"},G=i("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),L=i("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),It=g({__name:"protocol",setup(M){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(),(O,m)=>{const n=w,p=x,s=E,u=B,c=F,f=y,v=b,V=C("perms");return _(),U(I,null,[i("div",q,[o(c,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:e(()=>[G]),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(()=>[L]),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((_(),N(v,null,{default:e(()=>[o(f,{type:"primary",onClick:d},{default:e(()=>[P("\u4FDD\u5B58")]),_:1})]),_:1})),[[V,["setting.web.web_setting/setAgreement"]]])],64)}}});export{It as default};
