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/hook-legacy-c86d8272.js
System.register(["./message-legacy-10af7c73.js","./eqpsolts-legacy-cc0ce523.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./index-legacy-c6588d66.js","./preload-helper-legacy-f8638e03.js","./vue-i18n.runtime.esm-bundler-legacy-720876b1.js","./index-legacy-c9e20962.js","./_commonjsHelpers-legacy-5498c249.js","./vue-router-legacy-a12307c3.js","./utils-legacy-c0023c33.js"],(function(e,t){"use strict";var n,i,l,s,o,a,r;return{setters:[e=>{n=e.be},e=>{i=e.delEquSlot,l=e.getEquSlotList},e=>{s=e.A,o=e.r,a=e.c,r=e.o},null,null,null,null,null,null,null],execute:function(){e("useEquSlot",(function(e){const t=s({slot:""}),c=o([]),d=o([]),u=o(!0);o({});const h=s({total:0,pageSize:10,currentPage:1,background:!0}),p=a((()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]));async function m(){u.value=!0;const{data:t,total:n}=await l(Object.assign({eqpid:e.id},{page:h.currentPage,results:h.pageSize}));c.value=t,h.total=n,setTimeout((()=>{u.value=!1}),500)}const{VITE_PUBLIC_PATH:E}={VITE_PORT:"8849",VITE_PUBLIC_PATH:"/public/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_API:"https://appointment.pcb456.com:8093/",VITE_PRODUCT:"yuyue",BASE_URL:"/public/",MODE:"production",DEV:!1,PROD:!0};return r((()=>{m()})),{printSlotAll:function(t){"pdf"==t?window.open(E+"maf/PRINTFEEDEREQPSLOTBARCODE?mode=PrintBarCodeList&eqpid="+e.id,"","height=700,width=900,status=1,scrollbars=1,menubar=1,resizable=1"):window.open(E+"maf/PRINTFEEDEREQPSLOT?mode=list&eqpid="+e.id,"","height=700,width=900,status=1,scrollbars=1,menubar=1,resizable=1")},printSlotItem:function(e,t,n){"pdf"==e?window.open(E+"maf/PRINTFEEDEREQPSLOTBARCODE?mode=ShowFeederBarCode&slotid="+encodeURIComponent(t)+"&slot="+encodeURIComponent(n),"","height=700,width=900,status=1,scrollbars=1,menubar=1,resizable=1"):window.open(E+"maf/PRINTFEEDEREQPSLOT?slotid="+encodeURIComponent(t)+"&slot="+encodeURIComponent(n),"","height=700,width=900,status=1,scrollbars=1,menubar=1,resizable=1")},workshop_list:d,selectList:["ID","槽位号"],form:t,loading:u,columns:[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号列",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"ID",prop:"id",minWidth:100,hide:({checkList:e})=>!e.includes("ID")},{label:"槽位号",prop:"slot",minWidth:120,hide:({checkList:e})=>!e.includes("槽位号")},{label:"操作",fixed:"right",width:250,slot:"operation"}],dataList:c,pagination:h,buttonClass:p,onSearch:m,resetForm:e=>{e&&(e.resetFields(),m())},handleUpdate:function(e){},handleDelete:function(e){i(e.id).then((e=>{n("删除槽位成功",{type:"success"}),m()})).catch((e=>{n("删除槽位失败",{type:"error"})}))},handleSizeChange:function(e){m()},handleCurrentChange:function(e){m()},handleSelectionChange:function(e){}}}))}}}));