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/licence-122e7f2a.js
import{ab as _,L as ht}from"./message-2472a54a.js";import{_ as Vt}from"./grey_icon-4f661b17.js";import{_ as ie}from"./search_del-24d8e7fd.js";import{_ as P,a as E}from"./eye_show-c9f79c85.js";import{_ as te}from"./correct_view-0ff5090e.js";import{_ as se,a as $t}from"./licence_icon-00ae7732.js";import{useEqu as St}from"./hookLicence-c341387c.js";import{noteImg as Ut}from"./po-bf9ba69d.js";import{b as de,P as ae}from"./index.es-1f469e7e.js";import{a as At}from"./index-7344b7d2.js";import{d as re,o as It,Q as A,e as d,f as r,u as e,y as o,m as i,v as s,t as v,g as t,n as C,l as I,p as c,F as $,I as S,x as w,i as D,b5 as Dt,b4 as Lt}from"./runtime-core.esm-bundler-6128546f.js";import{_ as Nt}from"./_plugin-vue_export-helper-c27b6911.js";import"./vue-router-a383d220.js";import"./index-81e4a901.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";import"./index-479458b8.js";import"./preload-helper-78dc9057.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./utils-2ab4f76a.js";import"./epTheme-277a4581.js";import"./index-a7c31d60.js";import"./merge-f215fb43.js";const p=R=>(Dt("data-v-7035a44e"),R=R(),Lt(),R),Pt={class:"main"},Et={key:0,class:"dialog_procure_box",style:{margin:"0 0 10px 0"}},Rt=p(()=>t("div",{class:"carefully"}," Please carefully check if the service is bound to a licence ",-1)),Tt={class:"Mune_box"},Mt={key:1},zt={class:"createOrderobj_box",style:{width:"88%"}},jt=p(()=>t("td",{width:"22%"},"Avatar",-1)),Ot={style:{display:"flex","align-items":"flex-end"}},Ft=["src"],Bt={key:1,class:"grey_icon",src:Vt,alt:""},Gt=p(()=>t("td",{width:"22%"},"First Name",-1)),Jt=p(()=>t("td",null,"Last Name",-1)),Qt=p(()=>t("td",null,"Gender",-1)),Yt={class:"allQuestions_box1"},qt=["onClick"],Kt=p(()=>t("td",null,"Phone",-1)),Ht=p(()=>t("td",null,"Email",-1)),Wt=p(()=>t("td",null,"Address",-1)),Xt=p(()=>t("td",null,"Booking notice type",-1)),Zt={class:"Service_box11"},el=p(()=>t("div",{style:{color:"red"}}," Remind based on the user's selected reminder method (Mobile SMS are charged) ",-1)),tl={key:0},ll=p(()=>t("td",null,"Associated Therapists",-1)),nl={class:"allQuestions_box1"},ol=["onClick"],il={key:1},sl=p(()=>t("td",null,"Join Clinic Key",-1)),dl={key:2},al=p(()=>t("td",null,"Joined Clinic",-1)),rl={key:3},ul=p(()=>t("td",null,"Associated Clinic",-1)),pl={class:"allQuestions_box1"},_l=["onClick"],cl={key:2,class:"part_out_button",style:{"margin-top":"40px"}},ml={key:3},vl={key:0,class:"createOrderobj_box"},yl=p(()=>t("td",{width:"15%"},"Email",-1)),bl=p(()=>t("td",{width:"15%"},"Email code",-1)),fl=p(()=>t("td",{width:"15%"},"New password",-1)),gl={class:"Password_box"},kl=["password"],wl=p(()=>t("td",{width:"15%"},"Confirm password",-1)),xl={class:"Password_box"},Cl=["password"],hl={key:1,class:"createOrderobj_box"},Vl=p(()=>t("td",{width:"15%"},"Old password",-1)),$l={class:"Password_box"},Sl=["password"],Ul=p(()=>t("td",{width:"15%"},"New password",-1)),Al={class:"Password_box"},Il=["password"],Dl=p(()=>t("td",{width:"15%"},"Confirm password",-1)),Ll={class:"Password_box"},Nl=["password"],Pl={class:"part_out_button"},El={key:4,class:""},Rl={key:0,class:"dialog_procure_box"},Tl=p(()=>t("div",{style:{"margin-left":"60px"}},"Invitation code:",-1)),Ml=p(()=>t("a",{href:""},null,-1)),zl={key:3,class:"createOrderobj_box"},jl=p(()=>t("td",null,[s("Type of Licence"),t("span",{class:"red"},"*"),s(":")],-1)),Ol=p(()=>t("td",null,"Description:",-1)),Fl=p(()=>t("td",null,[s("Name"),t("span",{class:"red"},"*"),s(":")],-1)),Bl=p(()=>t("td",null,"Phone",-1)),Gl=p(()=>t("span",{class:"r_ac_phone"},"(869)519-0869",-1)),Jl=p(()=>t("td",null,"Licence Title :",-1)),Ql=p(()=>t("td",null,[s("Licence Number"),t("span",{class:"red"},"*"),s(":")],-1)),Yl={key:4,class:"part_out_button"},ql={key:5},Kl={class:"Copy_box"},Hl={class:"Copy_box"},Wl={key:0,class:""},Xl={key:1,class:"",style:{color:"#ff870c"}},Zl={key:2,style:{color:"#72cf0c","margin-left":"5px"}},en={key:0},tn={key:6},ln={class:"Registere_box"},nn=p(()=>t("div",null,"Therapist",-1)),on={key:0,class:"correct_icon",src:te,alt:""},sn={key:0,class:"correct_icon",src:te,alt:""},dn={key:0,class:"correct_icon",src:te,alt:""},an=p(()=>t("div",{class:"dialog_tilte"},"创建采购单",-1)),rn={class:"fieldset"},un=p(()=>t("legend",{class:"legend"},"发货操作",-1)),pn={class:"createOrderobj_box"},_n=p(()=>t("td",null,"Licence",-1)),cn={class:"part_out_button"},mn={class:"add_part_dialog_box"},vn=p(()=>t("div",{class:"dialog_tilte"},"Associate therapist",-1)),yn={class:"Invitation10"},bn=p(()=>t("span",{class:"red"},"*",-1)),fn={class:"part_out_button",style:{"margin-top":"80px"}},gn={key:0,class:"dialog_tilte"},kn={key:1,class:"dialog_tilte"},wn={class:"createOrderobj_box11"},xn=p(()=>t("td",{width:"22%"},[s("Service Name"),t("span",{class:"red"},"*"),s(" :")],-1)),Cn=["disabled"],hn=p(()=>t("td",null,"Description :",-1)),Vn=p(()=>t("td",null,"Licence :",-1)),$n=p(()=>t("div",{class:"invoiceOnly2"}," (Only by selecting a license can an invoice be issued) ",-1)),Sn=p(()=>t("td",null,"Invoice Start Character :",-1)),Un=p(()=>t("td",null,"Additional Service",-1)),An=["onUpdate:modelValue"],In=["onUpdate:modelValue"],Dn=["onUpdate:modelValue"],Ln=p(()=>t("td",null,"Price",-1)),Nn=["onUpdate:modelValue"],Pn=["onUpdate:modelValue"],En=["onUpdate:modelValue"],Rn={class:"part_out_button",style:{"margin-top":"80px"}},Tn={class:"part_out_button",style:{"margin-top":"80px"}},Mn={key:0,class:"dialog_tilte licence_icon_box"},zn={key:1,class:"dialog_tilte licence_icon_box"},jn={class:"createOrderobj_box11"},On=p(()=>t("td",{width:"22%"},[s(" Category(Type of Licence)"),t("span",{class:"red"},"*"),s(": ")],-1)),Fn=["disabled"],Bn=p(()=>t("td",null,[s("Name"),t("span",{class:"red"},"*"),s(":")],-1)),Gn=p(()=>t("td",null,[s("Licence Number"),t("span",{class:"red"},"*"),s(":")],-1)),Jn=p(()=>t("td",null,"Phone :",-1)),Qn={class:"part_out_button",style:{"margin-top":"80px"}},Yn={class:"add_part_dialog_box"},qn=p(()=>t("div",{class:"dialog_tilte"},"Associate Clinic",-1)),Kn={class:"Invitation10"},Hn=p(()=>t("span",{class:"red"},"*",-1)),Wn={class:"part_out_button",style:{"margin-top":"80px"}},Xn=p(()=>t("div",{class:"licence_icon_box"},[t("img",{class:"licence_icon_desc",src:$t,alt:""})],-1)),Zn={key:0,class:"dialog_tilte"},eo={key:1,class:"dialog_tilte"},to=["onUpdate:modelValue"],lo={class:"Invitation10",style:{"margin-top":"10px"}},no={style:{width:"100%"}},oo=["onUpdate:modelValue"],io=["onUpdate:modelValue"],so=["onUpdate:modelValue"],ao={class:"Invitation10",style:{"margin-top":"10px"}},ro={style:{width:"100%"}},uo={class:"part_out_button",style:{"margin-top":"80px"}},po={key:7,class:"guide_desc_box"},_o={class:"Step_of_box"},co=p(()=>t("div",{style:{"margin-top":"13px"}},"Config Guide",-1)),mo={class:"Next_box1"},vo={class:"Next_box"},yo={class:"StepIdx"},bo={class:"Next_box"},fo=re({name:"/crm/yuyue/licence"}),go=re({...fo,setup(R){const{searchDetail:T,btnSearchPart:ko,loading:j,small:wo,selectList:ue,columns:pe,checkList:xo,pagination:Co,handleSizeChange:_e,handleCurrentChange:ce,PartList:ho,order_date:Vo,deliverDialog:O,selectClick:me,deliverDataArr:ve,btnDeliverConfirm:ye,formArr:a,btnSubmit:be,btnMune:M,isData:fe,phoneType:ge,selectedTr:ke,selectedTr1:$o,showEye:h,btnReset:we,btnback:xe,btnSendEmailCode:Ce,btnEdit:he,btnEditPass:Ve,changePassword:L,btnSubmitInfo:$e,isData1:So,getInvitationCode:Se,JoinDialog:F,JoinTherapistsConfirm:Ue,AddTherapists:Ae,assoicInfo:Ie,onRemove:De,ServiceList:B,severArr:V,btnAddService:Le,AddServiceDialog:G,addServeSubmit:Ne,onEditService:Pe,onDeleteService:Ee,onSwitch:Re,LicenceArr:le,addServiceData:Te,onServiceAdd:Uo,servePriceData:Me,addDuring:ze,onDelDuring:je,copyDialog:J,onCopy:Oe,handleSelectionChange:Fe,copySubmit:Be,licenceList:Ao,columns1:Ge,selectList1:Je,AddlicenceDialog:Q,AddLicense:Qe,licenceData:x,addLicenceSubmit:Ye,onEditLicence:qe,onDeleteLicence:Ke,JoinClinicConfirm:He,JoinClinicDialog:Y,AddClinic:We,assoicInfoClinic:Xe,onRemoveClinic:Ze,btnRegRole:q,type:k,licenceFirst:g,btnPhone:K,uploadSlotFile1:et,viewIMG:tt,btnDefault:lt,btnLicence:ne,licenceIconDialog:H,processArr:oe,onCancel:nt,onNext:ot,invoceService:it,ReturnInvoice:st,typeGuide:dt,btnAddCombineService:Io,AddCombineDialog:W,combineService:at,serveCombineData:rt,serveCombineData1:ut,onDelCombine:pt,addCombine:_t,addAutoPrice:ct,onDelautoDuring:mt,addCombineServeSubmit:vt,CombineServiceName:yt,addCombine1:bt,btnDefault1:ft,AdditionalData:gt,onDelAdditional:kt,addAdditional:wt}=St();return It(()=>{}),(z,n)=>{const m=A("el-button"),xt=A("el-upload"),X=A("el-option"),Z=A("el-select"),ee=A("el-switch"),U=A("el-dialog"),y=A("el-table-column"),N=A("el-table");return d(),r("div",Pt,[e(it)==1?(d(),r("div",Et,[o(m,{plain:"",type:"primary",size:"small",onClick:n[0]||(n[0]=l=>e(st)())},{default:i(()=>[s(" Return Invoice ")]),_:1}),Rt])):v("",!0),t("div",Tt,[t("div",{class:C(["is_mune_desc",{is_mune_active:e(a).is_mune==1}]),onClick:n[1]||(n[1]=l=>e(M)(1))}," Sign in information ",2),e(k)==1?(d(),r("div",{key:0,class:C(["is_mune_desc",{is_mune_active:e(a).is_mune==2}]),onClick:n[2]||(n[2]=l=>e(M)(2))}," Licence ",2)):v("",!0),e(k)==1?(d(),r("div",{key:1,class:C(["is_mune_desc",{is_mune_active:e(a).is_mune==3}]),onClick:n[3]||(n[3]=l=>e(M)(3))}," Service ",2)):v("",!0),e(k)==0||e(k)==1||e(k)==2?(d(),r("div",{key:2,class:C(["is_mune_desc",{is_mune_active:e(a).is_mune==4}]),onClick:n[4]||(n[4]=l=>e(M)(4))}," Switch Identity ",2)):v("",!0)]),e(a).is_mune==1&&e(a).Reset==1?(d(),r("div",Mt,[t("table",zt,[t("tr",null,[jt,t("td",Ot,[e(a).img?(d(),r("img",{key:0,class:"grey_icon",src:e(a).img,alt:"",onClick:n[5]||(n[5]=l=>e(tt)())},null,8,Ft)):v("",!0),o(xt,{action:e(Ut),class:"avatar_uploader","on-success":e(et),"show-file-list":!1},{default:i(()=>[e(a).img?(d(),I(m,{key:0,link:"",type:"primary"},{default:i(()=>[s("Re upload")]),_:1})):(d(),r("img",Bt))]),_:1},8,["action","on-success"])])]),t("tr",null,[Gt,t("td",null,[c(t("input",{class:"input","onUpdate:modelValue":n[6]||(n[6]=l=>e(a).FirstName=l),type:"text"},null,512),[[_,e(a).FirstName]])])]),t("tr",null,[Jt,t("td",null,[c(t("input",{"onUpdate:modelValue":n[7]||(n[7]=l=>e(a).LastName=l),class:"input",type:"text"},null,512),[[_,e(a).LastName]])])]),t("tr",null,[Qt,t("td",null,[t("div",Yt,[(d(!0),r($,null,S(e(fe),(l,u)=>(d(),r("div",{class:"allQuestions_box",key:l.id},[t("div",{class:C(["selected1",{selected_active:l.value==e(a).gender}]),onClick:f=>e(ke)(l,u)},[t("div",{class:C(["selected_min",{selected_min_active:l.value==e(a).gender}])},null,2)],10,qt),s(" "+w(l.text),1)]))),128))])])]),t("tr",null,[Kt,t("td",null,[o(Z,{style:{width:"150px",margin:"0 20px 0 0"},clearable:"true",modelValue:e(a).phone_value,"onUpdate:modelValue":n[8]||(n[8]=l=>e(a).phone_value=l),placeholder:"Please select",onChange:z.onTherapist},{default:i(()=>[(d(!0),r($,null,S(e(ge),l=>(d(),I(X,{key:l.id,label:l.text,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"]),c(t("input",{"onUpdate:modelValue":n[9]||(n[9]=l=>e(a).phoneInfo=l),onInput:n[10]||(n[10]=l=>e(K)(e(a).phoneInfo,1)),class:"input",type:"text"},null,544),[[_,e(a).phoneInfo]])])]),t("tr",null,[Ht,t("td",null,[c(t("input",{"onUpdate:modelValue":n[11]||(n[11]=l=>e(a).emailInfo=l),class:"input",type:"text"},null,512),[[_,e(a).emailInfo]])])]),t("tr",null,[Wt,t("td",null,[c(t("input",{"onUpdate:modelValue":n[12]||(n[12]=l=>e(a).address=l),class:"input",type:"text"},null,512),[[_,e(a).address]])])]),t("tr",null,[Xt,t("td",null,[t("div",Zt,[(d(!0),r($,null,S(e(Te),l=>(d(),r("div",{class:C(["service_desc",{service_desc_active:l.is_selected==1}]),key:l.id},w(l.text),3))),128)),el])])]),e(k)==0?(d(),r("tr",tl,[ll,t("td",null,[t("div",nl,[(d(!0),r($,null,S(e(Ie),(l,u)=>(d(),r("div",{class:"assoicInfo_box",key:u},[s(w(l.user_name),1),t("img",{onClick:f=>e(De)(l),class:"search_del",src:ie,alt:""},null,8,ol)]))),128)),o(m,{plain:"",class:"buttonClass",type:"primary",size:"small",onClick:n[13]||(n[13]=l=>e(Ae)())},{default:i(()=>[s("Add")]),_:1})])])])):v("",!0),e(a).is_join==0&&e(k)==6?(d(),r("tr",il,[sl,t("td",null,w(e(a).join_key),1)])):v("",!0),e(a).is_join==1&&e(k)==6?(d(),r("tr",dl,[al,t("td",null,w(e(a).join_clinic_name),1)])):v("",!0),e(k)!=6?(d(),r("tr",rl,[ul,t("td",null,[t("div",pl,[(d(!0),r($,null,S(e(Xe),(l,u)=>(d(),r("div",{class:"assoicInfo_box",key:u},[s(w(l.clinic_name)+"("+w(l.role_type)+") ",1),t("img",{onClick:f=>e(Ze)(l),class:"search_del",src:ie,alt:""},null,8,_l)]))),128)),o(m,{plain:"",class:"buttonClass",type:"primary",size:"small",onClick:n[14]||(n[14]=l=>e(We)())},{default:i(()=>[s("Add")]),_:1})])])])):v("",!0)])])):v("",!0),e(a).is_mune==1&&e(a).Reset==1?(d(),r("div",cl,[o(m,{type:"primary",onClick:n[15]||(n[15]=l=>e($e)())},{default:i(()=>[s("Submit")]),_:1}),o(m,{class:"buttonClass",plain:"",type:"primary",onClick:n[16]||(n[16]=l=>e(he)())},{default:i(()=>[s(" Modify password ")]),_:1}),o(m,{class:"buttonClass",plain:"",type:"primary",onClick:n[17]||(n[17]=l=>e(we)())},{default:i(()=>[s(" Reset password ")]),_:1})])):v("",!0),e(a).is_mune==1&&e(a).Reset==2?(d(),r("div",ml,[o(m,{size:"small",style:{"margin-top":"20px"},plain:"",type:"primary",icon:e(At),onClick:n[18]||(n[18]=l=>e(xe)())},{default:i(()=>[s(" back ")]),_:1},8,["icon"]),e(a).is_Edit==1?(d(),r("table",vl,[t("tr",null,[yl,t("td",null,[c(t("input",{class:"input","onUpdate:modelValue":n[19]||(n[19]=l=>e(a).re_email=l),type:"text"},null,512),[[_,e(a).re_email]]),o(m,{class:"buttonClass",plain:"",type:"primary",onClick:n[20]||(n[20]=l=>e(Ce)())},{default:i(()=>[s(" Send Email ")]),_:1})])]),t("tr",null,[bl,t("td",null,[c(t("input",{class:"input",type:"text",autocomplete:"off","onUpdate:modelValue":n[21]||(n[21]=l=>e(a).Email_code=l)},null,512),[[_,e(a).Email_code]])])]),t("tr",null,[fl,t("td",null,[t("div",gl,[c(t("input",{"onUpdate:modelValue":n[22]||(n[22]=l=>e(a).New_password=l),password:e(a).flag1,class:"input_pass",autocomplete:"new-password",type:"password",onInput:n[23]||(n[23]=l=>e(L)(2)),id:"ps2"},null,40,kl),[[_,e(a).New_password]]),e(a).flag2?(d(),r("img",{key:0,onClick:n[24]||(n[24]=l=>e(h)(2)),class:"show_eye",src:P,mode:""})):(d(),r("img",{key:1,onClick:n[25]||(n[25]=l=>e(h)(2)),class:"show_eye",src:E,mode:""}))])])]),t("tr",null,[wl,t("td",null,[t("div",xl,[c(t("input",{"onUpdate:modelValue":n[26]||(n[26]=l=>e(a).Confirm_password=l),password:e(a).flag,class:"input_pass",type:"password",onInput:n[27]||(n[27]=l=>e(L)(3)),autocomplete:"new-password",id:"ps3"},null,40,Cl),[[_,e(a).Confirm_password]]),e(a).flag3?(d(),r("img",{key:0,onClick:n[28]||(n[28]=l=>e(h)(3)),class:"show_eye",src:P,mode:""})):(d(),r("img",{key:1,onClick:n[29]||(n[29]=l=>e(h)(3)),class:"show_eye",src:E,mode:""}))])])])])):v("",!0),e(a).is_Edit==2?(d(),r("table",hl,[t("tr",null,[Vl,t("td",null,[t("div",$l,[c(t("input",{"onUpdate:modelValue":n[30]||(n[30]=l=>e(a).Old_password=l),password:e(a).flag4,class:"input_pass",onInput:n[31]||(n[31]=l=>e(L)(4)),type:"password",autocomplete:"new-password",id:"ps4"},null,40,Sl),[[_,e(a).Old_password]]),e(a).flag4?(d(),r("img",{key:0,onClick:n[32]||(n[32]=l=>e(h)(4)),class:"show_eye",src:P,mode:""})):(d(),r("img",{key:1,onClick:n[33]||(n[33]=l=>e(h)(4)),class:"show_eye",src:E,mode:""}))])])]),t("tr",null,[Ul,t("td",null,[t("div",Al,[c(t("input",{"onUpdate:modelValue":n[34]||(n[34]=l=>e(a).Edit_New_password=l),password:e(a).flag5,class:"input_pass",onInput:n[35]||(n[35]=l=>e(L)(5)),type:"password",autocomplete:"new-password",id:"ps5"},null,40,Il),[[_,e(a).Edit_New_password]]),e(a).flag5?(d(),r("img",{key:0,onClick:n[36]||(n[36]=l=>e(h)(5)),class:"show_eye",src:P,mode:""})):(d(),r("img",{key:1,onClick:n[37]||(n[37]=l=>e(h)(5)),class:"show_eye",src:E,mode:""}))])])]),t("tr",null,[Dl,t("td",null,[t("div",Ll,[c(t("input",{"onUpdate:modelValue":n[38]||(n[38]=l=>e(a).Edit_Confirm_password=l),password:e(a).flag6,class:"input_pass",onInput:n[39]||(n[39]=l=>e(L)(6)),type:"password",autocomplete:"new-password",id:"ps6"},null,40,Nl),[[_,e(a).Edit_Confirm_password]]),e(a).flag6?(d(),r("img",{key:0,onClick:n[40]||(n[40]=l=>e(h)(6)),class:"show_eye",src:P,mode:""})):(d(),r("img",{key:1,onClick:n[41]||(n[41]=l=>e(h)(6)),class:"show_eye",src:E,mode:""}))])])])])):v("",!0),t("div",Pl,[o(m,{type:"primary",onClick:n[42]||(n[42]=l=>e(Ve)())},{default:i(()=>[s("Submit")]),_:1})])])):v("",!0),e(a).is_mune==2?(d(),r("div",El,[e(g).is_licence=="Y"?(d(),r("div",Rl,[t("div",null,"Gender : "+w(e(a).gender=="1"?"Male":"Female"),1),Tl,c(t("input",{style:{"margin-left":"3px",background:"#fff"},"onUpdate:modelValue":n[43]||(n[43]=l=>e(a).Invitation_code=l),disabled:"",class:"input",type:"text"},null,512),[[_,e(a).Invitation_code]]),o(m,{link:"",style:{"margin-left":"10px"},type:"primary",onClick:n[44]||(n[44]=l=>e(Se)())},{default:i(()=>[s("Refresh")]),_:1})])):v("",!0),e(g).is_licence=="Y"?(d(),I(e(ae),{key:1,title:"设备列表",selectArr:e(Je),onRefresh:z.onSearch},{default:i(({size:l,checkList:u})=>[o(e(de),{border:"","max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(j),size:"small",data:e(le),columns:e(Ge),checkList:u,paginationSmall:l==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"}},{LicenceAction:i(({row:f})=>[o(m,{link:"",type:"primary",size:l,onClick:b=>e(qe)(f)},{default:i(()=>[s(" Edit ")]),_:2},1032,["size","onClick"]),o(m,{link:"",type:"danger",size:l,onClick:b=>e(Ke)(f)},{default:i(()=>[s(" Delete ")]),_:2},1032,["size","onClick"])]),_:2},1032,["loading","data","columns","checkList","paginationSmall","header-cell-style"])]),_:1},8,["selectArr","onRefresh"])):v("",!0),Ml,e(g).is_licence=="Y"?(d(),I(m,{key:2,plain:"",style:{margin:"20px 0 300px 0"},type:"primary",onClick:n[45]||(n[45]=l=>e(Qe)())},{default:i(()=>[s("Add")]),_:1})):v("",!0),e(g).is_licence=="N"?(d(),r("table",zl,[t("tr",null,[jl,t("td",null,[c(t("input",{placeholder:"Please Enter",class:"input","onUpdate:modelValue":n[46]||(n[46]=l=>e(g).licence_name=l),type:"text"},null,512),[[_,e(g).licence_name]])])]),t("tr",null,[Ol,t("td",null,[c(t("input",{placeholder:"Please Enter",class:"input","onUpdate:modelValue":n[47]||(n[47]=l=>e(g).Description=l),type:"text"},null,512),[[_,e(g).Description]])])]),t("tr",null,[Fl,t("td",null,[c(t("input",{placeholder:"Please Enter",class:"input","onUpdate:modelValue":n[48]||(n[48]=l=>e(g).name=l),type:"text"},null,512),[[_,e(g).name]])])]),t("tr",null,[Bl,t("td",null,[c(t("input",{placeholder:"Please Enter",class:"input","onUpdate:modelValue":n[49]||(n[49]=l=>e(g).phone=l),type:"text",onInput:n[50]||(n[50]=l=>e(K)(e(g).phone,3))},null,544),[[_,e(g).phone]]),Gl])]),t("tr",null,[Jl,t("td",null,[c(t("input",{placeholder:"Please Enter",class:"input","onUpdate:modelValue":n[51]||(n[51]=l=>e(g).licence_title=l),type:"text"},null,512),[[_,e(g).licence_title]])])]),t("tr",null,[Ql,t("td",null,[c(t("input",{placeholder:"Please Enter",class:"input","onUpdate:modelValue":n[52]||(n[52]=l=>e(g).licence_number=l),type:"text"},null,512),[[_,e(g).licence_number]])])])])):v("",!0),e(g).is_licence=="N"?(d(),r("div",Yl,[o(m,{type:"primary",onClick:n[53]||(n[53]=l=>e(be)())},{default:i(()=>[s("Submit")]),_:1})])):v("",!0)])):v("",!0),e(a).is_mune==3?(d(),r("div",ql,[o(e(ae),{title:"设备列表",selectArr:e(ue),onRefresh:z.onSearch},{default:i(({size:l,checkList:u})=>[o(e(de),{border:"",ref:"singleTableRef",onSelect:e(me),"max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(j),size:"small",data:e(B),columns:e(pe),checkList:u,paginationSmall:l==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSizeChange:e(_e),onCurrentChange:e(ce)},{AdditionalServices:i(({row:f})=>[t("div",Kl,[t("div",null,[(d(!0),r($,null,S(f.additional_Service,(b,Ct)=>(d(),r("div",{style:{"min-width":"160px","text-align":"left"},key:b.id},w(b.service_name)+" : "+w(b.duration)+" Min ("+w(b.amount)+" $) ",1))),128))])])]),getPrice:i(({row:f})=>[t("div",Hl,[t("div",null,[(d(!0),r($,null,S(f.during_price_json,(b,Ct)=>(d(),r("div",{style:{"min-width":"160px","text-align":"left"},key:b.id},[s(w(b.duration)+" Min : "+w(b.price)+" $ ",1),b.vip_price?(d(),r("span",Wl,"/")):v("",!0),b.vip_price?(d(),r("span",Xl," (Vip:"+w(b.vip_price?b.vip_price:"")+"$) ",1)):v("",!0),b.default?(d(),r("span",Zl,"default")):v("",!0)]))),128))]),f.during_price_json?(d(),r("div",en,[f.during_price_json.length>0?(d(),I(m,{key:0,link:"",type:"primary",size:l,style:{margin:"0 0 2px 12px"},onClick:b=>e(Oe)(f)},{default:i(()=>[s(" Copy ")]),_:2},1032,["size","onClick"])):v("",!0)])):v("",!0)])]),Enabled:i(({row:f})=>[o(ee,{modelValue:f.is_enabled,"onUpdate:modelValue":b=>f.is_enabled=b,"active-text":"Y","inactive-text":"N",onClick:b=>e(Re)(f)},null,8,["modelValue","onUpdate:modelValue","onClick"])]),operation:i(({row:f})=>[o(m,{link:"",type:"primary",size:l,onClick:b=>e(Pe)(f)},{default:i(()=>[s(" Edit ")]),_:2},1032,["size","onClick"]),f.is_basic=="N"?(d(),I(m,{key:0,link:"",type:"danger",size:l,onClick:b=>e(Ee)(f)},{default:i(()=>[s(" Delete ")]),_:2},1032,["size","onClick"])):v("",!0)]),_:2},1032,["onSelect","loading","data","columns","checkList","paginationSmall","header-cell-style","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),o(m,{type:"primary",style:{margin:"20px 0 300px 0"},size:z.size,plain:"",onClick:n[54]||(n[54]=l=>e(Le)(""))},{default:i(()=>[s(" Add Service ")]),_:1},8,["size"])])):v("",!0),e(a).is_mune==4?(d(),r("div",tn,[t("div",ln,[t("div",{class:C(["Registered1",{roles_box_active:e(k)==1}]),onClick:n[56]||(n[56]=l=>e(q)(1))},[nn,e(k)==1?(d(),r("img",on)):v("",!0),e(k)==1?(d(),r("div",{key:1,onClick:n[55]||(n[55]=ht(l=>e(dt)(),["stop"])),class:"type_guide"}," Guide ")):v("",!0)],2),t("div",{class:C(["Registered2",{roles_box_active:e(k)==2}]),onClick:n[57]||(n[57]=l=>e(q)(2))},[s(" Clinic "),e(k)==2?(d(),r("img",sn)):v("",!0)],2),t("div",{class:C(["Registered3",{roles_box_active:e(k)==0}]),onClick:n[58]||(n[58]=l=>e(q)(0))},[s(" Client "),e(k)==0?(d(),r("img",dn)):v("",!0)],2)])])):v("",!0),o(U,{modelValue:e(O),"onUpdate:modelValue":n[60]||(n[60]=l=>D(O)?O.value=l:null),title:""},{default:i(()=>[an,t("fieldset",rn,[un,t("table",pn,[t("tr",null,[_n,t("td",null,w(e(ve).name),1)])])]),t("div",cn,[o(m,{type:"primary",onClick:n[59]||(n[59]=l=>e(ye)())},{default:i(()=>[s("确定")]),_:1})])]),_:1},8,["modelValue"]),t("div",mn,[o(U,{modelValue:e(F),"onUpdate:modelValue":n[63]||(n[63]=l=>D(F)?F.value=l:null),title:""},{default:i(()=>[vn,t("div",yn,[s(" Invitation code "),bn,s(" : "),c(t("input",{"onUpdate:modelValue":n[61]||(n[61]=l=>e(T).code=l),class:"input",type:"text"},null,512),[[_,e(T).code]])]),t("div",fn,[o(m,{type:"primary",onClick:n[62]||(n[62]=l=>e(Ue)())},{default:i(()=>[s("Submit")]),_:1})])]),_:1},8,["modelValue"])]),o(U,{modelValue:e(G),"onUpdate:modelValue":n[71]||(n[71]=l=>D(G)?G.value=l:null),title:"",style:{width:"60%"}},{default:i(()=>[e(V).service_id?(d(),r("div",gn,"Edit Service")):(d(),r("div",kn,"Add Service")),t("table",wn,[t("tr",null,[xn,t("td",null,[c(t("input",{disabled:e(V).service_id!="","onUpdate:modelValue":n[64]||(n[64]=l=>e(V).Service_Name=l),class:"input",type:"text"},null,8,Cn),[[_,e(V).Service_Name]])])]),t("tr",null,[hn,t("td",null,[c(t("input",{"onUpdate:modelValue":n[65]||(n[65]=l=>e(V).Description=l),class:"input",type:"text"},null,512),[[_,e(V).Description]])])]),t("tr",null,[Vn,t("td",null,[o(Z,{style:{width:"250px"},clearable:"true",modelValue:e(V).Licence,"onUpdate:modelValue":n[66]||(n[66]=l=>e(V).Licence=l),filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select"},{default:i(()=>[(d(!0),r($,null,S(e(le),l=>(d(),I(X,{key:l.licence,label:l.value,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),$n])]),t("tr",null,[Sn,t("td",null,[c(t("input",{"onUpdate:modelValue":n[67]||(n[67]=l=>e(V).invoice_title=l),class:"input",type:"text"},null,512),[[_,e(V).invoice_title]])])]),t("tr",null,[Un,t("td",null,[o(N,{data:e(gt),border:"","max-height":"600px",style:{width:"100%","margin-top":"22px"},"highlight-current-row":""},{default:i(()=>[o(y,{width:"62",type:"index",label:"Index"}),o(y,{prop:"service_name",label:"Service Name"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.service_name=u},null,8,An),[[_,l.row.service_name]])]),_:1}),o(y,{prop:"duration",label:"Duration"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.duration=u},null,8,In),[[_,l.row.duration]]),s(" min ")]),_:1}),o(y,{prop:"amount",label:"Amount"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.amount=u},null,8,Dn),[[_,l.row.amount]]),s(" $ ")]),_:1}),o(y,{width:"70",label:"Action"},{default:i(l=>[o(m,{type:"danger",link:"",onClick:u=>e(kt)(l.row)},{default:i(()=>[s("delete")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),o(m,{type:"primary",style:{"margin-top":"10px"},plain:"",onClick:n[68]||(n[68]=l=>e(wt)()),size:"small"},{default:i(()=>[s("Add")]),_:1})])]),t("tr",null,[Ln,t("td",null,[o(N,{data:e(Me),border:"","max-height":"600px",style:{width:"100%","margin-top":"22px"},"highlight-current-row":""},{default:i(()=>[o(y,{width:"62",type:"index",label:"Index"}),o(y,{prop:"duration",label:"Duration"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.duration=u},null,8,Nn),[[_,l.row.duration]]),s(" Min ")]),_:1}),o(y,{prop:"price",label:"Price"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.price=u},null,8,Pn),[[_,l.row.price]]),s(" $ ")]),_:1}),o(y,{prop:"vip_price",label:"Vip Price"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.vip_price=u},null,8,En),[[_,l.row.vip_price]]),s(" $ ")]),_:1}),o(y,{prop:"default",label:"default"},{header:i(()=>[s(" default ")]),default:i(l=>[o(ee,{onChange:u=>e(lt)(u,l.row),modelValue:l.row.default,"onUpdate:modelValue":u=>l.row.default=u},null,8,["onChange","modelValue","onUpdate:modelValue"])]),_:1}),o(y,{width:"70",label:"Action"},{default:i(l=>[o(m,{type:"danger",link:"",onClick:u=>e(je)(l.row)},{default:i(()=>[s("delete")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),o(m,{type:"primary",style:{"margin-top":"10px"},plain:"",onClick:n[69]||(n[69]=l=>e(ze)()),size:"small"},{default:i(()=>[s("Add")]),_:1})])])]),t("div",Rn,[o(m,{type:"primary",onClick:n[70]||(n[70]=l=>e(Ne)())},{default:i(()=>[s("Submit")]),_:1})])]),_:1},8,["modelValue"]),o(U,{modelValue:e(J),"onUpdate:modelValue":n[73]||(n[73]=l=>D(J)?J.value=l:null),title:"",style:{width:"70%"}},{default:i(()=>[o(N,{data:e(B),border:"","max-height":"600px",style:{width:"80%","margin-top":"15px"},"highlight-current-row":"",onSelectionChange:e(Fe)},{default:i(()=>[o(y,{width:"70",type:"selection"}),o(y,{width:"62",type:"index",label:"Index"}),o(y,{prop:"service_name",label:"Service Name"}),o(y,{prop:"description",label:"Description"}),o(y,{prop:"licence_service_name",label:"Licence"})]),_:1},8,["data","onSelectionChange"]),t("div",Tn,[o(m,{type:"primary",onClick:n[72]||(n[72]=l=>e(Be)())},{default:i(()=>[s("Submit")]),_:1})])]),_:1},8,["modelValue"]),o(U,{modelValue:e(Q),"onUpdate:modelValue":n[82]||(n[82]=l=>D(Q)?Q.value=l:null),title:"",style:{width:"50%"}},{default:i(()=>[e(x).id?(d(),r("div",Mn,[s(" Edit Licence "),t("img",{onClick:n[74]||(n[74]=l=>e(ne)()),class:"help_icon_desc",src:se,alt:""})])):(d(),r("div",zn,[s(" Add Licence "),t("img",{onClick:n[75]||(n[75]=l=>e(ne)()),class:"help_icon_desc",src:se,alt:""})])),t("table",jn,[t("tr",null,[On,t("td",null,[c(t("input",{"onUpdate:modelValue":n[76]||(n[76]=l=>e(x).licence_name=l),disabled:e(x).id!="",class:"input",type:"text"},null,8,Fn),[[_,e(x).licence_name]]),s(" (RAC, RMT, TCMP, EST,RTCMP) ")])]),t("tr",null,[Bn,t("td",null,[c(t("input",{"onUpdate:modelValue":n[77]||(n[77]=l=>e(x).name=l),class:"input",type:"text"},null,512),[[_,e(x).name]])])]),t("tr",null,[Gn,t("td",null,[c(t("input",{"onUpdate:modelValue":n[78]||(n[78]=l=>e(x).licence_number=l),class:"input",type:"text"},null,512),[[_,e(x).licence_number]])])]),t("tr",null,[Jn,t("td",null,[c(t("input",{"onUpdate:modelValue":n[79]||(n[79]=l=>e(x).phone=l),class:"input",onInput:n[80]||(n[80]=l=>e(K)(e(x).phone,2)),type:"text"},null,544),[[_,e(x).phone]]),s(" (869)519-0869 ")])])]),t("div",Qn,[o(m,{type:"primary",onClick:n[81]||(n[81]=l=>e(Ye)())},{default:i(()=>[s("Submit")]),_:1})])]),_:1},8,["modelValue"]),t("div",Yn,[o(U,{modelValue:e(Y),"onUpdate:modelValue":n[85]||(n[85]=l=>D(Y)?Y.value=l:null),title:""},{default:i(()=>[qn,t("div",Kn,[s(" Invitation code "),Hn,s(" : "),c(t("input",{"onUpdate:modelValue":n[83]||(n[83]=l=>e(T).clinic_code=l),class:"input",type:"text"},null,512),[[_,e(T).clinic_code]])]),t("div",Wn,[o(m,{type:"primary",onClick:n[84]||(n[84]=l=>e(He)())},{default:i(()=>[s("Submit")]),_:1})])]),_:1},8,["modelValue"])]),o(U,{style:{width:"60%"},modelValue:e(H),"onUpdate:modelValue":n[86]||(n[86]=l=>D(H)?H.value=l:null),title:""},{default:i(()=>[Xn]),_:1},8,["modelValue"]),o(U,{modelValue:e(W),"onUpdate:modelValue":n[91]||(n[91]=l=>D(W)?W.value=l:null),title:"",style:{width:"60%"}},{default:i(()=>[e(at).service_id?(d(),r("div",Zn," Edit Combine Services ")):(d(),r("div",eo,"Add Combine Services")),o(N,{data:e(rt),border:"","max-height":"600px",style:{width:"100%","margin-top":"22px"},"highlight-current-row":""},{default:i(()=>[o(y,{width:"62",type:"index",label:"Index"}),o(y,{prop:"service_name",label:"Service Name"},{default:i(l=>[o(Z,{style:{width:"250px"},clearable:"true",modelValue:l.row.service_name,"onUpdate:modelValue":u=>l.row.service_name=u,filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select",onChange:u=>e(yt)(u,l.row)},{default:i(()=>[(d(!0),r($,null,S(e(B),u=>(d(),I(X,{key:u.licence,label:u.value,value:u.value,class:C({none:u.is_combina=="Y"||u.is_enabled==!1})},null,8,["label","value","class"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),o(y,{prop:"split_rate",label:"Split Rate"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.split_rate=u},null,8,to),[[_,l.row.split_rate]])]),_:1}),o(y,{width:"70",label:"Action"},{default:i(l=>[o(m,{type:"danger",link:"",onClick:u=>e(pt)(l.row)},{default:i(()=>[s("delete")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),t("div",lo,[t("div",no,[o(m,{type:"primary",plain:"",onClick:n[87]||(n[87]=l=>e(_t)())},{default:i(()=>[s("Add")]),_:1}),o(m,{type:"primary",plain:"",onClick:n[88]||(n[88]=l=>e(ct)())},{default:i(()=>[s("Auto Price")]),_:1})])]),o(N,{data:e(ut),border:"","max-height":"600px",style:{width:"100%","margin-top":"22px"},"highlight-current-row":""},{default:i(()=>[o(y,{width:"62",type:"index",label:"Index"}),o(y,{prop:"duration",label:"Duration"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.duration=u},null,8,oo),[[_,l.row.duration]]),s(" Min ")]),_:1}),o(y,{prop:"price",label:"Price"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.price=u},null,8,io),[[_,l.row.price]]),s(" $ ")]),_:1}),o(y,{prop:"vip_price",label:"Vip Price"},{default:i(l=>[c(t("input",{type:"text",class:"input3","onUpdate:modelValue":u=>l.row.vip_price=u},null,8,so),[[_,l.row.vip_price]]),s(" $ ")]),_:1}),o(y,{prop:"default",label:"default"},{header:i(()=>[s(" default ")]),default:i(l=>[o(ee,{onChange:u=>e(ft)(u,l.row),modelValue:l.row.default,"onUpdate:modelValue":u=>l.row.default=u},null,8,["onChange","modelValue","onUpdate:modelValue"])]),_:1}),o(y,{width:"70",label:"Action"},{default:i(l=>[o(m,{type:"danger",link:"",onClick:u=>e(mt)(l.row)},{default:i(()=>[s("delete")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),t("div",ao,[t("div",ro,[o(m,{type:"primary",plain:"",onClick:n[89]||(n[89]=l=>e(bt)())},{default:i(()=>[s("Add")]),_:1})])]),t("div",uo,[o(m,{loading:e(j),type:"primary",onClick:n[90]||(n[90]=l=>e(vt)())},{default:i(()=>[s("Submit")]),_:1},8,["loading"])])]),_:1},8,["modelValue"]),e(oe).step?(d(),r("div",po,[t("div",_o,[co,t("div",mo,[t("div",vo,[s(" Step "),t("div",yo,w(e(oe).step),1),s(" of 5 ")]),t("div",bo,[o(m,{type:"info",plain:"",onClick:n[92]||(n[92]=l=>e(nt)())},{default:i(()=>[s("Cancel")]),_:1}),o(m,{type:"primary",plain:"",onClick:n[93]||(n[93]=l=>e(ot)())},{default:i(()=>[s("Next")]),_:1})])])])])):v("",!0)])}}});const li=Nt(go,[["__scopeId","data-v-7035a44e"]]);export{li as default};