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