2024-01-03 11:38:29 +08:00
|
|
|
import{_ as V}from"./index.6286e930.js";import{B as b,C as w,D as x,I as B,w as E}from"./element-plus.5df6f736.js";import{_ as h}from"./index.vue_vue_type_style_index_0_lang.bbd0d8bf.js";import{c as y,d as F}from"./website.a21c93d2.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.687d0718.js";import"./@vueuse.d3d080b7.js";import"./lodash.33f675f2.js";import"./axios.c2a2014a.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5d5b8bda.js";import"./color.da05fa89.js";import"./clone.06747a68.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.1c707d7b.js";import"./ms.a9ae1d6d.js";import"./@element-plus.d6eabd08.js";import"./nprogress.fc605139.js";import"./vue-clipboard3.dc900a40.js";import"./clipboard.6beb87aa.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.50c3b6f7.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.bbc72a39.js";import"./index.c4f408bd.js";import"./index.3e148853.js";import"./index.vue_vue_type_script_setup_true_lang.1938e45e.js";import"./index.05c8e034.js";import"./index.c56c4fd1.js";import"./index.vue_vue_type_script_setup_true_lang.dc1b37d1.js";import"./usePaging.2a59f422.js";import"./vue3-video-play.5aacf00d.js";import"./vuedraggable.882c7954.js";import"./vue.d688b76a.js";import"./sortablejs.1b122128.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};
|