2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{_ as V}from"./index.7eecb4cc.js";import{B as b,C as w,D as x,I as B,w as E}from"./element-plus.7a22678c.js";import{_ as h}from"./index.vue_vue_type_style_index_0_lang.f96ea541.js";import{c as y,d as F}from"./website.ff338c3b.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 I,R as N}from"./@vue.108c970a.js";import"./index.b7b3082c.js";import"./@vueuse.d3d080b7.js";import"./lodash.ec5da75f.js";import"./axios.eb055ccc.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.31dc130b.js";import"./color.b6d632a4.js";import"./clone.7a47b02c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.3a33898e.js";import"./ms.a9ae1d6d.js";import"./@element-plus.d6eabd08.js";import"./nprogress.fa64f2fc.js";import"./vue-clipboard3.be0dfeee.js";import"./clipboard.824ba320.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.ff93117e.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.e713c323.js";import"./index.1eba8439.js";import"./index.979ea11d.js";import"./index.vue_vue_type_script_setup_true_lang.cabb2d32.js";import"./index.7f182c82.js";import"./index.4851b8f4.js";import"./index.vue_vue_type_script_setup_true_lang.aa7eacaa.js";import"./usePaging.2a59f422.js";import"./vue3-video-play.5aacf00d.js";import"./vuedraggable.0b47cde1.js";import"./vue.118acae4.js";import"./sortablejs.9ffc750f.js";const P={class:"xl:flex"},T=m("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),G=m("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),J=N("\u4FDD\u5B58"),Gt=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(I,null,[m("div",P,[e(u,{class:"!border-none flex-1 xl:mr-4 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.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(()=>[G]),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(()=>[J]),_:1})]),_:1})),[[f,["setting.web.web_setting/setAgreement"]]])],64)}}});export{Gt as default};
|