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/store-legacy-a52143fc.js
System.register(["./message-legacy-10af7c73.js","./po-legacy-2b1fa9b9.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./_plugin-vue_export-helper-legacy-762b7923.js","./index-legacy-3c1533a0.js","./preload-helper-legacy-f8638e03.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,t){"use strict";var l,n,a,i,s,c,r,o,d,u,p,y,g,m,_,x,f,v=document.createElement("style");return v.textContent=".dialog_procure_box[data-v-c773e6f7]{align-items:center;display:flex}.input[data-v-c773e6f7]{border:1px solid #d0d0d0;border-radius:3px;height:26px;outline:none;padding:0 6px;width:180px}\n",document.head.appendChild(v),{setters:[e=>{l=e.ab},e=>{n=e.getInvoiceStateByCusId},e=>{a=e.d,i=e.r,s=e.A,c=e.o,r=e.Q,o=e.e,d=e.f,u=e.g,p=e.p,y=e.y,g=e.m,m=e.v,_=e.b5,x=e.b4},e=>{f=e._},null,null,null,null,null,null,null],execute:function(){const t={class:"main"},v={class:"dialog_procure_box"},b=(e=>(_("data-v-c773e6f7"),e=e(),x(),e))((()=>u("div",null,"Days(e.g:30,meaning in 30 days)",-1))),j=a({name:"/crm/yuyue/components/statement"}),h=a({...j,props:{str:{type:String,default:""},customer_id:{type:String,default:""}},setup(e){const a=e;i();const _=s({}),x=i(!1),f=s({type:"",clinic_id:"",role:"",searchKey:""});return c((()=>{!async function(){f.type=parseInt(localStorage.getItem("type")),2==f.type?(f.role="clinic",f.clinic_id=localStorage.getItem("clinicIdOverall")):1==f.type&&(f.role="therapists"),x.value=!0;const{data:e}=await n(Object.assign(_,{customer_id:a.customer_id,days:30,role:f.role,clinic_id:f.clinic_id}));e.code}()})),(e,n)=>{const a=r("el-button");return o(),d("div",t,[u("div",v,[b,p(u("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=e=>f.searchKey=e),class:"input",value:""},null,512),[[l,f.searchKey]]),y(a,{plain:"",size:"small",type:"primary",onClick:n[1]||(n[1]=t=>e.btnAdd()),style:{"margin-left":"20px"}},{default:g((()=>[m("Submit")])),_:1}),y(a,{size:"small",plain:"",type:"primary",onClick:n[2]||(n[2]=t=>e.btnExportPDF()),style:{"margin-left":"12px"}},{default:g((()=>[m("Export PDF")])),_:1})])])}}});e("default",f(h,[["__scopeId","data-v-c773e6f7"]]))}}}));