import{_ as V}from"./index.14b5d861.js";import{B as b,C as w,D as x,J as B,w as E}from"./element-plus.ae8e286c.js";import{_ as h}from"./index.vue_vue_type_style_index_0_lang.f7f8fb55.js";import{c as y,d as F}from"./website.f89f888f.js";import{d as D,r as g,ae as A,o as c,c as C,a as m,T as e,K as o,L as U,J as k,U as N,R as P}from"./@vue.108c970a.js";import"./index.71fc8348.js";import"./@vueuse.d3d080b7.js";import"./lodash.e92d81a1.js";import"./axios.4ebfdb3f.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"./@element-plus.d6eabd08.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";import"./lodash-es.29c53eac.js";import"./dayjs.664390f6.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"./@wangeditor.4fd390b4.js";import"./picker.f5e784c0.js";import"./index.a9e38e26.js";import"./index.f627c566.js";import"./index.vue_vue_type_script_setup_true_lang.4acf6c9d.js";import"./index.1b85017a.js";import"./index.116944b2.js";import"./index.vue_vue_type_script_setup_true_lang.f36e8ca0.js";import"./usePaging.2a59f422.js";import"./vue3-video-play.5aacf00d.js";import"./vuedraggable.38d35928.js";import"./vue.c38777e7.js";import"./sortablejs.8626b931.js";const I={class:"xl:flex"},J=m("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),T=m("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),G=P("\u4FDD\u5B58"),Tt=D({__name:"protocol",setup(K){const t=g({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),i=async()=>{t.value=await y()},_=async()=>{await F({...t.value}),i()};return i(),(L,r)=>{const a=b,n=w,p=x,s=h,u=B,d=E,v=V,f=A("perms");return c(),C(N,null,[m("div",I,[e(u,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:o(()=>[J]),default:o(()=>[e(p,{model:t.value,"label-width":"80px"},{default:o(()=>[e(n,{label:"\u534F\u8BAE\u540D\u79F0"},{default:o(()=>[e(a,{modelValue:t.value.service_title,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value.service_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),e(s,{class:"mb-10",modelValue:t.value.service_content,"onUpdate:modelValue":r[1]||(r[1]=l=>t.value.service_content=l),height:"500"},null,8,["modelValue"])]),_:1}),e(u,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:o(()=>[T]),default:o(()=>[e(p,{model:t.value,"label-width":"80px"},{default:o(()=>[e(n,{label:"\u534F\u8BAE\u540D\u79F0"},{default:o(()=>[e(a,{modelValue:t.value.privacy_title,"onUpdate:modelValue":r[2]||(r[2]=l=>t.value.privacy_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),e(s,{class:"mb-10",modelValue:t.value.privacy_content,"onUpdate:modelValue":r[3]||(r[3]=l=>t.value.privacy_content=l),height:"500"},null,8,["modelValue"])]),_:1})]),U((c(),k(v,null,{default:o(()=>[e(d,{type:"primary",onClick:_},{default:o(()=>[G]),_:1})]),_:1})),[[f,["setting.web.web_setting/setAgreement"]]])],64)}}});export{Tt as default};
