WokerTask/public/admin/assets/index.d8eec454.js

2 lines
4.5 KiB
JavaScript
Raw Normal View History

2024-01-16 16:29:09 +08:00
import{C as q,D as R,w as A,F as I,J as L,P as U,o as K,Q as N,R as T}from"./element-plus.ff90c99c.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as z}from"./vue-router.6d4cf914.js";import{d as w,$ as Q,r as y,ba as $,ag as J,aq as S,o as s,c as W,W as e,Q as t,u as o,aa as G,U as i,R as p,P as d,V as H,a as M,j as O}from"./@vue.f8dfc830.js";import{u as X}from"./usePaging.bd7a7dec.js";import{k as b,d as Y}from"./index.87cea444.js";import{d as Z}from"./consumer.fca32b62.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const ee={class:"flex justify-end mt-4"},te=w({name:"consumerLists"}),oe=w({...te,setup(ae){const F=z(),n=Q({keyword:"",channel:"",create_time_start:"",create_time_end:"",company_id:""});F.query.company_id&&(n.company_id=F.query.company_id),y(0),y(!1),y(!1);const{pager:l,getLists:_,resetPage:h,resetParams:E}=X({fetchFun:Z,params:n});return $(()=>{_()}),_(),(re,m)=>{const k=q,g=R,u=A,c=J("router-link"),B=I,v=L,a=U,x=K,D=N,V=j,f=S("perms"),P=T;return s(),W("div",null,[e(v,{class:"!border-none",shadow:"never"},{default:t(()=>[e(B,{ref:"formRef",class:"mb-[-16px]",model:o(n),inline:!0},{default:t(()=>[e(g,{label:"\u7528\u6237\u4FE1\u606F"},{default:t(()=>[e(k,{class:"w-[280px]",modelValue:o(n).keyword,"onUpdate:modelValue":m[0]||(m[0]=r=>o(n).keyword=r),placeholder:"\u7528\u6237\u7F16\u53F7/\u6635\u79F0/\u624B\u673A\u53F7\u7801",clearable:"",onKeyup:G(o(h),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(g,null,{default:t(()=>[e(u,{type:"primary",onClick:o(h)},{default:t(()=>[i("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(u,{onClick:o(E)},{default:t(()=>[i("\u91CD\u7F6E")]),_:1},8,["onClick"]),e(c,{to:{path:o(b)("user.user/edit")}},{default:t(()=>[p((s(),d(u,{class:"ml-2.5",type:"primary"},{default:t(()=>[i(" \u521B\u5EFA ")]),_:1})),[[f,["user.user/edit"]]])]),_:1},8,["to"])]),_:1})]),_:1},8,["model"])]),_:1}),e(v,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[p((s(),d(D,{size:"large",data:o(l).lists},{default:t(()=>[e(a,{label:"ID",prop:"id","min-width":"100"}),e(a,{label:"\u7528\u6237\u7F16\u53F7",prop:"sn","min-width":"120"}),e(a,{label:"\u5934\u50CF","min-width":"100"},{default:t(({row:r})=>[e(x,{src:r.avatar,size:50},null,8,["src"])]),_:1}),e(a,{label:"\u8D26\u53F7",prop:"account","min-width":"120"}),e(a,{label:"\u59D3\u540D",prop:"nickname","min-width":"100"}),e(a,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:"mobile","min-width":"120"}),e(a,{label:"\u96B6\u5C5E\u516C\u53F8",prop:"company_name","min-width":"180",align:"center"},{default:t(({row:r})=>{var C;return[i(H(((C=r.company)==null?void 0:C.company_name)||"/"),1)]}),_:1}),e(a,{label:"\u6240\u5728\u4E61\u9547",prop:"street_name","min-width":"120"}),e(a,{label:"\u6388\u6743\u8EAB\u4EFD",prop:"role_name","min-width":"120"}),e(a,{label:"\u64CD\u4F5C","min-width":"300",align:"center",fixed:"right"},{default:t(({row:r})=>[p((s(),d(u,{type:"primary",link:""},{default:t(()=>[e(c,{to:{path:o(b)("user.user/detail"),query:{id:r.id,mode:"detail"}}},{default:t(()=>[i(" \u8BE6\u60C5 ")]),_:2},1032,["to"])]),_:2},1024)