2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{_ as V}from"./index.b3d12682.js";import{D as b,B as w,L as x,C as B,w as E}from"./element-plus.6d2d2999.js";import{_ as h}from"./index.vue_vue_type_style_index_0_lang.7a6c7f5b.js";import{c as y,d as F}from"./website.1fe7cadc.js";import{d as D,r as g,ak as A,o as c,c as C,a as m,V as e,M as o,O as k,L as U,W as N,T as P}from"./@vue.5673dc6e.js";import"./index.1eb21f43.js";import"./@vueuse.ae0833ee.js";import"./lodash.a82e6f70.js";import"./axios.36225696.js";import"./vue-router.137bc04e.js";import"./pinia.dba679c5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5db10a28.js";import"./color.71c30cc1.js";import"./clone.2ee3e1bd.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.6e76bada.js";import"./ms.a9ae1d6d.js";import"./@element-plus.d30df31f.js";import"./nprogress.6e60475c.js";import"./vue-clipboard3.532e155c.js";import"./clipboard.7774a268.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.00aeb742.js";import"./lodash-es.5979d539.js";import"./dayjs.2ad434f4.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@wangeditor.bac9ec4e.js";import"./picker.89758aed.js";import"./index.7cbc136f.js";import"./index.5dac179a.js";import"./index.vue_vue_type_script_setup_true_lang.09449d5c.js";import"./index.d7fe29f9.js";import"./index.vue_vue_type_script_setup_true_lang.06343fc1.js";import"./usePaging.d22bd5fb.js";import"./vue3-video-play.7e93484d.js";import"./vuedraggable.bbcd207c.js";import"./vue.79195844.js";import"./sortablejs.0312ab28.js";const I={class:"xl:flex"},L=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"),It=D({__name:"protocol",setup(M){const t=g({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),a=async()=>{t.value=await y()},_=async()=>{await F({...t.value}),a()};return a(),(O,r)=>{const i=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(()=>[L]),default:o(()=>[e(p,{model:t.value,"label-width":"80px"},{default:o(()=>[e(n,{label:"\u534F\u8BAE\u540D\u79F0"},{default:o(()=>[e(i,{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(i,{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})]),k((c(),U(v,null,{default:o(()=>[e(d,{type:"primary",onClick:_},{default:o(()=>[G]),_:1})]),_:1})),[[f,["setting.web.web_setting/setAgreement"]]])],64)}}});export{It as default};
|