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/bookingConfig-710b368b.js
import{ab as S}from"./message-2472a54a.js";import{_ as ie}from"./search_del-24d8e7fd.js";import{useEqu as ce}from"./hookBConfig-89d14ebb.js";import{b as ue,P as _e}from"./index.es-b42d3023.js";import{d as $,o as pe,Q as b,e as o,f as n,g as t,p as D,u as a,y as i,m as r,v as s,x as y,F as p,I as m,t as u,l as g,n as T,i as me,b5 as ke,b4 as he}from"./runtime-core.esm-bundler-6128546f.js";import{_ as ve}from"./_plugin-vue_export-helper-c27b6911.js";import"./po-91e7c165.js";import"./index-ddb9772b.js";import"./preload-helper-78dc9057.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";import"./utils-2ab4f76a.js";import"./index-81e4a901.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";import"./epTheme-b3617d32.js";import"./index-a7c31d60.js";import"./merge-f215fb43.js";const c=f=>(ke("data-v-e39a7f8f"),f=f(),he(),f),ye={class:"main"},ge={class:"dialog_procure_box",style:{"margin-top":"0px"}},be={key:0},fe=c(()=>t("div",{class:"dialog_tilte"},"Add",-1)),Ce={class:"createOrderobj_box"},xe={key:0},Ve=c(()=>t("td",{width:"16%"},[s("Therapist"),t("span",{class:"red"}," * ")],-1)),Se=c(()=>t("td",null,[s("Period Date"),t("span",{class:"red"}," * ")],-1)),De=c(()=>t("td",null,[s("Work"),t("span",{class:"red"}," * ")],-1)),we={class:"createOrderobj_box_child"},Te=c(()=>t("td",{width:"16%"},[s("Weekday"),t("span",{class:"red"}," * ")],-1)),Ae={key:0,style:{color:"#dd640d","font-weight":"bold"}},Ue={key:1,class:"weekday_box"},Pe=["onClick"],$e=["onClick"],ze=c(()=>t("td",null,[s("Service"),t("span",{class:"red"}," * ")],-1)),We={key:0,style:{color:"#dd640d","font-weight":"bold"}},Le={key:1,class:"Service_box11"},Ye=["onClick"],Be={key:0},Ee=c(()=>t("td",null,"Acupuncture Tables",-1)),Me=["onUpdate:modelValue"],Ie={key:1},Re=c(()=>t("td",null,"Acupuncture Spend Time",-1)),He=["onUpdate:modelValue"],Ne=c(()=>t("td",null,[s("Work Time"),t("span",{class:"red"}," * ")],-1)),Fe={class:"pickerData_box"},Oe=["onClick"],je=["onClick"],Ke=c(()=>t("td",null,[s("Session"),t("span",{class:"red"}," * ")],-1)),qe=c(()=>t("td",null,[s("Extra Session"),t("span",{class:"red"}," * ")],-1)),Qe=c(()=>t("td",null,[s("Blocked"),t("span",{class:"red"}," * ")],-1)),Ge=c(()=>t("td",null,"Privacy Policy",-1)),Je={class:"part_out_button"},Xe=$({name:"/crm/yuyue/bookingConfig"}),Ze=$({...Xe,setup(f){const{searchDetail:A,btnSearchPart:z,loading:W,small:et,selectList:L,columns:Y,checkList:tt,pagination:lt,handleSizeChange:B,handleCurrentChange:E,PartList:M,order_date:at,deliverDialog:w,selectClick:I,deliverDataArr:ot,btnDeliverConfirm:nt,btnAdd:R,addForm:_,isData:st,selectedTr:dt,weekdayData:rt,onWeekday:H,serviceData:it,pickerData:ct,onTime:N,value1:ut,onDelete1:F,AddTime:O,SessionDatas:U,BlockedTimes:j,TherapistDate:K,onTherapist:q,btnAddSubmit:Q,btnEdit:G,btnStop:J,btnRestore:X,addServiceData:_t,onServiceAdd:Z,getDate:ee,moreWork:te,btnAddWork:le,btnDeleteWork:ae,ClinicsList:pt,btnClinic:mt,ExtraSession:oe,onWeekdayAll:ne}=ce();return pe(()=>{}),(C,d)=>{const k=b("el-button"),x=b("el-option"),V=b("el-select"),se=b("el-date-picker"),de=b("el-time-picker"),re=b("el-dialog");return o(),n("div",ye,[t("div",ge,[D(t("input",{class:"input","onUpdate:modelValue":d[0]||(d[0]=l=>a(A).searchKey=l),type:"text"},null,512),[[S,a(A).searchKey]]),i(k,{style:{"margin-left":"20px"},type:"primary",onClick:d[1]||(d[1]=l=>a(z)())},{default:r(()=>[s("Search")]),_:1}),i(k,{style:{"margin-left":"20px"},type:"primary",plain:"",onClick:d[2]||(d[2]=l=>a(R)())},{default:r(()=>[s("Add")]),_:1})]),i(a(_e),{title:"设备列表",selectArr:a(L),onRefresh:C.onSearch},{default:r(({size:l,checkList:P})=>[i(a(ue),{border:"",onSelect:a(I),"max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:a(W),size:"small",data:a(M),columns:a(Y),checkList:P,paginationSmall:l==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSizeChange:a(B),onCurrentChange:a(E)},{PeriodDate:r(({row:e})=>[s(y(e.period_date_begin.substring(0,10))+" ~ "+y(e.period_date_end.substring(0,10)),1)]),Session:r(({row:e})=>[s(y(e.session_show)+" (+"+y(e.add_session)+"Min)",1)]),WorkTime:r(({row:e})=>[(o(!0),n(p,null,m(e.service_times,(h,v)=>(o(),n("span",{class:"service_times_box",key:v},[s(y(h.begin)+" ~ "+y(h.end)+" ",1),v<e.service_times.length-1?(o(),n("span",be," , ")):u("",!0)]))),128))]),operation:r(({row:e})=>[i(k,{class:"reset-margin reset-margin1",link:"",type:"primary",size:l,onClick:h=>a(G)(e)},{default:r(()=>[s(" Edit ")]),_:2},1032,["size","onClick"]),e.is_duedate==0?(o(),g(k,{key:0,class:"reset-margin reset-margin1",link:"",type:"primary",size:l,onClick:h=>a(X)(e)},{default:r(()=>[s(" Restore ")]),_:2},1032,["size","onClick"])):u("",!0),e.is_duedate==1?(o(),g(k,{key:1,class:"reset-margin reset-margin1",link:"",type:"primary",size:l,onClick:h=>a(J)(e)},{default:r(()=>[s(" Stop ")]),_:2},1032,["size","onClick"])):u("",!0)]),_:2},1032,["onSelect","loading","data","columns","checkList","paginationSmall","header-cell-style","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),i(re,{style:{width:"90%"},modelValue:a(w),"onUpdate:modelValue":d[8]||(d[8]=l=>me(w)?w.value=l:null),title:""},{default:r(()=>[fe,t("table",Ce,[a(_).type==2?(o(),n("tr",xe,[Ve,t("td",null,[i(V,{style:{width:"260px"},clearable:"true",modelValue:a(_).Therapist,"onUpdate:modelValue":d[3]||(d[3]=l=>a(_).Therapist=l),filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select",onChange:a(q)},{default:r(()=>[(o(!0),n(p,null,m(a(K),l=>(o(),g(x,{key:l.id,label:l.first_name+l.last_name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])])])):u("",!0),t("tr",null,[Se,t("td",null,[i(se,{modelValue:a(_).date,"onUpdate:modelValue":d[4]||(d[4]=l=>a(_).date=l),type:"datetimerange","start-placeholder":"start date","end-placeholder":"end date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",onChange:a(ee)},null,8,["modelValue","onChange"])])]),t("tr",null,[De,t("td",null,[(o(!0),n(p,null,m(a(te),(l,P)=>(o(),n("div",{class:"Work_add",key:l.ids},[t("table",we,[t("tr",null,[Te,t("td",null,[l.weekdayData.length==0?(o(),n("div",Ae," Please select a time period ")):u("",!0),l.weekdayData.length>0?(o(),n("div",Ue,[(o(!0),n(p,null,m(l.weekdayData,(e,h)=>(o(),n("div",{class:T(["weekday_desc",{weekday_desc_active:e.is_Selected==1}]),onClick:v=>a(H)(l,e),key:e.id},y(e.text),11,Pe))),128)),t("div",{style:{"font-weight":"bold",border:"1px solid #2a2a2a",color:"#060606"},class:T(["weekday_desc",{weekday_desc_active:l.is_all}]),onClick:e=>a(ne)(l)}," All ",10,$e)])):u("",!0)])]),t("tr",null,[ze,t("td",null,[l.addServiceData.length==0?(o(),n("div",We," Please select clinic and Therapist ")):u("",!0),l.addServiceData.length>0?(o(),n("div",Le,[(o(!0),n(p,null,m(l.addServiceData,(e,h)=>(o(),n("div",{class:T(["service_desc",{service_desc_active:e.is_Selected==1}]),key:e.id,onClick:v=>a(Z)(l,e)},y(e.name),11,Ye))),128))])):u("",!0)])]),l.service_name&&l.service_name.includes("Acupuncture")?(o(),n("tr",Be,[Ee,t("td",null,[D(t("input",{type:"text",class:"input","onUpdate:modelValue":e=>l.tables=e},null,8,Me),[[S,l.tables]])])])):u("",!0),l.service_name&&l.service_name.includes("Acupuncture")?(o(),n("tr",Ie,[Re,t("td",null,[D(t("input",{type:"text",class:"input","onUpdate:modelValue":e=>l.spend_time=e},null,8,He),[[S,l.spend_time]])])])):u("",!0),t("tr",null,[Ne,t("td",null,[t("div",Fe,[(o(!0),n(p,null,m(l.pickerData,(e,h)=>(o(),n("div",{class:"pickerData_desc",key:e.id},[i(de,{style:{width:"180px"},modelValue:e.time,"onUpdate:modelValue":v=>e.time=v,"is-range":"","range-separator":"~","start-placeholder":"Start time","end-placeholder":"End time","value-format":"HH:mm",format:"HH:mm",onChange:v=>a(N)(e)},null,8,["modelValue","onUpdate:modelValue","onChange"]),t("img",{onClick:v=>a(F)(l,e),class:"search_del",src:ie,alt:""},null,8,Oe)]))),128)),t("div",{class:"add_timg",onClick:e=>a(O)(l)}," Add Time ",8,je)])])]),t("tr",null,[Ke,t("td",null,[i(V,{style:{width:"180px"},clearable:"true",modelValue:l.session,"onUpdate:modelValue":e=>l.session=e,filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select"},{default:r(()=>[(o(!0),n(p,null,m(a(U),e=>(o(),g(x,{key:e.id,label:e.text,value:e.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])]),t("tr",null,[qe,t("td",null,[i(V,{onChange:a(oe),style:{width:"180px"},clearable:"true",modelValue:l.add_session,"onUpdate:modelValue":e=>l.add_session=e,filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select"},{default:r(()=>[(o(!0),n(p,null,m(a(U),e=>(o(),g(x,{key:e.id,label:e.text,value:e.value},null,8,["label","value"]))),128))]),_:2},1032,["onChange","modelValue","onUpdate:modelValue"])])]),t("tr",null,[Qe,t("td",null,[i(V,{style:{width:"180px"},clearable:"true",modelValue:l.blocked_time,"onUpdate:modelValue":e=>l.blocked_time=e,filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select"},{default:r(()=>[(o(!0),n(p,null,m(a(j),e=>(o(),g(x,{key:e.id,label:e.text,value:e.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])])]),a(_).edit_id==""?(o(),g(k,{key:0,link:"",type:"danger",size:C.size,onClick:e=>a(ae)(l)},{default:r(()=>[s(" Delete ")]),_:2},1032,["size","onClick"])):u("",!0)]))),128)),a(_).edit_id==""?(o(),g(k,{key:0,plain:"",style:{"margin-top":"10px"},type:"primary",size:C.size,onClick:d[5]||(d[5]=l=>a(le)(C.row))},{default:r(()=>[s(" Add ")]),_:1},8,["size"])):u("",!0)])]),t("tr",null,[Ge,t("td",null,[D(t("textarea",{class:"textarea_input",placeholder:"Please enter","onUpdate:modelValue":d[6]||(d[6]=l=>a(_).privacy_police=l),maxlength:"600"},null,512),[[S,a(_).privacy_police]])])])]),t("div",Je,[i(k,{type:"primary",onClick:d[7]||(d[7]=l=>a(Q)())},{default:r(()=>[s("Submit")]),_:1})])]),_:1},8,["modelValue"])])}}});const Lt=ve(Ze,[["__scopeId","data-v-e39a7f8f"]]);export{Lt as default};