ERP-admin/build/admin/assets/details.26417654.js

2 lines
4.7 KiB
JavaScript
Raw Normal View History

2024-05-16 10:05:14 +08:00
import{U as w,V as C,C as R,D as g,F as I}from"./element-plus.8c800afc.js";import{P as T}from"./index.d0a14c5a.js";import{i as L}from"./index.2398c167.js";import{d as k,s as b,r as S,Z as N,o as m,c as s,U as a,L as t,u as o,T as V,a9 as y,K as B,R as D,S as x}from"./@vue.18505fe0.js";import"./lodash.be6e4bb5.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.ef95d8c0.js";import"./axios.77245e3c.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./vue-router.886c5f5a.js";import"./pinia.a969beab.js";import"./css-color-function.6061d63f.js";import"./color.1580a89c.js";import"./clone.4ed29f58.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"./nprogress.b29ee5e2.js";import"./vue-clipboard3.15c43b43.js";import"./clipboard.4a3580c9.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const P={class:"edit-popup"},j=k({name:"userDETAILS"}),ye=k({...j,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(i,{expose:E,emit:A}){const U=b(),f=b();S("add");const u=N({id:"",avatar:"",real_name:"",nickname:"",account:"",password:"",mobile:"",sex:"",is_disable:"",user_money:""}),c=async r=>{for(const e in u)r[e]!=null&&r[e]!=null&&(u[e]=r[e])};return E({open:()=>{var r;(r=f.value)==null||r.open()},setFormData:c,getDetail:async r=>{const e=await L({id:r.id});c(e)}}),(r,e)=>{const d=R,p=g,_=w,F=C,v=I;return m(),s("div",P,[a(T,{ref_key:"popupRef",ref:f,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:t(()=>[a(v,{ref_key:"formRef",ref:U,model:o(u),"label-width":"90px"},{default:t(()=>[a(p,{label:"\u5934\u50CF",prop:"avatar"},{default:t(()=>[a(d,{modelValue:o(u).avatar,"onUpdate:modelValue":e[0]||(e[0]=l=>o(u).avatar=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5934\u50CF",readonly:!0},null,8,["modelValue"])]),_:1}),a(p,{label:"\u771F\u5B9E\u59D3\u540D",prop:"real_name"},{default:t(()=>[a(d,{modelValue:o(u).real_name,"onUpdate:modelValue":e[1]||(e[1]=l=>o(u).real_name=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D",readonly:!0},null,8,["modelValue"])]),_:1}),a(p,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname"},{default:t(()=>[a(d,{modelValue:o(u).nickname,"onUpdate:modelValue":e[2]||(e[2]=l=>o(u).nickname=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u6635\u79F0",readonly:!0},null,8,["modelValue"])]),_:1}),a(p,{label:"\u7528\u6237\u8D26\u53F7",prop:"account"},{default:t(()=>[a(d,{modelValue:o(u).account,"onUpdate:modelValue":e[3]||(e[3]=l=>o(u).account=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u8D26\u53F7",readonly:!0},null,8,["modelValue"])]),_:1}),a(p,{label:"\u7528\u6237\u5BC6\u7801",prop:"password"},{default:t(()=>[a(d,{modelValue:o(u).password,"onUpdate:modelValue":e[4]||(e[4]=l=>o(u).password=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u5BC6\u7801",readonly:!0},null,8,["modelValue"])]),_:1}),a(p,{label:"\u7528\u6237\u7535\u8BDD",prop:"mobile"},{default:t(()=>[a(d,{modelValue:o(u).mobile,"onUpdate:modelValue":e[5]||(e[5]=l=>o(u).mobile=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7535\u8BDD",readonly:!0},null,8,["modelValue"])]),_:1}),a(p,{label:"\u7528\u6237\u6027\u522B: [1=\u7537, 2=\u5973]",prop:"sex"},{default:t(()=>[a(F,{modelValue:o(u).sex,"onUpdate:modelValue":e[6]||(e[6]=l=>o(u).sex=l),placeholder:"\u8BF7\u9009\u62E9\u7528\u6237\u6027\u522B: [1=\u7537, 2=\u5973]",disabled:!0},{default:t(()=>[(m(!0),s(V,null,y(i.dictData.sex_type,(l,n)=>(m(),B(_,{key:n,label:parseInt(l.value)},{default:t(()=>[D(x(l.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(p,{label:"\u662F\u5426\u7981\u7528: [0=\u5426, 1=\u662F]",prop:"is_disable"},{default:t(()=>[a(F,{mod