moreShopAdmin/dist/admin/assets/indexList.4a7f1498.js

2 lines
5.1 KiB
JavaScript
Raw Normal View History

2024-06-18 18:10:40 +08:00
import{C as P,D as S,w as T,F as j,L as M,M as q,b as A,N as O,O as Q}from"./element-plus.ea2cdc63.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.9926caf5.js";import{_ as z}from"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import{d as g,s as G,r as D,Z as H,ap as J,o as c,c as W,U as e,L as a,u as o,aa as v,R as b,M as y,K as h,a as k,j as X,Q as Y,n as ee}from"./@vue.18505fe0.js";import{u as oe}from"./usePaging.6a6670f9.js";import{u as te}from"./useDictOptions.b6815f0f.js";import{h as le}from"./index.ce9f3dae.js";import"./lodash.60201f64.js";import{_ as ae}from"./edit.vue_vue_type_script_setup_true_name_userEdit_lang.f29fb857.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.8ae0c638.js";import"./axios.2b8d80bd.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.b82a2ce7.js";import"./color.b905eb26.js";import"./clone.e1fb2883.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.495afef3.js";import"./vue-clipboard3.cb649e18.js";import"./clipboard.4592e390.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.d7e59336.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./user_label.a0e4b982.js";const ne={class:"mt-4"},ue={class:"flex mt-4 justify-end"},se=g({name:"userList"}),He=g({...se,setup(re){const d=G(),_=D(!1),u=H({nickname:"",account:"",mobile:""}),E=D([]),V=p=>{E.value=p.map(({id:t})=>t)},{dictData:F}=te("sex,system_disable"),{pager:r,getLists:f,resetParams:x,resetPage:i}=oe({fetchFun:le,params:u}),B=async p=>{var t,s;_.value=!0,await ee(),(t=d.value)==null||t.open("edit"),(s=d.value)==null||s.setFormData(p)};return f(),(p,t)=>{const s=P,m=S,w=T,K=j,C=M,n=q,L=A,U=z,N=O,R=Z,$=J("perms"),I=Q;return c(),W("div",null,[e(C,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(K,{class:"mb-[-16px]",model:o(u),inline:""},{default:a(()=>[e(m,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname"},{default:a(()=>[e(s,{class:"w-[280px]",modelValue:o(u).nickname,"onUpdate:modelValue":t[0]||(t[0]=l=>o(u).nickname=l),onKeydown:v(o(i),["enter"]),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u6635\u79F0"},null,8,["modelValue","onKeydown"])]),_:1}),e(m,{label:"\u7528\u6237\u8D26\u53F7",prop:"account"},{default:a(()=>[e(s,{class:"w-[280px]",modelValue:o(u).account,"onUpdate:modelValue":t[1]||(t[1]=l=>o(u).account=l),onKeydown:v(o(i),["enter"]),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u8D26\u53F7"},null,8,["modelValue","onKeydown"])]),_:1}),e(m,{label:"\u7528\u6237\u7535\u8BDD",prop:"mobile"},{default:a(()=>[e(s,{class:"w-[280px]",modelValue:o(u).mobile,"onUpdate:modelValue":t[2]||(t[2]=l=>o(u).mobile=l),onKeydown:v(o(i),["enter"]),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7535\u8BDD"},null,8,["modelValue","onKeydown"])]),_:1}),e(m,null,{default:a(()=>[e(w,{type:"primary",onClick:o(i)},{default:a(()=>[b("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(w,{onClick:o(x)},{default:a(()=>[b("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),y((c(),h(C,{class:"!border-none",shadow:"never"},{default:a(()=>[k("div",ne,[e(N,{data:o(r).lists,onSelectionChange:V},{default:a(()=>[e(n,{type:"selection",width:"55"}),e(n,{label:"ID",prop:"id","show-overflow-tooltip":""}),e(n,{label:"\u5934\u50CF",prop:"avatar","show-overflow-tooltip":""},{default:a(({row:l})=>[e(L,{src:l.avatar},null,8,["src"])]),_:1}),e(n,{label:"\u771F\u5B9E\u59D3\u540D",prop:"real_name","show-overflow-tooltip":""}),e(n,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname","show-overflow-tooltip":""}),e(n,{label:"\u7528\u6237\u8D26\u53F7",prop:"account","show-