moreShopAdmin/build/admin/assets/indexList.6add7536.js

2 lines
4.9 KiB
JavaScript
Raw Normal View History

2024-06-08 15:10:27 +08:00
import{C as N,D as P,w as R,F as S,L as $,M as T,b as j,N as M,O as q}from"./element-plus.78e68aed.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang.3c4454b7.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import{u as O}from"./usePaging.6a6670f9.js";import{u as Q}from"./useDictOptions.6344d4d1.js";import{h as Z}from"./index.bbf57713.js";import"./lodash.60201f64.js";import{_ as z}from"./edit.vue_vue_type_script_setup_true_name_userEdit_lang.d17bb9fe.js";import{d as C,s as G,r as v,Z as H,o as c,c as J,U as o,L as a,u as e,R as F,M as W,K as h,a as D,j as X,Q as Y}from"./@vue.18505fe0.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.e34f1810.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";const oo={class:"mt-4"},eo={class:"flex mt-4 justify-end"},lo=C({name:"userList"}),Ko=C({...lo,setup(to){const g=G(),d=v(!1),s=H({nickname:"",account:"",mobile:""}),E=v([]),B=_=>{E.value=_.map(({id:u})=>u)},{dictData:i}=Q("sex,system_disable"),{pager:n,getLists:p,resetParams:V,resetPage:k}=O({fetchFun:Z,params:s});return p(),(_,u)=>{const m=N,r=P,f=R,x=S,b=$,l=T,y=j,w=K,L=M,U=A,I=q;return c(),J("div",null,[o(b,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[o(x,{class:"mb-[-16px]",model:e(s),inline:""},{default:a(()=>[o(r,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname"},{default:a(()=>[o(m,{class:"w-[280px]",modelValue:e(s).nickname,"onUpdate:modelValue":u[0]||(u[0]=t=>e(s).nickname=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u6635\u79F0"},null,8,["modelValue"])]),_:1}),o(r,{label:"\u7528\u6237\u8D26\u53F7",prop:"account"},{default:a(()=>[o(m,{class:"w-[280px]",modelValue:e(s).account,"onUpdate:modelValue":u[1]||(u[1]=t=>e(s).account=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u8D26\u53F7"},null,8,["modelValue"])]),_:1}),o(r,{label:"\u7528\u6237\u7535\u8BDD",prop:"mobile"},{default:a(()=>[o(m,{class:"w-[280px]",modelValue:e(s).mobile,"onUpdate:modelValue":u[2]||(u[2]=t=>e(s).mobile=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7535\u8BDD"},null,8,["modelValue"])]),_:1}),o(r,null,{default:a(()=>[o(f,{type:"primary",onClick:e(k)},{default:a(()=>[F("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(f,{onClick:e(V)},{default:a(()=>[F("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),W((c(),h(b,{class:"!border-none",shadow:"never"},{default:a(()=>[D("div",oo,[o(L,{data:e(n).lists,onSelectionChange:B},{default:a(()=>[o(l,{type:"selection",width:"55"}),o(l,{label:"ID",prop:"id","show-overflow-tooltip":""}),o(l,{label:"\u5934\u50CF",prop:"avatar","show-overflow-tooltip":""},{default:a(({row:t})=>[o(y,{src:t.avatar},null,8,["src"])]),_:1}),o(l,{label:"\u771F\u5B9E\u59D3\u540D",prop:"real_name","show-overflow-tooltip":""}),o(l,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname","show-overflow-tooltip":""}),o(l,{label:"\u7528\u6237\u8D26\u53F7",prop:"account","show-overflow-tooltip":""}),o(l,{label:"\u7528\u6237\u7535\u8BDD",prop:"mobile","show-overflow-tooltip":""}),o(l,{label:"\u7528\u6237\u6027\u522B",prop:"sex"},{default:a(({row:t})=>[o(w,{options:e(i).sex,value:t.sex},null,8,["options","value"])]),_:1}),o(l,{label:"\u6CE8\u518C\u6E20\u9053",prop:"channel","show-ove