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/hookSymptom-legacy-53b6d35b.js
System.register(["./po-legacy-2b1fa9b9.js","./vue-router-legacy-a12307c3.js","./message-legacy-10af7c73.js","./index-legacy-42c17c53.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-3c1533a0.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 a,n,i,s,c,l,o,r,d,u,m;return{setters:[e=>{a=e.symptomListWeb,n=e.AddEditSymptomWeb,i=e.deleteSymptomWeb},e=>{s=e.d,c=e.u},e=>{l=e.b7},e=>{o=e.o},e=>{r=e.r,d=e.A,u=e.w,m=e.o},null,null,null,null,null,null,null,null],execute:function(){e("useEqu",(function(e,t){s(),c(),s();const g=r(),p=r(!1),y=r(!1),h=r(!1),f=r(!1),b=r(!1),j=r(""),k=r([]),_=r([]),v=d({}),S=d({tableIndex:0,note:"",description:"",name:"",id:"",is_select:""}),D=d({}),L=d({}),w=d({}),x=d({total:0,pageSize:10,currentPage:1,background:!0,pageSizes:[10,25,50,100]}),A=d({order_key:"",material_key:"",truck_key:"",truck_id:"",comment:"",show:"",searchKey:"",type:"",role:"",clinic_id:""});async function E(){t.str&&(S.is_select=1),p.value=!0;const{data:e}=await a(Object.assign(v,{search_key:A.searchKey,pageSize:x.pageSize,page:x.currentPage}));0==e.code&&(k.value=e.data,x.total=e.total,t.symptomData.symptom_str_arr)&&t.symptomData.symptom_str_arr.split(",").forEach(((e,t)=>{k.value.forEach(((t,a)=>{e==t.id&&(t.check=!0)}))})),p.value=!1}async function z(e){const{data:t}=await i(Object.assign(w,{symptom_id:e.id}));0==t.code?(E(),l({type:"success",message:t.msg})):l({type:"error",message:t.msg})}return u(t.symptomData,((e,t)=>{E()})),m((()=>{E()})),{searchDetail:A,btnSearchPart:function(){E()},loading:p,small:f,selectList:["勾选列","序号","症状","明细","操作"],columns:[{type:"selection",width:55,align:"left",slot:"selection1",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:"description",minWidth:100,hide:({checkList:e})=>!e.includes("明细")},{label:"操作",fixed:"right",width:160,slot:"operation",hide:({checkList:e})=>!e.includes("操作")}],pagination:x,handleSizeChange:function(e){x.pageSize=e,E()},handleCurrentChange:function(e){x.currentPage=e,E()},PartList:k,order_date:j,deliverDialog:y,selectClick:(e,t)=>{_.value=e},itemArr:S,addLocationDialog:h,locationArr:D,EditLocation:function(e){Object.keys(e).map((t=>{D[t]=e[t]}))},singleTableRef:g,btnAdd:function(){S.id="",S.name="",S.description="",b.value=!0},btnAddConfirm:async function(){const{data:e}=await n(Object.assign(L,{id:S.id,name:S.name,description:S.description}));0==e.code?(b.value=!1,E(),l({type:"success",message:e.msg})):l({type:"error",message:e.msg})},addDialog:b,itemArr:S,btnSearchPartAll:function(){A.searchKey="",E()},btnEdit:function(e){S.id=e.id,S.name=e.name,S.description=e.description,b.value=!0},btnDelete:e=>{o.confirm("你确定删除该条吗",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{z(e)})).catch((()=>{l({type:"info",message:"已取消"})}))},btnConfirm:function(){const a=[],n=[];k.value.forEach(((e,t)=>{e.check&&(a.push(e.id),n.push(e.name))})),t.symptomData.id=a.toString(),t.symptomData.name=n.toString(),e("update:symptomDialog",!1),e("eventIsNum")}}}))}}}));