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-01188298.js
System.register(["./preload-helper-legacy-f8638e03.js","./runtime-core.esm-bundler-legacy-c5df00b7.js"],(function(e,i){"use strict";var t,s,a,r;return{setters:[e=>{t=e._},e=>{s=e.r,a=e.A,r=e.o}],execute:function(){e("useList",(function(){const e=s([]),l=s(!1),o=s(0),c=s(0),p=s(""),n=s(""),d=s(15),m=a({total:0,pageSize:d.value,pageSizes:[10,15,20,50,100],currentPage:1,background:!0}),u=a({uid:"",code:"",name:"",phone:"",email:""}),_=s(!1),f=a({fno:"",fname:""}),v=s([]),h={},y=s(""),g=s({});async function j(i={}){if(l.value=!0,!J.value)return!1;const{data:t,meta:s,ext:a}=await J.value.getList(Object.assign(w,{page:m.currentPage,resault:m.pageSize},{search:JSON.stringify(i),parent_entity_id:E.value}));e.value=t,m.total=s.total,setTimeout((()=>{l.value=!1,V.value=!0,B.value=!1}),500)}const b=s([]),w=a([]),x=s([]),k=s([]),S=s([]),O=s([]),P=s("列表"),q=s(!1),F=s(!1),L=s(!0),W=s(""),z=s(0);q.value=!1;const C=s([]),D=s([]),I=s([]),N=s([]),R=a({line_name:"",data:[],columns:[],form_fields:[],form_rules:[],uri:"",parent_uri:"",parent_search:[],parent_fill:[],parent:!1});async function A(){if(B.value=!0,!J.value)return!1;const{data:e}=await J.value.loadOptions({});R.line_name=e?.child?.model?.tname?e?.child?.model?.tname:"",R.columns=e?.child?.fields?e?.child?.fields:[],R.form_fields=e?.child?.options?.form_fields?e?.child?.options?.form_fields:[],R.form_rules=e?.child?.form_rules?e?.child?.form_rules:[],R.uri=e?.child?.uri?e?.child?.uri:"",R.parent_uri=e?.child?.parent_uri?e?.child?.parent_uri:"",R.parent_search=e?.child?.parent_search?e?.child?.parent_search:[],R.parent_fill=e?.child?.parent_fill?e?.child?.parent_fill:[],R.parent=!!e?.child?.parent&&e?.child?.parent,W.value=e.row_key,I.value=e.options?.form_fields,N.value=e.options?.search_fields;let i=[],t=!1;q.value&&(i.push({type:"selection",width:55,align:"left",selectable:(i,t)=>!e.exclude||!function(e,i){if(!e||0===Object.keys(e).length)return!0;const t=[];for(let s of i){const i=s.field,a=s.oper,r=s.value;let l,o="";switch(e.hasOwnProperty(i)&&(o=e[i]),a){case">":l=o>r;break;case"<":l=o<r;break;case">=":l=o>=r;break;case"<=":l=o<=r;break;case"=":l=o===r;break;default:l=!1}t.push(l)}return t.every((e=>!0===e))}(i,e.exclude),fixed:!0,reserveSelection:!0}),t=!0),e.sec_fields.length>0?(t?i.push({type:"expand",slot:"expand"}):i.push({type:"expand",slot:"expand",fixed:!0,width:40}),i.push({label:"序号",type:"index",minWidth:60})):t?i.push({label:"序号",type:"index",minWidth:40,width:60}):i.push({label:"序号",type:"index",minWidth:40,width:60,fixed:!0}),L.value&&i.push({label:"操作",fixed:"right",width:230,slot:"operation"});for(let s in e.fields){let t=e.fields[s];i.push(t)}if(x.value=i,e.sec_fields.length>0){let i=[];i=[{label:"序号",type:"index",minWidth:40}];for(let t in e.sec_fields){let s=e.sec_fields[t];i.push(s)}k.value=i}if(e.third_fields.length>0){let i=[{label:"序号",type:"index",width:70}];for(let t in e.third_fields){let s=e.sec_fields[t];i.push(s)}S.value=i}e.model&&(P.value=e.model.tname,n.value=e.model.cmt),d.value=e.page_num,m.pageSize=e.page_num,D.value=e?.fields,j()}const M=a({form_json:{},data:{},field_setup:{},tpl_id:0}),T=s(!1),V=s(!1),B=s(!1),E=s(0),H=s(""),J=s(null);return r((()=>{(async e=>{const s=Object.assign({"/src/api/eqpscan.ts":()=>t((()=>i.import("./eqpscan-legacy-a8e4d787.js")),void 0),"/src/api/eqpsolts.ts":()=>t((()=>i.import("./eqpsolts-legacy-51324fdf.js")),void 0),"/src/api/equiment.ts":()=>t((()=>i.import("./equiment-legacy-409f09a0.js")),void 0),"/src/api/excelmaker.ts":()=>t((()=>i.import("./excelmaker-legacy-5bef0c12.js")),void 0),"/src/api/feida.ts":()=>t((()=>i.import("./feida-legacy-4de29677.js")),void 0),"/src/api/feidascan.ts":()=>t((()=>i.import("./feidascan-legacy-4f605925.js")),void 0),"/src/api/head.ts":()=>t((()=>i.import("./head-legacy-94af1118.js")),void 0),"/src/api/label_print/inventory.ts":()=>t((()=>i.import("./inventory-legacy-b0997fe1.js")),void 0),"/src/api/label_print/pcba_bom.ts":()=>t((()=>i.import("./pcba_bom-legacy-fe773530.js")),void 0),"/src/api/label_print/pcba_deliver.ts":()=>t((()=>i.import("./pcba_deliver-legacy-922dc04f.js")),void 0),"/src/api/label_print/pcba_deliver_item.ts":()=>t((()=>i.import("./pcba_deliver_item-legacy-e6ef2071.js")),void 0),"/src/api/label_print/pcba_order.ts":()=>t((()=>i.import("./pcba_order-legacy-5d5a72b5.js")),void 0),"/src/api/label_print/print_label.ts":()=>t((()=>i.import("./print_label-legacy-be07856f.js")),void 0),"/src/api/label_print/room.ts":()=>t((()=>i.import("./room-legacy-7e8525c7.js")),void 0),"/src/api/label_print/vendor.ts":()=>t((()=>i.import("./vendor-legacy-80dba6cf.js")),void 0),"/src/api/lowcode.ts":()=>t((()=>i.import("./lowcode-legacy-07938654.js")),void 0),"/src/api/material_print.ts":()=>t((()=>i.import("./material_print-legacy-3cd2fca7.js")),void 0),"/src/api/mes/material.ts":()=>t((()=>i.import("./material-legacy-a8d09d85.js")),void 0),"/src/api/mes/norm.ts":()=>t((()=>i.import("./norm-legacy-c34a4c97.js")),void 0),"/src/api/mes/product.ts":()=>t((()=>i.import("./product-legacy-11628763.js")),void 0),"/src/api/mes/stage.ts":()=>t((()=>i.import("./stage-legacy-ec9f654a.js")),void 0),"/src/api/mes/station.ts":()=>t((()=>i.import("./station-legacy-c9cb45d3.js")),void 0),"/src/api/mes/worksheet.ts":()=>t((()=>i.import("./worksheet-legacy-28e8fcf2.js")),void 0),"/src/api/monitor_process.ts":()=>t((()=>i.import("./monitor_process-legacy-3e9daf38.js")),void 0),"/src/api/monitorprocess/device_terminal.ts":()=>t((()=>i.import("./device_terminal-legacy-af15698f.js")),void 0),"/src/api/monitorprocess/device_terminal_type.ts":()=>t((()=>i.import("./device_terminal_type-legacy-be10c90b.js")),void 0),"/src/api/monitorprocess/work_dispatch.ts":()=>t((()=>i.import("./work_dispatch-legacy-3b7de9d2.js")),void 0),"/src/api/monitorprocess/work_statistic.ts":()=>t((()=>i.import("./work_statistic-legacy-f5a0cffe.js")),void 0),"/src/api/part_sales/part_sales.ts":()=>t((()=>i.import("./part_sales-legacy-f329db80.js")),void 0),"/src/api/po.ts":()=>t((()=>i.import("./po-legacy-2e17a51a.js")),void 0),"/src/api/routes.ts":()=>t((()=>i.import("./index-legacy-12f7f0b6.js").then((e=>e.a3))),void 0),"/src/api/slotimport.ts":()=>t((()=>i.import("./slotimport-legacy-25d14099.js")),void 0),"/src/api/system.ts":()=>t((()=>i.import("./system-legacy-bc288aa8.js")),void 0),"/src/api/uploadfile.ts":()=>t((()=>i.import("./uploadfile-legacy-8a1d62da.js")),void 0),"/src/api/user.ts":()=>t((()=>i.import("./index-legacy-12f7f0b6.js").then((e=>e.a2))),void 0),"/src/api/utils.ts":()=>t((()=>i.import("./utils-legacy-c0023c33.js")),void 0),"/src/api/workshop.ts":()=>t((()=>i.import("./workshop-legacy-ffd51154.js")),void 0),"/src/api/yuyue/employee_company.ts":()=>t((()=>i.import("./employee_company-legacy-ca26e61a.js")),void 0),"/src/api/yuyue/employee_invoice.ts":()=>t((()=>i.import("./employee_invoice-legacy-f2f0806b.js")),void 0),"/src/api/yuyue/employee_note.ts":()=>t((()=>i.import("./employee_note-legacy-cb4a4d47.js")),void 0)});try{if(H.value){for(const[e,i]of Object.entries(s))e=="/src/api/"+H.value+".ts"&&(J.value=await i());e&&e()}}catch(a){console.error("Failed to load API modules:",a)}})(A)})),{list_fields:D,cur_parent_entity_id:E,child_mdoel:R,search_fields:N,form_fields:I,api_call:J,api_name:H,status_list:C,show_select_btn:F,statusHas:function(e,i){return!i.hasOwnProperty("op_list")||i.op_list.includes(e)},tpl_item_id:z,load_defualt_search:g,paramString:y,row_key:W,config_loading:B,search_load:V,show_operate:L,select_items:b,handleSelectionChange:function(e){b.value=e},show_select:q,show_search:T,search_info:M,customOperates:O,model_name:P,model_id:o,entity_id:c,toEntityList:function(e){},handleCurrentChange:function(e){j()},handleDesignForm:function(e){},resetForm:e=>{if(e){e.resetFields();for(const e of N.value)w[e.prop]=e.default;j()}},childColumns:k,columns:x,search_form:w,form_name:p,form_desc:n,vFormRefMap:h,setItemRef:(e,i)=>{e&&(h[i]=e)},activeNames:v,onSearchParams:function(){j()},onSearch:j,selectList:["模型ID","模型名称","模型表","模型路径","是否可用","添加时间","添加人"],editFormDialogVisible:_,editformData:u,form:f,loading:l,dataList:e,pagination:m}}))}}}));