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

2 lines
7.5 KiB
JavaScript
Raw Normal View History

2024-02-03 14:29:19 +08:00
import{C as X,D as Z,a4 as ee,N as ae,O as te,w as le,F as oe,J as ne,P as ue,o as re,Q as ie,R as se}from"./element-plus.ff90c99c.js";import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{d as D,r as de,$ as O,ag as me,aq as ce,o as r,c as f,W as a,Q as t,u as l,aa as _e,j as L,F,a9 as E,P as d,U as c,R as C,V as fe,a as ve}from"./@vue.f8dfc830.js";import{u as ge}from"./usePaging.bd7a7dec.js";import{k as w,d as ye}from"./index.a6925776.js";import{e as be,d as Fe}from"./consumer.fab2c241.js";import{a as Ee,b as Ce,c as Ve,d as he,e as we}from"./common.8d087177.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"./vue-router.6d4cf914.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 ke={class:"flex justify-end mt-4"},Be=D({name:"consumerLists"}),xe=D({...Be,setup(Oe){const v=de(""),U=()=>{o.create_time_start=v.value[0],o.create_time_end=v.value[1]},s=O({provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[],villageOptions:[],brigadeOptions:[]}),o=O({keyword:"",create_time_start:"",create_time_end:"",province:"",city:"",area:"",street:"",village:""});function P(u){N()}function A(u){S()}function q(u){Y()}function R(u){K()}function T(u){}const I=async()=>{const u=await Ee({});s.provinceOptions=u},N=async()=>{const u=await Ce({city:o.province});s.cityOptions=u},S=async()=>{const u=await Ve({area:o.city});s.areaOptions=u},Y=async()=>{const u=await he({street:o.area});s.streetOptions=u},K=async()=>{const u=await we({village:o.street});s.villageOptions=u},{pager:g,getLists:k,resetPage:B,resetParams:j}=ge({fetchFun:Fe,params:o});k(),I();const z=()=>{be({...o})};return(u,n)=>{const M=X,m=Z,Q=ee,y=ae,b=te,_=le,V=me("router-link"),$=oe,x=ne,p=ue,J=re,W=ie,G=pe,h=ce("perms"),H=se;return r(),f("div",null,[a(x,{class:"!border-none",shadow:"never"},{default:t(()=>[a($,{ref:"formRef",class:"mb-[-16px]",model:l(o),inline:!0},{default:t(()=>[a(m,{label:"\u7528\u6237\u4FE1\u606F"},{default:t(()=>[a(M,{class:"w-[280px]",modelValue:l(o).keyword,"onUpdate:modelValue":n[0]||(n[0]=e=>l(o).keyword=e),placeholder:"\u7528\u6237\u7F16\u53F7/\u6635\u79F0/\u624B\u673A\u53F7\u7801",clearable:"",onKeyup:_e(l(B),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),a(m,{label:"\u65F6\u95F4\u6BB5"},{default:t(()=>[a(Q,{modelValue:l(v),"onUpdate:modelValue":n[1]||(n[1]=e=>L(v)?v.value=e:null),type:"daterange","unlink-panels":"","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4",onChange:U,"value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),a(m,{label:"\u7701"},{default:t(()=>[a(b,{class:"w-[280px]",modelValue:l(o).province,"onUpdate:modelValue":n[2]||(n[2]=e=>l(o).province=e),placeholder:"\u8BF7\u9009\u62E9\u7701",clearable:"",onChange:P},{default:t(()=>[(r(!0),f(F,null,E(l(s).provinceOptions,(e,i)=>(r(),d(y,{key:i,label:e.province_name,value:e.province_code},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(m,{label:"\u5E02"},{default:t(()=>[a(b,{class:"w-[280px]",modelValue:l(o).city,"onUpdate:modelValue":n[3]||(n[3]=e=>l(o).city=e),placeholder:"\u8BF7\u9009\u62E9