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/clinic-4117d2f8.js
import{ab as L}from"./message-2472a54a.js";import{useEqu as Z}from"./hookClinic-1cac189a.js";import{b as ee,P as te}from"./index.es-6330c7aa.js";import{d as N,o as le,Q as m,e as o,f as i,g as e,p as T,u as l,y as a,m as c,v as _,x as s,i as P,F as h,I as b,t as g,l as se,n as A,b5 as oe,b4 as ie}from"./runtime-core.esm-bundler-6128546f.js";import{_ as ne}from"./_plugin-vue_export-helper-c27b6911.js";import"./po-6ea0d708.js";import"./index-efb67349.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-ddcd7def.js";import"./index-a7c31d60.js";import"./merge-f215fb43.js";const n=y=>(oe("data-v-df81a23b"),y=y(),ie(),y),ae={class:"main"},de={class:"dialog_procure_box",style:{"margin-top":"0px"}},re=n(()=>e("div",{class:"dialog_tilte"},"创建采购单",-1)),ce=n(()=>e("fieldset",{class:"fieldset"},[e("legend",{class:"legend"},"发货操作"),e("table",{class:"createOrderobj_box"},[e("tr",null,[e("td",{width:"15%"},"客户名称"),e("td",null,"123132")])])],-1)),_e={class:"part_out_button"},ue={class:"BasicInfo_box"},pe={class:"fieldset"},me=n(()=>e("legend",{class:"legend"},"Basic Info",-1)),he={class:"createOrderobj_box"},be=n(()=>e("td",{width:"15%",class:"title_desc"},[_(" First Name"),e("span",{class:"red"},"*")],-1)),ve=n(()=>e("td",{class:"title_desc"},[_("Last Name"),e("span",{class:"red"},"*")],-1)),ge=n(()=>e("td",{width:"15%",class:"title_desc"},"Phone",-1)),ye=n(()=>e("td",{class:"title_desc"},"Email",-1)),fe=n(()=>e("td",{width:"15%",class:"title_desc"},"Gender",-1)),xe={class:"allQuestions_box1"},ke={key:0},we=n(()=>e("td",{class:"title_desc"},"Booking notice type",-1)),Ce={class:"Service_box11",style:{"justify-content":"flex-start"}},Se={key:0},De=n(()=>e("td",{class:"title_desc"},"Available number of invoices",-1)),Ve=n(()=>e("div",{class:"Communication"}," The total number of appointments and single invoice issuance (invoices are issued together during appointments, only counted as 1 time) ",-1)),Le=n(()=>e("td",{class:"title_desc"},"Split Rate",-1)),Te={class:"dialog_procure_box",style:{"margin-top":"20px"}},Pe=n(()=>e("div",{class:"title_desc"},"service :",-1)),Ae={class:"legend"},Ne={class:"price_desc title_desc"},Be={key:0,class:"createOrderobj_box"},Ie=n(()=>e("tr",{class:"quantity1"},[e("td",{class:"title_desc",width:"55"},"Idx"),e("td",{class:"title_desc"},[_("Duration "),e("span",{class:"red"},"*")]),e("td",{class:"title_desc"},[_("Price "),e("span",{class:"red"},"*")])],-1)),Ue={key:0},je=n(()=>e("td",{colspan:"3",style:{"text-align":"center"}},"No Data",-1)),Re=[je],qe=n(()=>e("div",{class:"price_desc title_desc",style:{"margin-top":"20px"}}," Licence ",-1)),ze={class:"createOrderobj_box"},Me=n(()=>e("tr",{class:"quantity1"},[e("td",{class:"title_desc"},"Name"),e("td",{class:"title_desc"},"Description"),e("td",{class:"title_desc"},"Licence Number"),e("td",{class:"title_desc"},"Phone")],-1)),Oe={class:"fieldset",style:{"margin-top":"20px"}},$e=n(()=>e("legend",{class:"legend"},"Work Time",-1)),Ee={key:0},Fe=N({name:"/crm/yuyue/employee_company/clinic"}),Qe=N({...Fe,setup(y){const{searchDetail:w,btnSearchPart:C,loading:B,small:We,selectList:I,columns:U,checkList:Ke,pagination:Ge,handleSizeChange:j,handleCurrentChange:R,PartList:q,order_date:He,deliverDialog:x,selectClick:z,btnDeliverConfirm:M,singleTableRef:O,listDialog:k,btnDetailDialog:$,formArr:u,PublicData:E,ClinicSevers:Je,addTherapistArr:Xe,getAddTherapistArr:S,addServiceData:F,LimitTimes:Q,isData:W,addEditClinicsTherapist:K}=Z();return le(()=>{}),(G,d)=>{const f=m("el-button"),D=m("el-dialog"),H=m("el-option"),J=m("el-select"),X=m("el-switch"),v=m("el-table-column"),Y=m("el-table");return o(),i("div",ae,[e("div",de,[T(e("input",{class:"input","onUpdate:modelValue":d[0]||(d[0]=t=>l(w).searchKey=t),type:"text"},null,512),[[L,l(w).searchKey]]),a(f,{style:{"margin-left":"20px"},type:"primary",onClick:d[1]||(d[1]=t=>l(C)())},{default:c(()=>[_("Search")]),_:1})]),a(l(te),{title:"设备列表",selectArr:l(I),onRefresh:l(C)},{default:c(({size:t,checkList:p})=>[a(l(ee),{border:"",ref_key:"singleTableRef",ref:O,onSelect:l(z),"max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:l(B),size:"small",data:l(q),columns:l(U),checkList:p,paginationSmall:t==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSizeChange:l(j),onCurrentChange:l(R)},{order_sn:c(({row:r})=>[_(" P"+s(r.order_id)+"-"+s(r.order_item_id),1)]),operation:c(({row:r})=>[a(f,{class:"reset-margin reset-margin1",link:"",type:"primary",size:t,onClick:V=>l($)(r)},{default:c(()=>[_(" Detail ")]),_:2},1032,["size","onClick"])]),_:2},1032,["onSelect","loading","data","columns","checkList","paginationSmall","header-cell-style","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),a(D,{modelValue:l(x),"onUpdate:modelValue":d[3]||(d[3]=t=>P(x)?x.value=t:null),title:""},{default:c(()=>[re,ce,e("div",_e,[a(f,{type:"primary",onClick:d[2]||(d[2]=t=>l(M)())},{default:c(()=>[_("确定")]),_:1})])]),_:1},8,["modelValue"]),a(D,{style:{width:"90%"},modelValue:l(k),"onUpdate:modelValue":d[7]||(d[7]=t=>P(k)?k.value=t:null),title:""},{default:c(()=>[e("div",ue,[e("fieldset",pe,[me,e("table",he,[e("tr",null,[be,e("td",null,s(l(u).FirstName)+" ",1),ve,e("td",null,s(l(u).LastName)+" ",1)]),e("tr",null,[ge,e("td",null,s(l(u).phone_code)+"--"+s(l(u).phone),1),ye,e("td",null,s(l(u).email)+" ",1)]),e("tr",null,[fe,e("td",null,[e("div",xe,[(o(!0),i(h,null,b(l(W),(t,p)=>(o(),i("div",{class:"allQuestions_box",key:t.id},[t.value==l(u).gender?(o(),i("div",ke,s(t.text),1)):g("",!0)]))),128))])]),we,e("td",null,[e("div",Ce,[(o(!0),i(h,null,b(l(F),t=>(o(),i("div",{key:t.id},[t.is_selected==1?(o(),i("div",Se,s(t.text),1)):g("",!0)]))),128))])])]),e("tr",null,[De,e("td",null,[T(e("input",{class:"input","onUpdate:modelValue":d[4]||(d[4]=t=>l(u).limit_times=t),type:"text"},null,512),[[L,l(u).limit_times]]),a(J,{style:{width:"180px","margin-left":"30px"},clearable:"true",modelValue:l(u).time_frequen,"onUpdate:modelValue":d[5]||(d[5]=t=>l(u).time_frequen=t),filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select"},{default:c(()=>[(o(!0),i(h,null,b(l(Q),t=>(o(),se(H,{key:t.licence,label:t.text,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),a(f,{plain:"",type:"primary",style:{"margin-left":"20px"},onClick:d[6]||(d[6]=t=>l(K)("edit"))},{default:c(()=>[_("Save")]),_:1}),Ve]),Le,e("td",null,s(l(u).split_rate)+" %",1)])])]),e("div",Te,[Pe,(o(!0),i(h,null,b(l(S),(t,p)=>(o(),i("div",{class:A(["done service_desc_box",{show:t.is_service}]),key:t.clinics_service_id},s(t.service_name),3))),128))]),(o(!0),i(h,null,b(l(S),(t,p)=>(o(),i("fieldset",{class:A(["fieldset done",{show:t.is_service}]),key:t.id},[e("legend",Ae,s(t.service_name),1),e("div",Ne,[_(" price "),a(X,{style:{margin:"0 50px"},modelValue:t.is_price,"onUpdate:modelValue":r=>t.is_price=r},null,8,["modelValue","onUpdate:modelValue"])]),t.is_price?(o(),i("table",Be,[Ie,t.clinicDuringPrice?g("",!0):(o(),i("tr",Ue,Re)),(o(!0),i(h,null,b(t.clinicDuringPrice,(r,V)=>(o(),i("tr",{key:r.id},[e("td",null,s(V+1),1),e("td",null,s(r.duration)+" ( Min ) ",1),e("td",null,s(r.price)+" ( $ ) ",1)]))),128))])):g("",!0),qe,e("table",ze,[Me,e("tr",null,[e("td",null,s(t.LicenceArr1.name),1),e("td",null,s(t.LicenceArr1.description),1),e("td",null,s(t.LicenceArr1.licence_number),1),e("td",null,s(t.LicenceArr1.phone),1)])])],2))),128)),e("fieldset",Oe,[$e,a(Y,{data:l(E),border:"","max-height":"600px","span-method":G.objectSpanMethod,style:{width:"100%","margin-top":"15px"},"highlight-current-row":""},{default:c(()=>[a(v,{type:"index",width:"55",label:"Idx"}),a(v,{prop:"description_type",label:"Description"}),a(v,{prop:"service_week_day_show",label:"Service Week Day"}),a(v,{prop:"description_type",label:"Work Time"},{default:c(t=>[(o(!0),i(h,null,b(t.row.service_times,(p,r)=>(o(),i("span",{class:"service_times_box",key:r},[_(s(p.begin)+" ~ "+s(p.end)+" ",1),r<t.row.service_times.length-1?(o(),i("span",Ee," , ")):g("",!0)]))),128))]),_:1}),a(v,{prop:"description_type",label:"Session"},{default:c(t=>[_(s(t.row.session_show)+" (+"+s(t.row.add_session)+"Min)",1)]),_:1}),a(v,{prop:"blocked_time_show",label:"Blocked Time"})]),_:1},8,["data","span-method"])])])]),_:1},8,["modelValue"])])}}});const vt=ne(Qe,[["__scopeId","data-v-df81a23b"]]);export{vt as default};