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/hookClientNoteList-legacy-3b57b093.js
System.register(["./employee_company-legacy-aa93448b.js","./po-legacy-0bc65a74.js","./vue-router-legacy-a12307c3.js","./index-legacy-42c17c53.js","./message-legacy-10af7c73.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-82bb0231.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,i){"use strict";var a,t,n,c,l,s,o,r,d,u,m;return{setters:[e=>{a=e.getEmployeeCompanyInfoWeb},e=>{t=e.EmployeeClientNoteWeb,n=e.yuyueFDF,c=e.deleteCompanyWeb},e=>{l=e.d,s=e.u},e=>{o=e.o},e=>{r=e.b7},e=>{d=e.r,u=e.A,m=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(){l(),s(),l();const e=d(),i=d(!1),g=d(!1),p=d(!1),h=d(!1),y=d(!1),f=d(""),_=d([]),b=d([]),v=u({}),j=u({tableIndex:0,note:""}),k=u({}),S=d(1e3),w=u({total:0,pageSize:S.value,pageSizes:[10,15,20,50,100],currentPage:1,background:!0}),L=u({company_id:0,date:"",begin_date:"",end_date:""});u({});const x=u({}),C=d([]),A=u({total:0,pageSize:10,currentPage:1,background:!0,currentPage:1,pageSizes:[10,25,50,100]}),P=u({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",type:"",role:"",clinic_id:"",customer_name:"",service_date:"",service_name:""});async function E(){i.value=!0;const{data:e}=await t(Object.assign(v,{company_id:L.company_id,customer_name:P.customer_name,service_name:P.service_name,service_date:P.service_date,pageSize:A.pageSize,page:A.currentPage}));1==e.code&&(_.value=e.data,A.total=e.total),i.value=!1}async function T(e){const{data:i}=await c(Object.assign(x,{company_id:e.id}));1==i.code?(E(),r({type:"success",message:i.msg})):r({type:"error",message:i.msg})}return m((()=>{E(),async function(e={}){i.value=!0;const{data:t}=await a(Object.assign({},{page:w.currentPage,resault:w.pageSize}));t?.data?.forEach(((e,i)=>{C.value.push({label:e.company_name,value:e.id})})),t?.data?.length>0&&(L.company_id=parseInt(t?.data[0].id)),setTimeout((()=>{i.value=!1,E()}),500)}()})),{searchDetail:P,btnSearchPart:function(){E()},loading:i,small:y,selectList:["Idx","Customer Name","Service Date","Service Name","Begin Time","End Time","AM/PM","Files","Action"],columns:[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"Idx",type:"index",width:70,hide:({checkList:e})=>!e.includes("Idx")},{label:"Customer Name",prop:"customer_name",minWidth:100,align:"left",hide:({checkList:e})=>!e.includes("Customer Name")},{label:"Service Date",prop:"service_date",minWidth:100,hide:({checkList:e})=>!e.includes("Service Date")},{label:"Service Name",prop:"service_name",minWidth:100,align:"left",hide:({checkList:e})=>!e.includes("Service Name")},{label:"Begin Time",prop:"begin_time",minWidth:100,hide:({checkList:e})=>!e.includes("Begin Time")},{label:"End Time",prop:"end_time",minWidth:150,hide:({checkList:e})=>!e.includes("End Time")},{label:"AM/PM",prop:"am_pm",minWidth:120,hide:({checkList:e})=>!e.includes("AM/PM")},{label:"Files",prop:"file",minWidth:50,slot:"files",hide:({checkList:e})=>!e.includes("Files")},{label:"Action",fixed:"right",width:120,slot:"operation",hide:({checkList:e})=>!e.includes("Action")}],pagination:w,handleSizeChange:function(e){A.pageSize=e,E()},handleCurrentChange:function(e){A.currentPage=e,E()},PartList:_,order_date:f,deliverDialog:g,selectClick:(e,i)=>{},itemArr:j,addLocationDialog:h,locationArr:k,EditLocation:function(e){Object.keys(e).map((i=>{k[i]=e[i]}))},btnDellocation:e=>{o.confirm("Are you sure you want to delete this location",{confirmButtonText:"confirm",cancelButtonText:"cancel",type:"warning"}).then((()=>{T(e)})).catch((()=>{r({type:"info",message:"Canceled"})}))},singleTableRef:e,comp_list:C,search_form:L,wshChange:function(e){E()},uploadSlotFile1:function(e,i,a){1==e.code?E():r({type:"error",message:e.data.msg})},btnFile:function(e){b.value=[],e.length&&(e.forEach(((e,i)=>{let a={file:e};b.value.push(a)})),b.value.forEach(((e,i)=>{e.file=n+e.file.replace("var/www/html/public/","")})),p.value=!0)},fileArr:b,onFile:function(e){window.open(e)},fileDialog:p,pagination1:A}}))}}}));