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

2 lines
4.3 KiB
JavaScript

import{B as L,C as P,w as R,D as S,I as U,O as I,P as N,Q as $}from"./element-plus.9816852d.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.f99137a4.js";import{u as T}from"./usePaging.2ad8e1e6.js";import{u as Q}from"./useDictOptions.a2448547.js";import{_ as j,a as q}from"./edit.vue_vue_type_script_setup_true_name_shopMerchantEdit_lang.e7a10c80.js";import"./lodash.675f209e.js";import"./index.4eaf9bd5.js";import{d as w,s as z,r as B,$ as K,o as i,c as O,U as o,L as a,u as e,R as E,M as G,K as h,a as C,k as H,Q as J}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.2d3a3dd9.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./axios.54f807ba.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.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.40d5feba.js";const W={class:"mt-4"},X={class:"flex mt-4 justify-end"},Y=w({name:"shopMerchantLists"}),jo=w({...Y,setup(Z){const b=z(),d=B(!1),l=K({company_name:"",master_name:"",master_phone:""}),F=B([]),v=c=>{F.value=c.map(({id:t})=>t)},{dictData:D}=Q(""),{pager:r,getLists:m,resetParams:V,resetPage:g}=T({fetchFun:q,params:l});return m(),(c,t)=>{const p=L,s=P,_=R,y=S,f=U,u=I,A=N,k=M,x=$;return i(),O("div",null,[o(f,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[o(y,{class:"mb-[-16px]",model:e(l),inline:""},{default:a(()=>[o(s,{label:"\u5546\u6237\u540D\u79F0",prop:"company_name"},{default:a(()=>[o(p,{class:"w-[280px]",modelValue:e(l).company_name,"onUpdate:modelValue":t[0]||(t[0]=n=>e(l).company_name=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u6237\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(s,{label:"\u4E3B\u8054\u7CFB\u4EBA\u59D3\u540D",prop:"master_name"},{default:a(()=>[o(p,{class:"w-[280px]",modelValue:e(l).master_name,"onUpdate:modelValue":t[1]||(t[1]=n=>e(l).master_name=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4E3B\u8054\u7CFB\u4EBA\u59D3\u540D"},null,8,["modelValue"])]),_:1}),o(s,{label:"\u4E3B\u8054\u7CFB\u4EBA\u624B\u673A",prop:"master_phone"},{default:a(()=>[o(p,{class:"w-[280px]",modelValue:e(l).master_phone,"onUpdate:modelValue":t[2]||(t[2]=n=>e(l).master_phone=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4E3B\u8054\u7CFB\u4EBA\u624B\u673A"},null,8,["modelValue"])]),_:1}),o(s,null,{default:a(()=>[o(_,{type:"primary",onClick:e(g)},{default:a(()=>[E("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(_,{onClick:e(V)},{default:a(()=>[E("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),G((i(),h(f,{class:"!border-none",shadow:"never"},{default:a(()=>[C("div",W,[o(A,{data:e(r).lists,onSelectionChange:v},{default:a(()=>[o(u,{label:"ID",width:"100",prop:"id","show-overflow-tooltip":""}),o(u,{label:"\u5546\u6237\u540D\u79F0",prop:"company_name","show-overflow-tooltip":""}),o(u,{label:"\u793E\u4F1A\u4EE3\u7801",prop:"organization_code","show-overflow-tooltip":""}),o(u,{label:"\u4E3B\u8054\u7CFB\u4EBA\u59D3\u540D",prop:"master_name","show-overflow-tooltip":""}),o(u,{label:"\u4E3B\u8054\u7CFB\u4EBA\u624B\u673A",prop:"master_phone","show-overflow-tooltip":""}),o(u,{label:"\u8BA4\u8BC1\u53CD\u9988",prop:"notes","show-overflow-tooltip":""})]),_:1},8,["data"])]),C("div",X,[o(k,{modelValue:e(r),"onUpdate:modelValue":t[3]||(t[3]=n=>H(r)?r.value=n:null),onChange:e(m)},null,8,["modelValue","onChange"])])]),_:1})),[[x,e(r).loading]]),e(d)?(i(),h(j,{key:0,ref_key:"editRef",ref:b,"dict-data":e(D),onSuccess:e(m),onClose:t[4]||(t[4]=n=>d.value=!1)},null,8,["dict-data","onSuccess"])):J("",!0)])}}});export{jo as default};