Commit 9c086eba by 无尘

fix: 修改

parent ecfe63e3
<!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.28.css><link href=./static/css/app.a75029f4c21f0aaee09a9d296678362b.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.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.e2951ccd3d15c0c950e5.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html> <!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.28.css><link href=./static/css/app.a75029f4c21f0aaee09a9d296678362b.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.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.7df3a875eb4af9d65bd7.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([15],{"2wsI":function(t,e){},PL8n:function(t,e){},fWmz:function(t,e){},feRM:function(t,e,a){"use strict";var s=a("//Fk"),r=a.n(s),o=a("Ch4/"),n={name:"single-upload",props:{videoSrc:{type:String,default:""},imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:[Number,String],default:2},uploadType:{type:[Number,String],default:1}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",videoFlag:!1,fileType:1==this.uploadType||2==this.uploadType?"jpg":"mp4"}},beforeMount:function(){var t=window.location.origin;-1!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{uploadUrl:function(){var t=window.location.origin,e=void 0;return e="-1"!=t.indexOf("localhost")?"http://www.gicdev.com":t,this.upUrl=e+"/haoban-manage3-web/upload-file?fileType="+this.fileType,this.upUrl},handleAvatarSuccess:function(t,e,a){1==t.errorCode?(this.videoFlag=!1,3==this.uploadType?this.$emit("update:videoSrc",t.result.url):this.$emit("update:imgSrc",t.result.url)):o.a.errorMsg(t)},beforeAvatarUpload:function(t){console.log(t),this.fileType="image/jpeg"===t.type?"jpeg":"image/jpg"===t.type?"jpg":"image/png"===t.type?"png":"video/mp4"==t.type?"mp4":"";var e="image/jpeg"===t.type||"image/jpg"===t.type||"image/png"===t.type,a="video/mp4"==t.type,s=t.size/1024/1024<this.uploadLimit;return 1!=this.uploadType&&2!=this.uploadType||e||this.$message.error("上传图片支持png、jpg、jpeg格式!"),1!=this.uploadType&&2!=this.uploadType||s||this.$message.error("上传图片大小不能超过 "+this.uploadLimit+"MB!"),3!=this.uploadType||a||this.$message.error("上传视频支持MP4格式!"),3!=this.uploadType||s||this.$message.error("上传视频大小不能超过 "+this.uploadLimit+"MB!"),3==this.uploadType?a&&s:e&&s&&new r.a(function(e,a){var s=new FileReader;s.onload=function(t){var a=new Image;a.onload=function(){this.width,this.height;e()},a.src=t.target.result},s.readAsDataURL(t)})},showImage:function(t){if(!t||""==t)return!1;this.imgShowFlag=!0,this.imgUrl=t},hideImage:function(t){this.imgShowFlag=t}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"single-upload-wrap"},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.uploadUrl(),"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload}},[t.imgSrc?a("img",{staticClass:"avatar",attrs:{src:t.imgSrc},on:{mouseover:function(e){t.showImage(t.imgSrc)}}}):t._e(),t._v(" "),""!=t.videoSrc&&0==t.videoFlag?a("video",{staticClass:"avatar",attrs:{src:t.videoSrc}},[t._v("您的浏览器不支持视频播放")]):t._e(),t._v(" "),t.imgSrc||t.videoSrc?t._e():a("div",[a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),t._v(" "),a("p",{staticClass:"font-12 color-606266"},[t._v(t._s(1==t.uploadType||2==t.uploadType?"上传图片":"上传视频"))])])]),t._v(" "),1==t.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[t._v("\n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张\n ")]):t._e(),t._v(" "),2==t.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[t._v("\n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB\n ")]):t._e(),t._v(" "),3==t.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[t._v("\n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效\n ")]):t._e()],1)},staticRenderFns:[]};var c=a("VU/8")(n,i,!1,function(t){a("fWmz")},"data-v-79a9100a",null);e.a=c.exports},x5Fx:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("c9no"),r=a("mvHQ"),o=a.n(r),n=a("fZjL"),i=a.n(n),c=a("feRM"),l=a("l46T"),p=a("Kkt8"),d=a("PI0u"),u=a("P9l9"),m=a("3E4D"),f=a("Ch4/"),h={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:l.a,limitTextarea:p.a,singleUpload:c.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{secretName:"",secretVal:"",enterpriseId:"",secretId:"",enterpriseName:""},rules:{secretName:[{required:!0,message:"请输入小程序名称",trigger:"blur"}],secretVal:[{required:!0,message:"请输入secret",trigger:"blur"}],enterpriseId:[{required:!0,message:"请选择关联商户",trigger:"change"}]},brandOptions:[]}},methods:{getBrandData:function(){var t=this;Object(u.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(t){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(d.a)(function(t){var e=this;e.$refs[t].validate(function(t){t&&e.postSave()})},300),postSave:function(){var t=this,e={secretId:t.ruleForm.secretId,secretName:t.ruleForm.secretName,enterpriseId:t.ruleForm.enterpriseId,memberSecret:t.ruleForm.secretVal};Object(u.d)("/haoban-manage3-web/wx-enterprise-member-secret-set",e).then(function(e){var a=e.data;1==a.errorCode?(m.a.showmsg("操作成功","success"),t.$refs.ruleForm.resetFields(),t.$emit("submitText")):(t.$refs.ruleForm.resetFields(),t.$emit("submitText"),f.a.errorMsg(a))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{editRow:function(t){var e=this;i()(t).length&&e.$nextTick(function(){e.ruleForm=JSON.parse(o()(t))})}},mounted:function(){var t=this;t.getBrandData(),i()(t.editRow).length&&t.$nextTick(function(){t.ruleForm=JSON.parse(o()(t.editRow))})}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.editRow.materialId?"编辑":"新建",visible:t.dialogVisible,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"小程序名称",prop:"secretName"}},[a("limitInput",{attrs:{inputWidth:402,inputValue:t.ruleForm.secretName,holder:"请输入小程序名称",getByType:"word",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.ruleForm,"secretName",e)}}})],1),t._v(" "),a("el-form-item",{attrs:{label:"secret",prop:"secretVal"}},[a("limitInput",{attrs:{inputWidth:402,inputValue:t.ruleForm.secretVal,holder:"请输入secret",getByType:"word",maxLength:80},on:{"update:inputValue":function(e){t.$set(t.ruleForm,"secretVal",e)}}})],1),t._v(" "),a("el-form-item",{attrs:{label:"关联商户",prop:"enterpriseId"}},[a("el-select",{staticClass:"w-402",attrs:{placeholder:"全部品牌"},model:{value:t.ruleForm.enterpriseId,callback:function(e){t.$set(t.ruleForm,"enterpriseId",e)},expression:"ruleForm.enterpriseId"}},t._l(t.brandOptions,function(e){return a("el-option",{key:e.enterpriseId,staticClass:"mult-line-select",attrs:{label:e.enterpriseName,value:e.enterpriseId}},[a("p",{staticClass:"line-20"},[t._v(t._s(e.enterpriseName))]),t._v(" "),a("div",{staticClass:"line-20 font-12 color-909399"},[t._v(t._s(e.brandName||"--"))])])}))],1)],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.toCancel}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("确定")])],1)])},staticRenderFns:[]};var v=a("VU/8")(h,b,!1,function(t){a("PL8n")},"data-v-40a5815e",null).exports,g={props:{},data:function(){return{checkShow:!0,tipText:"请在企业密钥维护中输入对应的secret",tableH:window.screen.availHeight-464-126,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",companyObj:{smallVersion:"",corpName:"",corpid:"",contactFlag:!1,verifiedEndTime:"",corpIndustry:"",corpSubIndustry:"",corpUserMax:"",location:""},wxObj:{secretType:1,secretVal:"",checkFlag:0,updateTime:null},contactObj:{secretType:2,secretVal:"",checkFlag:0,updateTime:null},haobanObj:{secretType:3,secretVal:"",checkFlag:0,updateTime:null},showWxError:!1,showContactError:!1,showHaobanError:!1,tableData:[],addShow:!1,editRow:{}}},computed:{},methods:{refeshDataWx:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-refresh",e).then(function(t){var e=t.data;if(1==e.errorCode)return m.a.showmsg("刷新成功","success"),!1;f.a.errorMsg(e)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},addSecret:function(){this.addShow=!0,this.editRow={}},toEdit:function(t,e){this.addShow=!0,this.editRow=e},closeText:function(){this.addShow=!1,this.editRow={}},submitText:function(){this.addShow=!1,this.editRow={},this.getSecretData()},toDel:function(t,e){var a=this;a.$confirm("确定删除当前小程序信息?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(t,e)}).catch(function(){})},postDel:function(t,e){var a=this,s={secretId:e.secretId};Object(u.d)("/haoban-manage3-web/member-secret-del",s).then(function(t){var e=t.data;if(1==e.errorCode)return m.a.showmsg("删除成功","success"),void a.getSecretData();a.getSecretData(),f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},saveSecret:Object(d.a)(function(t){var e={};return 1==t&&(e.wxSecretKey=String(this.wxObj.secretVal).trim(),this.showWxError=!this.wxObj.secretVal),2==t&&(e.contactSecret=String(this.contactObj.secretVal).trim()),(2!=t||""!=e.contactSecret)&&(3==t&&(e.contactSecret=String(this.haobanObj.secretVal).trim(),this.showHaobanError=!this.haobanObj.secretVal),(1!=t||!this.showWxError)&&((3!=t||!this.showHaobanError)&&void this.postSaveSecret(t,e)))},300),postSaveSecret:function(t,e){var a=this,s=1==t?"/wx-enterprise-wx-secret-set":2==t?"wx-enterprise-contact-secret-set":"wx-enterprise-haoban-secret-set";Object(u.d)("/haoban-manage3-web/"+s,e).then(function(t){var e=t.data;if(1==e.errorCode)return m.a.showmsg("操作成功","success"),a.getSecretData(),!1;a.getSecretData(),f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},refeshData:function(){this.refreshData()},refreshData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-refresh",a).then(function(t){var a=t.data;if(1==a.errorCode)return m.a.showmsg("刷新成功","success"),e.companyObj=a.result,!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getSecretData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/secret-list",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=[],a.result&&a.result.length&&a.result.forEach(function(e){1==e.secretType&&(t.wxObj=e),2==e.secretType&&(t.contactObj=e),3==e.secretType&&(t.haobanObj=e),4==e.secretType&&t.tableData.push(e)}),!1;f.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-detail",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.companyObj=a.result,!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTipData:function(){var t=this;Object(u.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):t.checkShow=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5",this.getData(),this.getSecretData(),this.getTipData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{setTip:s.a,secretSet:v}},_={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"company-set-content border-box"},[a("div",{staticClass:"company-title m-b-20 flex flex-space-between"},[a("div",{staticClass:"line-h-32"},[a("span",{staticClass:"color-303133 font-14 font-w-600"},[t._v("企业微信基本信息")]),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:t.refeshData}},[t._v("同步刷新 ")])],1),t._v(" "),a("div",[t.checkShow?t._e():a("set-tip",{attrs:{tipText:t.tipText}})],1)]),t._v(" "),a("div",{staticClass:"company-info-body"},[a("el-form",{ref:"form",attrs:{model:t.form,"label-width":"105px"}},[a("el-form-item",{attrs:{label:"企业名称"}},[a("span",{staticClass:"font-14 color-303133 p-r-10"},[t._v(t._s(t.companyObj.corpName))]),t._v(" "),a("el-tag",[t._v(" "+t._s(1==t.companyObj.contactFlag?"已认证":"未认证"))]),1==t.companyObj.contactFlag?a("span",{staticClass:"p-l-10 font-12 color-909399"},[t._v("认证到期 "+t._s(t._f("timeStampToYmd")(t.companyObj.verifiedEndTime)))]):t._e()],1),t._v(" "),a("el-form-item",{attrs:{label:"企业ID"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpid))])]),t._v(" "),a("el-form-item",{attrs:{label:"行业类型"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpIndustry)+" / "+t._s(t.companyObj.corpSubIndustry))])]),t._v(" "),a("el-form-item",{attrs:{label:"人员规模"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpScale))])]),t._v(" "),a("el-form-item",{attrs:{label:"地址"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.location))])])],1)],1),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"company-info-body secret-body"},[a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("客户联系secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"必填"},model:{value:t.wxObj.secretVal,callback:function(e){t.$set(t.wxObj,"secretVal",e)},expression:"wxObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("1")}}},[t._v("保存")]),t.wxObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t._f("formatTimeStamp")(t.wxObj.updateTime)))]):t._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",t.wxObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(t.wxObj.checkFlag?"校验成功":"校验失败"))])]),t._v(" "),t.showWxError?a("div",{staticClass:"el-form-item__error m-l-137"},[t._v("请填写客户联系 secret")]):t._e()],1),t._v(" "),a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("企业微信中通讯录同步若更新secret,请复制后更新至此处。"),a("br"),t._v("因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"),a("br"),t._v("若发生相关变更,与企业微信无关,特此告知!")]),t._v(" "),a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("通讯录secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"非必填"},model:{value:t.contactObj.secretVal,callback:function(e){t.$set(t.contactObj,"secretVal",e)},expression:"contactObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("2")}}},[t._v("保存")]),t.contactObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t._f("formatTimeStamp")(t.contactObj.updateTime)))]):t._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",t.contactObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(t.contactObj.checkFlag?"校验成功":"校验失败"))])])],1),t._v(" "),a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"用于获取登录小程序用户的手机号/姓名/部门信息",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("好办助手secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"必填"},model:{value:t.haobanObj.secretVal,callback:function(e){t.$set(t.haobanObj,"secretVal",e)},expression:"haobanObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("3")}}},[t._v("保存")]),t.haobanObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t._f("formatTimeStamp")(t.haobanObj.updateTime)))]):t._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",t.haobanObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(t.haobanObj.checkFlag?"校验成功":"校验失败"))])]),t._v(" "),t.showHaobanError?a("div",{staticClass:"el-form-item__error m-l-137"},[t._v("请填写好办助手 secret")]):t._e()],1),t._v(" "),a("div",{staticClass:"secret-cell m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("会员小程序secret:")])]),t._v(" "),a("span",{staticClass:"p-l-5 font-14 color-303133 font-w-500"},[t._v("会员小程序信息")]),t._v(" "),a("div",{staticClass:"table-cell m-t-10 p-l-137"},[a("el-table",{ref:"multipleTable",staticClass:"no-empty-icon-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.secretName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"secret",width:"506"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.secretVal||"-- ")+" ")]),a("span",{class:["iconfont",e.row.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.checkFlag?"校验成功":"校验失败"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"关联商户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.enterpriseName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),t.tableData.length<10?a("div",{staticClass:"text-center add-cell cursor-pointer",on:{click:t.addSecret}},[a("span",{staticClass:"el-icon-plus font-14 color-2f54eb add-cell-txt"}),a("span",{staticClass:"font-14 color-2f54eb p-l-5 add-cell-txt"},[t._v("新建")]),a("span",{staticClass:"font-12 color-c0c4cc p-l-20"},[t._v("最多添加10个")])]):t._e()],1)],1)]),t._v(" "),a("div",{staticClass:"line-h-32 m-b-20"},[a("span",{staticClass:"color-303133 font-14 font-w-600"},[t._v("企微好友")]),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:t.refeshDataWx}},[t._v("同步刷新 ")])],1),t._v(" "),a("div",[a("el-form",{ref:"wxForm",attrs:{"label-width":"105px"}},[a("el-form-item",[a("el-tooltip",{staticClass:"item",attrs:{slot:"label",effect:"dark",placement:"top-start"},slot:"label"},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("刷新企业里关联导购账号的导购添加的客户。每天最多1次,每月最多3次。"),a("br"),t._v("仅刷新好办关联导购的企业好友数据,所以会小于等于企业微信看到的客户总数。")]),t._v(" "),a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("企微好友更新")])]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v("更新时间:"+t._s(t.companyObj.smallVersion?"":"--"))])],1)],1)],1)]),t._v(" "),t.addShow?a("secret-set",{attrs:{editRow:t.editRow},on:{closeText:t.closeText,submitText:t.submitText}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"company-title m-b-20 m-t-30"},[e("span",{staticClass:"color-303133 font-14 font-w-600"},[this._v("客户密钥维护")])])}]};var w=a("VU/8")(g,_,!1,function(t){a("2wsI")},"data-v-4b871471",null);e.default=w.exports}}); webpackJsonp([15],{"2wsI":function(t,e){},PL8n:function(t,e){},fWmz:function(t,e){},feRM:function(t,e,a){"use strict";var s=a("//Fk"),r=a.n(s),o=a("Ch4/"),n={name:"single-upload",props:{videoSrc:{type:String,default:""},imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:[Number,String],default:2},uploadType:{type:[Number,String],default:1}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",videoFlag:!1,fileType:1==this.uploadType||2==this.uploadType?"jpg":"mp4"}},beforeMount:function(){var t=window.location.origin;-1!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{uploadUrl:function(){var t=window.location.origin,e=void 0;return e="-1"!=t.indexOf("localhost")?"http://www.gicdev.com":t,this.upUrl=e+"/haoban-manage3-web/upload-file?fileType="+this.fileType,this.upUrl},handleAvatarSuccess:function(t,e,a){1==t.errorCode?(this.videoFlag=!1,3==this.uploadType?this.$emit("update:videoSrc",t.result.url):this.$emit("update:imgSrc",t.result.url)):o.a.errorMsg(t)},beforeAvatarUpload:function(t){console.log(t),this.fileType="image/jpeg"===t.type?"jpeg":"image/jpg"===t.type?"jpg":"image/png"===t.type?"png":"video/mp4"==t.type?"mp4":"";var e="image/jpeg"===t.type||"image/jpg"===t.type||"image/png"===t.type,a="video/mp4"==t.type,s=t.size/1024/1024<this.uploadLimit;return 1!=this.uploadType&&2!=this.uploadType||e||this.$message.error("上传图片支持png、jpg、jpeg格式!"),1!=this.uploadType&&2!=this.uploadType||s||this.$message.error("上传图片大小不能超过 "+this.uploadLimit+"MB!"),3!=this.uploadType||a||this.$message.error("上传视频支持MP4格式!"),3!=this.uploadType||s||this.$message.error("上传视频大小不能超过 "+this.uploadLimit+"MB!"),3==this.uploadType?a&&s:e&&s&&new r.a(function(e,a){var s=new FileReader;s.onload=function(t){var a=new Image;a.onload=function(){this.width,this.height;e()},a.src=t.target.result},s.readAsDataURL(t)})},showImage:function(t){if(!t||""==t)return!1;this.imgShowFlag=!0,this.imgUrl=t},hideImage:function(t){this.imgShowFlag=t}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"single-upload-wrap"},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.uploadUrl(),"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload}},[t.imgSrc?a("img",{staticClass:"avatar",attrs:{src:t.imgSrc},on:{mouseover:function(e){t.showImage(t.imgSrc)}}}):t._e(),t._v(" "),""!=t.videoSrc&&0==t.videoFlag?a("video",{staticClass:"avatar",attrs:{src:t.videoSrc}},[t._v("您的浏览器不支持视频播放")]):t._e(),t._v(" "),t.imgSrc||t.videoSrc?t._e():a("div",[a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),t._v(" "),a("p",{staticClass:"font-12 color-606266"},[t._v(t._s(1==t.uploadType||2==t.uploadType?"上传图片":"上传视频"))])])]),t._v(" "),1==t.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[t._v("\n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张\n ")]):t._e(),t._v(" "),2==t.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[t._v("\n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB\n ")]):t._e(),t._v(" "),3==t.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[t._v("\n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效\n ")]):t._e()],1)},staticRenderFns:[]};var c=a("VU/8")(n,i,!1,function(t){a("fWmz")},"data-v-79a9100a",null);e.a=c.exports},x5Fx:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("c9no"),r=a("mvHQ"),o=a.n(r),n=a("fZjL"),i=a.n(n),c=a("feRM"),l=a("l46T"),p=a("Kkt8"),d=a("PI0u"),u=a("P9l9"),m=a("3E4D"),f=a("Ch4/"),h={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:l.a,limitTextarea:p.a,singleUpload:c.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{secretName:"",secretVal:"",enterpriseId:"",secretId:"",enterpriseName:""},rules:{secretName:[{required:!0,message:"请输入小程序名称",trigger:"blur"}],secretVal:[{required:!0,message:"请输入secret",trigger:"blur"}],enterpriseId:[{required:!0,message:"请选择关联商户",trigger:"change"}]},brandOptions:[]}},methods:{getBrandData:function(){var t=this;Object(u.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(t){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(d.a)(function(t){var e=this;e.$refs[t].validate(function(t){t&&e.postSave()})},300),postSave:function(){var t=this,e={secretId:t.ruleForm.secretId,secretName:t.ruleForm.secretName,enterpriseId:t.ruleForm.enterpriseId,memberSecret:t.ruleForm.secretVal};Object(u.d)("/haoban-manage3-web/wx-enterprise-member-secret-set",e).then(function(e){var a=e.data;1==a.errorCode?(m.a.showmsg("操作成功","success"),t.$refs.ruleForm.resetFields(),t.$emit("submitText")):(t.$refs.ruleForm.resetFields(),t.$emit("submitText"),f.a.errorMsg(a))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{editRow:function(t){var e=this;i()(t).length&&e.$nextTick(function(){e.ruleForm=JSON.parse(o()(t))})}},mounted:function(){var t=this;t.getBrandData(),i()(t.editRow).length&&t.$nextTick(function(){t.ruleForm=JSON.parse(o()(t.editRow))})}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.editRow.materialId?"编辑":"新建",visible:t.dialogVisible,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"小程序名称",prop:"secretName"}},[a("limitInput",{attrs:{inputWidth:402,inputValue:t.ruleForm.secretName,holder:"请输入小程序名称",getByType:"word",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.ruleForm,"secretName",e)}}})],1),t._v(" "),a("el-form-item",{attrs:{label:"secret",prop:"secretVal"}},[a("limitInput",{attrs:{inputWidth:402,inputValue:t.ruleForm.secretVal,holder:"请输入secret",getByType:"word",maxLength:80},on:{"update:inputValue":function(e){t.$set(t.ruleForm,"secretVal",e)}}})],1),t._v(" "),a("el-form-item",{attrs:{label:"关联商户",prop:"enterpriseId"}},[a("el-select",{staticClass:"w-402",attrs:{placeholder:"全部品牌"},model:{value:t.ruleForm.enterpriseId,callback:function(e){t.$set(t.ruleForm,"enterpriseId",e)},expression:"ruleForm.enterpriseId"}},t._l(t.brandOptions,function(e){return a("el-option",{key:e.enterpriseId,staticClass:"mult-line-select",attrs:{label:e.enterpriseName,value:e.enterpriseId}},[a("p",{staticClass:"line-20"},[t._v(t._s(e.enterpriseName))]),t._v(" "),a("div",{staticClass:"line-20 font-12 color-909399"},[t._v(t._s(e.brandName||"--"))])])}))],1)],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.toCancel}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("确定")])],1)])},staticRenderFns:[]};var v=a("VU/8")(h,b,!1,function(t){a("PL8n")},"data-v-40a5815e",null).exports,g={props:{},data:function(){return{checkShow:!0,tipText:"请在企业密钥维护中输入对应的secret",tableH:window.screen.availHeight-464-126,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",companyObj:{smallVersion:"",corpName:"",corpid:"",contactFlag:!1,verifiedEndTime:"",corpIndustry:"",corpSubIndustry:"",corpUserMax:"",location:""},wxObj:{secretType:1,secretVal:"",checkFlag:0,updateTime:null},contactObj:{secretType:2,secretVal:"",checkFlag:0,updateTime:null},haobanObj:{secretType:3,secretVal:"",checkFlag:0,updateTime:null},showWxError:!1,showContactError:!1,showHaobanError:!1,tableData:[],addShow:!1,editRow:{}}},computed:{},methods:{refeshDataWx:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-refresh",e).then(function(t){var e=t.data;if(1==e.errorCode)return m.a.showmsg("刷新成功","success"),!1;f.a.errorMsg(e)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},addSecret:function(){this.addShow=!0,this.editRow={}},toEdit:function(t,e){this.addShow=!0,this.editRow=e},closeText:function(){this.addShow=!1,this.editRow={}},submitText:function(){this.addShow=!1,this.editRow={},this.getSecretData()},toDel:function(t,e){var a=this;a.$confirm("确定删除当前小程序信息?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(t,e)}).catch(function(){})},postDel:function(t,e){var a=this,s={secretId:e.secretId};Object(u.d)("/haoban-manage3-web/member-secret-del",s).then(function(t){var e=t.data;if(1==e.errorCode)return m.a.showmsg("删除成功","success"),void a.getSecretData();a.getSecretData(),f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},saveSecret:Object(d.a)(function(t){var e={};return 1==t&&(e.wxSecretKey=String(this.wxObj.secretVal).trim(),this.showWxError=!this.wxObj.secretVal),2==t&&(e.contactSecret=String(this.contactObj.secretVal).trim()),(2!=t||""!=e.contactSecret)&&(3==t&&(e.contactSecret=String(this.haobanObj.secretVal).trim(),this.showHaobanError=!this.haobanObj.secretVal),(1!=t||!this.showWxError)&&((3!=t||!this.showHaobanError)&&void this.postSaveSecret(t,e)))},300),postSaveSecret:function(t,e){var a=this,s=1==t?"/wx-enterprise-wx-secret-set":2==t?"wx-enterprise-contact-secret-set":"wx-enterprise-haoban-secret-set";Object(u.d)("/haoban-manage3-web/"+s,e).then(function(t){var e=t.data;if(1==e.errorCode)return m.a.showmsg("操作成功","success"),a.getSecretData(),!1;a.getSecretData(),f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},refeshData:function(){this.refreshData()},refreshData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-refresh",a).then(function(t){var a=t.data;if(1==a.errorCode)return m.a.showmsg("刷新成功","success"),e.companyObj=a.result,!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getSecretData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/secret-list",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=[],a.result&&a.result.length&&a.result.forEach(function(e){1==e.secretType&&(t.wxObj=e),2==e.secretType&&(t.contactObj=e),3==e.secretType&&(t.haobanObj=e),4==e.secretType&&t.tableData.push(e)}),!1;f.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-detail",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.companyObj=a.result,!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTipData:function(){var t=this;Object(u.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):t.checkShow=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5",this.getData(),this.getSecretData(),this.getTipData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{setTip:s.a,secretSet:v}},_={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"company-set-content border-box"},[a("div",{staticClass:"company-title m-b-20 flex flex-space-between"},[a("div",{staticClass:"line-h-32"},[a("span",{staticClass:"color-303133 font-14 font-w-600"},[t._v("企业微信基本信息")]),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:t.refeshData}},[t._v("同步刷新 ")])],1),t._v(" "),a("div",[t.checkShow?t._e():a("set-tip",{attrs:{tipText:t.tipText}})],1)]),t._v(" "),a("div",{staticClass:"company-info-body"},[a("el-form",{ref:"form",attrs:{model:t.form,"label-width":"105px"}},[a("el-form-item",{attrs:{label:"企业名称"}},[a("span",{staticClass:"font-14 color-303133 p-r-10"},[t._v(t._s(t.companyObj.corpName))]),t._v(" "),a("el-tag",[t._v(" "+t._s(1==t.companyObj.contactFlag?"已认证":"未认证"))]),1==t.companyObj.contactFlag?a("span",{staticClass:"p-l-10 font-12 color-909399"},[t._v("认证到期 "+t._s(t._f("timeStampToYmd")(t.companyObj.verifiedEndTime)))]):t._e()],1),t._v(" "),a("el-form-item",{attrs:{label:"企业ID"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpid))])]),t._v(" "),a("el-form-item",{attrs:{label:"行业类型"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpIndustry)+" / "+t._s(t.companyObj.corpSubIndustry))])]),t._v(" "),a("el-form-item",{attrs:{label:"人员规模"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpScale))])]),t._v(" "),a("el-form-item",{attrs:{label:"地址"}},[a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.location))])])],1)],1),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"company-info-body secret-body"},[a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("客户联系secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"必填"},model:{value:t.wxObj.secretVal,callback:function(e){t.$set(t.wxObj,"secretVal",e)},expression:"wxObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("1")}}},[t._v("保存")]),t.wxObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t._f("formatTimeStamp")(t.wxObj.updateTime)))]):t._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",t.wxObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(t.wxObj.checkFlag?"校验成功":"校验失败"))])]),t._v(" "),t.showWxError?a("div",{staticClass:"el-form-item__error m-l-137"},[t._v("请填写客户联系 secret")]):t._e()],1),t._v(" "),a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("企业微信中通讯录同步若更新secret,请复制后更新至此处。"),a("br"),t._v("因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"),a("br"),t._v("若发生相关变更,与企业微信无关,特此告知!")]),t._v(" "),a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("通讯录secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"非必填"},model:{value:t.contactObj.secretVal,callback:function(e){t.$set(t.contactObj,"secretVal",e)},expression:"contactObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("2")}}},[t._v("保存")]),t.contactObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t._f("formatTimeStamp")(t.contactObj.updateTime)))]):t._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",t.contactObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(t.contactObj.checkFlag?"校验成功":"校验失败"))])])],1),t._v(" "),a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"用于获取登录小程序用户的手机号/姓名/部门信息",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("好办助手secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"必填"},model:{value:t.haobanObj.secretVal,callback:function(e){t.$set(t.haobanObj,"secretVal",e)},expression:"haobanObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("3")}}},[t._v("保存")]),t.haobanObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t._f("formatTimeStamp")(t.haobanObj.updateTime)))]):t._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",t.haobanObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(t.haobanObj.checkFlag?"校验成功":"校验失败"))])]),t._v(" "),t.showHaobanError?a("div",{staticClass:"el-form-item__error m-l-137"},[t._v("请填写好办助手 secret")]):t._e()],1),t._v(" "),a("div",{staticClass:"secret-cell m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("会员小程序secret:")])]),t._v(" "),a("span",{staticClass:"p-l-5 font-14 color-303133 font-w-500"},[t._v("会员小程序信息")]),t._v(" "),a("div",{staticClass:"table-cell m-t-10 p-l-137"},[a("el-table",{ref:"multipleTable",staticClass:"no-empty-icon-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.secretName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"secret",width:"506"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.secretVal||"-- ")+" ")]),a("span",{class:["iconfont",e.row.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.checkFlag?"校验成功":"校验失败"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"关联商户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.enterpriseName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),t.tableData.length<10?a("div",{staticClass:"text-center add-cell cursor-pointer",on:{click:t.addSecret}},[a("span",{staticClass:"el-icon-plus font-14 color-2f54eb add-cell-txt"}),a("span",{staticClass:"font-14 color-2f54eb p-l-5 add-cell-txt"},[t._v("新建")]),a("span",{staticClass:"font-12 color-c0c4cc p-l-20"},[t._v("最多添加10个")])]):t._e()],1)],1)]),t._v(" "),a("div",{staticClass:"line-h-32 m-b-20"},[a("span",{staticClass:"color-303133 font-14 font-w-600"},[t._v("企微好友")]),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:t.refeshDataWx}},[t._v("同步刷新 ")])],1),t._v(" "),a("div",[a("el-form",{ref:"wxForm",attrs:{"label-width":"115px"}},[a("el-form-item",[a("el-tooltip",{staticClass:"item",attrs:{slot:"label",effect:"dark",placement:"top-start"},slot:"label"},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("刷新企业里关联导购账号的导购添加的客户。每天最多1次,每月最多3次。"),a("br"),t._v("仅刷新好办关联导购的企业好友数据,所以会小于等于企业微信看到的客户总数。")]),t._v(" "),a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("企微好友更新")])]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v("更新时间:"+t._s(t.companyObj.smallVersion?"":"--"))])],1)],1)],1)]),t._v(" "),t.addShow?a("secret-set",{attrs:{editRow:t.editRow},on:{closeText:t.closeText,submitText:t.submitText}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"company-title m-b-20 m-t-30"},[e("span",{staticClass:"color-303133 font-14 font-w-600"},[this._v("客户密钥维护")])])}]};var w=a("VU/8")(g,_,!1,function(t){a("2wsI")},"data-v-4b871471",null);e.default=w.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([28],{"16lw":function(t,e){},"3E1Z":function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("PI0u"),r=a("3E4D"),c=a("Ch4/"),d={name:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!i()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.ecmId}).join(","),enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return r.a.showmsg("请选择任务","warning"),!1;t.loadingBtn=!0;var e={search:t.conditionObj.searchInput||"",gicEnterpriseId:t.activeBrand,selectType:t.selectRadio,ecmIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.ecmId}).join(",")};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-task-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="话务任务门店任务报表.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,s=new Date(e),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+o+"-"+i]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),a("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.toComplete))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,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.currentPage,"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),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.话务任务仅统计近一年数据;"),e("br"),this._v("\n 2.话务任务统计数据每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况\n ")])])])])}]};var p=a("VU/8")(d,u,!1,function(t){a("16lw")},"data-v-fef7b478",null).exports,h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("3E1Z")},"data-v-22daf0a6",null);e.default=f.exports}}); webpackJsonp([28],{"16lw":function(t,e){},"3E1Z":function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("PI0u"),r=a("3E4D"),c=a("Ch4/"),d={name:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!i()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.ecmId}).join(","),enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return r.a.showmsg("请选择任务","warning"),!1;t.loadingBtn=!0;var e={search:t.conditionObj.searchInput||"",gicEnterpriseId:t.activeBrand,selectType:t.selectRadio,ecmIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.ecmId}).join(",")};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-task-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="话务任务门店任务报表.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,s=new Date(e),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+o+"-"+i]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),a("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.toComplete))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,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.currentPage,"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),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.话务任务仅统计近一年数据;"),e("br"),this._v("\n 2.话务任务统计数据每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况。\n ")])])])])}]};var p=a("VU/8")(d,u,!1,function(t){a("16lw")},"data-v-fef7b478",null).exports,h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("3E1Z")},"data-v-22daf0a6",null);e.default=f.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([41],{lo6H:function(t,e){},"m+x7":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,actictiveGroup:this.activeGroupId,showDialog:!1,activeId:"1",conditionObj:{tableType:"1",storeGroup:[],storeType:"",dateRange:[]},selectRadio:0,loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return c.a.showmsg("请选择门店","warning"),!1;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand,selectType:t.selectRadio};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:s.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[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:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,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.currentPage,"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),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.话务任务仅统计近一年数据;"),e("br"),this._v("\n 2.因任务数据量过大,门店视图统计数据改为每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况\n ")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("lo6H")},"data-v-9cbcd3dc",null);e.default=h.exports}}); webpackJsonp([41],{lo6H:function(t,e){},"m+x7":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,actictiveGroup:this.activeGroupId,showDialog:!1,activeId:"1",conditionObj:{tableType:"1",storeGroup:[],storeType:"",dateRange:[]},selectRadio:0,loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return c.a.showmsg("请选择门店","warning"),!1;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand,selectType:t.selectRadio};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:s.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[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:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,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.currentPage,"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),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.话务任务仅统计近一年数据;"),e("br"),this._v("\n 2.因任务数据量过大,门店视图统计数据改为每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况。\n ")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("lo6H")},"data-v-9cbcd3dc",null);e.default=h.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([46],{IuWw:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),r=a("LRn8"),s=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,defaultStoreList:[],loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(s.d)("/haoban-app-daily-three-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:Object(l.a)(function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-daily-three-web/daily/batch-export-brand-task",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="云日报记录.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},300),handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-daily-three-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:r.a,gicSelectGroup:i.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[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:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,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.currentPage,"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),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("提示:仅展示近一年数据。包含好办2.0及3.0")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("R+NT")},"data-v-7c63ddee",null);e.default=h.exports},"R+NT":function(t,e){}}); webpackJsonp([46],{IuWw:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),r=a("LRn8"),s=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,defaultStoreList:[],loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(s.d)("/haoban-app-daily-three-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:Object(l.a)(function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-daily-three-web/daily/batch-export-brand-task",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="云日报记录.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},300),handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-daily-three-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:r.a,gicSelectGroup:i.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[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:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,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.currentPage,"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),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("提示:仅展示近一年数据。")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("R+NT")},"data-v-7c63ddee",null);e.default=h.exports},"R+NT":function(t,e){}});
\ No newline at end of file \ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(f&&f(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=c(c.s=n[i]);return o};var a={},b={88:0};function c(f){if(a[f])return a[f].exports;var b=a[f]={i:f,l:!1,exports:{}};return e[f].call(b.exports,b,b.exports,c),b.l=!0,b.exports}c.e=function(e){var f=b[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,c){f=b[e]=[a,c]});f[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,c.nc&&n.setAttribute("nonce",c.nc),n.src=c.p+"static/js/"+e+"."+{0:"ba129d3b4f512eeaa1b6",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"6bd713bbe91578b02083",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"52cb18edbdafdce47691",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"9d49021a0f4a2e975b1b",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"4f2ddb21d31ed535bb32",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"131479a8aaeb0b44ee35",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"588e6a501727512ff125",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"d41f2d2b941e095185d2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"455d7a2009594ea0bb66",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=b[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},c.m=e,c.c=a,c.d=function(e,f,a){c.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},c.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(f,"a",f),f},c.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]); !function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(f&&f(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},c={88:0};function b(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,b),c.l=!0,c.exports}b.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,b){f=c[e]=[a,b]});f[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"ba129d3b4f512eeaa1b6",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"6bd713bbe91578b02083",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"3ae840fa1929846688ff",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"a016b66e25f9c11fca32",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"fc79fa1242ad11717288",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"ae8570220fc779bbd1d5",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"588e6a501727512ff125",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"d41f2d2b941e095185d2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"455d7a2009594ea0bb66",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,f,a){b.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(f,"a",f),f},b.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-10 15:15:58 * @LastEditTime: 2020-11-16 10:05:03
--> -->
<!-- <!--
<taskView :brandId="brandId" activeGroupId></taskView> <taskView :brandId="brandId" activeGroupId></taskView>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<span class="el-alert__title"> <span class="el-alert__title">
1.话务任务仅统计近一年数据;<br /> 1.话务任务仅统计近一年数据;<br />
2.话务任务统计数据每日刷新一次;<br /> 2.话务任务统计数据每日刷新一次;<br />
3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况
</span> </span>
</div> </div>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-09 15:26:01 * @LastEditTime: 2020-11-16 10:04:23
--> -->
<template> <template>
<div class="daily-set-wrap "> <div class="daily-set-wrap ">
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div role="alert" class="el-alert el-alert--info"> <div role="alert" class="el-alert el-alert--info">
<i class="el-alert__icon el-icon-info"></i> <i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content"> <div class="el-alert__content">
<span class="el-alert__title">提示:仅展示近一年数据。包含好办2.0及3.0</span> <span class="el-alert__title">提示:仅展示近一年数据。</span>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-10 15:15:33 * @LastEditTime: 2020-11-16 10:04:43
--> -->
<template> <template>
<div class="daily-set-wrap "> <div class="daily-set-wrap ">
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<span class="el-alert__title"> <span class="el-alert__title">
1.话务任务仅统计近一年数据;<br /> 1.话务任务仅统计近一年数据;<br />
2.因任务数据量过大,门店视图统计数据改为每日刷新一次;<br /> 2.因任务数据量过大,门店视图统计数据改为每日刷新一次;<br />
3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况
</span> </span>
</div> </div>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-16 09:17:04 * @LastEditTime: 2020-11-16 09:58:47
--> -->
<template> <template>
<div class="daily-set-wrap "> <div class="daily-set-wrap ">
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
</div> </div>
<div class="line-h-32 m-b-20"><span class="color-303133 font-14 font-w-600">企微好友</span><el-button class="m-l-20" type="text" @click="refeshDataWx">同步刷新 </el-button></div> <div class="line-h-32 m-b-20"><span class="color-303133 font-14 font-w-600">企微好友</span><el-button class="m-l-20" type="text" @click="refeshDataWx">同步刷新 </el-button></div>
<div> <div>
<el-form ref="wxForm" label-width="105px"> <el-form ref="wxForm" label-width="115px">
<el-form-item> <el-form-item>
<el-tooltip slot="label" class="item" effect="dark" placement="top-start"> <el-tooltip slot="label" class="item" effect="dark" placement="top-start">
<div slot="content">刷新企业里关联导购账号的导购添加的客户。每天最多1次,每月最多3次。<br />仅刷新好办关联导购的企业好友数据,所以会小于等于企业微信看到的客户总数。</div> <div slot="content">刷新企业里关联导购账号的导购添加的客户。每天最多1次,每月最多3次。<br />仅刷新好办关联导购的企业好友数据,所以会小于等于企业微信看到的客户总数。</div>
......
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