2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{_ as V}from"./index.bab75ff9.js";import{B as b,C as w,D as x,I as B,w as E}from"./element-plus.9fdc69b1.js";import{_ as h}from"./index.vue_vue_type_style_index_0_lang.19f352f4.js";import{c as y,d as F}from"./website.c3de4aef.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.0398bb44.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.99e09075.js";import"./index.78cf0949.js";import"./index.5d5f42c6.js";import"./index.vue_vue_type_script_setup_true_lang.d7e60f94.js";import"./index.a36f2011.js";import"./index.2f789140.js";import"./index.vue_vue_type_script_setup_true_lang.6b5f1fa5.js";import"./usePaging.2a59f422.js";import"./vue3-video-play.5aacf00d.js";import"./vuedraggable.38d35928.js";import"./vue.c38777e7.js";import"./sortablejs.8626b931.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};
|