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/hookIdentity-legacy-11763647.js
System.register(["./po-legacy-56fe113f.js","./vue-router-legacy-a12307c3.js","./index-legacy-42c17c53.js","./message-legacy-10af7c73.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-a6c772a2.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,t){"use strict";var i,a,c,n,l,s,o,r,d,u;return{setters:[e=>{i=e.getCompanyListWeb,a=e.updateRoleWeb,c=e.deleteCompanyWeb},e=>{n=e.d,l=e.u},e=>{s=e.o},e=>{o=e.b7},e=>{r=e.A,d=e.r,u=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(){r({count:0}),n(),l(),n();const e=d(),t=d(!1),h=d(!1),m=d(!1),g=d(!1),p=d(""),y=d([]),b=r({}),f=r({tableIndex:0,note:""}),k=r({});r({});const j=r({}),S=r({}),C=r({total:0,pageSize:10,currentPage:1,background:!0,currentPage:1,pageSizes:[10,25,50,100]}),L=r({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:""});async function P(){t.value=!0;const{data:e}=await i(Object.assign(b,{searchKey:L.searchKey}));y.value=e.data,t.value=!1}async function W(e){const{data:t}=await c(Object.assign(j,{company_id:e.id}));1==t.code?(P(),o({type:"success",message:t.msg})):o({type:"error",message:t.msg})}return u((()=>{localStorage.setItem("type",1),P()})),{searchDetail:L,btnSearchPart:function(){P()},loading:t,small:g,selectList:["勾选列","Company","HST#","Name","Postal","Phone","Email","Address","Provice","City","Action"],columns:[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号列",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"Company",prop:"company_name",minWidth:100,hide:({checkList:e})=>!e.includes("Company")},{label:"HST#",prop:"hst",minWidth:100,hide:({checkList:e})=>!e.includes("HST#")},{label:"Name",prop:"first_name",minWidth:100,hide:({checkList:e})=>!e.includes("Name")},{label:"Postal",prop:"postal",minWidth:100,hide:({checkList:e})=>!e.includes("Postal")},{label:"Phone",prop:"phone",minWidth:150,slot:"slotAction",hide:({checkList:e})=>!e.includes("Phone")},{label:"Email",prop:"email",minWidth:120,hide:({checkList:e})=>!e.includes("Email")},{label:"Address",prop:"address",minWidth:120,hide:({checkList:e})=>!e.includes("Address")},{label:"Provice",prop:"state",minWidth:120,hide:({checkList:e})=>!e.includes("Provice")},{label:"City",prop:"city",minWidth:120,hide:({checkList:e})=>!e.includes("City")},{label:"Action",fixed:"right",width:120,slot:"operation",hide:({checkList:e})=>!e.includes("Action")}],pagination:C,handleSizeChange:function(e){C.pageSize=e,P()},handleCurrentChange:function(e){C.currentPage=e,P()},PartList:y,order_date:p,deliverDialog:h,selectClick:(e,t)=>{},itemArr:f,addLocationDialog:m,locationArr:k,EditLocation:function(e){Object.keys(e).map((t=>{k[t]=e[t]}))},btnDellocation:e=>{s.confirm("Are you sure you want to delete this location",{confirmButtonText:"confirm",cancelButtonText:"cancel",type:"warning"}).then((()=>{W(e)})).catch((()=>{o({type:"info",message:"Canceled"})}))},singleTableRef:e,btnRegRole:async function(e){const{data:t}=await a(Object.assign(S,{role:e,openId:""}));603==t.code||604==t.code?1==e?(localStorage.setItem("attestation","attestation"),localStorage.setItem("is_therapist",1),localStorage.setItem("is_therapist1",1)):0==e||(2==e?localStorage.setItem("CertificationClinics","CertificationClinics"):3==e&&localStorage.setItem("School","School")):(localStorage.setItem("type",e),localStorage.setItem("userInfo",t.data))}}}))}}}));