2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
import{_ as b}from"./index.724d68bf.js";import{C as F,D as w,F as x,J as E,w as y}from"./element-plus.ff90c99c.js";import{_ as B}from"./index.vue_vue_type_style_index_0_lang.be699ee8.js";import{c as h,d as D}from"./website.7c82a3f1.js";import{d as g,r as A,aq as C,o as _,c as U,a as l,W as o,Q as e,u as r,R as k,P,U as N,F as I}from"./@vue.f8dfc830.js";import"./index.69a22209.js";import"./@vueuse.a2e59ee9.js";import"./lodash.3e731b89.js";import"./@amap.8a62addd.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./@element-plus.0374639c.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./lodash-es.a73406b7.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./@wangeditor.fcd049a6.js";import"./picker.d67b6c0e.js";import"./index.928157d8.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./index.4968b493.js";import"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import"./index.d008063a.js";import"./index.6016615b.js";import"./index.vue_vue_type_script_setup_true_lang.ec118b31.js";import"./usePaging.bd7a7dec.js";import"./vue3-video-play.5592bdaa.js";import"./vuedraggable.99ce9db3.js";import"./vue.80fb6650.js";import"./sortablejs.76b408b5.js";const q={class:"xl:flex"},G=l("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),J=l("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),Tt=g({__name:"protocol",setup(Q){const t=A({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),p=async()=>{t.value=await h()},d=async()=>{await D({...t.value}),p()};return p(),(R,m)=>{const a=F,n=w,s=x,u=B,c=E,f=y,v=b,V=C("perms");return _(),U(I,null,[l("div",q,[o(c,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:e(()=>[G]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(n,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(a,{modelValue:r(t).service_title,"onUpdate:modelValue":m[0]||(m[0]=i=>r(t).service_title=i)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).service_content,"onUpdate:modelValue":m[1]||(m[1]=i=>r(t).service_content=i),height:"500"},null,8,["modelValue"])]),_:1}),o(c,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:e(()=>[J]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(n,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(a,{modelValue:r(t).privacy_title,"onUpdate:modelValue":m[2]||(m[2]=i=>r(t).privacy_title=i)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).privacy_content,"onUpdate:modelValue":m[3]||(m[3]=i=>r(t).privacy_content=i),height:"500"},null,8,["modelValue"])]),_:1})]),k((_(),P(v,null,{default:e(()=>[o(f,{type:"primary",onClick:d},{default:e(()=>[N("\u4FDD\u5B58")]),_:1})]),_:1})),[[V,["setting.web.web_setting/setAgreement"]]])],64)}}});export{Tt as default};
|