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-fb8874d0.js
import{getEmployeeCompanyInfoWeb as B,DelEmployeeCompanyWeb as G}from"./employee_company-6d7ce219.js";import{deal200 as J,alertError as K}from"./utils-2ab4f76a.js";import{r as e,A as s,o as Q}from"./runtime-core.esm-bundler-6128546f.js";import"./index-3e40fd7d.js";import"./preload-helper-78dc9057.js";import"./message-2472a54a.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";function ae(){const i=e([]),a=e(!1),d=e(0),u=e(0),f=e(""),h=e(""),_=e(50),r=s({total:0,pageSize:_.value,pageSizes:[10,15,20,50,100],currentPage:1,background:!0}),g=["模型ID","模型名称","模型表","模型路径","是否可用","添加时间","添加人"],b=s({uid:"",code:"",name:"",phone:"",email:""}),y=e(!1),S=s({fno:"",fname:""}),W=e([]),l={},v=(o,t)=>{o&&(l[t]=o)},w=e("");async function n(o={}){a.value=!0;const{data:t}=await B(Object.assign(m,{page:r.currentPage,resault:r.pageSize}));i.value=t.data,setTimeout(()=>{a.value=!1},500)}function C(){n()}function D(o,t){return t.hasOwnProperty("op_list")?t.op_list.includes(o):!0}function P(o){n()}const c=e([]);function A(o){c.value=o.map(t=>t.id)}const m=s({Search_key:""}),R=o=>{o&&(o.resetFields(),n())},k=[{label:"序号",type:"index",width:70},{label:"Location Worked",prop:"company_name",minWidth:100},{label:"Name",slot:"fullname"},{label:"HST#",prop:"hst",minWidth:100},{label:"RMT#",prop:"rmt",minWidth:100},{label:"Phone",prop:"phone"},{label:"Email",prop:"email"},{label:"RMT#",minWidth:150,prop:"licence"},{label:"Address",minWidth:150,slot:"Address",prop:"address"},{label:"Duration Price",slot:"duration",minWidth:150},{label:"Split Rate (%)",prop:"split_rate",minWidth:150},{label:"Action",fixed:"right",minWidth:150,slot:"operation"}],F=e([]);e([]);const I=e([]),L=e("Place Config"),p=e(!1),M=e(!1),T=e(!0),x=e(""),z=e(0);p.value=!1;const E=e([]),O=s({form_json:{},data:{},field_setup:{},tpl_id:0}),j=e(!1),H=e(!1),N=e(!1),V=e({}),q=o=>{G(o.id).then(t=>{J({code:parseInt(t==null?void 0:t.code),data:t,msg:"Delete Success!",error_msg:"Apply error",func:()=>{n()}})}).catch(t=>{K(t,"Apply error")})};return Q(()=>{n()}),{handleDelete:q,status_list:E,show_select_btn:M,statusHas:D,tpl_item_id:z,load_defualt_search:V,paramString:w,row_key:x,config_loading:N,search_load:H,show_operate:T,select_items:c,handleSelectionChange:A,show_select:p,show_search:j,search_info:O,customOperates:I,model_name:L,model_id:d,entity_id:u,handleCurrentChange:P,resetForm:R,childColumns:F,columns:k,search_form:m,form_name:f,form_desc:h,vFormRefMap:l,setItemRef:v,activeNames:W,onSearchParams:C,onSearch:n,selectList:g,editFormDialogVisible:y,editformData:b,form:S,loading:a,dataList:i,pagination:r}}export{ae as useList};