2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
|
import{_ as b}from"./index.4d639fef.js";import{B as w,C as x,D as B,I as E,w as y}from"./element-plus.b0ecf6ae.js";import{_ as F}from"./index.vue_vue_type_style_index_0_lang.db69045e.js";import{c as h,d as D}from"./website.a8161588.js";import{d as g,r as A,af as C,o as _,c as U,a as i,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.2ce58885.js";import"./@vueuse.ec90c285.js";import"./lodash.ffb5376d.js";import"./@amap.8a62addd.js";import"./axios.f9df025a.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.4b0c77cb.js";import"./color.992612d2.js";import"./clone.d8d3ae9a.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.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"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@wangeditor.afd76521.js";import"./picker.4765d64c.js";import"./index.fb62f914.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./index.a1470eba.js";import"./index.vue_vue_type_script_setup_true_lang.ebbecf1a.js";import"./index.53ac98bb.js";import"./index.4d4900fe.js";import"./index.vue_vue_type_script_setup_true_lang.00eabce0.js";import"./usePaging.60d02673.js";import"./vue3-video-play.b911321b.js";import"./vuedraggable.884a7061.js";import"./vue.47d317a9.js";import"./sortablejs.263ac6c9.js";const T={class:"xl:flex"},G=i("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),K=i("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),Tt=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,[i("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]=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(()=>[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]=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((_(),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{Tt as default};
|