import{d as h,a6 as C,b as g,p as D,c as s,e as p,f as b,u as t,h as e,i as u,a1 as k,a2 as V,A as w,g as c,k as x,m as _,_ as z}from"./index.0308b213.js";import{u as E}from"./useInstance.233fbdde.js";import{h as N}from"./other.947188b2.js";const P={key:0,class:"filter-form"},U=_("\u7B5B\u9009"),I={class:"data"},K={class:"table"},L=_(" \u5DF2\u6263\u8D39 "),T=_(" \u672A\u6263\u8D39 "),j={class:"pagination"},q=h({setup(O){E();const{OpPlatform:y}=C(),i=g({list:[],count:0}),o=g({page:1,limit:10,agentid:"",status:-1,days:0}),r=()=>{N(o).then(d=>{i.list=d.list,i.count=d.count})};return r(),D(()=>o,()=>{r()},{deep:!0}),(d,l)=>{const v=s("el-input"),m=s("el-form-item"),B=s("el-button"),a=s("el-table-column"),f=s("el-tag"),A=s("el-table"),F=s("el-pagination");return p(),b("div",null,[t(y)==="shangpu"?(p(),b("div",P,[e(t(V),{model:t(o),"label-width":"90px"},{default:u(()=>[e(m,{class:"tn-el-form-item",label:"\u6A21\u7CCA\u6761\u4EF6"},{default:u(()=>[e(v,{modelValue:t(o).mobile,"onUpdate:modelValue":l[0]||(l[0]=n=>t(o).mobile=n),placeholder:"\u624B\u673A\u53F7\u7801\u6216\u9A91\u624B\u8D26\u53F7",onKeyup:l[1]||(l[1]=k(n=>r(),["enter"]))},null,8,["modelValue"])]),_:1}),e(m,null,{default:u(()=>[e(B,{type:"primary",onClick:r},{default:u(()=>[U]),_:1})]),_:1})]),_:1},8,["model"])])):w("",!0),c("div",I,[c("div",K,[e(A,{data:t(i).list},{default:u(()=>[e(a,{fixed:"",label:"id",prop:"id",align:"center"}),e(a,{fixed:"",label:"\u8BA2\u5355id",prop:"order_id",align:"center"}),e(a,{fixed:"",label:"\u624B\u673A\u53F7\u7801",prop:"mobile",align:"center"}),e(a,{fixed:"",label:"\u9A91\u624B\u8D26\u53F7",prop:"deliveryer_mobile",align:"center"}),e(a,{fixed:"",label:"\u7C7B\u578B",prop:"type",align:"center"}),e(a,{fixed:"",label:"\u901A\u77E5\u8BA1\u8D39",prop:"fee",align:"center"}),e(a,{fixed:"",label:"\u5E73\u53F0\u670D\u52A1\u8D39",prop:"platform_fee",align:"center"}),e(a,{width:"160px"},{default:u(n=>[c("div",null,[n.row.is_deduct==1?(p(),x(f,{key:0,type:"success"},{default:u(()=>[L]),_:1})):(p(),x(f,{key:1,type:"danger"},{default:u(()=>[T]),_:1}))])]),_:1}),e(a,{label:"\u64CD\u4F5C\u65F6\u95F4",prop:"createTime",align:"center"})]),_:1},8,["data"])])]),c("div",j,[e(F,{currentPage:t(o).page,"onUpdate:currentPage":l[2]||(l[2]=n=>t(o).page=n),"page-size":t(o).limit,"onUpdate:page-size":l[3]||(l[3]=n=>t(o).limit=n),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:t(i).count},null,8,["currentPage","page-size","total"])])])}}});const J=z(q,[["__scopeId","data-v-124bc5ac"]]);export{J as default};
