multiStoreAdmin/build/store/assets/index.8e4f1536.js

2 lines
6.6 KiB
JavaScript
Raw Normal View History

2024-07-02 18:16:49 +08:00
import{Y as X,_ as Z,$ as ee,x as le,y as te,D as ae,Q as oe,R as ue,C as se,w as ne,F as re,I as ie,L as pe,b as de,M as _e,N as me}from"./element-plus.0a93cab1.js";import{_ as ce}from"./index.vue_vue_type_script_setup_true_lang.3863431c.js";import{_ as fe}from"./index.vue_vue_type_script_setup_true_lang.e8884d2e.js";import{u as ve}from"./usePaging.d25ebf19.js";import{e as Fe,f as be,a as Ee}from"./store_order.b370fc86.js";import"./index.8ccde2ce.js";import{d as A,a0 as he,r as n,o as u,c as r,W as e,O as t,V as x,a7 as B,M as C,T as E,P as we,u as h,a as d,U as V,j as ye,S as ge,n as xe}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.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"./lodash.a2abcd4b.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.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.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";const Be={class:"mt-4"},Ce={key:0},Ve={key:1,class:"flex items-center"},De={class:"w-[50px] h-[50px] mr-2"},ke={class:"w-[50px] h-[50px] mr-2"},Te={class:"esplise"},Pe={class:"flex mt-4 justify-end"},Le={key:0},$e=A({name:"manageProjectLists"}),bl=A({...$e,setup(Re){const o=he({order_id:"",pay_type:"",start_time:"",end_time:"",status:"",staff_id:""}),v=n("all"),N=i=>{v.value=="all"?o.status="":o.status=v.value,y()},_=n([]),w=n(!1),{pager:m,getLists:y,resetParams:S,resetPage:O}=ve({fetchFun:Ee,params:o}),Y=()=>{_.value.length&&(o.start_time=_.value[0],o.end_time=_.value[1]),O()},j=()=>{_.value=[],S()},D=n(null),k=n({}),I=async i=>{let a=await Fe({id:i});console.log(a),k.value=a,w.value=!0,await xe(),D.value.open()},T=n([]),P=n([]),F=n({finish:"",wait_receive:"",wait_send:"",to_be_paid:""});return(async()=>{let i=await await be();T.value=i.pay_type,P.value=i.staff,F.value=i.order_status})(),y(),(i,a)=>{const M=X,c=ae,f=Z,L=oe,$=ue,q=se,g=ne,Q=ee,W=re,R=ie,b=le,z=te,s=pe,U=de,G=_e,H=ce,J=me;return u(),r("div",null,[e(R,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(W,{class:"mb-[-16px]",model:o,"label-width":"80px"},{default:t(()=>[e(Q,null,{default:t(()=>[e(f,{span:6},{default:t(()=>[e(c,{label:"\u65F6\u95F4\u7B5B\u9009"},{default:t(()=>[e(M,{modelValue:_.value,"onUpdate:modelValue":a[0]||(a[0]=l=>_.value=l),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4","value-format":"YYYY-MM-DD",clearable:!1},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:6},{default:t(()=>[e(c,{label:"\u5E97\u5458"},{default:t(()=>[e($,{class:"flex-1",modelValue:o.staff_id,"onUpdate:modelValue":a[1]||(a[1]=l=>o.staff_id=l),placeholder:"\u8BF7\u9009\u62E9\u5E97\u5458"},{default:t(()=>[(u(!0),r(x,null,B(P.value,(l,p)=>(u(),C(L,{label:l.staff_name,value:l.id},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(f,{span:6},{default:t(()=>[e(c,{label:"\u8BA2\u5355\u7F16\u53F7"},{default:t(()=>[e(q,{modelValue:o.order_id,"onUpdate:modelValue":a[2]||(a[2]=l=>o.order_id=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7"},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:6},{default:t(()=>[e(c,{label:"\u652F\u4ED8\u65B9\u5F0F"},{default:t(()=>[e($,{class:"flex-1",modelValue:o.pay_type,"onUpdate:modelValue":a[3]||(a[3]=l=>o.pay_type=l),placeholder:"\u8BF7\u9009\u62E9\u652F\u4ED8\u65B9\u5F0F"},{default:t(()=>[(u(!0),r(x,null,B(T.value,(l,p)=>(u(),C(L,{label:l,value:p},null,8,["label","value