import{_ as b}from"./index.744f8721.js";import{B as w,C as x,D as B,I as E,w as y}from"./element-plus.9816852d.js";import{_ as F}from"./index.vue_vue_type_style_index_0_lang.8cc208ba.js";import{c as h,d as D}from"./website.335eb868.js";import{d as g,r as A,af as C,o as _,c as U,a as l,U as o,L as e,u as r,M as k,K as I,R as N,T as P}from"./@vue.51d7f2d8.js";import"./index.4eaf9bd5.js";import"./@vueuse.ec90c285.js";import"./lodash.675f209e.js";import"./@amap.8a62addd.js";import"./axios.54f807ba.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.js";import"./ms.a9ae1d6d.js";import"./@element-plus.a074d1f6.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.40d5feba.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.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"./@wangeditor.afd76521.js";import"./picker.4761e5aa.js";import"./index.2d3a3dd9.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./index.d79ab099.js";import"./index.vue_vue_type_script_setup_true_lang.f99137a4.js";import"./index.8155eb0b.js";import"./index.e2376454.js";import"./index.vue_vue_type_script_setup_true_lang.e9eaddcf.js";import"./usePaging.2ad8e1e6.js";import"./vue3-video-play.b911321b.js";import"./vuedraggable.a2066cae.js";import"./vue.3348ef2c.js";import"./sortablejs.85a0be55.js";const T={class:"xl:flex"},G=l("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),K=l("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),Lt=g({__name:"protocol",setup(L){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(),(M,m)=>{const n=w,p=x,s=B,u=F,c=E,f=y,v=b,V=C("perms");return _(),U(P,null,[l("div",T,[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]=i=>r(t).service_title=i)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).service_content,"onUpdate:modelValue":m[1]||(m[1]=i=>r(t).service_content=i),height:"500"},null,8,["modelValue"])]),_:1}),o(c,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:e(()=>[K]),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]=i=>r(t).privacy_title=i)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).privacy_content,"onUpdate:modelValue":m[3]||(m[3]=i=>r(t).privacy_content=i),height:"500"},null,8,["modelValue"])]),_:1})]),k((_(),I(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{Lt as default};