logistics_sy/public/admin/assets/setup.a793376c.js

2 lines
2.9 KiB
JavaScript

import{_ as v}from"./index.8af84f93.js";import{C as B,D,I as E,w as g}from"./element-plus.0e78cb27.js";import{_ as h}from"./picker.44747941.js";import{a as b,b as w}from"./user.d92ddff7.js";import{d as s,$ as y,af as A,o as p,c as k,U as e,L as r,M as V,K as x,a as i,S}from"./@vue.e8706010.js";import"./index.e36afc36.js";import"./@vueuse.1e5a6e21.js";import"./lodash.e8c2b926.js";import"./axios.263e335e.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.49c13ae5.js";import"./color.6f36a052.js";import"./clone.0bac550d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.762f2b8b.js";import"./ms.a9ae1d6d.js";import"./@element-plus.196c7323.js";import"./nprogress.f7d60be2.js";import"./vue-clipboard3.536bdb56.js";import"./clipboard.cadf3e40.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./lodash-es.29c53eac.js";import"./dayjs.d871e3e1.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.c552a3cf.js";import"./index.b10dcc6e.js";import"./index.vue_vue_type_script_setup_true_lang.1d09c8e8.js";import"./index.b6ffa04f.js";import"./index.1709168a.js";import"./index.vue_vue_type_script_setup_true_lang.a78cbe5b.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.8429f3c0.js";import"./vue.b93e1c25.js";import"./sortablejs.ca1f0edb.js";const U={class:"user-setup"},N=i("div",{class:"font-medium mb-7"},"\u57FA\u672C\u8BBE\u7F6E",-1),j=i("div",null,[i("div",{class:"form-tips"}," \u7528\u6237\u6CE8\u518C\u65F6\u7ED9\u7684\u9ED8\u8BA4\u5934\u50CF\uFF0C\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A400*400\u50CF\u7D20\uFF0C\u652F\u6301jpg\uFF0Cjpeg\uFF0Cpng\u683C\u5F0F ")],-1),I=S("\u4FDD\u5B58"),K=s({name:"userSetup"}),St=s({...K,setup(L){const t=y({default_avatar:""}),a=async()=>{try{const o=await b();for(const m in t)t[m]=o[m]}catch(o){console.log("\u83B7\u53D6=>",o)}},n=async()=>{try{await w(t),a()}catch(o){console.log("\u4FDD\u5B58=>",o)}};return a(),(o,m)=>{const l=h,u=B,_=D,c=E,d=g,f=v,F=A("perms");return p(),k("div",U,[e(c,{shadow:"never",class:"!border-none"},{default:r(()=>[N,e(_,{ref:"formRef",model:t,"label-width":"120px"},{default:r(()=>[e(u,{label:"\u7528\u6237\u9ED8\u8BA4\u5934\u50CF"},{default:r(()=>[i("div",null,[e(l,{modelValue:t.default_avatar,"onUpdate:modelValue":m[0]||(m[0]=C=>t.default_avatar=C),limit:1},null,8,["modelValue"])])]),_:1}),e(u,null,{default:r(()=>[j]),_:1})]),_:1},8,["model"])]),_:1}),V((p(),x(f,null,{default:r(()=>[e(d,{type:"primary",onClick:n},{default:r(()=>[I]),_:1})]),_:1})),[[F,["setting.user.user/setConfig"]]])])}}});export{St as default};