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-bc70a9a6.js
System.register(["./po-legacy-706db15a.js","./vue-router-legacy-a12307c3.js","./index-legacy-42c17c53.js","./message-legacy-10af7c73.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-ad509c6f.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,s,a,n,l,r,c,o,d,m;return{setters:[e=>{i=e.illNessListWeb,s=e.AddEditillNessWeb,a=e.deleteillNessWeb},e=>{n=e.d,l=e.u},e=>{r=e.o},e=>{c=e.b7},e=>{o=e.r,d=e.A,m=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(){n(),l(),n();const e=o(),t=o(!1),u=o(!1),p=o(!1),y=o(!1),g=o(!1),_=o(!1),h=o(""),b=o([]),f=d({}),j=d({tableIndex:0,note:"",id:"",name:"",description:"",ill_code:"",symptom_str_arr:"",symptom_name_arr:""}),k=d({}),v=d({}),L=d({}),S=d({total:0,pageSize:10,currentPage:1,background:!0,pageSizes:[10,25,50,100]}),D=d({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",type:"",role:"",clinic_id:""});async function x(){D.type=localStorage.getItem("type"),2==D.type&&(D.role="clinic"),1==D.type&&(D.role="therapists"),D.clinic_id=localStorage.getItem("clinicIdOverall"),t.value=!0;const{data:e}=await i(Object.assign(f,{search_key:D.searchKey,pageSize:S.pageSize,page:S.currentPage}));0==e.code&&(b.value=e.data,S.total=e.total),t.value=!1}async function w(e){const{data:t}=await a(Object.assign(L,{illness_id:e.id}));0==t.code?(x(),c({type:"success",message:t.msg})):c({type:"error",message:t.msg})}const C=d({name:"",id:"",symptom_str_arr:""});return m((()=>{x()})),{searchDetail:D,btnSearchPart:function(){x()},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:"name",minWidth:100,hide:({checkList:e})=>!e.includes("病症名")},{label:"ICD11名称",prop:"ill_code",minWidth:100,hide:({checkList:e})=>!e.includes("ICD11名称")},{label:"描述",prop:"description",minWidth:100,hide:({checkList:e})=>!e.includes("描述")},{label:"症状",prop:"postal",minWidth:100,slot:"symptom_str",hide:({checkList:e})=>!e.includes("症状")},{label:"操作",fixed:"right",width:120,slot:"operation",hide:({checkList:e})=>!e.includes("操作")}],pagination:S,handleSizeChange:function(e){S.pageSize=e,x()},handleCurrentChange:function(e){S.currentPage=e,x()},PartList:b,order_date:h,deliverDialog:u,selectClick:(e,t)=>{},itemArr:j,addLocationDialog:p,locationArr:k,EditLocation:function(e){Object.keys(e).map((t=>{k[t]=e[t]}))},singleTableRef:e,btnAdd:function(){j.id="",j.name="",j.description="",j.ill_code="",j.symptom_str_arr="",j.symptom_name_arr="",_.value=!0},addDialog:_,itemArr:j,symptomDialog:g,eventIsNum:function(){j.symptom_name_arr=C.name,j.symptom_str_arr=C.id},symptomData:C,btnSymptom:function(){C.symptom_str_arr=j.symptom_str_arr,g.value=!0},btnAddConfirm:async function(e){const{data:t}=await s(Object.assign(v,{id:j.id,name:j.name,description:j.description,ill_code:j.ill_code,symptom_str_arr:j.symptom_str_arr}));0==t.code?(_.value=!1,x(),c({type:"success",message:t.msg})):c({type:"error",message:t.msg})},btnEdit:function(e){const t=[];j.id=e.id,j.name=e.name,j.description=e.description,j.ill_code=e.ill_code,j.symptom_str_arr=e.symptom_str,e.symptom_str_arr.forEach(((e,i)=>{t.push(e.name)})),j.symptom_name_arr=t.toString(),_.value=!0},btnDelete:e=>{r.confirm("你确定删除该条吗",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{w(e)})).catch((()=>{c({type:"info",message:"已取消"})}))}}}))}}}));