data_center/public/admin/assets/list.86df7eed.js

2 lines
4.1 KiB
JavaScript
Raw Normal View History

2023-09-21 09:26:02 +08:00
import{_ as F}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{B as k,C as v,Q as g,R as x,w as D,D as y,I as A,L as U,M as L}from"./element-plus.54aed4cc.js";import{u as P}from"./usePaging.160b82b8.js";import{d as I}from"./users.47342bca.js";import{d as N,$ as f,a4 as T,o as q,c as R,U as e,L as o,u as r,a as S,k as $,V as j,S as i}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.17a19250.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 M=i("\u67E5\u8BE2"),O=i("\u91CD\u7F6E"),Q=i(" \u8BE6\u60C5 "),z={class:"flex mt-4 justify-end"},Ue=N({__name:"list",setup(G){const t=f({nick_name:"",phone:"",status:"",address:""}),{pager:p,getLists:d,resetParams:b,resetPage:E}=P({fetchFun:I,params:t});return f([{label:"lable",id:0,name:"\u6B63\u5E38"},{label:"lable2",id:0,name:"\u5F02\u5E38"}]),d(),(H,a)=>{const s=k,n=v,_=g,B=x,m=D,C=y,c=A,u=U,w=T("router-link"),V=L,h=F;return q(),R(j,null,[e(c,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(C,{class:"mb-[-16px]",model:t,inline:""},{default:o(()=>[e(n,{label:"\u59D3\u540D",prop:"nick_name"},{default:o(()=>[e(s,{class:"w-[280px]",modelValue:t.nick_name,"onUpdate:modelValue":a[0]||(a[0]=l=>t.nick_name=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u624B\u673A\u53F7",prop:"phone"},{default:o(()=>[e(s,{class:"w-[280px]",modelValue:t.phone,"onUpdate:modelValue":a[1]||(a[1]=l=>t.phone=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u6240\u5C5E\u7247\u533A",prop:"address"},{default:o(()=>[e(s,{class:"w-[280px]",modelValue:t.address,"onUpdate:modelValue":a[2]||(a[2]=l=>t.address=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u72B6\u6001",prop:"status"},{default:o(()=>[e(B,{modelValue:t.status,"onUpdate:modelValue":a[3]||(a[3]=l=>t.status=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001"},{default:o(()=>[e(_,{label:"\u6B63\u5E38",value:0}),e(_,{label:"\u7981\u7528",value:1})]),_:1},8,["modelValue"])]),_:1}),e(n,null,{default:o(()=>[e(m,{type:"primary",onClick:r(E)},{default:o(()=>[M]),_:1},8,["onClick"]),e(m,{onClick:r(b)},{default:o(()=>[O]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),e(c,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(V,{data:r(p).lists},{default:o(()=>[e(u,{label:"\u59D3\u540D",prop:"nick_name"}),e(u,{label:"\u6CE8\u518C\u624B\u673A\u53F7",prop:"phone","show-overflow-tooltip":""}),e(u,{label:"\u6027\u522B",prop:"gender_text","show-overflow-tooltip":""}),e(u,{label:"\u5E74\u9F84",prop:"age","show-overflow-tooltip":""}),e(u,{label:"\u6240\u5C5E\u7247\u533A",prop:"address","show-overflow-tooltip":""}),e(u,{label:"\u8D26\u6237\u72B6\u6001",prop:"status_text","show-overflow-tooltip":""}),e(u,{label:"\u64CD\u4F5C","show-overflow-tooltip":""},{default:o(({row:l})=>[e(m,{type:"primary",link:""},{default:o(()=>[e(w,{to:{path:"detail",query:{id:l.id}}},{default:o(()=>[Q]),_:2},1032,["to"])]),_:2},1024)]),_:1})]),_:1},8,["data"]),S("div",z,[e(h,{modelValue:r(p),"onUpdate:modelValue":a[4]||(a[4]=l=>$(p)?p.value=l:null),o