2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
|
import{_ as b}from"./index.75a5b126.js";import{B as w,C as x,D as B,I as E,w as y}from"./element-plus.10e48c93.js";import{_ as F}from"./index.vue_vue_type_style_index_0_lang.178e3741.js";import{c as h,d as D}from"./website.16390272.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.51d7f2d8.js";import"./index.5f96f8d7.js";import"./@vueuse.ec90c285.js";import"./lodash.08438971.js";import"./@amap.8a62addd.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./@element-plus.c80b8015.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.40d5feba.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@wangeditor.afd76521.js";import"./picker.9293f190.js";import"./index.d5254df7.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./index.13cabbb1.js";import"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import"./index.8a8c9cd6.js";import"./index.7a9a727a.js";import"./index.vue_vue_type_script_setup_true_lang.c7e5e9c8.js";import"./usePaging.60d02673.js";import"./vue3-video-play.b911321b.js";import"./vuedraggable.0cb40d3a.js";import"./vue.5de34049.js";import"./sortablejs.ef73fc5c.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),Kt=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{Kt as default};
|