data_center/public/admin/assets/list.31d1a742.js

2 lines
7.1 KiB
JavaScript
Raw Normal View History

2023-11-13 17:02:10 +08:00
import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.cb18df50.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.bb5d129a.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.8c1a8ac5.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.c5177e7a.js";import"./axios.ba5f746b.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.69ffdd93.js";import"./lodash.5226da61.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ee641d3d.js";import"./color.cbc2f3a9.js";import"./clone.7fddbad2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a7d78d4d.js";import"./ms.a9ae1d6d.js";import"./nprogress.cc41886d.js";import"./vue-clipboard3.7988db4f.js";import"./clipboard.cb7a871d.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((