1 |
- import{ar as P,d as H,r as u,u as J,m as Y,o as i,c as y,g as e,w as r,h as j,t as z,a as l,F as b,v as M,q as h,y as K,x as Q,z as W,A as X,B as Z,k as $,D as ee,G as ae,H as le,I as te,J as re,_ as oe,__tla as ne}from"./index-12a7743c.js";import{_ as pe,__tla as ue}from"./index-ed9bc77e.js";import{_ as se,__tla as ie}from"./DictTag-25cb5422.js";import{E as _e,__tla as ce}from"./el-link-e28735b8.js";import{_ as me,__tla as de}from"./ContentWrap-a222efbc.js";import{D as _,__tla as fe}from"./dict-0bfe78a3.js";import{d as c,__tla as ve}from"./formatTime-adaaebb7.js";import{__tla as ye}from"./index-088af6ea.js";import"./color-6e929987.js";import{__tla as be}from"./ContentWrap.vue_vue_type_script_setup_true_lang-4150ac91.js";import{__tla as he}from"./el-card-73514116.js";let V,ge=Promise.all([(()=>{try{return ne}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return ve}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return be}catch{}})(),(()=>{try{return he}catch{}})()]).then(async()=>{let g;g={class:"pb-5 text-xl"},V=oe(H({__name:"TodayCustomer",setup(we){const D=u("\u4ECA\u65E5\u9700\u8054\u7CFB\u5BA2\u6237"),m=u(!0),w=u(0),x=u([]),o=u({pageNo:1,pageSize:10,contactStatus:1,sceneType:1}),S=u(),I=[{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}],d=async()=>{m.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{m.value=!1}},C=()=>{o.value.pageNo=1,d()},{push:F}=J();return Y(()=>{d()}),(f,n)=>{const T=W,N=X,v=Z,R=$,U=ee,L=ae,k=me,t=le,A=_e,s=se,q=te,B=pe,G=re;return i(),y(b,null,[e(k,null,{default:r(()=>[j("div",g,z(l(D)),1),e(L,{ref_key:"queryFormRef",ref:S,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,M(I,(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,M(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:C},{default:r(()=>[e(R,{class:"mr-5px",icon:"ep:search"}),h(" \u641C\u7D22 ")]),_:1}),e(U,{onClick:n[2]||(n[2]=a=>{return p=void 0,S.value.resetFields(),o.value={pageNo:1,pageSize:10,contactStatus:1,sceneType:1},p&&p(),void C();var p})},{default:r(()=>[e(R,{class:"mr-5px",icon:"ep:refresh"}),h(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(k,null,{default:r(()=>[K((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(()=>[h(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(_).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(_).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(_).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(c),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(_).INFRA_BOOLEAN_STRING,value:a.row.dealStatus},null,8,["type","value"])]),_:1}),e(t,{formatter:l(c),align:"center",label:"\u6700\u540E\u8DDF\u8FDB\u65F6\u95F4",prop:"contactLastTime",width:"180px"},null,8,["formatter"]),e(t,{formatter:l(c),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"updateTime",width:"180px"},null,8,["formatter"]),e(t,{formatter:l(c),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(m)]]),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:d},null,8,["limit","page","total"])]),_:1})],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/crm/message/tables/TodayCustomer.vue"]])});export{ge as __tla,V as default};
|