moreShopAdmin/build/admin/assets/index.321bb1a4.js

2 lines
5.8 KiB
JavaScript
Raw Normal View History

2024-11-14 18:01:22 +08:00
import{C as O,D as q,J,K as Q,w as Z,F as z,L as G,M as H,N as W,O as X}from"./element-plus.91c68cc0.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang.20e90b1a.js";import{f as te,b as oe}from"./index.c425938f.js";import{u as le}from"./usePaging.f8c888e4.js";import{u as ae}from"./useDictOptions.667b4f46.js";import{d as ue,e as ne}from"./delivery_service.9635972d.js";import"./lodash.4e6d2a38.js";import{_ as ie}from"./edit.vue_vue_type_script_setup_true_name_deliveryServiceEdit_lang.8b7b0670.js";import{d as S,s as se,r as B,Z as re,ap as de,o as i,c as g,U as t,L as a,u as o,T as pe,a9 as me,K as r,R as m,M as f,a as h,j as ce,Q as _e,n as x}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";import"./index.a1b5f040.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";const fe={class:"mt-4"},ve={class:"flex mt-4 justify-end"},be=S({name:"deliveryServiceLists"}),it=S({...be,setup(ye){const v=se(),b=B(!1),u=re({uid:"",nickname:"",phone:"",status:""}),F=B([]),$=n=>{F.value=n.map(({id:e})=>e)},{dictData:k}=ae("show_status"),{pager:c,getLists:y,resetParams:L,resetPage:U}=le({fetchFun:ne,params:u}),A=async()=>{var n;b.value=!0,await x(),(n=v.value)==null||n.open("add")},N=async n=>{var e,d;b.value=!0,await x(),(e=v.value)==null||e.open("edit"),(d=v.value)==null||d.setFormData(n)},D=async n=>{await te.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await ue({id:n}),y()};return y(),(n,e)=>{const d=O,_=q,E=J,P=Q,p=Z,R=z,V=G,T=oe,s=H,j=ee,I=W,K=Y,w=de("perms"),M=X;return i(),g("div",null,[t(V,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[t(R,{class:"mb-[-16px]",model:o(u),inline:""},{default:a(()=>[t(_,{label:"\u914D\u9001\u5458uid",prop:"uid"},{default:a(()=>[t(d,{class:"w-[280px]",modelValue:o(u).uid,"onUpdate:modelValue":e[0]||(e[0]=l=>o(u).uid=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u914D\u9001\u5458uid"},null,8,["modelValue"])]),_:1}),t(_,{label:"\u914D\u9001\u5458\u540D\u79F0",prop:"nickname"},{default:a(()=>[t(d,{class:"w-[280px]",modelValue:o(u).nickname,"onUpdate:modelValue":e[1]||(e[1]=l=>o(u).nickname=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u914D\u9001\u5458\u540D\u79F0"},null,8,["modelValue"])]),_:1}),t(_,{label:"\u624B\u673A\u53F7\u7801",prop:"phone"},{default:a(()=>[t(d,{class:"w-[280px]",modelValue:o(u).phone,"onUpdate:modelValue":e[2]||(e[2]=l=>o(u).phone=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,8,["modelValue"])]),_:1}),t(_,{label:"\u72B6\u6001",prop:"status"},{default:a(()=>[t(P,{modelValue:o(u).status,"onUpdate:modelValue":e[3]||(e[3]=l=>o(u).status=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001"},{default:a(()=>[t(E,{label:"\u5168\u90E8",value:""}),(i(!0),g(pe,null,me(o(k).show_status,(l,C)=>(i(),r(E,{key:C,label:l.name,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(_,null,{default:a(()=>[t(p,{type:"primary",onClick:o(U)},{default:a(()=>e[7]||(e[7]=[m("\u67E5\u8BE2")])),_:1},8,["onClick"]),t(p,{onClick:o(L)},{default:a(()=>e[8]||(e[8]=[m("\u91CD\u7F6E")])),_:1},8