moreShopAdmin/dist/admin/assets/indexList.d1a65ca3.js

2 lines
6.6 KiB
JavaScript
Raw Normal View History

2024-07-20 16:30:26 +08:00
import{C as J,D as Q,J as Z,K as z,w as G,F as H,L as W,M as X,o as Y,N as ee,O as oe}from"./element-plus.7b9d0c0d.js";import{_ as te}from"./index.vue_vue_type_script_setup_true_lang.8b9de773.js";import{u as ae}from"./vue-router.101084e3.js";import{d as K,r as b,s as le,Z as ue,ap as ne,o as i,c as V,U as e,L as l,u as o,aa as h,T as re,a9 as se,K as c,R as _,M as w,a as x,S as ie,j as pe,Q as me,n as de}from"./@vue.18505fe0.js";import{u as ce}from"./usePaging.6a6670f9.js";import{u as _e}from"./useDictOptions.d682158e.js";import{j as fe}from"./index.dbb361e6.js";import{a as be}from"./user_ship.1f2c666f.js";import"./lodash.9dc701ad.js";import{_ as De}from"./edit.vue_vue_type_script_setup_true_name_userEdit_lang.070d9a22.js";import{_ as ve}from"./details.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.c1fdb4db.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.b80273c8.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./user_label.b7995783.js";import"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import"./purchase.vue_vue_type_script_setup_true_name_purchase_lang.57c137bd.js";import"./balance.vue_vue_type_script_setup_true_name_balance_lang.f78a4cc4.js";import"./merchandise.vue_vue_type_script_setup_true_name_merchandise_lang.12b3a084.js";import"./freeze.vue_vue_type_script_setup_true_name_freeze_lang.7009b3f1.js";import"./returnMoney.vue_vue_type_script_setup_true_name_returnMoney_lang.29ee37c2.js";import"./receiveGifts.vue_vue_type_script_setup_true_name_receiveGifts_lang.985cf24b.js";const Ce={class:"mt-4"},Fe={class:"flex mt-4 justify-end"},he=K({name:"userList"}),Do=K({...he,setup(we){var B;const L=ae(),D=b(null),y=b([]),v=le(),C=b(!1),n=ue({nickname:"",account:"",mobile:"",store_id:(B=L.query.store_id)!=null?B:"",user_ship:""});be([]).then(s=>{y.value=s.lists});const R=b([]),S=s=>{R.value=s.map(({id:a})=>a)},{dictData:k}=_e("sex,system_disable"),{pager:p,getLists:F,resetParams:U,resetPage:m}=ce({fetchFun:fe,params:n}),N=async s=>{var a,r;C.value=!0,await de(),(a=v.value)==null||a.open("edit"),(r=v.value)==null||r.setFormData(s)},$=async s=>{var a,r;(a=D.value)==null||a.open(),(r=D.value)==null||r.setFormData(s)};return F(),(s,a)=>{const r=J,d=Q,T=Z,P=z,f=G,j=H,g=W,u=X,I=Y,q=ee,A=te,E=ne("perms"),M=oe;return i(),V("div",null,[e(g,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(j,{class:"mb-[-16px]",model:o(n),inline:""},{default:l(()=>[e(d,{label:"\u7528\u6237\u6635\u79F0",prop:"nickname"},{default:l(()=>[e(r,{class:"w-[280px]",modelValue:o(n).nickname,"onUpdate:modelValue":a[0]||(a[0]=t=>o(n).nickname=t),onKeydown:h(o(m),["enter"]),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u6635\u79F0"},null,8,["modelValue","onKeydown"])]),_:1}),e(d,{label:"\u7528\u6237\u8D26\u53F7",prop:"account"},{default:l(()=>[e(r,{class:"w-[280px]",modelValue:o(n).account,"onUpdate:modelValue":a[1]||(a[1]=t=>o(n).account=t),onKeydown:h(o(m),["enter"]),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u8D26\u53F7"},null,8,["modelValue","onKeydown"])]),_:1}),e(d,{label:"\u7528\u6237\u7535\u8BDD",prop:"mobile"},{default:l(()=>[e(r,{class:"w-[280px]",modelValue:o(n).mobile,"onUpdate:modelValue":a[2]||(a[2]=t=>o(n).mobile=t),onKeydown:h(o(m),["enter"]),clearabl