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-17cc399c.js
System.register(["./index-legacy-f5c42381.js","./po-legacy-66bbffbb.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./preload-helper-legacy-f8638e03.js","./message-legacy-10af7c73.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,i){"use strict";var a,t,n,r,s,o;return{setters:[e=>{a=e.Y,t=e.Z},e=>{n=e.getEmployeeInvoiceDurationWeb},e=>{r=e.A,s=e.r,o=e.o},null,null,null,null,null,null,null],execute:function(){e("WshFormInfo",(function(){const e=r({}),i={Authorization:a(t().accessToken)},c=r({total:0,pageSize:20,currentPage:1,background:!0}),l=s([]),u=r({id:0,company_name:"",first_name:"",last_name:"",phone:"",email:"",create_time:"",update_time:"",address:"",week_days:"",week_daysshow:"",price_config:[],week_days_list:[],split_rate:55}),d=s([]),_=s([]),p=s([]),g=s("New Employer Company");return o((()=>{})),{week_days_list:d,upLoadFileUriHeader:i,wsh_title:g,resetWshForm:()=>{Object.assign(u,{id:0,company_name:"",first_name:"",last_name:"",phone:"",email:"",create_time:"",update_time:"",address:"",week_days:"",week_daysshow:"",price_config:[],week_days_list:[],split_rate:55}),d.value=[]},priority_list:_,stg_tpl_list:p,addPriceConfig:()=>{let e=1;u.price_config&&Array.isArray(u.price_config)?e=u.price_config.length>0?u.price_config.length+1:1:u.price_config=[],u.price_config.push({id:e,duration:"",price:.01,durationData:[]})},delPriceCOnfig:e=>{u&&Array.isArray(u.price_config)&&(u.price_config=u.price_config.filter((i=>i.id!==e.id)))},wsh_form:u,pagination:c,dataList:l,columns:[{label:"idx",type:"index",width:70},{label:"Service",slot:"service"},{label:"Duration",slot:"duration"},{label:"Price",slot:"price"},{label:"Action",fixed:"right",minWidth:50,slot:"operation"}],btnDuration:function(e,i){e.duration=e.duration+" "+i,e.is_show=1},locaDuration:async function(i){const{data:a}=await n(Object.assign(e,{}));1==a.code&&(i.is_show=2,i.durationData=JSON.parse(JSON.stringify(a.data)))},durationShow:function(){u.price_config.forEach(((e,i)=>{e.is_show=1,e.durationData=[]}))},durationShow2:function(e){e.is_show=2}}}))}}}));