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-legacy-35615c58.js
System.register(["./po-legacy-e8c678cb.js","./vue-router-legacy-a12307c3.js","./index-legacy-42c17c53.js","./message-legacy-10af7c73.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-f36f0e15.js","./preload-helper-legacy-f8638e03.js","./vue-i18n.runtime.esm-bundler-legacy-720876b1.js","./index-legacy-c9e20962.js","./_commonjsHelpers-legacy-5498c249.js","./utils-legacy-c0023c33.js","./focus-trap-legacy-631b7396.js","./error-legacy-e98f9e58.js"],(function(e,a){"use strict";var t,n,l,c,i,s,r,o,u;return{setters:[e=>{t=e.userPaymentHistoriesWeb,n=e.deleteCompanyWeb},e=>{l=e.d,c=e.u},e=>{i=e.o},e=>{s=e.b7},e=>{r=e.r,o=e.A,u=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(){l(),c(),l();const e=r(),a=r(!1),m=r(!1),d=r(!1),p=r(!1),y=r(""),h=r([]),g=o({}),b=o({tableIndex:0,note:""}),x=r([{id:1,value:"userName",text:"User Name"},{id:2,value:"payTime",text:"Pay Time"}]),f=r([{value:"prepaid",text:"Prepayment"},{value:"Redemption",text:"Points Redemption"},{value:"membership_fee",text:"Membership Fee"},{value:"balance",text:"Balance"},{value:"all",text:"All"}]),j=r([{value:"1month",text:"1 Month"},{value:"3month",text:"3 Month"},{value:"6month",text:"6 Month"},{value:"1year",text:"1 Year"}]),v=o({});o({});const T=o({}),k=o({total:0,pageSize:10,currentPage:1,background:!0,currentPage:1,pageSizes:[10,25,50,100]}),D=o({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",searchType:"userName",searchValue:"",paymentType:"all"});async function L(){a.value=!0;const{data:e}=await t(Object.assign(g,{searchType:D.searchType,searchValue:D.searchValue,paymentType:D.paymentType}));h.value=e.data,a.value=!1}async function P(e){const{data:a}=await n(Object.assign(T,{company_id:e.id}));1==a.code?(L(),s({type:"success",message:a.msg})):s({type:"error",message:a.msg})}return u((()=>{L()})),{searchDetail:D,btnSearchPart:function(){L()},loading:a,small:p,selectList:["userName","Type","Desc","Remain","Date"],columns:[{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")}],pagination:k,handleSizeChange:function(e){k.pageSize=e,L()},handleCurrentChange:function(e){k.currentPage=e,L()},PartList:h,order_date:y,deliverDialog:m,selectClick:(e,a)=>{},itemArr:b,addLocationDialog:d,locationArr:v,EditLocation:function(e){Object.keys(e).map((a=>{v[a]=e[a]}))},btnDellocation:e=>{i.confirm("Are you sure you want to delete this location",{confirmButtonText:"confirm",cancelButtonText:"cancel",type:"warning"}).then((()=>{P(e)})).catch((()=>{s({type:"info",message:"Canceled"})}))},singleTableRef:e,searchData:x,DisplayType:f,timeData:j,loadPartList:L,btnSearchType:function(){D.searchValue=""}}}))}}}));