2 lines
7.1 KiB
JavaScript
2 lines
7.1 KiB
JavaScript
|
import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{B as Q,C as z,a2 as G,Q as H,R as J,a1 as W,w as X,D as Y,I as Z,L as ee,M as le}from"./element-plus.54aed4cc.js";import{u as ae}from"./usePaging.160b82b8.js";import{p as oe,e as te,f as ue,g as ne,t as re,h as se,i as pe}from"./users.d6cc218f.js";import{d as de,$ as i,a4 as ie,o as n,c as f,U as e,L as a,V as b,a7 as g,u as E,a as me,k as _e,S as V,K as C}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.ef97c6f8.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const ce=V("> "),fe=V("\u67E5\u8BE2"),be=V("\u91CD\u7F6E"),ve=V(" \u8BE6\u60C5 "),ge={class:"flex mt-4 justify-end"},ol=de({__name:"list",setup(Ce){const o=i({nick_name:"",phone:"",status:"",address:"",province:"",city:"",area:"",street:"",village:"",brigade:""}),{pager:h,getLists:B,resetParams:P,resetPage:I}=ae({fetchFun:te,params:o});i([{label:"lable",id:0,name:"\u6B63\u5E38"},{label:"lable2",id:0,name:"\u5F02\u5E38"}]);const v=(u,t)=>{for(const m in u)u[m]!=null&&u[m]!=null&&(t[m]=u[m]);console.log(t)};B();const y=i([]),k=i([]),x=i([]),A=i([]),L=i([]),U=i([]);oe().then(u=>{v(u,y)});const N=()=>{ue({province:o.province}).then(u=>{v(u,k)})},R=()=>{ne({city:o.city}).then(u=>{v(u,x)})},T=()=>{re({area:o.area}).then(u=>{v(u,A)})},q=()=>{se({street:o.street}).then(u=>{v(u,L)})},S=()=>{console.log(45545),pe({province:o.village}).then(u=>{v(u,U)})};return(u,t)=>{const m=Q,s=z,p=G,d=H,_=J,w=W,F=X,$=Y,D=Z,c=ee,j=ie("router-link"),K=le,M=O;return n(),f(b,null,[e(D,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e($,{class:"mb-[-16px]",model:o,inline:""},{default:a(()=>[e(w,null,{default:a(()=>[e(p,{span:6},{default:a(()=>[e(s,{label:"\u59D3\u540D",prop:"nick_name"},{default:a(()=>[e(m,{class:"w-[280px]",modelValue:o.nick_name,"onUpdate:modelValue":t[0]||(t[0]=l=>o.nick_name=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:6},{default:a(()=>[e(s,{label:"\u624B\u673A\u53F7",prop:"phone"},{default:a(()=>[e(m,{class:"w-[280px]",modelValue:o.phone,"onUpdate:modelValue":t[1]||(t[1]=l=>o.phone=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:6},{default:a(()=>[e(s,{label:"\u72B6\u6001",prop:"status"},{default:a(()=>[e(_,{modelValue:o.status,"onUpdate:modelValue":t[2]||(t[2]=l=>o.status=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",class:"w-[260px]"},{default:a(()=>[ce,e(d,{label:"\u6B63\u5E38",value:0}),e(d,{label:"\u7981\u7528",value:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(p,{span:6},{default:a(()=>[e(s,{label:"\u6240\u5C5E\u7701",prop:"address"},{default:a(()=>[e(_,{modelValue:o.province,"onUpdate:modelValue":t[3]||(t[3]=l=>o.province=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u7701",onChange:N,class:"w-[260px]"},{default:a(()=>[(n(!0),f(b,null,g(y,(l,r)=>(n(),C(d,{key:r,label:l.province_name,value:l.province},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(w,null,{default:a(()=>[e(p,{span:6},{default:a(()=>[e(s,{label:"\u6240\u5C5E\u5E02",prop:"address"},{default:a((
|