multiStoreAdmin/build/store/assets/protocol.204cab5e.js

2 lines
3.4 KiB
JavaScript
Raw Normal View History

2024-09-19 11:09:33 +08:00
import{_ as b}from"./index.d5f74f82.js";import{D as F,F as w,G as x,J as E,w as y}from"./element-plus.6b125791.js";import{_ as B}from"./index.vue_vue_type_style_index_0_lang.04f26e0c.js";import{c as h,d as D}from"./website.fa0c6a33.js";import{d as g,r as A,ap as C,o as _,c as U,a as i,W as o,Q as e,u as r,R as k,P,U as N,F as G}from"./@vue.340249d8.js";import"./index.8eb121a3.js";import"./@vueuse.e3650918.js";import"./lodash.ab1d8f92.js";import"./axios.ebd1d4d0.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.7a4c1284.js";import"./color.10b8b3bd.js";import"./clone.623e4e2d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./@element-plus.558a564d.js";import"./nprogress.518a19eb.js";import"./vue-clipboard3.c098b37d.js";import"./clipboard.a67a48a7.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./lodash-es.edba6135.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.6b964ca4.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./@wangeditor.2e5c8ceb.js";import"./picker.4479ef05.js";import"./index.7acb2098.js";import"./index.fa70a7ab.js";import"./index.vue_vue_type_script_setup_true_lang.305bb481.js";import"./index.81fe361e.js";import"./index.f7872853.js";import"./index.vue_vue_type_script_setup_true_lang.236700ef.js";import"./usePaging.fff444fa.js";import"./vue3-video-play.fb56db8a.js";import"./vuedraggable.d9ca47e8.js";import"./vue.46727b3c.js";import"./sortablejs.ae45557f.js";const I={class:"xl:flex"},J=i("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),Q=i("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),It=g({__name:"protocol",setup(R){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(),(T,m)=>{const n=F,p=w,s=x,u=B,c=E,f=y,v=b,V=C("perms");return _(),U(G,null,[i("div",I,[o(c,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:e(()=>[J]),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]=l=>r(t).service_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).service_content,"onUpdate:modelValue":m[1]||(m[1]=l=>r(t).service_content=l),height:"500"},null,8,["modelValue"])]),_:1}),o(c,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:e(()=>[Q]),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]=l=>r(t).privacy_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).privacy_content,"onUpdate:modelValue":m[3]||(m[3]=l=>r(t).privacy_content=l),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{It as default};