HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/hookBalanceHistories-8e70e7a4.js
import{userPaymentHistoriesWeb as W,deleteCompanyWeb as L}from"./po-ccaa4b95.js";import{d as u,u as z}from"./vue-router-a383d220.js";import{o as B}from"./index-81e4a901.js";import{b7 as r}from"./message-2472a54a.js";import{r as t,A as n,o as E}from"./runtime-core.esm-bundler-6128546f.js";import"./index-3693fecb.js";import"./preload-helper-78dc9057.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./utils-2ab4f76a.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";function X(){u(),z(),u();const p=t(),i=t(!1),d=t(!1),h=t(!1),y=t(!1),f=t(""),l=t([]),g=n({}),b=n({tableIndex:0,note:""}),T=t([{id:1,value:"userName",text:"User Name"},{id:2,value:"payTime",text:"Pay Time"}]),x=t([{value:"prepaid",text:"Prepayment"},{value:"Redemption",text:"Points Redemption"},{value:"membership_fee",text:"Membership Fee"},{value:"balance",text:"Balance"},{value:"all",text:"All"}]),v=t([{value:"1month",text:"1 Month"},{value:"3month",text:"3 Month"},{value:"6month",text:"6 Month"},{value:"1year",text:"1 Year"}]),m=n({});n({});const D=n({}),c=n({total:0,pageSize:10,currentPage:1,background:!0,currentPage:1,pageSizes:[10,25,50,100]}),s=n({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",searchType:"userName",searchValue:"",paymentType:"all"}),P=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号列",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"userName",prop:"company_name",minWidth:100,slot:"userName",hide:({checkList:e})=>!e.includes("userName")},{label:"Type",prop:"Type",slot:"Type",hide:({checkList:e})=>!e.includes("Type")},{label:"Desc",prop:"desc",minWidth:100,hide:({checkList:e})=>!e.includes("Desc")},{label:"Remain",prop:"postal",minWidth:100,slot:"Remain",hide:({checkList:e})=>!e.includes("Remain")},{label:"Date",prop:"create_time",minWidth:150,hide:({checkList:e})=>!e.includes("Date")}],R=["userName","Type","Desc","Remain","Date"];function _(){o()}function w(e){c.pageSize=e,o()}function k(e){c.currentPage=e,o()}async function o(){i.value=!0;const{data:e}=await W(Object.assign(g,{searchType:s.searchType,searchValue:s.searchValue,paymentType:s.paymentType}));l.value=e.data,i.value=!1}const A=(e,a)=>{};function M(e){Object.keys(e).map(a=>{m[a]=e[a]})}async function N(e){const{data:a}=await L(Object.assign(D,{company_id:e.id}));a.code==1?(o(),r({type:"success",message:a.msg})):r({type:"error",message:a.msg})}const C=e=>{B.confirm("Are you sure you want to delete this location",{confirmButtonText:"confirm",cancelButtonText:"cancel",type:"warning"}).then(()=>{N(e)}).catch(()=>{r({type:"info",message:"Canceled"})})};function S(){s.searchValue=""}return E(()=>{o()}),{searchDetail:s,btnSearchPart:_,loading:i,small:y,selectList:R,columns:P,pagination:c,handleSizeChange:w,handleCurrentChange:k,PartList:l,order_date:f,deliverDialog:d,selectClick:A,itemArr:b,addLocationDialog:h,locationArr:m,EditLocation:M,btnDellocation:C,singleTableRef:p,searchData:T,DisplayType:x,timeData:v,loadPartList:o,btnSearchType:S}}export{X as useEqu};