2025-03-20 10:25:32 +08:00

2 lines
3.2 KiB
JavaScript

import{_ as b}from"./index.a48c03c4.js";import{L as w,B as x,C as B,D as E,w as y}from"./element-plus.2acb577d.js";import{_ as F}from"./index.vue_vue_type_style_index_0_lang.8a52bc86.js";import{c as D,d as g}from"./website.a5e8049d.js";import{d as A,r as C,am as U,o as _,c as k,a as i,U as e,L as r,u as l,M as N,K as P,R as I,T as L}from"./@vue.821a47ec.js";import"./index.81df6f20.js";import"./@vueuse.81e2759c.js";import"./lodash.6bfd3540.js";import"./axios.9e996410.js";import"./vue-router.4c04f9b6.js";import"./pinia.fefed778.js";import"./css-color-function.8ff67959.js";import"./color.bfa08e9a.js";import"./clone.660f80c4.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.dabbc398.js";import"./nprogress.dcb32030.js";import"./vue-clipboard3.e681583f.js";import"./clipboard.3ad9b20b.js";import"./echarts.42bea269.js";import"./tslib.60310f1a.js";import"./zrender.2cb48b70.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8864a4be.js";import"./lodash-es.df44a280.js";import"./async-validator.fb49d0f5.js";import"./dayjs.d2a77ee0.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./@wangeditor.cffe0e53.js";import"./picker.c51c629b.js";import"./index.f292cd50.js";import"./index.c82c3401.js";import"./index.vue_vue_type_script_setup_true_lang.a280d02d.js";import"./index.8caf87ac.js";import"./usePaging.23706826.js";import"./vuedraggable.38fc8f37.js";import"./vue.93503b42.js";import"./sortablejs.f19edb47.js";const T={class:"xl:flex"},Ct=A({__name:"protocol",setup(h){const o=C({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),n=async()=>{o.value=await D()},c=async()=>{await g({...o.value}),n()};return n(),(G,t)=>{const a=x,p=B,s=E,u=F,d=w,f=y,v=b,V=U("perms");return _(),k(L,null,[i("div",T,[e(d,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:r(()=>t[4]||(t[4]=[i("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1)])),default:r(()=>[e(s,{model:l(o),"label-width":"80px"},{default:r(()=>[e(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:r(()=>[e(a,{modelValue:l(o).service_title,"onUpdate:modelValue":t[0]||(t[0]=m=>l(o).service_title=m)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),e(u,{class:"mb-10",modelValue:l(o).service_content,"onUpdate:modelValue":t[1]||(t[1]=m=>l(o).service_content=m),height:"500"},null,8,["modelValue"])]),_:1}),e(d,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:r(()=>t[5]||(t[5]=[i("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1)])),default:r(()=>[e(s,{model:l(o),"label-width":"80px"},{default:r(()=>[e(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:r(()=>[e(a,{modelValue:l(o).privacy_title,"onUpdate:modelValue":t[2]||(t[2]=m=>l(o).privacy_title=m)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),e(u,{class:"mb-10",modelValue:l(o).privacy_content,"onUpdate:modelValue":t[3]||(t[3]=m=>l(o).privacy_content=m),height:"500"},null,8,["modelValue"])]),_:1})]),N((_(),P(v,null,{default:r(()=>[e(f,{type:"primary",onClick:c},{default:r(()=>t[6]||(t[6]=[I("\u4FDD\u5B58")])),_:1})]),_:1})),[[V,["setting.web.web_setting/setAgreement"]]])],64)}}});export{Ct as default};