2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
import{_ as b}from"./index.8a122cfd.js";import{B as w,C as x,D as B,I as E,w as y}from"./element-plus.9c2fdfa8.js";import{_ as F}from"./index.vue_vue_type_style_index_0_lang.6c4f155f.js";import{c as h,d as D}from"./website.1e2fd999.js";import{d as g,r as A,af as C,o as _,c as U,a as l,U as o,L as e,u as r,M as k,K as I,R as N,T as P}from"./@vue.53f8d7c3.js";import"./index.6e8143ba.js";import"./@vueuse.038954e7.js";import"./lodash.47b8af7d.js";import"./@amap.8a62addd.js";import"./axios.96be3cef.js";import"./vue-router.e2f4a118.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.efc99072.js";import"./color.e83714e9.js";import"./clone.fb54e01d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.b4b577c6.js";import"./ms.a9ae1d6d.js";import"./@element-plus.37f92579.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.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.d5354229.js";import"./picker.a38c4062.js";import"./index.6be73b2c.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";import"./index.af2b4b83.js";import"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import"./index.9eb29108.js";import"./index.0c42ec17.js";import"./index.vue_vue_type_script_setup_true_lang.aa03e8e3.js";import"./usePaging.c22e2b6f.js";import"./vue3-video-play.65ddc377.js";import"./vuedraggable.56692cd2.js";import"./vue.5c6e0f1f.js";import"./sortablejs.4c4a59a1.js";const T={class:"xl:flex"},G=l("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),K=l("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),Lt=g({__name:"protocol",setup(L){const t=A({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),a=async()=>{t.value=await h()},d=async()=>{await D({...t.value}),a()};return a(),(M,m)=>{const n=w,p=x,s=B,u=F,c=E,f=y,v=b,V=C("perms");return _(),U(P,null,[l("div",T,[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(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(n,{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(()=>[K]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(n,{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((_(),I(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{Lt as default};
|