WokerTask/public/admin/assets/index.476b9b7a.js

2 lines
4.3 KiB
JavaScript

import{C as R,D as q,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 C,$ as Q,r as _,ba as $,ag as J,aq as S,o as m,c as W,W as e,Q as t,u as o,aa as G,U as l,R as d,P as c,V as H,a as M,j as O}from"./@vue.f8dfc830.js";import{u as X}from"./usePaging.bd7a7dec.js";import{k as w,d as Y}from"./index.9acc1fa4.js";import{d as Z}from"./consumer.cefe9115.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.ffb5376d.js";import"./axios.f9df025a.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.d1ea016b.js";import"./color.992612d2.js";import"./clone.d8d3ae9a.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.4e7fd6e6.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=C({name:"consumerLists"}),oe=C({...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),_(0),_(!1),_(!1);const{pager:i,getLists:p,resetPage:y,resetParams:E}=X({fetchFun:Z,params:n});return $(()=>{p()}),p(),(re,u)=>{const k=R,b=q,s=A,h=J("router-link"),B=I,F=L,a=U,x=K,D=N,V=j,g=S("perms"),P=T;return m(),W("div",null,[e(F,{class:"!border-none",shadow:"never"},{default:t(()=>[e(B,{ref:"formRef",class:"mb-[-16px]",model:o(n),inline:!0},{default:t(()=>[e(b,{label:"\u7528\u6237\u4FE1\u606F"},{default:t(()=>[e(k,{class:"w-[280px]",modelValue:o(n).keyword,"onUpdate:modelValue":u[0]||(u[0]=r=>o(n).keyword=r),placeholder:"\u7528\u6237\u7F16\u53F7/\u6635\u79F0/\u624B\u673A\u53F7\u7801",clearable:"",onKeyup:G(o(y),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(b,null,{default:t(()=>[e(s,{type:"primary",onClick:o(y)},{default:t(()=>[l("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(s,{onClick:o(E)},{default:t(()=>[l("\u91CD\u7F6E")]),_:1},8,["onClick"]),d((m(),c(s,{class:"ml-2.5",type:"primary"},{default:t(()=>[e(h,{to:{path:o(w)("user.user/edit")}},{default:t(()=>[l(" \u521B\u5EFA ")]),_:1},8,["to"])]),_:1})),[[g,["user.user/edit"]]])]),_:1})]),_:1},8,["model"])]),_:1}),e(F,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[d((m(),c(D,{size:"large",data:o(i).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 v;return[l(H(((v=r.company)==null?void 0:v.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})=>[d((m(),c(s,{type:"primary",link:""},{default:t(()=>[e(h,{to:{path:o(w)("user.user/detail"),query:{id:r.id}}},{default:t(()=>[l(" \u8BE6\u60C5 ")]),_:2},1032,["to"])]),_:2},1024)),[[g,["user.user/detail"]]])]),_:1})]),_:1},8,["data"])),[[P,o(i).loading]]),M("div",ee,[e(V,{modelValue:o(i),"onUpdate:modelValue":u[1]||(u[1]=r=>O(i)?i.value=r:null),onChange:o(p)},null,8,["modelValue","onChange"])])]),_:1})])}}});const Se=Y(oe,[["__scopeId","data-v-0a8f9e83"]]);export{Se as default};