Commit f73a77ea by 陈羽

Merge branch 'featrue/销售线索' of http://git.gicdev.com/office/haoban-3 into dev

parents 0acd2aef d07a9803
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css><link href=./static/css/app.7ed0d130068a9c9b16f56958a7aa3777.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.00de9c5c771c5da9f744.js></script><script type=text/javascript src=./static/js/vendor.cbb689f17e30dfe9e774.js></script><script type=text/javascript src=./static/js/app.98b65eb915d15a2b60ff.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css><link href=./static/css/app.66c36ac27bac26b75bfe1cb9eb2b5c12.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.7e71e34734eeed2c42e8.js></script><script type=text/javascript src=./static/js/vendor.cbb689f17e30dfe9e774.js></script><script type=text/javascript src=./static/js/app.391c4ff45347bc9c9069.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([57],{"3EAQ":function(t,e){},"b/Dz":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),l=a("3Xzz"),o=a("P9l9"),r=a("Ch4/"),i=a("PI0u"),c={name:"storeList",data:function(){return{bgHeight:window.screen.availHeight-298+"px",dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,navpath:[{name:"首页",path:"/index"},{name:"销售线索",path:""}],pageParams:{pageNum:1,pageSize:20},total:0,tableData:[{storeId:"12121",storeName:"12",taskCount:111,finishCount:34,completionRate:"12",waitFinishCount:77,overdueCount:23,totalProfit:3424123,potentialProfit:43242}],pickerOptions:{disabledDate:function(t){var e=new Date;return t.getTime()<e.getTime()-31536e6||t.getTime()>e.getTime()}}}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},reFetch:Object(i.a)(function(t,e){this.pageParams.pageNum=1,this.getTableList()},500),handleSizeChange:function(t){this.pageParams.pageNum=1,this.pageParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.pageParams.pageNum=t,this.getTableList()},getTableList:function(t){var e=this,a=n()({},e.pageParams);a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(o.a)("/haoban-manage3-web/store-full-list",a).then(function(t){var a=t.data;1==a.errorCode?(e.tableData=a.result.list||[],e.total=a.result.total):r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showDetail:function(t){this.$route.query.gicTaskId?this.$router.push("storeDetail/"+t.storeId+"?tab=2"):this.$router.push("storeDetail/"+t.storeId)}},watch:{},mounted:function(){this.$route.query.gicTaskId?this.$emit("showTab",2):this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:l.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[t._v("仅展示近一年数据,数据截取时间:"+t._s(t._f("timeStampToYmd")(t.dateStart))+" 至 "+t._s(t._f("timeStampToYmd")(t.dateEnd)))])])]),t._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[a("p",[t._v("展示所选期间内的导购线索,以线索为主体,不以时间为主体。")]),t._v(" "),a("p",{staticClass:"temp"},[t._v("如 所选时间为 20210401~20210403,则显示期间相关的导购线索数据。")]),t._v(" "),a("p",{staticClass:"m-b-14"},[t._v("导购线索:计划中触达到门店导购端的都归入导购线索,包括话务、企微任务。")]),t._v(" "),a("p",{staticClass:"m-l--6"},[t._v("【 任务完成率 】:")]),t._v(" "),a("p",{staticClass:"m-b-10"},[t._v("导购任务完成数 / 任务总数,任务完成数不含放弃数。")]),t._v(" "),a("p",{staticClass:"m-l--6"},[t._v("【 触达转化收益 】:")]),t._v(" "),a("p",[t._v("\n 通过导购线索触达,且触达的会员在触达效益计算有效期内前来消费的人数。"),a("br"),t._v("\n 多个导购线索任务触达的,转化只记在首个触达任务上;收益只计销售单,"),a("br"),t._v("\n 不看退货单和换货单;金额是应付还是实付看ERP传入的值。数据更新频率:1天1次\n ")])]),t._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[t._v("查看指标说明")])])])],1),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入门店名称","prefix-icon":"el-icon-search",clearable:""},on:{change:t.reFetch,clear:t.clearInput},model:{value:t.pageParams.storeName,callback:function(e){t.$set(t.pageParams,"storeName",e)},expression:"pageParams.storeName"}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:t.reFetch},model:{value:t.pageParams.date,callback:function(e){t.$set(t.pageParams,"date",e)},expression:"pageParams.date"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.finishCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completionRate+"%"||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.waitFinishCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"触达转化收益(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.potentialProfit||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.showDetail(e.row)}}},[t._v("查看详情")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.showDetail(e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.pageParams.pageNum,"page-sizes":[20,40,60,80],"page-size":t.pageParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])])},staticRenderFns:[]};var p=a("VU/8")(c,u,!1,function(t){a("3EAQ")},"data-v-884c7664",null);e.default=p.exports}});
\ No newline at end of file
webpackJsonp([58],{"aTt+":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),l=a("3Xzz"),r=a("P9l9"),i=a("Ch4/"),o=a("PI0u"),c={name:"taskList",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{bgHeight:window.screen.availHeight-298+"px",dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,loading:!1,navpath:[{name:"首页",path:"/index"},{name:"销售线索",path:""}],pageParams:{pageNum:1,pageSize:20},total:0,tableData:[],pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()}}}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},reFetch:Object(o.a)(function(e,t){this.pageParams.pageNum=1,this.getTableList()},500),handleSizeChange:function(e){this.pageParams.pageNum=1,this.pageParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.pageParams.pageNum=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=n()({},t.pageParams,{enterpriseId:localStorage.getItem("userInfoBrandId"),qywxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId});a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(r.a)("/haoban-task-manage-web/market/clue/web/plan-list",a).then(function(e){t.loading=!1;var a=e.data;1==a.errorCode&&a.result?(t.tableData=a.result.list||[],t.total=a.result.total):(t.tableData=[],i.a.errorMsg(a))}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},showDetail:function(e){this.$router.push("storeList?ecmPlanId="+e.ecmPlanId)}},watch:{brandId:function(e){this.getTableList()}},mounted:function(){this.getTableList(),this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:l.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[e._v("仅展示近一年数据,数据截取时间:"+e._s(e._f("timeStampToYmd")(e.dateStart))+" 至 "+e._s(e._f("timeStampToYmd")(e.dateEnd)))])])]),e._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[a("p",[e._v("展示所选期间内的导购线索,以线索为主体,不以时间为主体。")]),e._v(" "),a("p",{staticClass:"temp"},[e._v("如 所选时间为 20210401~20210403,则显示期间相关的导购线索数据。")]),e._v(" "),a("p",{staticClass:"m-b-14"},[e._v("导购线索:计划中触达到门店导购端的都归入导购线索,包括话务、企微任务。")]),e._v(" "),a("p",{staticClass:"m-l--6"},[e._v("【 任务完成率 】:")]),e._v(" "),a("p",{staticClass:"m-b-10"},[e._v("导购任务完成数 / 任务总数,任务完成数不含放弃数。")]),e._v(" "),a("p",{staticClass:"m-l--6"},[e._v("【 触达转化收益 】:")]),e._v(" "),a("p",[e._v("\n 通过导购线索触达,且触达的会员在触达效益计算有效期内前来消费的人数。"),a("br"),e._v("\n 多个导购线索任务触达的,转化只记在首个触达任务上;收益只计销售单,"),a("br"),e._v("\n 不看退货单和换货单;金额是应付还是实付看ERP传入的值。数据更新频率:1天1次\n ")])]),e._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[e._v("查看指标说明")])])])],1),e._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入计划名称","prefix-icon":"el-icon-search",clearable:""},on:{change:e.reFetch,clear:e.clearInput},model:{value:e.pageParams.ecmPlanName,callback:function(t){e.$set(e.pageParams,"ecmPlanName",t)},expression:"pageParams.ecmPlanName"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.reFetch},model:{value:e.pageParams.date,callback:function(t){e.$set(e.pageParams,"date",t)},expression:"pageParams.date"}})],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"计划名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ecmPlanName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.cplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s((100*t.row.completionRate).toFixed(2)+"%"||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.waitFinishCount||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ovincplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.showDetail(t.row)}}},[e._v("查看详情")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.pageNum,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])])])])},staticRenderFns:[]};var d=a("VU/8")(c,p,!1,function(e){a("dvIL")},"data-v-7cde3122",null);t.default=d.exports},dvIL:function(e,t){}});
\ No newline at end of file
webpackJsonp([64],{"5iEv":function(t,e){},lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),i=s("P9l9"),r={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(i.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?n.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(i.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result?s.result.taskBelong=String(s.result.taskBelong):(s.result={},s.result.taskBelong="1",s.result.overDayJudge=""),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(r,l,!1,function(t){s("5iEv")},"data-v-6a2ebdae",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([63],{"5iEv":function(t,e){},lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),i=s("P9l9"),r={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(i.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?n.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(i.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result?s.result.taskBelong=String(s.result.taskBelong):(s.result={},s.result.taskBelong="1",s.result.overDayJudge=""),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(r,l,!1,function(t){s("5iEv")},"data-v-6a2ebdae",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([63],{"aTt+":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),l=a.n(s),n=a("3Xzz"),o=a("P9l9"),i=a("Ch4/"),r=a("PI0u"),c={name:"taskList",data:function(){return{bgHeight:window.screen.availHeight-298+"px",dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,navpath:[{name:"首页",path:"/index"},{name:"销售线索",path:""}],pageParams:{pageNum:1,pageSize:20},total:0,tableData:[{storeId:"12121",storeName:"12",taskCount:111,finishCount:34,completionRate:"12",waitFinishCount:77,overdueCount:23,totalProfit:3424123,potentialProfit:43242}],pickerOptions:{disabledDate:function(t){var e=new Date;return t.getTime()<e.getTime()-31536e6||t.getTime()>e.getTime()}}}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},reFetch:Object(r.a)(function(t,e){this.pageParams.pageNum=1,this.getTableList()},500),handleSizeChange:function(t){this.pageParams.pageNum=1,this.pageParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.pageParams.pageNum=t,this.getTableList()},getTableList:function(t){var e=this,a=l()({},e.pageParams);a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(o.a)("/haoban-manage3-web/store-full-list",a).then(function(t){var a=t.data;1==a.errorCode?(e.tableData=a.result.list||[],e.total=a.result.total):i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showDetail:function(t){this.$router.push("storeList?gicTaskId="+t.gicTaskId)}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[t._v("仅展示近一年数据,数据截取时间:"+t._s(t._f("timeStampToYmd")(t.dateStart))+" 至 "+t._s(t._f("timeStampToYmd")(t.dateEnd)))])])]),t._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[a("p",[t._v("展示所选期间内的导购线索,以线索为主体,不以时间为主体。")]),t._v(" "),a("p",{staticClass:"temp"},[t._v("如 所选时间为 20210401~20210403,则显示期间相关的导购线索数据。")]),t._v(" "),a("p",{staticClass:"m-b-14"},[t._v("导购线索:计划中触达到门店导购端的都归入导购线索,包括话务、企微任务。")]),t._v(" "),a("p",{staticClass:"m-l--6"},[t._v("【 任务完成率 】:")]),t._v(" "),a("p",{staticClass:"m-b-10"},[t._v("导购任务完成数 / 任务总数,任务完成数不含放弃数。")]),t._v(" "),a("p",{staticClass:"m-l--6"},[t._v("【 触达转化收益 】:")]),t._v(" "),a("p",[t._v("\n 通过导购线索触达,且触达的会员在触达效益计算有效期内前来消费的人数。"),a("br"),t._v("\n 多个导购线索任务触达的,转化只记在首个触达任务上;收益只计销售单,"),a("br"),t._v("\n 不看退货单和换货单;金额是应付还是实付看ERP传入的值。数据更新频率:1天1次\n ")])]),t._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[t._v("查看指标说明")])])])],1),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入计划名称","prefix-icon":"el-icon-search",clearable:""},on:{change:t.reFetch,clear:t.clearInput},model:{value:t.pageParams.cluePlanName,callback:function(e){t.$set(t.pageParams,"cluePlanName",e)},expression:"pageParams.cluePlanName"}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:t.reFetch},model:{value:t.pageParams.date,callback:function(e){t.$set(t.pageParams,"date",e)},expression:"pageParams.date"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"计划名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.cluePlanName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.finishCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completionRate+"%"||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.waitFinishCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"触达转化收益(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.totalProfit||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.showDetail(e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.pageNum,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])])},staticRenderFns:[]};var p=a("VU/8")(c,u,!1,function(t){a("yQAb")},"data-v-6ff0f9d3",null);e.default=p.exports},yQAb:function(t,e){}});
\ No newline at end of file
webpackJsonp([65],{Tvq6:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([64],{Tvq6:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([66],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
\ No newline at end of file
webpackJsonp([65],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
\ No newline at end of file
webpackJsonp([68],{FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),s=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(s.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("LFAt")},"data-v-5cd6632f",null);e.default=h.exports},LFAt:function(t,e){}});
\ No newline at end of file
webpackJsonp([67],{FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),s=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(s.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("LFAt")},"data-v-5cd6632f",null);e.default=h.exports},LFAt:function(t,e){}});
\ No newline at end of file
webpackJsonp([69],{"8dpP":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"image-com flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=a("VU/8")(i,s,!1,function(t){a("GUEL")},"data-v-5b202a63",null);e.default=n.exports},GUEL:function(t,e){}});
\ No newline at end of file
webpackJsonp([68],{"8dpP":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"image-com flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var n=a("VU/8")(i,s,!1,function(t){a("GUEL")},"data-v-5b202a63",null);e.default=n.exports},GUEL:function(t,e){}});
\ No newline at end of file
webpackJsonp([69],{"b/Dz":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),l=a("3Xzz"),r=a("P9l9"),o=a("Ch4/"),i=a("PI0u"),c={name:"storeList",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{bgHeight:window.screen.availHeight-298+"px",dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,loading:!1,navpath:[{name:"首页",path:"/index"},{name:"销售线索",path:""}],pageParams:{pageNum:1,pageSize:20},total:0,tableData:[],pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()}}}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},reFetch:Object(i.a)(function(e,t){this.pageParams.pageNum=1,this.getTableList()},500),handleSizeChange:function(e){this.pageParams.pageNum=1,this.pageParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.pageParams.pageNum=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=n()({},t.pageParams,{enterpriseId:localStorage.getItem("userInfoBrandId"),qywxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId});a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),t.$route.query.ecmPlanId&&(a.ecmPlanId=t.$route.query.ecmPlanId),Object(r.a)("/haoban-task-manage-web/market/clue/web/store-list",a).then(function(e){t.loading=!1;var a=e.data;1==a.errorCode?(t.tableData=a.result.list||[],t.total=a.result.total):o.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},showDetail:function(e){this.$route.query.ecmPlanId?this.$router.push("storeDetail/"+e.storeId+"?tab=2&ecmPlanId="+this.$route.query.ecmPlanId):this.$router.push("storeDetail/"+e.storeId)}},watch:{brandId:function(e){this.getTableList()},$route:function(e,t){this.$route.query.ecmPlanId||this.getTableList()}},mounted:function(){this.getTableList(),this.$route.query.ecmPlanId?this.$emit("showTab",2):this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:l.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[e._v("仅展示近一年数据,数据截取时间:"+e._s(e._f("timeStampToYmd")(e.dateStart))+" 至 "+e._s(e._f("timeStampToYmd")(e.dateEnd)))])])]),e._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[a("p",[e._v("展示所选期间内的导购线索,以线索为主体,不以时间为主体。")]),e._v(" "),a("p",{staticClass:"temp"},[e._v("如 所选时间为 20210401~20210403,则显示期间相关的导购线索数据。")]),e._v(" "),a("p",{staticClass:"m-b-14"},[e._v("导购线索:计划中触达到门店导购端的都归入导购线索,包括话务、企微任务。")]),e._v(" "),a("p",{staticClass:"m-l--6"},[e._v("【 任务完成率 】:")]),e._v(" "),a("p",{staticClass:"m-b-10"},[e._v("导购任务完成数 / 任务总数,任务完成数不含放弃数。")]),e._v(" "),a("p",{staticClass:"m-l--6"},[e._v("【 触达转化收益 】:")]),e._v(" "),a("p",[e._v("\n 通过导购线索触达,且触达的会员在触达效益计算有效期内前来消费的人数。"),a("br"),e._v("\n 多个导购线索任务触达的,转化只记在首个触达任务上;收益只计销售单,"),a("br"),e._v("\n 不看退货单和换货单;金额是应付还是实付看ERP传入的值。数据更新频率:1天1次\n ")])]),e._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[e._v("查看指标说明")])])])],1),e._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入门店名称","prefix-icon":"el-icon-search",clearable:""},on:{change:e.reFetch,clear:e.clearInput},model:{value:e.pageParams.storeName,callback:function(t){e.$set(e.pageParams,"storeName",t)},expression:"pageParams.storeName"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.reFetch},model:{value:e.pageParams.date,callback:function(t){e.$set(e.pageParams,"date",t)},expression:"pageParams.date"}})],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.cplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s((100*t.row.completionRate).toFixed(2)+"%"||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.waitFinishCount||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ovincplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.showDetail(t.row)}}},[e._v("查看详情")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.pageParams.pageNum,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])])])])},staticRenderFns:[]};var d=a("VU/8")(c,u,!1,function(e){a("wYQD")},"data-v-54ec1f15",null);t.default=d.exports},wYQD:function(e,t){}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(d,b,n){for(var r,t,o,i=0,u=[];i<d.length;i++)t=d[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(d,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var d={},f={101:0};function a(c){if(d[c])return d[c].exports;var f=d[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,a),f.l=!0,f.exports}a.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var d=new Promise(function(d,a){c=f[e]=[d,a]});c[2]=d;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"4672eda3b118ec2bce3b",1:"80ec7107adf684998411",2:"2a6c0b9410ad48851f04",3:"71289dfc436f4e6b0672",4:"b8702b2c9b9d57e756ab",5:"8425d3a745b41765a287",6:"649d63c7e2d6bf6e55fb",7:"6363571072274ae79c6c",8:"76de1ab02c0f60b844ca",9:"08fbefb20e8c1260a1c0",10:"9c1787439657c4317d06",11:"dee0d46f4db350ec2bb7",12:"991898aabe93f6616b69",13:"49086d57174ef20d5bfc",14:"fe6d93f877adae3d42f0",15:"f7b8b867c1ca117585af",16:"c0b43a0cd4f3c52556c1",17:"7f61032d5954d133d12b",18:"d71b848f78013e7c6635",19:"1a1791d44b00938e0f09",20:"63234464baa425bb995e",21:"d0d07b348a58560cb8e0",22:"91d57db343aeed8d02a5",23:"5bd084681d476ed3c22d",24:"3ae952368657f9e5fbbf",25:"53270642e9a6c0439812",26:"8b69decb8270d6002aa6",27:"8312a82db1df5bcef43b",28:"181d022f60aba1321085",29:"cae77e6ee839398a01ad",30:"f040b2abfc4803f10e38",31:"5b5031fb2f22a3d34e35",32:"624b265b03a402e1710f",33:"19432b5a56e1286e2918",34:"5ec202078d1a2d356535",35:"5c1b9708baa993686c46",36:"deb49e9f768aed9d6da8",37:"803f53b66c4fb091e086",38:"47244e611bf46cbde220",39:"f3ada4f4e04998fa7cea",40:"0ec21cf3859c2bc4045e",41:"d211af351f796eaf8e7f",42:"6f43ce1114e9dcaf1d46",43:"552435738ad1d5d0219e",44:"16b07684f1add87f3698",45:"c77279f14c98d0d427e5",46:"93ff08645526b09d5d02",47:"eda91e8850d204b9b13f",48:"44703ed5743889fab963",49:"dde851014494a4167c68",50:"74aa9418a48803a8d3a4",51:"0c745272006bff83cd59",52:"ad999ed77571518988a4",53:"eff2ce1f688cad774782",54:"61059b6bb683c921d9b0",55:"3128837c752b138cae6f",56:"10c6ad62678521eb1571",57:"c7522b0ece3604c4f7c3",58:"c10fca5c9f42f4351d6e",59:"c28752d0234c9c700c8e",60:"609f1f2b00eebcf6636c",61:"53f113f29db81561850e",62:"e0acd353801c964887f4",63:"901854b53a011406b346",64:"3bbe54641d557609b908",65:"d035f9b2198d937e91cd",66:"cfb69c72ee3b22747acf",67:"73fd8dddff260b575b1e",68:"a8ecabb226cd18c8e612",69:"927cc6261b733e4642b2",70:"eda7a2dffc900d51d864",71:"b9dda9056e82e4187e86",72:"6ecaafb4bcdf06ac310d",73:"995c35b64d50c823cfbb",74:"fe2e6061141a5314f0e6",75:"dc41dfc28339540f7617",76:"7542cedc5c106bd8047b",77:"632fc7ad4e783c2e830c",78:"9441f4ef8e997e867c44",79:"d3d476ebbc06278aabe6",80:"3b514341d231501adfed",81:"baead8c4685626f030bc",82:"7daf1da09932336ff51f",83:"d8d930b0866e47066d3c",84:"002db9f2cd4834518be9",85:"a4e40f0e236b61209077",86:"26924b4a675763780a27",87:"f05750f4be735d794fa5",88:"b55653625727f9fd195c",89:"191c546f3945558e3105",90:"8328de831fe7a4d46b88",91:"644a46976a99d5868e71",92:"b3f8acc4de02b5c666b9",93:"f8ccef1d640cc1bd5a75",94:"0960252e833bce31acf3",95:"574ce5a0c3dd749efa58",96:"5e7e14645d1b94ed2162",97:"ffbbda869dce44f38654",98:"8fe75f8bede44bc4968c"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),d},a.m=e,a.c=d,a.d=function(e,c,d){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:d})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var d=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(d&&d(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var f={},c={101:0};function a(d){if(f[d])return f[d].exports;var c=f[d]={i:d,l:!1,exports:{}};return e[d].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.e=function(e){var d=c[e];if(0===d)return new Promise(function(e){e()});if(d)return d[2];var f=new Promise(function(f,a){d=c[e]=[f,a]});d[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"f40d45db8c8ab90b7fc0",1:"80ec7107adf684998411",2:"bc98f7457e262624acdb",3:"71289dfc436f4e6b0672",4:"b8702b2c9b9d57e756ab",5:"5cd0261838071fa993c1",6:"649d63c7e2d6bf6e55fb",7:"6363571072274ae79c6c",8:"a505c449844206edb578",9:"091c0d9efffd20440220",10:"9c1787439657c4317d06",11:"dee0d46f4db350ec2bb7",12:"991898aabe93f6616b69",13:"49086d57174ef20d5bfc",14:"fe6d93f877adae3d42f0",15:"f7b8b867c1ca117585af",16:"c0b43a0cd4f3c52556c1",17:"d4f04c664501abf98c2e",18:"d71b848f78013e7c6635",19:"1a1791d44b00938e0f09",20:"63234464baa425bb995e",21:"d0d07b348a58560cb8e0",22:"91d57db343aeed8d02a5",23:"5bd084681d476ed3c22d",24:"3ae952368657f9e5fbbf",25:"53270642e9a6c0439812",26:"8b69decb8270d6002aa6",27:"8312a82db1df5bcef43b",28:"181d022f60aba1321085",29:"cae77e6ee839398a01ad",30:"f040b2abfc4803f10e38",31:"5b5031fb2f22a3d34e35",32:"624b265b03a402e1710f",33:"19432b5a56e1286e2918",34:"5ec202078d1a2d356535",35:"5c1b9708baa993686c46",36:"deb49e9f768aed9d6da8",37:"803f53b66c4fb091e086",38:"47244e611bf46cbde220",39:"f3ada4f4e04998fa7cea",40:"0ec21cf3859c2bc4045e",41:"d211af351f796eaf8e7f",42:"6f43ce1114e9dcaf1d46",43:"552435738ad1d5d0219e",44:"16b07684f1add87f3698",45:"c77279f14c98d0d427e5",46:"93ff08645526b09d5d02",47:"eda91e8850d204b9b13f",48:"44703ed5743889fab963",49:"dde851014494a4167c68",50:"74aa9418a48803a8d3a4",51:"0c745272006bff83cd59",52:"ad999ed77571518988a4",53:"eff2ce1f688cad774782",54:"61059b6bb683c921d9b0",55:"3128837c752b138cae6f",56:"10c6ad62678521eb1571",57:"938861a549af87250073",58:"ce6aa51963f88f5739b1",59:"c28752d0234c9c700c8e",60:"609f1f2b00eebcf6636c",61:"53f113f29db81561850e",62:"e0acd353801c964887f4",63:"5afc768d50bb8f5f4b36",64:"73a434a6c4f7ea697f1a",65:"de7844a4f4245d5de8f7",66:"964a14bbbd11979a9f10",67:"b033e6863d32e9c62e57",68:"6ad21413a503f58882dd",69:"dd7d1d3733661e0984d8",70:"eda7a2dffc900d51d864",71:"b9dda9056e82e4187e86",72:"6ecaafb4bcdf06ac310d",73:"995c35b64d50c823cfbb",74:"fe2e6061141a5314f0e6",75:"dc41dfc28339540f7617",76:"7542cedc5c106bd8047b",77:"632fc7ad4e783c2e830c",78:"9441f4ef8e997e867c44",79:"d3d476ebbc06278aabe6",80:"3b514341d231501adfed",81:"baead8c4685626f030bc",82:"7daf1da09932336ff51f",83:"d8d930b0866e47066d3c",84:"002db9f2cd4834518be9",85:"a4e40f0e236b61209077",86:"26924b4a675763780a27",87:"f05750f4be735d794fa5",88:"b55653625727f9fd195c",89:"191c546f3945558e3105",90:"8328de831fe7a4d46b88",91:"644a46976a99d5868e71",92:"b3f8acc4de02b5c666b9",93:"f8ccef1d640cc1bd5a75",94:"0960252e833bce31acf3",95:"574ce5a0c3dd749efa58",96:"5e7e14645d1b94ed2162",97:"ffbbda869dce44f38654",98:"8fe75f8bede44bc4968c"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var d=c[e];0!==d&&(d&&d[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},a.m=e,a.c=f,a.d=function(e,d,f){a.o(e,d)||Object.defineProperty(e,d,{configurable:!1,enumerable:!0,get:f})},a.n=function(e){var d=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(d,"a",d),d},a.o=function(e,d){return Object.prototype.hasOwnProperty.call(e,d)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -34,7 +34,7 @@ export default {
dateToTime(val) {
console.log(val)
// console.log(val)
// (0-9)年月数字的显示
function formatDig(num) {
return num > 9 ? '' + num : '0' + num;
......
......@@ -10,7 +10,6 @@
选择门店分组组件:
<gic-select-group
:selectData="selectData"
:checkedList="checkedList"
@checkGroupIds="checkGroupIds">
</gic-select-group>
......@@ -71,6 +70,7 @@ export default {
}
},
selectData: {
// 数据回显
type: [Object, Array],
default() {
return [];
......@@ -81,12 +81,6 @@ export default {
default() {
return '';
}
},
checkedList: {
type: [Object, Array],
default() {
return [];
}
}
},
data() {
......@@ -103,7 +97,7 @@ export default {
children: 'children',
label: 'storeGroupName'
},
checkedKeys: this.checkedList.length ? this.checkedList.map(ele => ele.relationId) : []
checkedKeys: this.selectData.length ? this.selectData.map(ele => ele.relationId) : []
};
},
......@@ -202,7 +196,6 @@ export default {
}
return father.parentRelationId == 0; //返回第一层
});
console.log(tree);
return tree;
},
......@@ -227,8 +220,8 @@ export default {
that.$nextTick(() => {
that.groupData = JSON.parse(JSON.stringify(data)) || [];
that.groupDataCopy = JSON.parse(JSON.stringify(that.groupData)) || [];
if (that.checkedList) {
that.checkedListCopy = that.checkedList;
if (that.selectData) {
that.checkedListCopy = that.selectData;
}
});
that.$forceUpdate();
......@@ -250,16 +243,11 @@ export default {
let that = this;
if (!!newData.length) {
that.groupIds = newData;
that.checkedKeys = that.newData.map(ele => ele.relationId);
} else {
that.groupIds = [];
}
},
checkedList: function(newData, oldData) {
let that = this;
if (!!newData.length) {
that.checkedKeys = that.checkedList.map(ele => ele.relationId);
}
},
searchSelect(val) {
this.$refs.groupTree.filter(val);
},
......
......@@ -218,7 +218,7 @@ export default {
}
/* eslint-disable */
that.fileDatas = fileList;
console.log('fileList:', fileList, that.fileDatas)
// console.log('fileList:', fileList, that.fileDatas)
that.$nextTick(() => {
let list = [];
if (fileList.length) {
......@@ -300,17 +300,17 @@ export default {
width: 104px;
background-color: transparent;
}
.gic-upload__img {
display: inline-block;
}
.gic-upload__img__drag {
max-width: 680px;
display: inline-block;
font-size: 0;
}
.gic-upload__img .img-content {
position: relative;
display: inline-block;
......@@ -323,11 +323,11 @@ export default {
border-radius: 4px;
cursor: pointer;
}
.img-content.m-t-8 {
margin-top: 8px;
}
.gic-upload__img .img-content .upload-icon__btn {
position: absolute;
font-size: 16px;
......@@ -336,7 +336,7 @@ export default {
left: 50%;
transform: translate(-50%, -50%);
}
.gic-upload__img .img-content .item-img {
display: flex;
align-items: center;
......@@ -350,14 +350,14 @@ export default {
/*border: 1px solid #dcdfe6;*/
border-radius: 0;
}
.gic-upload__img .img-content .item-img img {
position: static;
display: block;
max-width: 86px;
max-height: 86px;
}
.gic-upload__img .img-content::after {
position: absolute;
top: 8px;
......@@ -371,47 +371,47 @@ export default {
transition: all 0.3s;
opacity: 0;
}
.gic-upload__img .img-content:hover::after {
opacity: 1;
}
.gic-upload__img .img-content:hover .upload-icon__btn {
display: block;
z-index: 100;
color: #fff;
}
.gic-upload__img .img-upload {
display: inline-block;
vertical-align: middle;
font-size: 28px;
}
.img-upload.m-t-8 {
margin-top: 8px;
}
.el-upload-list--picture-card {
display: none;
}
.el-upload--picture-card {
width: 104px;
height: 104px;
line-height: 104px;
}
.slide-fade-enter-active {
transition: all 0.6s ease;
}
.slide-fade-leave-active {
transition: all 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}
.slide-fade-enter,
.slide-fade-leave-to {
opacity: 0;
}
</style>
\ No newline at end of file
</style>
......@@ -314,7 +314,7 @@ export function scrollTo(element, to, duration) {
const difference = to - element.scrollTop;
const perTick = (difference / duration) * 10;
setTimeout(() => {
console.log(new Date());
// console.log(new Date());
element.scrollTop = element.scrollTop + perTick;
if (element.scrollTop === to) return;
scrollTo(element, to, duration - 10);
......
......@@ -93,14 +93,14 @@ function s2ab(s) {
export function export_table_to_excel(id) {
var theTable = document.getElementById(id);
console.log('a')
// console.log('a')
var oo = generateArray(theTable);
var ranges = oo[1];
/* original data */
var data = oo[0];
var ws_name = "SheetJS";
console.log(data);
// console.log(data);
var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
......@@ -118,7 +118,7 @@ export function export_table_to_excel(id) {
}
function formatJson(jsonData) {
console.log(jsonData)
// console.log(jsonData)
}
export function export_json_to_excel(th, jsonData, defaultTitle) {
......
......@@ -58,7 +58,7 @@
<el-tooltip slot="label" class="item" effect="dark" :open-delay="200" placement="top-start" content="拥有选中的门店管理权限,以及导购账号绑定权限">
<span style="cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;" class="font-14 color-606266">门店绑定</span>
</el-tooltip>
<gic-select-group-auth :brandId="enterpriseId" width="287px" :authMerchant="true" :selectData="partForm.storeGroup" :checkedList="checkedList" @checkGroupIds="checkGroupIds"> </gic-select-group-auth>
<gic-select-group-auth :brandId="enterpriseId" width="287px" :authMerchant="true" :selectData="partForm.storeGroup" @checkGroupIds="checkGroupIds"> </gic-select-group-auth>
</el-form-item>
<el-form-item>
<el-tooltip slot="label" class="item" effect="dark" :open-delay="200" placement="top-start">
......@@ -293,7 +293,7 @@ export default {
if (resData.errorCode == 1) {
let checkedList = [];
resData.result.relations && resData.result.relations.map(item => checkedList.push({ relationId: item.relationId }));
that.checkedList = checkedList;
that.partForm.storeGroup = checkedList;
that.partForm.wxEnterpriseRelatedId = resData.result.wxEnterpriseRelatedId;
that.partForm.memberOpenCardFlag = resData.result.memberOpenCardFlag;
that.partForm.wxEnterpriseType = resData.result.wxEnterpriseType;
......
......@@ -48,10 +48,10 @@
</div>
<div class="m-t-20">
<el-table v-loading="loading" class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table-column label="任务标题" show-overflow-tooltip width="87">
<el-table-column label="任务标题" show-overflow-tooltip min-width="170">
<template slot-scope="scope">{{ scope.row.taskTitle || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="指派对象" width="176">
<el-table-column prop="" label="指派对象" min-width="200">
<template slot-scope="scope">
<div class="flex flex-align-center personal-info">
<el-image :src="scope.row.executeClerkClerkImgUrl || headDefault" fit="cover"></el-image>
......@@ -62,7 +62,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="" label="会员">
<el-table-column prop="" label="会员" min-width="200">
<template slot-scope="scope">
<div class="flex flex-align-center personal-info">
<el-image :src="scope.row.memberImgUrl || headDefault" fit="cover"></el-image>
......@@ -73,22 +73,22 @@
</div>
</template>
</el-table-column>
<el-table-column prop="" label="创建时间">
<el-table-column prop="" label="创建时间" min-width="122">
<template slot-scope="scope">
<div class="color-606266 line-20">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="color-606266 line-20">{{ scope.row.createTime | timeStampToHms }}</div>
</template>
</el-table-column>
<el-table-column prop="" label="逾期期限">
<el-table-column prop="" label="逾期期限" min-width="122">
<template slot-scope="scope">
<div class="color-606266 line-20">{{ scope.row.overdueTime | timeStampToYmd }}</div>
<div class="color-606266 line-20">{{ scope.row.overdueTime | timeStampToHms }}</div>
</template>
</el-table-column>
<el-table-column prop="" label="逾期情况">
<el-table-column prop="" label="逾期情况" min-width="122">
<template slot-scope="scope"><span class="point" :style="'background:' + overdueStyle[scope.row.overdueStatus] + ';'"></span>{{ scope.row.overdueStatus === 1 ? '未逾期' : scope.row.overdueStatus === 2 ? '已逾期' : '' }}</template>
</el-table-column>
<el-table-column prop="" label="完成状态">
<el-table-column prop="" label="完成状态" min-width="122">
<template slot-scope="scope"><span class="point" :style="'background:' + taskStyle[scope.row.taskStatus] + ';'"></span>{{ scope.row.taskStatus === 1 ? '未完成' : scope.row.taskStatus === 2 ? '已完成' : '' }}</template>
</el-table-column>
<el-table-column prop="" label="完成详情">
......@@ -125,6 +125,14 @@ import errMsg from '@/common/js/error';
import { _debounce } from '@/common/js/public';
export default {
name: 'storeDetail',
props: {
brandId: {
type: String,
default() {
return '';
}
}
},
data() {
return {
headDefault,
......@@ -223,14 +231,20 @@ export default {
*/
getTableList(val) {
const that = this;
that.loading = true;
let para = {
...that.pageParams,
enterpriseId: localStorage.getItem('userInfoBrandId'),
storeId: 'ff80808175acbdbd0175aff217960011'
// storeId: 'ff80808175acbdbd0175aff217960011'
storeId: that.$route.params.id
// (ecmPlanId )
};
if (this.$route.query.ecmPlanId) {
para.ecmPlanId = this.$route.query.ecmPlanId;
}
getRequest('/haoban-task-manage-web/market/clue/web/task-info-list', para)
.then(res => {
that.loading = false;
let resData = res.data;
if (resData.errorCode == 1) {
that.tableData = resData.result.list || [];
......@@ -240,6 +254,7 @@ export default {
}
})
.catch(function(error) {
that.loading = false;
that.$message.error({
duration: 1000,
message: error.message
......@@ -266,7 +281,6 @@ export default {
});
},
showDetail(item) {
console.log(item);
const that = this;
that.loading = true;
const para = {
......@@ -302,7 +316,11 @@ export default {
this.confirmDetail = {};
}
},
watch: {},
watch: {
brandId(newV) {
this.getTableList();
}
},
mounted() {
const that = this;
that.getFilterOpts();
......
......@@ -46,38 +46,29 @@
<el-date-picker class="m-l-10" prefix-icon="el-icon-time" :picker-options="pickerOptions" v-model="pageParams.date" @change="reFetch" :value-format="'yyyy-MM-dd'" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间"> </el-date-picker>
</div>
<div class="m-t-20">
<el-table class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table v-loading="loading" class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table-column label="门店名称" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.storeName || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="任务总数">
<template slot-scope="scope">{{ scope.row.taskCount || '--' }}</template>
<template slot-scope="scope">{{ scope.row.taskCnt || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="已完成">
<template slot-scope="scope">{{ scope.row.finishCount || '--' }}</template>
<template slot-scope="scope">{{ scope.row.cplTaskCnt || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="完成率">
<template slot-scope="scope">{{ scope.row.completionRate + '%' || '--' }}</template>
<template slot-scope="scope">{{ (scope.row.completionRate * 100).toFixed(2) + '%' || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="待完成">
<template slot-scope="scope">{{ scope.row.waitFinishCount || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="逾期中">
<template slot-scope="scope">{{ scope.row.overdueCount || '--' }}</template>
<template slot-scope="scope">{{ scope.row.ovincplTaskCnt || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="触达转化收益(元)">
<template slot-scope="scope">{{ scope.row.potentialProfit || '--' }}</template>
</el-table-column>
<!-- <el-table-column prop="" label="累计收益(元)">
<template slot-scope="scope">{{ scope.row.totalProfit || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="潜在收益(元)">
<template slot-scope="scope">{{ scope.row.potentialProfit || '--' }}</template>
</el-table-column> -->
<el-table-column prop="" label="操作" width="150">
<template slot-scope="scope">
<el-button type="text" size="small" @click="showDetail(scope.row)">查看详情</el-button>
<el-button type="text" size="small" @click="showDetail(scope.row)">删除</el-button>
<!-- <el-button type="text" size="small" @click="showDetail(scope.row)">删除</el-button> -->
</template>
</el-table-column>
</el-table>
......@@ -100,11 +91,20 @@ import errMsg from '@/common/js/error';
import { _debounce } from '@/common/js/public';
export default {
name: 'storeList',
props: {
brandId: {
type: String,
default() {
return '';
}
}
},
data() {
return {
bgHeight: window.screen.availHeight - 298 + 'px',
dateStart: new Date().getTime() - 3600 * 1000 * 24 * 365,
dateEnd: new Date(),
loading: false,
// 面包屑参数
navpath: [
{
......@@ -123,17 +123,16 @@ export default {
// 分页参数
total: 0,
tableData: [
{
storeId: '12121',
storeName: '12',
taskCount: 111,
finishCount: 34,
completionRate: '12',
waitFinishCount: 77,
overdueCount: 23,
totalProfit: 3424123,
potentialProfit: 43242
}
// {
// storeId: '', // 门店id
// storeName: '', // 门店名称
// taskCnt: '', // 任务总数
// cplTaskCnt: '', // 任务完成数
// completionRate: '', // 任务完成率
// waitFinishCount: '', // 待完成数
// itincplTaskCnt: '', // 未逾期任务未完成数
// ovincplTaskCnt: '', // 逾期任务未完成数
// }
],
pickerOptions: {
disabledDate: time => {
......@@ -184,14 +183,23 @@ export default {
*/
getTableList(val) {
const that = this;
let para = { ...that.pageParams };
that.loading = true;
let para = {
...that.pageParams,
enterpriseId: localStorage.getItem('userInfoBrandId'),
qywxEnterpriseId: JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId
};
if (para.date) {
para.startTime = para.date[0];
para.endTime = para.date[1];
delete para.date;
}
getRequest('/haoban-manage3-web/store-full-list', para)
if (that.$route.query.ecmPlanId) {
para.ecmPlanId = that.$route.query.ecmPlanId;
}
getRequest('/haoban-task-manage-web/market/clue/web/store-list', para)
.then(res => {
that.loading = false;
let resData = res.data;
if (resData.errorCode == 1) {
that.tableData = resData.result.list || [];
......@@ -201,6 +209,7 @@ export default {
}
})
.catch(function(error) {
that.loading = false;
that.$message.error({
duration: 1000,
message: error.message
......@@ -208,18 +217,27 @@ export default {
});
},
showDetail(item) {
if (this.$route.query.gicTaskId) {
this.$router.push(`storeDetail/${item.storeId}?tab=2`);
if (this.$route.query.ecmPlanId) {
this.$router.push(`storeDetail/${item.storeId}?tab=2&ecmPlanId=${this.$route.query.ecmPlanId}`);
} else {
this.$router.push(`storeDetail/${item.storeId}`);
}
}
},
watch: {},
watch: {
brandId(newV) {
this.getTableList();
},
$route(to, from) {
if (!this.$route.query.ecmPlanId) {
this.getTableList();
}
}
},
mounted() {
const that = this;
// that.getTableList();
if (this.$route.query.gicTaskId) {
that.getTableList();
if (this.$route.query.ecmPlanId) {
that.$emit('showTab', 2);
} else {
that.$emit('showTab', 1);
......
......@@ -42,31 +42,28 @@
</el-popover>
</div>
<div class="table-condition-search m-t-20">
<el-input placeholder="请输入计划名称" prefix-icon="el-icon-search" v-model="pageParams.cluePlanName" class="w-260" @change="reFetch" clearable @clear="clearInput"> </el-input>
<el-input placeholder="请输入计划名称" prefix-icon="el-icon-search" v-model="pageParams.ecmPlanName" class="w-260" @change="reFetch" clearable @clear="clearInput"> </el-input>
<el-date-picker class="m-l-10" prefix-icon="el-icon-time" :picker-options="pickerOptions" v-model="pageParams.date" @change="reFetch" :value-format="'yyyy-MM-dd'" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间"> </el-date-picker>
</div>
<div class="m-t-20">
<el-table class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table v-loading="loading" class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }">
<el-table-column label="计划名称" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.cluePlanName || '--' }}</template>
<template slot-scope="scope">{{ scope.row.ecmPlanName || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="任务总数">
<template slot-scope="scope">{{ scope.row.taskCount || '--' }}</template>
<template slot-scope="scope">{{ scope.row.taskCnt || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="已完成">
<template slot-scope="scope">{{ scope.row.finishCount || '--' }}</template>
<template slot-scope="scope">{{ scope.row.cplTaskCnt || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="完成率">
<template slot-scope="scope">{{ scope.row.completionRate + '%' || '--' }}</template>
<template slot-scope="scope">{{ (scope.row.completionRate * 100).toFixed(2) + '%' || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="待完成">
<template slot-scope="scope">{{ scope.row.waitFinishCount || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="逾期中">
<template slot-scope="scope">{{ scope.row.overdueCount || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="触达转化收益(元)">
<template slot-scope="scope">{{ scope.row.totalProfit || '--' }}</template>
<template slot-scope="scope">{{ scope.row.ovincplTaskCnt || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="操作">
<template slot-scope="scope">
......@@ -91,13 +88,23 @@ import navCrumb from '@/components/nav/nav.vue';
import { getRequest } from '@/api/api';
import errMsg from '@/common/js/error';
import { _debounce } from '@/common/js/public';
export default {
name: 'taskList',
props: {
brandId: {
type: String,
default() {
return '';
}
}
},
data() {
return {
bgHeight: window.screen.availHeight - 298 + 'px',
dateStart: new Date().getTime() - 3600 * 1000 * 24 * 365,
dateEnd: new Date(),
loading: false,
// 面包屑参数
navpath: [
{
......@@ -116,17 +123,16 @@ export default {
// 分页参数
total: 0,
tableData: [
{
storeId: '12121',
storeName: '12',
taskCount: 111,
finishCount: 34,
completionRate: '12',
waitFinishCount: 77,
overdueCount: 23,
totalProfit: 3424123,
potentialProfit: 43242
}
// {
// enterpriseId: '', // 企业id
// ecmPlanId: '', // 计划id
// ecmPlanName: '', // 计划名称
// taskCnt: '', // 任务总数
// cplTaskCnt: '', // 任务完成数
// completionRate: '', // 任务完成率
// itincplTaskCnt: '', // 未逾期任务未完成数
// ovincplTaskCnt: '', // 逾期任务未完成数
// }
],
pickerOptions: {
disabledDate: time => {
......@@ -177,23 +183,31 @@ export default {
*/
getTableList(val) {
const that = this;
let para = { ...that.pageParams };
that.loading = true;
let para = {
...that.pageParams,
enterpriseId: localStorage.getItem('userInfoBrandId'),
qywxEnterpriseId: JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId
};
if (para.date) {
para.startTime = para.date[0];
para.endTime = para.date[1];
delete para.date;
}
getRequest('/haoban-manage3-web/store-full-list', para)
getRequest('/haoban-task-manage-web/market/clue/web/plan-list', para)
.then(res => {
that.loading = false;
let resData = res.data;
if (resData.errorCode == 1) {
if (resData.errorCode == 1 && resData.result) {
that.tableData = resData.result.list || [];
that.total = resData.result.total;
} else {
that.tableData = [];
errMsg.errorMsg(resData);
}
})
.catch(function(error) {
that.loading = false;
that.$message.error({
duration: 1000,
message: error.message
......@@ -201,13 +215,17 @@ export default {
});
},
showDetail(item) {
this.$router.push(`storeList?gicTaskId=${item.gicTaskId}`);
this.$router.push(`storeList?ecmPlanId=${item.ecmPlanId}`);
}
},
watch: {
brandId(newV) {
this.getTableList();
}
},
watch: {},
mounted() {
const that = this;
// that.getTableList();
that.getTableList();
that.$emit('showTab', 2);
document.documentElement.style.backgroundColor = '#f0f2f5';
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment