moreShopAdmin/build/admin/assets/deliverTable.fa770db9.js

2 lines
2.3 KiB
JavaScript

import{_ as v}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{M as C,b,N as w}from"./element-plus.4a7d92a3.js";import{u as y}from"./usePaging.6a6670f9.js";import{u as F}from"./useDictOptions.26821584.js";import{a as S}from"./store_order.60215b7a.js";import{d as u,Z as V,o as p,c as s,a as l,U as t,L as n,S as D,u as e,j as E,Q as x}from"./@vue.18505fe0.js";import"./lodash.9dc701ad.js";import"./index.c0577c2f.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const B={key:0,class:"flex mt-4 justify-end"},N=u({name:"deliverTable"}),go=u({...N,setup(P,{expose:c}){const d=V({order_id:"",pay_type:""});F("");const{pager:o,getLists:i,resetParams:k,resetPage:L}=y({fetchFun:S,params:d});return c({getLists:i}),(_,m)=>{const r=C,f=b,g=w,h=v;return p(),s("div",null,[l("div",null,[t(g,{data:e(o).lists,onSelectionChange:_.handleSelectionChange},{default:n(()=>[t(r,{label:"\u8BA2\u5355\u53F7",prop:"id","show-overflow-tooltip":""}),t(r,{label:"\u5546\u54C1\u4FE1\u606F",prop:"status","show-overflow-tooltip":"",width:"400"},{default:n(({row:a})=>[t(f,{src:a.image,class:"w-16 h-16","preview-teleported":!0},null,8,["src"]),l("div",null,D(a.store_name),1)]),_:1}),t(r,{label:"\u53D1\u8D27\u65F6\u95F4",prop:"id","show-overflow-tooltip":""})]),_:1},8,["data","onSelectionChange"])]),e(o).lists.length<e(o).count?(p(),s("div",B,[t(h,{modelValue:e(o),"onUpdate:modelValue":m[0]||(m[0]=a=>E(o)?o.value=a:null),onChange:e(i)},null,8,["modelValue","onChange"])])):x("",!0)])}}});export{go as default};