moreShopAdmin/dist/admin/assets/index.4bd67a05.js

2 lines
5.7 KiB
JavaScript
Raw Normal View History

2024-11-11 11:30:56 +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.7e347b00.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.af250dfd.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import{f as te,b as oe}from"./index.fd76ab8a.js";import{u as le}from"./usePaging.6a6670f9.js";import{u as ae}from"./useDictOptions.dc8aa87e.js";import{d as ue,e as ne}from"./delivery_service.2800a75a.js";import"./lodash.4e6d2a38.js";import{_ as ie}from"./edit.vue_vue_type_script_setup_true_name_deliveryServiceEdit_lang.b951ec64.js";import{d as S,s as se,r as V,Z as re,ap as de,o as i,c as B,U as e,L as a,u as t,T as pe,a9 as me,K as r,R as m,M as f,a as g,j as ce,Q as _e,n as x}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.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.101084e3.js";import"./pinia.a969beab.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.b0c09b66.js";import"./index.1071aff1.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.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=V(!1),u=re({uid:"",nickname:"",phone:"",status:""}),F=V([]),$=n=>{F.value=n.map(({id:o})=>o)},{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 o,d;b.value=!0,await x(),(o=v.value)==null||o.open("edit"),(d=v.value)==null||d.setFormData(n)},C=async n=>{await te.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await ue({id:n}),y()};return y(),(n,o)=>{const d=O,_=q,D=J,P=Q,p=Z,R=z,E=G,T=oe,s=H,j=ee,I=W,K=Y,w=de("perms"),M=X;return i(),B("div",null,[e(E,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(R,{class:"mb-[-16px]",model:t(u),inline:""},{default:a(()=>[e(_,{label:"\u914D\u9001\u5458uid",prop:"uid"},{default:a(()=>[e(d,{class:"w-[280px]",modelValue:t(u).uid,"onUpdate:modelValue":o[0]||(o[0]=l=>t(u).uid=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u914D\u9001\u5458uid"},null,8,["modelValue"])]),_:1}),e(_,{label:"\u914D\u9001\u5458\u540D\u79F0",prop:"nickname"},{default:a(()=>[e(d,{class:"w-[280px]",modelValue:t(u).nickname,"onUpdate:modelValue":o[1]||(o[1]=l=>t(u).nickname=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u914D\u9001\u5458\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(_,{label:"\u624B\u673A\u53F7\u7801",prop:"phone"},{default:a(()=>[e(d,{class:"w-[280px]",modelValue:t(u).phone,"onUpdate:modelValue":o[2]||(o[2]=l=>t(u).phone=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"},null,8,["modelValue"])]),_:1}),e(_,{label:"\u72B6\u6001",prop:"status"},{default:a(()=>[e(P,{modelValue:t(u).status,"onUpdate:modelValue":o[3]||(o[3]=l=>t(u).status=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001"},{default:a(()=>[e(D,{label:"\u5168\u90E8",value:""}),(i(!0),B(pe,null,me(t(k).show_status,(l,h)=>(i(),r(D,{key:h,label:l.name,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:a(()=>[e(p,{type:"primary",onClick:t(U)},{default:a(()=>[m("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(p,{onClick:t(L)},{default:a(()=>[m("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_: