1 |
- import{am as P,d as j,r as u,u as H,q as J,o as i,c as y,f as e,w as r,g as K,t as z,a as l,F as b,v as V,y as g,z as Y,x as Q,A as W,B as X,C as Z,j as $,G as ee,H as ae,I as le,J as te,K as re,_ as oe,__tla as ne}from"./index-327f993b.js";import{_ as pe,__tla as ue}from"./index-5a79877f.js";import{_ as se,__tla as ie}from"./DictTag-74e5844b.js";import{E as ce,__tla as _e}from"./el-link-5500c0f4.js";import{_ as de,__tla as me}from"./ContentWrap-f767e20d.js";import{D as c,__tla as fe}from"./dict-2cfe41e3.js";import{d as _,__tla as ve}from"./formatTime-63676a29.js";import{__tla as ye}from"./index-0ac6413f.js";import"./color-6e929987.js";import{__tla as be}from"./el-card-5aa8b203.js";let D,ge=Promise.all([(()=>{try{return ne}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return ve}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return be}catch{}})()]).then(async()=>{let h;h={class:"pb-5 text-xl"},D=oe(j({__name:"TodayCustomer",setup(he){const I=u("\u4ECA\u65E5\u9700\u8054\u7CFB\u5BA2\u6237"),d=u(!0),w=u(0),x=u([]),o=u({pageNo:1,pageSize:10,contactStatus:1,sceneType:1}),C=u(),M=[{label:"\u4ECA\u65E5\u9700\u8054\u7CFB",value:1},{label:"\u5DF2\u903E\u671F",value:2},{label:"\u5DF2\u8054\u7CFB",value:3}],O=[{label:"\u6211\u8D1F\u8D23\u7684",value:1},{label:"\u6211\u8DDF\u8FDB\u7684",value:2},{label:"\u6211\u53C2\u4E0E\u7684",value:3},{label:"\u4E0B\u5C5E\u8D1F\u8D23\u7684",value:4}],m=async()=>{d.value=!0;try{const f=await(async n=>await P.get({url:"/crm/message/todayCustomer",params:n}))(o.value);x.value=f.list,w.value=f.total}finally{d.value=!1}},S=()=>{o.value.pageNo=1,m()},{push:F}=H();return J(()=>{m()}),(f,n)=>{const T=W,N=X,v=Z,R=$,U=ee,L=ae,k=de,t=le,A=ce,s=se,q=te,B=pe,G=re;return i(),y(b,null,[e(k,null,{default:r(()=>[K("div",h,z(l(I)),1),e(L,{ref_key:"queryFormRef",ref:C,inline:!0,model:l(o),class:"-mb-15px","label-width":"68px"},{default:r(()=>[e(v,{label:"\u72B6\u6001",prop:"contactStatus"},{default:r(()=>[e(N,{modelValue:l(o).contactStatus,"onUpdate:modelValue":n[0]||(n[0]=a=>l(o).contactStatus=a),class:"!w-240px",placeholder:"\u72B6\u6001"},{default:r(()=>[(i(),y(b,null,V(M,(a,p)=>e(T,{label:a.label,value:a.value,key:p},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e(v,{label:"\u5F52\u5C5E",prop:"sceneType"},{default:r(()=>[e(N,{modelValue:l(o).sceneType,"onUpdate:modelValue":n[1]||(n[1]=a=>l(o).sceneType=a),class:"!w-240px",placeholder:"\u5F52\u5C5E"},{default:r(()=>[(i(),y(b,null,V(O,(a,p)=>e(T,{label:a.label,value:a.value,key:p},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e(v,null,{default:r(()=>[e(U,{onClick:S},{default:r(()=>[e(R,{class:"mr-5px",icon:"ep:search"}),g(" \u641C\u7D22 ")]),_:1}),e(U,{onClick:n[2]||(n[2]=a=>{return p=void 0,C.value.resetFields(),o.value={pageNo:1,pageSize:10,contactStatus:1,sceneType:1},p&&p(),void S();var p})},{default:r(()=>[e(R,{class:"mr-5px",icon:"ep:refresh"}),g(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(k,null,{default:r(()=>[Y((i(),Q(q,{data:l(x),"show-overflow-tooltip":!0,stripe:!0},{default:r(()=>[e(t,{align:"center",label:"\u7F16\u53F7",prop:"id"}),e(t,{align:"center",label:"\u5BA2\u6237\u540D\u79F0",prop:"name",width:"160"},{default:r(a=>[e(A,{underline:!1,type:"primary",onClick:p=>{return E=a.row.id,void F({name:"CrmCustomerDetail",params:{id:E}});var E}},{default:r(()=>[g(z(a.row.name),1)]),_:2},1032,["onClick"])]),_:1}),e(t,{align:"center",label:"\u624B\u673A",prop:"mobile",width:"120"}),e(t,{align:"center",label:"\u7535\u8BDD",prop:"telephone",width:"120"}),e(t,{align:"center",label:"\u5BA2\u6237\u6765\u6E90",prop:"source",width:"100"},{default:r(a=>[e(s,{type:l(c).CRM_CUSTOMER_SOURCE,value:a.row.source},null,8,["type","value"])]),_:1}),e(t,{align:"center",label:"\u6240\u5C5E\u884C\u4E1A",prop:"industryId",width:"120"},{default:r(a=>[e(s,{type:l(c).CRM_CUSTOMER_INDUSTRY,value:a.row.industryId},null,8,["type","value"])]),_:1}),e(t,{align:"center",label:"\u5BA2\u6237\u7B49\u7EA7",prop:"level",width:"120"},{default:r(a=>[e(s,{type:l(c).CRM_CUSTOMER_LEVEL,value:a.row.level},null,8,["type","value"])]),_:1}),e(t,{align:"center",label:"\u7F51\u5740",prop:"website",width:"200"}),e(t,{formatter:l(_),align:"center",label:"\u4E0B\u6B21\u8054\u7CFB\u65F6\u95F4",prop:"contactNextTime",width:"180px"},null,8,["formatter"]),e(t,{align:"center",label:"\u5907\u6CE8",prop:"remark",width:"200"}),e(t,{align:"center",label:"\u6210\u4EA4\u72B6\u6001",prop:"dealStatus"},{default:r(a=>[e(s,{type:l(c).INFRA_BOOLEAN_STRING,value:a.row.dealStatus},null,8,["type","value"])]),_:1}),e(t,{formatter:l(_),align:"center",label:"\u6700\u540E\u8DDF\u8FDB\u65F6\u95F4",prop:"contactLastTime",width:"180px"},null,8,["formatter"]),e(t,{formatter:l(_),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"updateTime",width:"180px"},null,8,["formatter"]),e(t,{formatter:l(_),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180px"},null,8,["formatter"]),e(t,{align:"center",label:"\u8D1F\u8D23\u4EBA",prop:"ownerUserName",width:"100px"}),e(t,{align:"center",label:"\u6240\u5C5E\u90E8\u95E8",prop:"ownerUserDeptName",width:"100px"}),e(t,{align:"center",label:"\u521B\u5EFA\u4EBA",prop:"creatorName",width:"100px"})]),_:1},8,["data"])),[[G,l(d)]]),e(B,{limit:l(o).pageSize,"onUpdate:limit":n[3]||(n[3]=a=>l(o).pageSize=a),page:l(o).pageNo,"onUpdate:page":n[4]||(n[4]=a=>l(o).pageNo=a),total:l(w),onPagination:m},null,8,["limit","page","total"])]),_:1})],64)}}}),[["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/views/crm/message/tables/TodayCustomer.vue"]])});export{ge as __tla,D as default};
|