2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{_ as V}from"./index.2b220ce8.js";import{B as b,C as w,D as x,I as B,w as E}from"./element-plus.54aed4cc.js";import{_ as h}from"./index.vue_vue_type_style_index_0_lang.3f90b8a4.js";import{c as y,d as F}from"./website.4450001d.js";import{d as D,r as g,af as A,o as c,c as C,a as m,U as e,L as o,M as U,K as k,V as I,S as N}from"./@vue.e8706010.js";import"./index.58a5fcc1.js";import"./@vueuse.1e5a6e21.js";import"./lodash.c4b79a6f.js";import"./axios.d363e68d.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./@element-plus.196c7323.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.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.d48d1b87.js";import"./picker.2ed9d59e.js";import"./index.a3400ab9.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.b80822d5.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";const P={class:"xl:flex"},G=m("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),K=m("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),L=N("\u4FDD\u5B58"),Kt=D({__name:"protocol",setup(M){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(),(S,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(()=>[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.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(()=>[K]),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(()=>[L]),_:1})]),_:1})),[[f,["setting.web.web_setting/setAgreement"]]])],64)}}});export{Kt as default};
|