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/hookillness-legacy-f20e55da.js
System.register(["./po-legacy-323aad91.js","./vue-router-legacy-a12307c3.js","./index-legacy-42c17c53.js","./message-legacy-10af7c73.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-1c13cd42.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,n,c,l,a,s,o,r,d;return{setters:[e=>{i=e.AccountListWeb,n=e.deleteCompanyWeb},e=>{c=e.d,l=e.u},e=>{a=e.o},e=>{s=e.b7},e=>{o=e.r,r=e.A,d=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(){c(),l(),c();const e=o(),t=o(!1),u=o(!1),g=o(!1),y=o(!1),h=o(!1),m=o(""),p=o([]),b=r({}),f=r({tableIndex:0,note:"",description:"",name:"",id:""}),j=r({});r({});const k=r({}),_=r({total:0,pageSize:10,currentPage:1,background:!0,pageSizes:[10,25,50,100]}),L=r({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",type:"",role:"",clinic_id:""});async function v(){L.type=localStorage.getItem("type"),2==L.type&&(L.role="clinic"),1==L.type&&(L.role="therapists"),L.clinic_id=localStorage.getItem("clinicIdOverall"),t.value=!0;const{data:e}=await i(Object.assign(b,{clinic_id:L.clinic_id,role:L.role,searchKey:L.searchKey}));1==e.code&&(p.value=e.data),t.value=!1}async function x(e){const{data:t}=await n(Object.assign(k,{company_id:e.id}));1==t.code?(v(),s({type:"success",message:t.msg})):s({type:"error",message:t.msg})}return d((()=>{v()})),{searchDetail:L,btnSearchPart:function(){v()},loading:t,small:y,selectList:["序号","病症名","ICD11名称","描述","症状","操作"],columns:[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号")},{label:"病症名",prop:"company_name",minWidth:100,hide:({checkList:e})=>!e.includes("病症名")},{label:"ICD11名称",prop:"hst",minWidth:100,hide:({checkList:e})=>!e.includes("ICD11名称")},{label:"描述",prop:"first_name",minWidth:100,hide:({checkList:e})=>!e.includes("描述")},{label:"症状",prop:"postal",minWidth:100,hide:({checkList:e})=>!e.includes("症状")},{label:"操作",fixed:"right",width:120,slot:"operation",hide:({checkList:e})=>!e.includes("操作")}],pagination:_,handleSizeChange:function(e){_.pageSize=e,v()},handleCurrentChange:function(e){_.currentPage=e,v()},PartList:p,order_date:m,deliverDialog:u,selectClick:(e,t)=>{},itemArr:f,addLocationDialog:g,locationArr:j,EditLocation:function(e){Object.keys(e).map((t=>{j[t]=e[t]}))},btnDellocation:e=>{a.confirm("Are you sure you want to delete this location",{confirmButtonText:"confirm",cancelButtonText:"cancel",type:"warning"}).then((()=>{x(e)})).catch((()=>{s({type:"info",message:"Canceled"})}))},singleTableRef:e,btnAdd:function(){f.id="",f.name="",f.description="",h.value=!0},addDialog:h,itemArr:f}}))}}}));