ERP-admin/build/admin/assets/details.47af3aa9.js

2 lines
5.3 KiB
JavaScript

import{U as w,V as C,C as R,D as g,F as I}from"./element-plus.681b9893.js";import{P as T}from"./index.a7179cc9.js";import{j as L}from"./index.0c8416f0.js";import{d as k,s as b,r as S,Z as j,o as d,c as n,U as u,L as t,u as a,T as V,a9 as y,K as B,R as D,S as x}from"./@vue.18505fe0.js";import"./lodash.466e9fe4.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.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"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const N={class:"edit-popup"},P=k({name:"userDETAILS"}),Ge=k({...P,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(s,{expose:E,emit:A}){const U=b(),f=b();S("add");const o=j({id:"",avatar:"",real_name:"",nickname:"",account:"",password:"",mobile:"",sex:"",is_disable:"",user_money:""}),c=async r=>{for(const e in o)r[e]!=null&&r[e]!=null&&(o[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 m=R,p=g,_=w,F=C,v=I;return d(),n("div",N,[u(T,{ref_key:"popupRef",ref:f,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:t(()=>[u(v,{ref_key:"formRef",ref:U,model:a(o),"label-width":"90px"},{default:t(()=>[u(p,{label:"\u5934\u50CF",prop:"avatar"},{default:t(()=>[u(m,{modelValue:a(o).avatar,"onUpdate:modelValue":e[0]||(e[0]=l=>a(o).avatar=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5934\u50CF",readonly:!0},null,8,["modelValue"])]),_:1}),u(p,{label:"\u771F\u5B9E\u59D3\u540D",prop:"real_name"},{default:t(()=>[u(m,{modelValue:a(o).real_name,"onUpdate:modelValue":e[1]||(e[1]=l=>a(o).real_name=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D",readonly:!0},null,8,["modelValue"])]),_:1}),u(p,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname"},{default:t(()=>[u(m,{modelValue:a(o).nickname,"onUpdate:modelValue":e[2]||(e[2]=l=>a(o).nickname=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u6635\u79F0",readonly:!0},null,8,["modelValue"])]),_:1}),u(p,{label:"\u7528\u6237\u8D26\u53F7",prop:"account"},{default:t(()=>[u(m,{modelValue:a(o).account,"onUpdate:modelValue":e[3]||(e[3]=l=>a(o).account=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u8D26\u53F7",readonly:!0},null,8,["modelValue"])]),_:1}),u(p,{label:"\u7528\u6237\u5BC6\u7801",prop:"password"},{default:t(()=>[u(m,{modelValue:a(o).password,"onUpdate:modelValue":e[4]||(e[4]=l=>a(o).password=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u5BC6\u7801",readonly:!0},null,8,["modelValue"])]),_:1}),u(p,{label:"\u7528\u6237\u7535\u8BDD",prop:"mobile"},{default:t(()=>[u(m,{modelValue:a(o).mobile,"onUpdate:modelValue":e[5]||(e[5]=l=>a(o).mobile=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7535\u8BDD",readonly:!0},null,8,["modelValue"])]),_:1}),u(p,{label:"\u7528\u6237\u6027\u522B: [1=\u7537, 2=\u5973]",prop:"sex"},{default:t(()=>[u(F,{modelValue:a(o).sex,"onUpdate:modelValue":e[6]||(e[6]=l=>a(o).sex=l),placeholder:"\u8BF7\u9009\u62E9\u7528\u6237\u6027\u522B: [1=\u7537, 2=\u5973]",disabled:!0},{default:t(()=>[(d(!0),n(V,null,y(s.dictData.sex_type,(l,i)=>(d(),B(_,{key:i,label:parseInt(l.value)},{default:t(()=>[D(x(l.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),u(p,{label:"\u662F\u5426\u7981\u7528: [0=\u5426, 1=\u662F]",prop:"is_disable"},{default:t(()=>[u(F,{modelValue:a(o).is_disable,"onUpdate:modelValue":e[7]||(e[7]=l=>a(o).is_disable=l),placeholder:"\u8BF7\u9009\u62E9\u662F\u5426\u7981\u7528: [0=\u5426, 1=\u662F]",disabled:!0},{default:t(()=>[(d(!0),n(V,null,y(s.dictData.system_disable,(l,i)=>(d(),B(_,{key:i,label:parseInt(l.value)},{default:t(()=>[D(x(l.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),u(p,{label:"\u7528\u6237\u4F59\u989D",prop:"user_money"},{default:t(()=>[u(m,{modelValue:a(o).user_money,"onUpdate:modelValue":e[8]||(e[8]=l=>a(o).user_money=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u4F59\u989D",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{Ge as default};