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/hookFormula-legacy-36133b7b.js
System.register(["./po-legacy-522b679b.js","./vue-router-legacy-a12307c3.js","./index-legacy-42c17c53.js","./message-legacy-10af7c73.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-8a6cbd06.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,l,c,a,n,o,s,r,d;return{setters:[e=>{i=e.AccountListWeb,l=e.deleteCompanyWeb},e=>{c=e.d,a=e.u},e=>{n=e.o},e=>{o=e.b7},e=>{s=e.r,r=e.A,d=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(){c(),a(),c();const e=s(),t=s(!1),u=s(!1),h=s(!1),g=s(!1),p=s(!1),m=s(""),y=s([]),f=s([]),b=s([]),k=r({}),j=r({tableIndex:0,note:""}),v=r({});r({});const x=r({}),L=s([{id:1,value:"name",text:"名称"},{id:2,value:"formula",text:"配方"},{id:3,value:"source",text:"出处"},{id:4,value:"concoct",text:"炮制"},{id:5,value:"effect",text:"功效"},{id:5,value:"Usage",text:"使用方法"},{id:5,value:"attention",text:"注意"}]),_=r({total:0,pageSize:10,currentPage:1,background:!0,pageSizes:[10,25,50,100]}),S=r({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",type:"",role:"",clinic_id:"",filter_info:"",placeholder:""});async function w(){S.type=localStorage.getItem("type"),2==S.type&&(S.role="clinic"),1==S.type&&(S.role="therapists"),S.clinic_id=localStorage.getItem("clinicIdOverall"),t.value=!0;const{data:e}=await i(Object.assign(k,{clinic_id:S.clinic_id,role:S.role,searchKey:S.searchKey}));1==e.code&&(y.value=e.data),t.value=!1}async function W(e){const{data:t}=await l(Object.assign(x,{company_id:e.id}));1==t.code?(w(),o({type:"success",message:t.msg})):o({type:"error",message:t.msg})}return d((()=>{w()})),{searchDetail:S,btnSearchPart:function(){w()},loading:t,small:g,selectList:["名称","配方","出处","炮制","功效","使用方法","注意","操作"],columns:[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号列",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"名称",prop:"name",minWidth:100,hide:({checkList:e})=>!e.includes("名称")},{label:"配方",prop:"formula",minWidth:100,hide:({checkList:e})=>!e.includes("配方")},{label:"出处",prop:"source",minWidth:100,hide:({checkList:e})=>!e.includes("出处")},{label:"炮制",prop:"concoct",minWidth:100,hide:({checkList:e})=>!e.includes("炮制")},{label:"功效",prop:"effect",minWidth:150,slot:"slotAction",hide:({checkList:e})=>!e.includes("功效")},{label:"使用方法",prop:"Usage",minWidth:120,hide:({checkList:e})=>!e.includes("使用方法")},{label:"注意",prop:"attention",minWidth:120,hide:({checkList:e})=>!e.includes("注意")},{label:"操作",fixed:"right",width:120,slot:"operation",hide:({checkList:e})=>!e.includes("操作")}],pagination:_,handleSizeChange:function(e){_.pageSize=e,w()},handleCurrentChange:function(e){_.currentPage=e,w()},PartList:y,order_date:m,deliverDialog:u,selectClick:(e,t)=>{},itemArr:j,addLocationDialog:h,locationArr:v,EditLocation:function(e){Object.keys(e).map((t=>{v[t]=e[t]}))},btnDellocation:e=>{n.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,searchItem:L,btnSearchField:function(e){L.value.forEach(((t,i)=>{e==t.value&&(S.placeholder=t.text)}))},importDialog:p,uploadSlotFile:function(e,t,i){p.value=!0},selectImport:function(){},match_field_data:f,field_showValue:b}}))}}}));