2 lines
6.5 KiB
JavaScript
2 lines
6.5 KiB
JavaScript
|
import{C as O,D as J,J as Q,K as Z,w as z,F as G,L as H,M as W,N as X,O as Y}from"./element-plus.7b9d0c0d.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang.8b9de773.js";import{u as oe}from"./vue-router.101084e3.js";import{d as K,r as b,s as te,Z as ae,ap as le,o as i,c as V,U as e,L as l,u as o,aa as v,T as ue,a9 as ne,K as c,R as _,M as y,a as x,S as re,j as se,Q as ie,n as pe}from"./@vue.18505fe0.js";import{u as me}from"./usePaging.6a6670f9.js";import{u as de}from"./useDictOptions.996b92e9.js";import{j as ce}from"./index.13a276ec.js";import{a as _e}from"./user_ship.ae018c56.js";import"./lodash.9dc701ad.js";import{_ as fe}from"./edit.vue_vue_type_script_setup_true_name_userEdit_lang.841bd7c5.js";import{_ as be}from"./details.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.283d328b.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.77baabca.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./user_label.08574537.js";import"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import"./purchase.vue_vue_type_script_setup_true_name_purchase_lang.7b59c881.js";import"./balance.vue_vue_type_script_setup_true_name_balance_lang.6f6d8409.js";import"./merchandise.vue_vue_type_script_setup_true_name_merchandise_lang.c7387773.js";import"./freeze.vue_vue_type_script_setup_true_name_freeze_lang.49605a4f.js";import"./returnMoney.vue_vue_type_script_setup_true_name_returnMoney_lang.4ee42fe5.js";import"./receiveGifts.vue_vue_type_script_setup_true_name_receiveGifts_lang.51def3a6.js";const De={class:"mt-4"},Fe={class:"flex mt-4 justify-end"},Ce=K({name:"userList"}),fo=K({...Ce,setup(he){var B;const L=oe(),D=b(null),w=b([]),F=te(),C=b(!1),n=ae({nickname:"",account:"",mobile:"",store_id:(B=L.query.store_id)!=null?B:"",user_ship:""});_e([]).then(s=>{w.value=s.lists});const R=b([]),S=s=>{R.value=s.map(({id:t})=>t)},{dictData:k}=de("sex,system_disable"),{pager:p,getLists:h,resetParams:U,resetPage:m}=me({fetchFun:ce,params:n}),N=async s=>{var t,r;C.value=!0,await pe(),(t=F.value)==null||t.open("edit"),(r=F.value)==null||r.setFormData(s)},$=async s=>{var t,r;(t=D.value)==null||t.open(),(r=D.value)==null||r.setFormData(s)};return h(),(s,t)=>{const r=O,d=J,T=Q,P=Z,f=z,j=G,g=H,u=W,A=X,I=ee,E=le("perms"),q=Y;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":t[0]||(t[0]=a=>o(n).nickname=a),onKeydown:v(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":t[1]||(t[1]=a=>o(n).account=a),onKeydown:v(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":t[2]||(t[2]=a=>o(n).mobile=a),onKeydown:v(o(m),["enter"]),clearable:"",placeholde
|