WokerTask/public/admin/assets/Withdrawal.302dad2c.js

2 lines
6.0 KiB
JavaScript
Raw Normal View History

2024-02-03 14:29:19 +08:00
import{C as Q,D as W,N as J,O as z,w as G,F as H,J as K,P as M,Q as X,R as Y}from"./element-plus.ff90c99c.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as ee}from"./usePaging.bd7a7dec.js";import{u as te}from"./useDictOptions.364d5821.js";import{a as oe}from"./withdraw.56403e0a.js";import"./lodash.3e731b89.js";import"./index.a6925776.js";import{_ as ae}from"./edit.vue_vue_type_script_setup_true_name_withdrawEdit_lang.a4721512.js";import{_ as le}from"./audit.vue_vue_type_script_setup_true_name_withdrawEdit_lang.6fdbe7e4.js";import{d as x,s as V,r as v,$ as ue,aq as se,o as u,c as m,W as t,Q as l,u as o,F as ne,a9 as re,P as p,U as D,R as C,a as g,T as d,j as ie,n as me}from"./@vue.f8dfc830.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./index.0edf4687.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";const pe={class:"mt-4"},de={key:0,style:{color:"#e6a23c"}},ce={key:1,style:{color:"#409eff"}},_e={key:2,style:{color:"#f56c6c"}},fe={key:3,style:{color:"#67c23a"}},Fe={class:"flex mt-4 justify-end"},ve=x({name:"withdrawLists"}),mt=x({...ve,setup(De){const A=V(),k=V(),b=v(!1),w=v(!1),s=ue({order_sn:"",user_id:"",nickname:"",company_name:"",admin_id:"",amount:"",status:""}),R=v([{id:0,name:"\u5F85\u5BA1\u6838"},{id:1,name:"\u901A\u8FC7"},{id:2,name:"\u62D2\u7EDD"},{id:3,name:"\u5DF2\u8F6C\u8D26"}]),$=v([]),S=f=>{$.value=f.map(({id:a})=>a)},{dictData:y}=te(""),{pager:c,getLists:_,resetParams:L,resetPage:P}=ee({fetchFun:oe,params:s}),h=async(f,a)=>{var i,r;w.value=!0,await me(),(i=k.value)==null||i.open(a?"audit":"detail"),(r=k.value)==null||r.setFormData(f)};return _(),(f,a)=>{const i=Q,r=W,U=J,N=z,F=G,T=H,B=K,n=M,I=X,j=Z,E=se("perms"),q=Y;return u(),m("div",null,[t(B,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[t(T,{class:"mb-[-16px]",model:o(s),inline:""},{default:l(()=>[t(r,{label:"\u8BA2\u5355\u7F16\u53F7",prop:"order_sn"},{default:l(()=>[t(i,{class:"w-[280px]",modelValue:o(s).order_sn,"onUpdate:modelValue":a[0]||(a[0]=e=>o(s).order_sn=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),t(r,{label:"\u7528\u6237",prop:"nickname"},{default:l(()=>[t(i,{class:"w-[280px]",modelValue:o(s).nickname,"onUpdate:modelValue":a[1]||(a[1]=e=>o(s).nickname=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),t(r,{label:"\u63D0\u73B0\u91D1\u989D",prop:"amount"},{default:l(()=>[t(i,{class:"w-[280px]",modelValue:o(s).amount,"onUpdate:modelValue":a[2]||(a[2]=e=>o(s).amount=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u63D0\u73B0\u91D1\u989D"},null,8,["modelValue"])]),_:1}),t(r,{label:"\u72B6\u6001\uFF1A",prop:"status"},{default:l(()=>[t(N,{modelValue:o(s).status,"onUpdate:modelValue":a[3]||(a[3]=e=>o(s).status=e),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001"},{default:l(()=>[(u(!0),m(ne,null,re(o(R),e=>(u(),p(U,{key:e.label,value:e.id,label:e.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(r,null,{default:l(()=>[t(F,{type:"pri