1 line
6.4 KiB
JavaScript
1 line
6.4 KiB
JavaScript
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[668],{3668:function(e,n,i){i.r(n),i.d(n,{default:function(){return k}});var s=i(6252),o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1MkQ3RTM1MURBOTYxMUU5QkVDQ0Y5RUNFNjg0MjYxRiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1MkQ3RTM1MkRBOTYxMUU5QkVDQ0Y5RUNFNjg0MjYxRiI+IDx4bXBNTTpEZX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smycOKkBAG8eEHg7l89n/OV45qUa81HcDu266i+ATw9FkaJxiBWsU5GAX7ksAlZdSkBALml+eqL8FHU4RDYu1+TFgK+KxEGXN6LhC1bCcnJPddzB/HpJsKMmcCeb2PcLoWS9HQyGuCwaWGU2SDX1Zk+53IhCK6jA6it7fm/ZcsJy9+g+FuQ/ef7A1rY0QN3GXwFK8pNn3vz7WDLnTgucGCfwL5DmuGPgbL2LUJ5qcCDB3H2QYfD1EgFAVvypYJgq3BrxeA8ovg/IO/JE4TLVSLxo2iTF8jMhOGLoeTvgFFH5ggrJ47KGSRpgjTT38JJ8Sbd8r8VhPfeNy3d2RFDwH+bHx9wjIyON6uBxvvSL7Os5zxm5ESv+62DeHWOdY1/rYnhyKJKVh0+H0X0t1CSL1ND9Q2BMhk0ONA8kvETgI8+Dh0tf7mJqAZYTyxNtLRA5jw96rozUBYXmgOrY0cF/vg98nqej36zW398l+jPZJuj4eQpPDTqW57i6+b1msOmYreGmc+ED0i7vtTh8SA+gE9qUPXaXML8BfKaTiQkSadpuAucrxQ4dVKgvZ9tVdwB1UxGASpABagAFaACVID9Amy2MZ+PAStsDFjOgG6p/9gQjpncDMjNSIHUo9zq2QCspZuFmTwPBRgAkkZGeuRxtNwAAAAASUVORK5CYII=";const l=e=>((0,s.dD)("data-v-2ff08c16"),e=e(),(0,s.Cn)(),e),t={class:"message-body"},c={class:"message-content"},d={class:"message-body-side"},a={class:"message-body-flexbox"},m=l((()=>(0,s._)("img",{src:o,class:"title-icon"},null,-1))),u=l((()=>(0,s._)("span",{class:"title"},"待办事项",-1))),r={class:"message-body-item"},h={class:"message-body-content"},w={style:{"overflow-y":"scroll",height:"100%"}};function A(e,n,i,o,l,A){const p=(0,s.up)("flexbox"),y=(0,s.up)("x-menu-item"),f=(0,s.up)("el-table-column"),g=(0,s.up)("xTable"),k=(0,s.Q2)("loading");return(0,s.wg)(),(0,s.iD)("div",t,[(0,s.wy)(((0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",d,[(0,s._)("div",a,[(0,s.Wm)(p,{class:"message-header"},{default:(0,s.w5)((()=>[m,u])),_:1})]),(0,s._)("div",r,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(A.showLeftSides,((e,n)=>((0,s.wg)(),(0,s.j4)(y,{key:n,label:e.name,num:e.num,"icon-class":e.iconClass,"icon-color":e.color,select:l.leftType==e.infoType,onClick:n=>A.sideClick(e)},null,8,["label","num","icon-class","icon-color","select","onClick"])))),128))])]),(0,s._)("div",h,[(0,s._)("div",w,[(0,s.Wm)(g,{ref:"table",tableColumn:e.column,name:e.tablename,params:e.search,"row-key":e.key,remoteSort:!0,remoteFilter:!0,hideDo:!0,hideRefresh:!0,hideSetting:!0,stripe:""},{default:(0,s.w5)((()=>[(0,s.Wm)(f,{prop:"msg",label:"msg",width:"800"}),(0,s.Wm)(f,{prop:"id",label:"Name",width:"180"}),(0,s.Wm)(f,{prop:"address",label:"Address",width:"500"})])),_:1},8,["tableColumn","name","params","row-key"])])])])),[[k,l.loading]])])}var p=i(7926),y={name:"trajectory",components:{xMenuItem:p.Z},data(){return{loading:!1,leftType:"",contentHeight:document.documentElement.clientHeight-84,info:{},leftSides:[{name:"今日需联系线索",color:"#2362FB",iconClass:"wk wk-leads",infoType:"todayLeads",num:10,hidden:!1},{name:"今日需联系客户",color:"#2362FB",iconClass:"wk wk-customer",infoType:"todayCustomer",num:0,hidden:!1},{name:"今日需联系商机",color:"#2362FB",iconClass:"wk wk-business",infoType:"todayBusiness",num:0,hidden:!1},{name:"分配给我的线索",color:"#704AFD",iconClass:"wk wk-leads",infoType:"followLeads",num:0,hidden:!1},{name:"分配给我的客户",color:"#19B5F6",iconClass:"wk wk-s-seas",infoType:"followCustomer",num:0,hidden:!1},{name:"待进入公海的客户",color:"#26D4DA",iconClass:"wk wk-seas",infoType:"putInPoolRemind",num:0,hidden:!1},{name:"待审核合同",color:"#FD5B4A",iconClass:"wk wk-contract",infoType:"checkContract",num:0,hidden:!1},{name:"待审核回款",color:"#FFB940",iconClass:"wk wk-receivables",infoType:"checkReceivables",num:0,hidden:!1},{name:"待回款提醒",color:"#27BA4A",iconClass:"wk wk-bell",infoType:"remindReceivablesPlan",num:0,hidden:!1},{name:"即将到期的合同",color:"#FF7A38",iconClass:"wk wk-contract",infoType:"endContract",num:0,hidden:!1},{name:"待回访合同",color:"#ff9232",iconClass:"wk wk-house",infoType:"returnVisitRemind",num:0,hidden:!1},{name:"待审核发票",color:"#ff9232",iconClass:"wk wk-invoice",infoType:"checkInvoice",num:0,hidden:!1}]}},computed:{showLeftSides(){return this.leftSides.filter((e=>!e.hidden))}},watch:{},mounted(){},methods:{requestNumCount(){},refreshNum(){for(let e=0;e<this.leftSides.length;e++){const n=this.leftSides[e];n.hidden=!1}!this.leftType&&this.showLeftSides.length>0&&(this.leftType=this.showLeftSides[0].infoType)},messageHandle(e){if("follow"==e.type){const n={},i=parseInt(n[e.infoType])-e.value;n[e.infoType]=i>0?i:0,this.$store.commit("SET_MESSAGENUM",n)}},sideClick(e){this.info=e,this.leftType=e.infoType}}},f=i(3744);const g=(0,f.Z)(y,[["render",A],["__scopeId","data-v-2ff08c16"]]);var k=g}}]); |