Commit c2f047a5 by 无尘

fix: 修改接口

parent a52ac290
<!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.a54d955b2aeba5d2cec4b16d019ad340.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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.93c7edb99154155f3296.js></script><script type=text/javascript src=./static/js/vendor.ec5b5af1da21f97836b5.js></script><script type=text/javascript src=./static/js/app.281bc4d8665bbb08cfc4.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.67cbecff1b92f17089c8c2a946fa0f43.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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.654c5a8a505523f7ee48.js></script><script type=text/javascript src=./static/js/vendor.ec5b5af1da21f97836b5.js></script><script type=text/javascript src=./static/js/app.245b1a4a751d654a362d.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([10],{CJE6:function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Zx22"),s=a("Ch4/"),o=a("P9l9"),i=a("PI0u"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",filterValue:"",filterBrand:"",brandOptions:[],filterOptions:[{label:"全部状态",value:""},{label:"已同意",value:"1"},{label:"已拒绝",value:"2"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{},userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:Object(i.a)(function(t){if(!String(t.target.value).trim())return!1;this.currentPage=1,this.getTableList()},200),toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showSingleInfo:function(t){var e=this,a={staffId:t};Object(o.d)("/haoban-manage3-web/get-staff-info",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.userData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;Object(o.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={wxEnterpriseId:e.wxEnterpriseId,auditStatus:e.filterValue,auditFlag:"1",search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.filterBrand};Object(o.a)("/haoban-manage3-web/audit/find-page",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],void(e.total=a.result.totalCount);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",2),this.getTableList(),this.getBrandData()},components:{storeChange:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"reviewed-body-head"},[a("el-input",{staticClass:"w-250 ",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.searchEnterFun(a,t.searchInput);var a}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),t._v(" "),a("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.getTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),t._v(" "),t._l(t.brandOptions,function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})],2)],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.auditType?"门店信息变更":1==e.row.auditType?"新增成员":2==e.row.auditType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.commitStaffId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.userData.headImg?a("img",{attrs:{src:t.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(t.userData.staffName||"--")+" ( "+t._s(t.userData.position||"--")+")\n ")]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==t.userData.nationCode?t.userData.phoneNumber:"+"+t.userData.nationCode+"-"+t.userData.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属部门:")]),a("span",{staticClass:"w-130"},[t._v(t._s(t.userData.departmentName||"--"))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[e.row.commitStaffImg?a("img",{attrs:{src:e.row.commitStaffImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",[t._v(t._s(e.row.commitStaffName))]),t._v(" "),a("span",{staticClass:"font-13",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[t._v(t._s(e.row.commitStoreName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[6!=e.row.changeField?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),6==e.row.changeField?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.auditName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",2==e.row.auditStatus?"bg-f5222d":"bg-52c41a"]}),1==e.row.auditStatus?a("span",[t._v("已同意")]):t._e(),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.auditReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditStatus?a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"},on:{click:function(a){t.toggleReason(e.row)}}},[t._v("已拒绝")]):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-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("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("URJJ")},"data-v-4715e190",null);e.default=c.exports},URJJ:function(t,e){},Zx22:function(t,e,a){"use strict";var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),o=n.getMonth()+1,i=n.getDate();return s+e+a(o)+e+a(i)+e}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var o=a("VU/8")(n,s,!1,function(t){a("CJE6")},"data-v-5a02018c",null);e.a=o.exports}});
\ No newline at end of file
webpackJsonp([10],{JwJ7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("fZjL"),i=a.n(s),o=a("LRn8"),n=a("fPyK"),l=a("swl+"),r=a("P9l9"),c=a("Ch4/"),d=a("3E4D"),m={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"所以完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所以逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,previewVisible:!1,previewData:{},userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(r.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getPreviewData:function(e,t){var a=this,s={storeId:a.conditionObj.storeId,taskId:t.taskId,clerkId:t.clerkId};a.previewVisible=!0,Object(r.d)("/haoban-app-daily-three-web/daily/get-daily-report-detail",s).then(function(e){var t=e.data;if(1==t.errorCode)return a.previewData=t.result,void(a.previewVisible=!0);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,enterpriseId:t.activeBrand,chooseAll:t.selectRadio};Object(r.d)("/haoban-app-daily-three-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={taskId:t.taskId};Object(r.a)("/haoban-app-daily-three-web/daily/delete-task-items",s).then(function(t){var s=t.data;if(1==s.errorCode)return d.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);c.a.errorMsg(s)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=window.location.origin+"/haoban3web/pages/hbapp/daily/html/task/taskDailyReport.html?taskId="+t.taskId+"&gicStoreId="+this.conditionObj.storeId+"&gicClerkId="+t.clerkId+"&isShare=1";this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(r.a)("/haoban-app-daily-three-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a,qrcodeDialog:n.a,detailPreview:l.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-162",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-162 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){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:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.operationStaffName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),a("detail-preview",{ref:"detailPreview",attrs:{previewData:e.previewData},model:{value:e.previewVisible,callback:function(t){e.previewVisible=t},expression:"previewVisible"}})],1)},staticRenderFns:[]};var f=a("VU/8")(m,u,!1,function(e){a("WGjl")},"data-v-6e67de53",null);t.default=f.exports},WGjl:function(e,t){},n1YH:function(e,t){},"swl+":function(e,t,a){"use strict";var s=a("mvHQ"),i=a.n(s),o=a("fZjL"),n=a.n(o),l={name:"detail-preview",props:{value:{type:Boolean,default:function(){return!1}},previewData:{type:Object,default:function(){return{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value},update:function(e,t){e.innerHTML=t.value}}},data:function(){return{noticeData:{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},time:null}},methods:{timeStampSpaces:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var s=a%864e5,i=s%36e5;return Math.floor(a/864e5)+"天"+Math.floor(s/36e5)+"小时"+Math.floor(i/6e4)+"分"}},closeDialog:function(){this.$emit("input",!1),this.$emit("closePreview"),this.noticeData={title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},clearInterval(this.time)}},watch:{previewData:function(e,t){var a=this;n()(e).length&&(a.noticeData=JSON.parse(i()(e)),a.time=setInterval(function(){a.timeStampSpaces(a.previewData.lastTime)},6e4))}},mounted:function(){var e=this;n()(e.previewData).length&&(e.noticeData=JSON.parse(i()(e.previewData)),e.time=setInterval(function(){e.timeStampSpaces(e.previewData.lastTime)},6e4))},beforeDestroy:function(){clearInterval(this.time),this.time=null}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[a("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),a("div",{staticClass:"qr-dialog border-box"},[a("div",{staticClass:"qr-dialog-body border-box"},[a("div",{staticClass:"detail-content border-box"},[a("div",{staticClass:"detail-content-top border-box"},[a("div",{staticClass:"task-title font-14 color-303133 font-w-500"},[e._v(e._s(e.noticeData.title))]),e._v(" "),a("div",{staticClass:"task-des font-12 color-303133 font-w-400"},[e._v(e._s(e.noticeData.taskDescription))]),e._v(" "),a("div",{staticClass:"task-over font-10 color-fd6b6d font-w-400"},[1==e.noticeData.taskStatus?a("span",[e._v("逾期剩余时长:"+e._s(e.timeStampSpaces(e.noticeData.lastTime)))]):e._e(),e._v(" "),2==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e(),e._v(" "),3==e.noticeData.taskStatus?a("span",[e._v("已放弃")]):e._e(),e._v(" "),4==e.noticeData.taskStatus?a("span",[e._v("已逾期")]):e._e(),e._v(" "),5==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e()]),e._v(" "),a("div",{staticClass:"task-people"},e._l(e.noticeData.taskRecordList,function(t,s){return a("div",{key:s+"record",staticClass:"task-item-cell"},[a("div",{staticClass:"task-item-content"},[a("span",{staticClass:"iconfont icondingwei font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-606266 opt-content"},[e._v(e._s(t.optContent))])]),e._v(" "),a("div",{class:["task-item-date",s!=e.noticeData.taskRecordList.length-1?"item-border":""]},[a("span",{staticClass:"p-l-14 font-10 color-909399"},[e._v(e._s(t.optTime))])])])}))]),e._v(" "),a("div",{staticClass:"detail-content-bottom border-box m-t-10"},[a("div",{staticClass:"user-info flex "},[a("div",{staticClass:"user-photo"},[a("img",{attrs:{src:e.noticeData.memberInfo.imgUrl,alt:""}})]),e._v(" "),a("div",{staticClass:"user-name-body"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"font-12 color-30313 font-w-500"},[e._v(e._s(e.noticeData.memberInfo.memberName))]),a("span",{class:["p-l-6 font-12 iconfont",0==e.noticeData.memberInfo.memberGender?"":1==e.noticeData.memberInfo.memberGender?"iconnan color-4b69e5":"color-ff8ea0 iconxingbienv"]})]),e._v(" "),a("div",{staticClass:"user-age font-10 color-7f818a"},[a("span",[e._v(e._s(e.noticeData.memberInfo.memberAge)+"岁")]),a("span",{staticClass:"dot"}),a("span",[e._v("生日 "+e._s(0==e.noticeData.memberInfo.birthType?"农历":"阳历")+e._s(e.noticeData.memberInfo.birthday))])])])]),e._v(" "),a("div",{staticClass:"user-info-body"},[a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.memberGradeName))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("积 分:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.accumulatPoints))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费总额:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costFee))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费次数:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costTimes))])])])]),e._v(" "),a("div",{staticClass:"user-clerk"},[a("span",{staticClass:"iconfont iconziyuan1 font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-4b69e5 clerk-name"},[e._v(e._s(e.noticeData.memberInfo.clerkName))])])])]),e._v(" "),a("div",{staticClass:"qr-dialog__hd"},[a("i",{staticClass:"el-icon-plus",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(e){a("n1YH")},"data-v-3660ceba",null);t.a=c.exports}});
\ No newline at end of file
webpackJsonp([11],{JwJ7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("fZjL"),i=a.n(s),o=a("LRn8"),n=a("fPyK"),l=a("swl+"),r=a("P9l9"),c=a("Ch4/"),d=a("3E4D"),m={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"所以完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所以逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,previewVisible:!1,previewData:{},userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(r.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getPreviewData:function(e,t){var a=this,s={storeId:a.conditionObj.storeId,taskId:t.taskId,clerkId:t.clerkId};a.previewVisible=!0,Object(r.d)("/haoban-app-daily-three-web/daily/get-daily-report-detail",s).then(function(e){var t=e.data;if(1==t.errorCode)return a.previewData=t.result,void(a.previewVisible=!0);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,enterpriseId:t.activeBrand,chooseAll:t.selectRadio};Object(r.d)("/haoban-app-daily-three-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={taskId:t.taskId};Object(r.a)("/haoban-app-daily-three-web/daily/delete-task-items",s).then(function(t){var s=t.data;if(1==s.errorCode)return d.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);c.a.errorMsg(s)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=window.location.origin+"/haoban3web/pages/hbapp/daily/html/task/taskDailyReport.html?taskId="+t.taskId+"&gicStoreId="+this.conditionObj.storeId+"&gicClerkId="+t.clerkId+"&isShare=1";this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(r.a)("/haoban-app-daily-three-web/daily/page-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a,qrcodeDialog:n.a,detailPreview:l.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-162",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-162 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){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:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.operationStaffName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),a("detail-preview",{ref:"detailPreview",attrs:{previewData:e.previewData},model:{value:e.previewVisible,callback:function(t){e.previewVisible=t},expression:"previewVisible"}})],1)},staticRenderFns:[]};var f=a("VU/8")(m,u,!1,function(e){a("WGjl")},"data-v-6e67de53",null);t.default=f.exports},WGjl:function(e,t){},n1YH:function(e,t){},"swl+":function(e,t,a){"use strict";var s=a("mvHQ"),i=a.n(s),o=a("fZjL"),n=a.n(o),l={name:"detail-preview",props:{value:{type:Boolean,default:function(){return!1}},previewData:{type:Object,default:function(){return{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value},update:function(e,t){e.innerHTML=t.value}}},data:function(){return{noticeData:{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},time:null}},methods:{timeStampSpaces:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var s=a%864e5,i=s%36e5;return Math.floor(a/864e5)+"天"+Math.floor(s/36e5)+"小时"+Math.floor(i/6e4)+"分"}},closeDialog:function(){this.$emit("input",!1),this.$emit("closePreview"),this.noticeData={title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},clearInterval(this.time)}},watch:{previewData:function(e,t){var a=this;n()(e).length&&(a.noticeData=JSON.parse(i()(e)),a.time=setInterval(function(){a.timeStampSpaces(a.previewData.lastTime)},6e4))}},mounted:function(){var e=this;n()(e.previewData).length&&(e.noticeData=JSON.parse(i()(e.previewData)),e.time=setInterval(function(){e.timeStampSpaces(e.previewData.lastTime)},6e4))},beforeDestroy:function(){clearInterval(this.time),this.time=null}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[a("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),a("div",{staticClass:"qr-dialog border-box"},[a("div",{staticClass:"qr-dialog-body border-box"},[a("div",{staticClass:"detail-content border-box"},[a("div",{staticClass:"detail-content-top border-box"},[a("div",{staticClass:"task-title font-14 color-303133 font-w-500"},[e._v(e._s(e.noticeData.title))]),e._v(" "),a("div",{staticClass:"task-des font-12 color-303133 font-w-400"},[e._v(e._s(e.noticeData.taskDescription))]),e._v(" "),a("div",{staticClass:"task-over font-10 color-fd6b6d font-w-400"},[1==e.noticeData.taskStatus?a("span",[e._v("逾期剩余时长:"+e._s(e.timeStampSpaces(e.noticeData.lastTime)))]):e._e(),e._v(" "),2==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e(),e._v(" "),3==e.noticeData.taskStatus?a("span",[e._v("已放弃")]):e._e(),e._v(" "),4==e.noticeData.taskStatus?a("span",[e._v("已逾期")]):e._e(),e._v(" "),5==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e()]),e._v(" "),a("div",{staticClass:"task-people"},e._l(e.noticeData.taskRecordList,function(t,s){return a("div",{key:s+"record",staticClass:"task-item-cell"},[a("div",{staticClass:"task-item-content"},[a("span",{staticClass:"iconfont icondingwei font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-606266 opt-content"},[e._v(e._s(t.optContent))])]),e._v(" "),a("div",{class:["task-item-date",s!=e.noticeData.taskRecordList.length-1?"item-border":""]},[a("span",{staticClass:"p-l-14 font-10 color-909399"},[e._v(e._s(t.optTime))])])])}))]),e._v(" "),a("div",{staticClass:"detail-content-bottom border-box m-t-10"},[a("div",{staticClass:"user-info flex "},[a("div",{staticClass:"user-photo"},[a("img",{attrs:{src:e.noticeData.memberInfo.imgUrl,alt:""}})]),e._v(" "),a("div",{staticClass:"user-name-body"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"font-12 color-30313 font-w-500"},[e._v(e._s(e.noticeData.memberInfo.memberName))]),a("span",{class:["p-l-6 font-12 iconfont",0==e.noticeData.memberInfo.memberGender?"":1==e.noticeData.memberInfo.memberGender?"iconnan color-4b69e5":"color-ff8ea0 iconxingbienv"]})]),e._v(" "),a("div",{staticClass:"user-age font-10 color-7f818a"},[a("span",[e._v(e._s(e.noticeData.memberInfo.memberAge)+"岁")]),a("span",{staticClass:"dot"}),a("span",[e._v("生日 "+e._s(0==e.noticeData.memberInfo.birthType?"农历":"阳历")+e._s(e.noticeData.memberInfo.birthday))])])])]),e._v(" "),a("div",{staticClass:"user-info-body"},[a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.memberGradeName))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("积 分:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.accumulatPoints))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费总额:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costFee))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费次数:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costTimes))])])])]),e._v(" "),a("div",{staticClass:"user-clerk"},[a("span",{staticClass:"iconfont iconziyuan1 font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-4b69e5 clerk-name"},[e._v(e._s(e.noticeData.memberInfo.clerkName))])])])]),e._v(" "),a("div",{staticClass:"qr-dialog__hd"},[a("i",{staticClass:"el-icon-plus",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(e){a("n1YH")},"data-v-3660ceba",null);t.a=c.exports}});
\ No newline at end of file
webpackJsonp([11],{MeNY:function(e,t){},XrDD:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("fZjL"),i=a.n(s),o=a("LRn8"),n=a("fPyK"),l=a("swl+"),r=a("P9l9"),c=a("Ch4/"),d=a("3E4D"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:"",taskType:""},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成(已拨通)",value:"1"},{label:"已完成(放弃)",value:"2"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],typeOptions:[{label:"所有类型",value:""},{label:"ECM话务任务",value:"1"},{label:"不良评价",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,previewData:{},previewVisible:!1,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(r.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},closePreview:function(){this.previewData={}},getPreviewData:function(e,t){var a=this,s={taskId:t.taskId};a.previewVisible=!0,Object(r.d)("/haoban-app-tel-task-three-web/task/app-task-detail",s).then(function(e){var t=e.data;if(1==t.errorCode)return a.previewData=t.result,void(a.previewVisible=!0);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCommand:function(e){this.selectRadio=e},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={taskId:t.taskId,enterpriseId:a.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/del-one",s).then(function(e){var t=e.data;if(1==t.errorCode)return d.a.showmsg("删除成功","success"),void a.getTableList();c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"task"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={ecmId:t.$route.query.ecmId||"",taskType:t.conditionObj.taskType,storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(e){e.taskUrl&&!e.taskUrl.length||(e.taskUrl=[])}),t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.$emit("showTab","11"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a,qrcodeDialog:n.a,detailPreview:l.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-135",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-135 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e.$route.query.ecmId?e._e():a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.taskType,callback:function(t){e.$set(e.conditionObj,"taskType",t)},expression:"conditionObj.taskType"}},e._l(e.typeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){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:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象","show-overflow-tooltip":"",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"任务类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s("0"==t.row.taskType?"不良评价":"话务任务"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"创建时间",width:"107"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":"",width:"107"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 完成情况包含3种"),a("br"),e._v("\n 1.完成拨打任务;"),a("br"),e._v("\n 2.完成任务(无需拨打);"),a("br"),e._v("\n 3.完成任务(放弃拨打);"),a("br"),e._v("\n 4.未完成任务\n ")]),e._v(" "),a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("完成情况")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isCompleted)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.operationStaffName||"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.reason?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:t.row.reason}},[a("i",{staticClass:"el-icon-chat-dot-square cursor-pointer color-909399",staticStyle:{"font-size":"20px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"图片"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.taskUrls,function(t,s){return a("el-popover",{key:s,attrs:{"popper-class":"notice-img-popover",placement:"right",width:"400",trigger:"hover"}},[a("div",{staticClass:"img-preview flex"},[a("img",{staticStyle:{"max-width":"400px"},attrs:{src:t,alt:""}})]),e._v(" "),a("img",{staticClass:"task-imgs",attrs:{slot:"reference",src:t,alt:""},slot:"reference"})])})}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",fixed:"right",width:"110"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.getPreviewData(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),a("detail-preview",{ref:"detailPreview",attrs:{previewData:e.previewData},on:{closePreview:e.closePreview},model:{value:e.previewVisible,callback:function(t){e.previewVisible=t},expression:"previewVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(u,m,!1,function(e){a("MeNY")},"data-v-3c9ee2e2",null);t.default=p.exports},n1YH:function(e,t){},"swl+":function(e,t,a){"use strict";var s=a("mvHQ"),i=a.n(s),o=a("fZjL"),n=a.n(o),l={name:"detail-preview",props:{value:{type:Boolean,default:function(){return!1}},previewData:{type:Object,default:function(){return{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value},update:function(e,t){e.innerHTML=t.value}}},data:function(){return{noticeData:{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},time:null}},methods:{timeStampSpaces:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var s=a%864e5,i=s%36e5;return Math.floor(a/864e5)+"天"+Math.floor(s/36e5)+"小时"+Math.floor(i/6e4)+"分"}},closeDialog:function(){this.$emit("input",!1),this.$emit("closePreview"),this.noticeData={title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},clearInterval(this.time)}},watch:{previewData:function(e,t){var a=this;n()(e).length&&(a.noticeData=JSON.parse(i()(e)),a.time=setInterval(function(){a.timeStampSpaces(a.previewData.lastTime)},6e4))}},mounted:function(){var e=this;n()(e.previewData).length&&(e.noticeData=JSON.parse(i()(e.previewData)),e.time=setInterval(function(){e.timeStampSpaces(e.previewData.lastTime)},6e4))},beforeDestroy:function(){clearInterval(this.time),this.time=null}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[a("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),a("div",{staticClass:"qr-dialog border-box"},[a("div",{staticClass:"qr-dialog-body border-box"},[a("div",{staticClass:"detail-content border-box"},[a("div",{staticClass:"detail-content-top border-box"},[a("div",{staticClass:"task-title font-14 color-303133 font-w-500"},[e._v(e._s(e.noticeData.title))]),e._v(" "),a("div",{staticClass:"task-des font-12 color-303133 font-w-400"},[e._v(e._s(e.noticeData.taskDescription))]),e._v(" "),a("div",{staticClass:"task-over font-10 color-fd6b6d font-w-400"},[1==e.noticeData.taskStatus?a("span",[e._v("逾期剩余时长:"+e._s(e.timeStampSpaces(e.noticeData.lastTime)))]):e._e(),e._v(" "),2==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e(),e._v(" "),3==e.noticeData.taskStatus?a("span",[e._v("已放弃")]):e._e(),e._v(" "),4==e.noticeData.taskStatus?a("span",[e._v("已逾期")]):e._e(),e._v(" "),5==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e()]),e._v(" "),a("div",{staticClass:"task-people"},e._l(e.noticeData.taskRecordList,function(t,s){return a("div",{key:s+"record",staticClass:"task-item-cell"},[a("div",{staticClass:"task-item-content"},[a("span",{staticClass:"iconfont icondingwei font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-606266 opt-content"},[e._v(e._s(t.optContent))])]),e._v(" "),a("div",{class:["task-item-date",s!=e.noticeData.taskRecordList.length-1?"item-border":""]},[a("span",{staticClass:"p-l-14 font-10 color-909399"},[e._v(e._s(t.optTime))])])])}))]),e._v(" "),a("div",{staticClass:"detail-content-bottom border-box m-t-10"},[a("div",{staticClass:"user-info flex "},[a("div",{staticClass:"user-photo"},[a("img",{attrs:{src:e.noticeData.memberInfo.imgUrl,alt:""}})]),e._v(" "),a("div",{staticClass:"user-name-body"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"font-12 color-30313 font-w-500"},[e._v(e._s(e.noticeData.memberInfo.memberName))]),a("span",{class:["p-l-6 font-12 iconfont",0==e.noticeData.memberInfo.memberGender?"":1==e.noticeData.memberInfo.memberGender?"iconnan color-4b69e5":"color-ff8ea0 iconxingbienv"]})]),e._v(" "),a("div",{staticClass:"user-age font-10 color-7f818a"},[a("span",[e._v(e._s(e.noticeData.memberInfo.memberAge)+"岁")]),a("span",{staticClass:"dot"}),a("span",[e._v("生日 "+e._s(0==e.noticeData.memberInfo.birthType?"农历":"阳历")+e._s(e.noticeData.memberInfo.birthday))])])])]),e._v(" "),a("div",{staticClass:"user-info-body"},[a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.memberGradeName))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("积 分:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.accumulatPoints))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费总额:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costFee))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费次数:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costTimes))])])])]),e._v(" "),a("div",{staticClass:"user-clerk"},[a("span",{staticClass:"iconfont iconziyuan1 font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-4b69e5 clerk-name"},[e._v(e._s(e.noticeData.memberInfo.clerkName))])])])]),e._v(" "),a("div",{staticClass:"qr-dialog__hd"},[a("i",{staticClass:"el-icon-plus",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(e){a("n1YH")},"data-v-3660ceba",null);t.a=c.exports}});
\ No newline at end of file
webpackJsonp([12],{MeNY:function(e,t){},XrDD:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("fZjL"),i=a.n(s),o=a("LRn8"),n=a("fPyK"),l=a("swl+"),r=a("P9l9"),c=a("Ch4/"),d=a("3E4D"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:"",taskType:""},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成(已拨通)",value:"1"},{label:"已完成(放弃)",value:"2"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],typeOptions:[{label:"所有类型",value:""},{label:"ECM话务任务",value:"1"},{label:"不良评价",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,previewData:{},previewVisible:!1,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(r.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},closePreview:function(){this.previewData={}},getPreviewData:function(e,t){var a=this,s={taskId:t.taskId};a.previewVisible=!0,Object(r.d)("/haoban-app-tel-task-three-web/task/app-task-detail",s).then(function(e){var t=e.data;if(1==t.errorCode)return a.previewData=t.result,void(a.previewVisible=!0);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCommand:function(e){this.selectRadio=e},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={taskId:t.taskId,enterpriseId:a.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/del-one",s).then(function(e){var t=e.data;if(1==t.errorCode)return d.a.showmsg("删除成功","success"),void a.getTableList();c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"task"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={ecmId:t.$route.query.ecmId||"",taskType:t.conditionObj.taskType,storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(e){e.taskUrl&&!e.taskUrl.length||(e.taskUrl=[])}),t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.$emit("showTab","11"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a,qrcodeDialog:n.a,detailPreview:l.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-135",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-135 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e.$route.query.ecmId?e._e():a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.taskType,callback:function(t){e.$set(e.conditionObj,"taskType",t)},expression:"conditionObj.taskType"}},e._l(e.typeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){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:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象","show-overflow-tooltip":"",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"任务类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s("0"==t.row.taskType?"不良评价":"话务任务"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"创建时间",width:"107"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":"",width:"107"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 完成情况包含3种"),a("br"),e._v("\n 1.完成拨打任务;"),a("br"),e._v("\n 2.完成任务(无需拨打);"),a("br"),e._v("\n 3.完成任务(放弃拨打);"),a("br"),e._v("\n 4.未完成任务\n ")]),e._v(" "),a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("完成情况")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isCompleted)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.operationStaffName||"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.reason?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:t.row.reason}},[a("i",{staticClass:"el-icon-chat-dot-square cursor-pointer color-909399",staticStyle:{"font-size":"20px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"图片"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.taskUrls,function(t,s){return a("el-popover",{key:s,attrs:{"popper-class":"notice-img-popover",placement:"right",width:"400",trigger:"hover"}},[a("div",{staticClass:"img-preview flex"},[a("img",{staticStyle:{"max-width":"400px"},attrs:{src:t,alt:""}})]),e._v(" "),a("img",{staticClass:"task-imgs",attrs:{slot:"reference",src:t,alt:""},slot:"reference"})])})}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",fixed:"right",width:"110"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.getPreviewData(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),a("detail-preview",{ref:"detailPreview",attrs:{previewData:e.previewData},on:{closePreview:e.closePreview},model:{value:e.previewVisible,callback:function(t){e.previewVisible=t},expression:"previewVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(u,m,!1,function(e){a("MeNY")},"data-v-3c9ee2e2",null);t.default=p.exports},n1YH:function(e,t){},"swl+":function(e,t,a){"use strict";var s=a("mvHQ"),i=a.n(s),o=a("fZjL"),n=a.n(o),l={name:"detail-preview",props:{value:{type:Boolean,default:function(){return!1}},previewData:{type:Object,default:function(){return{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value},update:function(e,t){e.innerHTML=t.value}}},data:function(){return{noticeData:{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},time:null}},methods:{timeStampSpaces:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var s=a%864e5,i=s%36e5;return Math.floor(a/864e5)+"天"+Math.floor(s/36e5)+"小时"+Math.floor(i/6e4)+"分"}},closeDialog:function(){this.$emit("input",!1),this.$emit("closePreview"),this.noticeData={title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},clearInterval(this.time)}},watch:{previewData:function(e,t){var a=this;n()(e).length&&(a.noticeData=JSON.parse(i()(e)),a.time=setInterval(function(){a.timeStampSpaces(a.previewData.lastTime)},6e4))}},mounted:function(){var e=this;n()(e.previewData).length&&(e.noticeData=JSON.parse(i()(e.previewData)),e.time=setInterval(function(){e.timeStampSpaces(e.previewData.lastTime)},6e4))},beforeDestroy:function(){clearInterval(this.time),this.time=null}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[a("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),a("div",{staticClass:"qr-dialog border-box"},[a("div",{staticClass:"qr-dialog-body border-box"},[a("div",{staticClass:"detail-content border-box"},[a("div",{staticClass:"detail-content-top border-box"},[a("div",{staticClass:"task-title font-14 color-303133 font-w-500"},[e._v(e._s(e.noticeData.title))]),e._v(" "),a("div",{staticClass:"task-des font-12 color-303133 font-w-400"},[e._v(e._s(e.noticeData.taskDescription))]),e._v(" "),a("div",{staticClass:"task-over font-10 color-fd6b6d font-w-400"},[1==e.noticeData.taskStatus?a("span",[e._v("逾期剩余时长:"+e._s(e.timeStampSpaces(e.noticeData.lastTime)))]):e._e(),e._v(" "),2==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e(),e._v(" "),3==e.noticeData.taskStatus?a("span",[e._v("已放弃")]):e._e(),e._v(" "),4==e.noticeData.taskStatus?a("span",[e._v("已逾期")]):e._e(),e._v(" "),5==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e()]),e._v(" "),a("div",{staticClass:"task-people"},e._l(e.noticeData.taskRecordList,function(t,s){return a("div",{key:s+"record",staticClass:"task-item-cell"},[a("div",{staticClass:"task-item-content"},[a("span",{staticClass:"iconfont icondingwei font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-606266 opt-content"},[e._v(e._s(t.optContent))])]),e._v(" "),a("div",{class:["task-item-date",s!=e.noticeData.taskRecordList.length-1?"item-border":""]},[a("span",{staticClass:"p-l-14 font-10 color-909399"},[e._v(e._s(t.optTime))])])])}))]),e._v(" "),a("div",{staticClass:"detail-content-bottom border-box m-t-10"},[a("div",{staticClass:"user-info flex "},[a("div",{staticClass:"user-photo"},[a("img",{attrs:{src:e.noticeData.memberInfo.imgUrl,alt:""}})]),e._v(" "),a("div",{staticClass:"user-name-body"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"font-12 color-30313 font-w-500"},[e._v(e._s(e.noticeData.memberInfo.memberName))]),a("span",{class:["p-l-6 font-12 iconfont",0==e.noticeData.memberInfo.memberGender?"":1==e.noticeData.memberInfo.memberGender?"iconnan color-4b69e5":"color-ff8ea0 iconxingbienv"]})]),e._v(" "),a("div",{staticClass:"user-age font-10 color-7f818a"},[a("span",[e._v(e._s(e.noticeData.memberInfo.memberAge)+"岁")]),a("span",{staticClass:"dot"}),a("span",[e._v("生日 "+e._s(0==e.noticeData.memberInfo.birthType?"农历":"阳历")+e._s(e.noticeData.memberInfo.birthday))])])])]),e._v(" "),a("div",{staticClass:"user-info-body"},[a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.memberGradeName))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("积 分:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.accumulatPoints))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费总额:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costFee))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费次数:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costTimes))])])])]),e._v(" "),a("div",{staticClass:"user-clerk"},[a("span",{staticClass:"iconfont iconziyuan1 font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-4b69e5 clerk-name"},[e._v(e._s(e.noticeData.memberInfo.clerkName))])])])]),e._v(" "),a("div",{staticClass:"qr-dialog__hd"},[a("i",{staticClass:"el-icon-plus",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(e){a("n1YH")},"data-v-3660ceba",null);t.a=c.exports}});
\ No newline at end of file
webpackJsonp([12],{"+ZBk":function(e,t){},"7/Zw":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("mvHQ"),r=a.n(s),o=a("P9l9"),n=a("Ch4/"),l=a("PI0u"),i={name:"gic-select-store",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],dailyRuleForm:{stores:[]},pageNum:1,pageSize:200}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1,this.$emit("returnStores",this.dailyRuleForm.stores)},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length,this.$emit("returnStores",this.dailyRuleForm.stores)},toInput:Object(l.a)(function(e,t){""!=this.searchSelect&&(this.stores=[],this.pageNum=1,this.getStoreData())},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=[],this.pageNum=1,this.getStoreData()},getStoreData:function(){var e=this,t={searchName:e.searchSelect,gicEnterpriseId:e.brandId,pageNum:e.pageNum,pageSize:e.pageSize};Object(o.a)("/haoban-app-customer-web/cardCoupon/get-store-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result&&a.result.result.forEach(function(t){t.select=!1,e.selectData.includes(t.storeId)&&(t.select=!0)}),1==e.pageNum?(e.stores=JSON.parse(r()(a.result.result))||[],e.storesCopy=JSON.parse(r()(a.result.result))||[]):a.result.result.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.totalCount&&(e.pageNum++,e.$nextTick(function(){e.getStoreData()})));n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e){e&&(this.checkAll=!1,this.isIndeterminate=!1,this.stores=[],this.storesCopy=[],this.searchSelect="",this.getStoreData())},selectData:function(e,t){e.length?this.dailyRuleForm.stores=JSON.parse(r()(e)):this.dailyRuleForm.stores=[]}},mounted:function(){this.brandId&&(this.stores=[],this.storesCopy=[],this.getStoreData()),this.selectData.length?this.dailyRuleForm.stores=JSON.parse(r()(this.selectData)):this.dailyRuleForm.stores=[]}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num cursor-pointer w-350",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])},staticRenderFns:[]};var d=a("VU/8")(i,c,!1,function(e){a("jz2h")},"data-v-365402e9",null).exports,u=a("Ggl+"),p={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,selectCoupCardId:this.coupCardId||"",tableData:[],currentPage:1,pageSize:6,total:0}},methods:{handleClose:function(e){this.$emit("closeCard")},toConfirm:function(){var e=this,t={};e.tableData.forEach(function(a){a.coupCardId==e.selectCoupCardId&&(t=a)}),e.$emit("returnId",e.selectCoupCardId,t)},toCancel:function(){this.$emit("closeCard")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},200),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={cardName:t.searchInput||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(o.a)("/haoban-app-customer-web/cardCoupon/find-select-card-page",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&this.getTableList()},coupCardId:function(e,t){e&&(this.selectCoupCardId=e)}},mounted:function(){this.selectCoupCardId=this.coupCardId,this.brandId&&this.getTableList()}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"卡券选择",visible:e.dialogVisible,width:"994px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"search-div"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("span",{staticClass:"search-tip p-l-20 font-14 color-909399"},[e._v("仅支持选择“领取限制>=100”的卡券,系统已自动过滤不符合条件的卡券,符合条件的卡券共"+e._s(e.total)+"张")])],1),e._v(" "),a("div",{staticClass:"chat-log-content boder-box m-t-20"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{"class-name":"hide-ellipsis",label:"",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-radio",{attrs:{disabled:1==t.row.selected,label:t.row.coupCardId},model:{value:e.selectCoupCardId,callback:function(t){e.selectCoupCardId=t},expression:"selectCoupCardId"}},[e._v(e._s(""))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"cardName",label:"卡券名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"备注名","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"effectDateString",label:"有效期","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"cardLimit",label:"领取限制","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"storeMode",label:"适用门店","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.storeMode?"所有门店":1==t.row.storeMode?"部分分组":"部分门店")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"couponStock",label:"库存","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"getedQuantity",label:"领取次数","show-overflow-tooltip":""}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-size":e.pageSize,layout:" prev, pager, next",total:e.total},on:{"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"dialog-footer m-b-20",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.toConfirm}},[e._v("确认")])],1)])},staticRenderFns:[]};var f=a("VU/8")(p,m,!1,function(e){a("F0H0")},"data-v-3f3f56a1",null).exports,h=a("3E4D"),g={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{selectCard:f,gicSelectGroup:u.a,gicSelectStore:d},data:function(){var e=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectCoupCard:{},formData:{id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},rules:{coupCardId:[{required:!0,message:"请选择卡券",trigger:"change"}],sendRange:[{validator:function(t,a,s){return""==a?s(new Error("请选择发送范围")):"1"!=a&&"2"!=a||e.formData.selectList.length?void s():s(new Error("请选择发送范围"))},trigger:"change"}],sendType:[{validator:function(t,a,s){return""==a?s(new Error("请选择券发放总数")):"1"!=a||e.formData.totalSendTimes?void s():s(new Error("请选择券发放总数"))},trigger:"change"}],eachSendTimes:[{required:!0,message:"请输入券发放张数",trigger:"blur"}]},cardSelectShow:!1,addTag:!0}},methods:{returnStores:function(e){console.log("store:",e),this.formData.selectList=JSON.parse(r()(e))},checkGroupIds:function(e){console.log(e),this.formData.selectList=JSON.parse(r()(e))},showCard:function(){this.cardSelectShow=!0},closeCard:function(){this.cardSelectShow=!1},returnId:function(e,t){this.formData.coupCardId=e,this.selectCoupCard=t,this.cardSelectShow=!1},submitForm:Object(l.a)(function(e,t){var a=this;return!!("1"!=a.formData.sendRange&&"2"!=a.formData.sendRange||a.formData.selectList.length)&&(!("1"==a.formData.sendType&&!a.formData.totalSendTimes)&&(!("1"==a.formData.receiveType&&!a.formData.totalReceiveTimes)&&void a.$refs[e].validate(function(e){e&&a.postSaveCard(t)})))},300),postSaveCard:function(e){var t=this,a={id:t.formData.id,coupCardId:t.formData.coupCardId,sendRange:t.formData.sendRange,selectList:1==t.formData.sendRange?t.formData.selectList.map(function(e){return e.storeGroupId}).join(","):2==t.formData.sendRange?t.formData.selectList.join(","):"",eachSendTimes:t.formData.eachSendTimes,sendType:t.formData.sendType,totalSendTimes:t.formData.totalSendTimes,gicEnterpriseId:t.brandId,wxEnterpriseId:t.wxEnterpriseId};Object(o.d)(t.$route.query.coupCardId&&!t.addTag?"/haoban-app-customer-web/cardCoupon/edit-card-coup":"/haoban-app-customer-web/cardCoupon/add-card-coup",a).then(function(a){var s=a.data;1==s.errorCode&&(h.a.showmsg(t.$route.query.coupCardId?"编辑卡券成功":"新建卡券成功","success"),e?(t.addTag=!0,t.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},t.selectCoupCard={}):t.$router.push("/cardList")),n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/onlineChatSet?activeTab="+e.$route.query.activeTab+"&appIcon="+e.$route.query.appIcon)}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this,t={coupCardId:e.$route.query.coupCardId,gicEnterpriseId:e.brandId};Object(o.a)("/haoban-app-customer-web/cardCoupon/find-card-coup-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.detail?(a.result.list&&a.result.list.forEach(function(e){e.label=e.name,e.departmentId=e.id,e.storeGroupId=e.id,e.storeGroupName=e.name,e.departmentName=e.name,2==a.result.detail.sendRange&&(e.storeId=e.id)}),e.selectCoupCard=a.result.gicDetail,e.formData={id:a.result.detail.id,coupCardId:a.result.detail.coupCardId,sendRange:String(a.result.detail.sendRange),selectList:0!=a.result.detail.sendRange?2==a.result.detail.sendRange?a.result.list.map(function(e){return e.id}):a.result.list:[],eachSendTimes:a.result.detail.eachSendTimes,sendType:String(a.result.detail.sendType),totalSendTimes:a.result.detail.totalSendTimes},!1):(e.addTag=!1,h.a.showmsg("请先保存上一个商户的设置内容","warning"),!1);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){if(e&&this.$route.query.coupCardId&&!this.addTag)return this.activeBrand=e,this.getCardData(),!1;e&&(this.addTag=!0,this.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},this.selectCoupCard={})},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.$emit("showTab","1"),this.activeBrand=this.brandId,this.$route.query.coupCardId&&this.brandId&&(this.addTag=!1,this.getCardData())}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"选择卡券",prop:"coupCardId"}},[e.formData.coupCardId?e._e():a("div",{staticClass:"card-add-btn text-center cursor-pointer",on:{click:e.showCard}},[a("span",{staticClass:"el-icon-plus font-12 color-909399"}),a("span",{staticClass:"font-14 color-909399"},[e._v("添加卡券")])]),e._v(" "),e.formData.coupCardId?a("div",{staticClass:"selected-card-body flex"},[a("div",{staticClass:"selected-card font-14 color-909399"},[e._v(e._s(e.selectCoupCard.cardName)+" | "+e._s(e.selectCoupCard.effectDateString)+" | 限制"+e._s(e.selectCoupCard.cardLimit)+"张/人 | 适用门店:"+e._s(0==e.selectCoupCard.storeMode?"所有门店":1==e.selectCoupCard.storeMode?"部分分组":"部分门店")+" | 库存:"+e._s(e.selectCoupCard.couponStock))]),e._v(" "),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:e.showCard}},[e._v("重新选择")])],1):e._e()]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("选择发送范围")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("所有门店")]),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"1"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分分组")]),e._v(" "),1==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.formData.selectList},on:{checkGroupIds:e.checkGroupIds}})],1):e._e(),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"2"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分门店")]),e._v(" "),2==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-store",{attrs:{brandId:e.brandId,selectData:e.formData.selectList},on:{returnStores:e.returnStores}})],1):e._e(),e._v(" "),"1"!=e.formData.sendRange&&"2"!=e.formData.sendRange||e.formData.selectList.length?e._e():a("div",{staticClass:"el-form-item__error"},[e._v("请选择发送范围")])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券限制每个会员最大发放次数",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("券发放张数")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-input-number",{staticClass:"w-90",attrs:{"controls-position":"right",min:0,max:20},model:{value:e.formData.eachSendTimes,callback:function(t){e.$set(e.formData,"eachSendTimes",t)},expression:"formData.eachSendTimes"}}),a("span",{staticClass:"font-14 color-c0c4cc p-l-20"},[e._v("最多20张每人")])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券发放总数,不得超过券库存数",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("券发放总数")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:e.formData.sendType,callback:function(t){e.$set(e.formData,"sendType",t)},expression:"formData.sendType"}},[e._v("无限制")]),e._v(" "),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:e.formData.sendType,callback:function(t){e.$set(e.formData,"sendType",t)},expression:"formData.sendType"}},[e._v("限制总数")]),1==e.formData.sendType?a("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",min:1,max:999999999},model:{value:e.formData.totalSendTimes,callback:function(t){e.$set(e.formData,"totalSendTimes",t)},expression:"formData.totalSendTimes"}}):e._e()],1)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.coupCardId&&!e.addTag?"编辑":"新建"))]),e._v(" "),e.$route.query.coupCardId?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1),e._v(" "),e.cardSelectShow?a("select-card",{attrs:{coupCardId:e.formData.coupCardId,brandId:e.brandId},on:{closeCard:e.closeCard,returnId:e.returnId}}):e._e()],1)},staticRenderFns:[]};var v=a("VU/8")(g,b,!1,function(e){a("+ZBk")},"data-v-fbefecae",null);t.default=v.exports},F0H0:function(e,t){},jz2h:function(e,t){}});
\ No newline at end of file
webpackJsonp([13],{"+ZBk":function(e,t){},"7/Zw":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("mvHQ"),r=a.n(s),o=a("P9l9"),n=a("Ch4/"),l=a("PI0u"),i={name:"gic-select-store",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],dailyRuleForm:{stores:[]},pageNum:1,pageSize:200}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1,this.$emit("returnStores",this.dailyRuleForm.stores)},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length,this.$emit("returnStores",this.dailyRuleForm.stores)},toInput:Object(l.a)(function(e,t){""!=this.searchSelect&&(this.stores=[],this.pageNum=1,this.getStoreData())},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=[],this.pageNum=1,this.getStoreData()},getStoreData:function(){var e=this,t={searchName:e.searchSelect,gicEnterpriseId:e.brandId,pageNum:e.pageNum,pageSize:e.pageSize};Object(o.a)("/haoban-app-customer-web/cardCoupon/get-store-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result&&a.result.result.forEach(function(t){t.select=!1,e.selectData.includes(t.storeId)&&(t.select=!0)}),1==e.pageNum?(e.stores=JSON.parse(r()(a.result.result))||[],e.storesCopy=JSON.parse(r()(a.result.result))||[]):a.result.result.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.totalCount&&(e.pageNum++,e.$nextTick(function(){e.getStoreData()})));n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e){e&&(this.checkAll=!1,this.isIndeterminate=!1,this.stores=[],this.storesCopy=[],this.searchSelect="",this.getStoreData())},selectData:function(e,t){e.length?this.dailyRuleForm.stores=JSON.parse(r()(e)):this.dailyRuleForm.stores=[]}},mounted:function(){this.brandId&&(this.stores=[],this.storesCopy=[],this.getStoreData()),this.selectData.length?this.dailyRuleForm.stores=JSON.parse(r()(this.selectData)):this.dailyRuleForm.stores=[]}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num cursor-pointer w-350",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])},staticRenderFns:[]};var d=a("VU/8")(i,c,!1,function(e){a("jz2h")},"data-v-365402e9",null).exports,u=a("Ggl+"),p={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,selectCoupCardId:this.coupCardId||"",tableData:[],currentPage:1,pageSize:6,total:0}},methods:{handleClose:function(e){this.$emit("closeCard")},toConfirm:function(){var e=this,t={};e.tableData.forEach(function(a){a.coupCardId==e.selectCoupCardId&&(t=a)}),e.$emit("returnId",e.selectCoupCardId,t)},toCancel:function(){this.$emit("closeCard")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},200),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={cardName:t.searchInput||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(o.a)("/haoban-app-customer-web/cardCoupon/find-select-card-page",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&this.getTableList()},coupCardId:function(e,t){e&&(this.selectCoupCardId=e)}},mounted:function(){this.selectCoupCardId=this.coupCardId,this.brandId&&this.getTableList()}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"卡券选择",visible:e.dialogVisible,width:"994px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"search-div"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("span",{staticClass:"search-tip p-l-20 font-14 color-909399"},[e._v("仅支持选择“领取限制>=100”的卡券,系统已自动过滤不符合条件的卡券,符合条件的卡券共"+e._s(e.total)+"张")])],1),e._v(" "),a("div",{staticClass:"chat-log-content boder-box m-t-20"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{"class-name":"hide-ellipsis",label:"",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-radio",{attrs:{disabled:1==t.row.selected,label:t.row.coupCardId},model:{value:e.selectCoupCardId,callback:function(t){e.selectCoupCardId=t},expression:"selectCoupCardId"}},[e._v(e._s(""))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"cardName",label:"卡券名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"备注名","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"effectDateString",label:"有效期","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"cardLimit",label:"领取限制","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"storeMode",label:"适用门店","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.storeMode?"所有门店":1==t.row.storeMode?"部分分组":"部分门店")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"couponStock",label:"库存","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"getedQuantity",label:"领取次数","show-overflow-tooltip":""}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-size":e.pageSize,layout:" prev, pager, next",total:e.total},on:{"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"dialog-footer m-b-20",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.toConfirm}},[e._v("确认")])],1)])},staticRenderFns:[]};var f=a("VU/8")(p,m,!1,function(e){a("F0H0")},"data-v-3f3f56a1",null).exports,h=a("3E4D"),g={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{selectCard:f,gicSelectGroup:u.a,gicSelectStore:d},data:function(){var e=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectCoupCard:{},formData:{id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},rules:{coupCardId:[{required:!0,message:"请选择卡券",trigger:"change"}],sendRange:[{validator:function(t,a,s){return""==a?s(new Error("请选择发送范围")):"1"!=a&&"2"!=a||e.formData.selectList.length?void s():s(new Error("请选择发送范围"))},trigger:"change"}],sendType:[{validator:function(t,a,s){return""==a?s(new Error("请选择券发放总数")):"1"!=a||e.formData.totalSendTimes?void s():s(new Error("请选择券发放总数"))},trigger:"change"}],eachSendTimes:[{required:!0,message:"请输入券发放张数",trigger:"blur"}]},cardSelectShow:!1,addTag:!0}},methods:{returnStores:function(e){console.log("store:",e),this.formData.selectList=JSON.parse(r()(e))},checkGroupIds:function(e){console.log(e),this.formData.selectList=JSON.parse(r()(e))},showCard:function(){this.cardSelectShow=!0},closeCard:function(){this.cardSelectShow=!1},returnId:function(e,t){this.formData.coupCardId=e,this.selectCoupCard=t,this.cardSelectShow=!1},submitForm:Object(l.a)(function(e,t){var a=this;return!!("1"!=a.formData.sendRange&&"2"!=a.formData.sendRange||a.formData.selectList.length)&&(!("1"==a.formData.sendType&&!a.formData.totalSendTimes)&&(!("1"==a.formData.receiveType&&!a.formData.totalReceiveTimes)&&void a.$refs[e].validate(function(e){e&&a.postSaveCard(t)})))},300),postSaveCard:function(e){var t=this,a={id:t.formData.id,coupCardId:t.formData.coupCardId,sendRange:t.formData.sendRange,selectList:1==t.formData.sendRange?t.formData.selectList.map(function(e){return e.storeGroupId}).join(","):2==t.formData.sendRange?t.formData.selectList.join(","):"",eachSendTimes:t.formData.eachSendTimes,sendType:t.formData.sendType,totalSendTimes:t.formData.totalSendTimes,gicEnterpriseId:t.brandId,wxEnterpriseId:t.wxEnterpriseId};Object(o.d)(t.$route.query.coupCardId&&!t.addTag?"/haoban-app-customer-web/cardCoupon/edit-card-coup":"/haoban-app-customer-web/cardCoupon/add-card-coup",a).then(function(a){var s=a.data;1==s.errorCode&&(h.a.showmsg(t.$route.query.coupCardId?"编辑卡券成功":"新建卡券成功","success"),e?(t.addTag=!0,t.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},t.selectCoupCard={}):t.$router.push("/cardList")),n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/onlineChatSet?activeTab="+e.$route.query.activeTab+"&appIcon="+e.$route.query.appIcon)}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this,t={coupCardId:e.$route.query.coupCardId,gicEnterpriseId:e.brandId};Object(o.a)("/haoban-app-customer-web/cardCoupon/find-card-coup-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.detail?(a.result.list&&a.result.list.forEach(function(e){e.label=e.name,e.departmentId=e.id,e.storeGroupId=e.id,e.storeGroupName=e.name,e.departmentName=e.name,2==a.result.detail.sendRange&&(e.storeId=e.id)}),e.selectCoupCard=a.result.gicDetail,e.formData={id:a.result.detail.id,coupCardId:a.result.detail.coupCardId,sendRange:String(a.result.detail.sendRange),selectList:0!=a.result.detail.sendRange?2==a.result.detail.sendRange?a.result.list.map(function(e){return e.id}):a.result.list:[],eachSendTimes:a.result.detail.eachSendTimes,sendType:String(a.result.detail.sendType),totalSendTimes:a.result.detail.totalSendTimes},!1):(e.addTag=!1,h.a.showmsg("请先保存上一个商户的设置内容","warning"),!1);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){if(e&&this.$route.query.coupCardId&&!this.addTag)return this.activeBrand=e,this.getCardData(),!1;e&&(this.addTag=!0,this.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},this.selectCoupCard={})},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.$emit("showTab","1"),this.activeBrand=this.brandId,this.$route.query.coupCardId&&this.brandId&&(this.addTag=!1,this.getCardData())}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"选择卡券",prop:"coupCardId"}},[e.formData.coupCardId?e._e():a("div",{staticClass:"card-add-btn text-center cursor-pointer",on:{click:e.showCard}},[a("span",{staticClass:"el-icon-plus font-12 color-909399"}),a("span",{staticClass:"font-14 color-909399"},[e._v("添加卡券")])]),e._v(" "),e.formData.coupCardId?a("div",{staticClass:"selected-card-body flex"},[a("div",{staticClass:"selected-card font-14 color-909399"},[e._v(e._s(e.selectCoupCard.cardName)+" | "+e._s(e.selectCoupCard.effectDateString)+" | 限制"+e._s(e.selectCoupCard.cardLimit)+"张/人 | 适用门店:"+e._s(0==e.selectCoupCard.storeMode?"所有门店":1==e.selectCoupCard.storeMode?"部分分组":"部分门店")+" | 库存:"+e._s(e.selectCoupCard.couponStock))]),e._v(" "),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:e.showCard}},[e._v("重新选择")])],1):e._e()]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("选择发送范围")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("所有门店")]),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"1"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分分组")]),e._v(" "),1==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.formData.selectList},on:{checkGroupIds:e.checkGroupIds}})],1):e._e(),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"2"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分门店")]),e._v(" "),2==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-store",{attrs:{brandId:e.brandId,selectData:e.formData.selectList},on:{returnStores:e.returnStores}})],1):e._e(),e._v(" "),"1"!=e.formData.sendRange&&"2"!=e.formData.sendRange||e.formData.selectList.length?e._e():a("div",{staticClass:"el-form-item__error"},[e._v("请选择发送范围")])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券限制每个会员最大发放次数",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("券发放张数")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-input-number",{staticClass:"w-90",attrs:{"controls-position":"right",min:0,max:20},model:{value:e.formData.eachSendTimes,callback:function(t){e.$set(e.formData,"eachSendTimes",t)},expression:"formData.eachSendTimes"}}),a("span",{staticClass:"font-14 color-c0c4cc p-l-20"},[e._v("最多20张每人")])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券发放总数,不得超过券库存数",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("券发放总数")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:e.formData.sendType,callback:function(t){e.$set(e.formData,"sendType",t)},expression:"formData.sendType"}},[e._v("无限制")]),e._v(" "),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:e.formData.sendType,callback:function(t){e.$set(e.formData,"sendType",t)},expression:"formData.sendType"}},[e._v("限制总数")]),1==e.formData.sendType?a("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",min:1,max:999999999},model:{value:e.formData.totalSendTimes,callback:function(t){e.$set(e.formData,"totalSendTimes",t)},expression:"formData.totalSendTimes"}}):e._e()],1)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.coupCardId&&!e.addTag?"编辑":"新建"))]),e._v(" "),e.$route.query.coupCardId?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1),e._v(" "),e.cardSelectShow?a("select-card",{attrs:{coupCardId:e.formData.coupCardId,brandId:e.brandId},on:{closeCard:e.closeCard,returnId:e.returnId}}):e._e()],1)},staticRenderFns:[]};var v=a("VU/8")(g,b,!1,function(e){a("+ZBk")},"data-v-fbefecae",null);t.default=v.exports},F0H0:function(e,t){},jz2h:function(e,t){}});
\ No newline at end of file
webpackJsonp([13],{"9MUK":function(t,e){t.exports="data:image/png;base64,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"},"GzI/":function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Xxa5"),n=a.n(o),s=a("exGp"),r=a.n(s),i=a("//Fk"),c=a.n(i),l=a("mvHQ"),p=a.n(l),d=a("c9no"),u=a("NKg7"),g={props:{syncData:{type:Object,default:function(){return{syncStatus:"0"}}}},data:function(){return{dialogVisible:!0}},methods:{handleClose:function(t){this.dialogVisible=!0},toDamo:function(){window.open("https://www.demogic.com/")}}},f={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{staticClass:"hide-close-dialog",attrs:{title:"到期提醒",visible:t.dialogVisible,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[o("div",{staticClass:"m-b-20 text-center"},[o("div",{staticClass:"img-tip-wrap text-center"},[o("img",{attrs:{src:a("9MUK"),alt:""}})]),t._v(" "),o("div",{staticClass:"font-18 color-303133 m-t-17 text-center"},[t._v("使用已到期")]),t._v(" "),o("div",{staticClass:"font-14 color-909399 m-t-10 line-h-20 text-center"},[o("span",{staticClass:"font-14 color-909399"},[t._v("服务已到使用期限,请升级 ")]),o("span",{staticClass:"color-2f54eb cursor-pointer",on:{click:t.toDamo}},[t._v("达摩服务")])])])])},staticRenderFns:[]};var v=a("VU/8")(g,f,!1,function(t){a("veEd")},"data-v-4d04a4fb",null).exports,h=a("P9l9"),m=a("Ch4/"),w=a("3E4D"),x={name:"index",data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,smallVersion:"",corpName:"",date:(new Date).getTime(),storeNum:100,storeTotal:""},helpList:[],expiredFlag:!1}},methods:{getExpired:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:""};Object(h.a)("/haoban-manage3-web/open-or-close",e).then(function(e){var a=e.data;1!=a.errorCode?m.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var o=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){var n=[t,e=parseInt(e)>0?e-1:11,a],s=3!==n.length?new Date:new Date(n[0],n[1],n[2]),r=void 0,i=void 0,c=void 0,l=void 0,p=!1,d=s.getFullYear();for(r=365*(d-1921)+Math.floor((d-1921)/4)+[0,31,59,90,120,151,181,212,243,273,304,334][s.getMonth()]+s.getDate()-38,d%4==0&&s.getMonth()>1&&r++,i=0;;i++){for(c=l=o[i]<4095?11:12;c>=0;c--){if(r<=this.getBit(o[i],c)){p=!0;break}r-=this.getBit(o[i],c)}if(p)break}var u,g=void 0;g=l-c+1,u=r,12===l&&(g===Math.floor(o[i]/65536)+1&&(g=1-g),g>Math.floor(o[i]/65536)+1&&g--);var f="一二三四五六七八九十".charAt(u-1);return u%10==0&&10!==u||(f="一二三四五六七八九十".charAt((u-1)%10)),console.log(),1===u?"正二三四五六七八九十冬腊".charAt(g-1)+"月初一":"正二三四五六七八九十冬腊".charAt(g-1)+"月"+(u<11?"初":u<20?"十":u<30?"廿":"三十")+f}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.helpUrl)return!1;window.open(t.helpUrl)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){if(!t.applicationPath)return w.a.showmsg("无更多设置项,不可进入!","warning"),!1;this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认"+a+"【"+t.applicationName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){t.openFlag})},postSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:1==t.openFlag?0:1};Object(h.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return w.a.showmsg("操作成功","success"),void e.getAppData(1);m.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAppSwitch:function(t,e){var a=this;a.$confirm("确定要"+(1==t?"启用":"停用")+"【"+e.applicationName+"】?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postAppSwitch(e)}).catch(function(){e.openFlag=!1})},postAppSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:t.openFlag?1:0};Object(h.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return w.a.showmsg("启用成功","success"),void e.getAppData(1);m.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getHelpData:function(){var t=this;Object(h.a)("/haoban-manage3-web/get-help-list",{}).then(function(e){var a=e.data;1!=a.errorCode?t.$message.error({duration:1e3,message:a.message}):t.helpList=a.result||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",type:t};Object(h.a)("/haoban-manage3-web/application-open-close-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.open.forEach(function(t){t.openFlag=1}),e.purchaseApp=JSON.parse(p()(a.result.open))||[],a.result.close.forEach(function(t){t.openFlag=!1}),void(e.noPurchaseApp=JSON.parse(p()(a.result.close))||[]);m.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getBindData:function(){var t=this;Object(h.a)("/haoban-manage3-web/has-bind-contract",{}).then(function(e){var a=e.data;1!=a.errorCode?m.a.errorMsg(a):a.result||t.getBindUrl()}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getBindUrl:function(){var t=this;Object(h.a)("/haoban-manage3-web/get-auth-url",{}).then(function(t){var e=t.data;1!=e.errorCode?m.a.errorMsg(e):window.location.href=""+e.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var t=this;return new c.a(function(e,a){Object(h.a)("/haoban-manage3-web/get-login-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return localStorage.setItem("userInfos",p()(a.result)),void e(a.result.wxEnterpriseId);m.a.errorMsg(a),e({wxEnterpriseId:""})}).catch(function(a){e({wxEnterpriseId:""}),t.$message.error({duration:1e3,message:a.message})})})},getTipData:function(){var t=this;Object(h.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(e){var a=e.data;1!=a.errorCode?m.a.errorMsg(a):t.checkShow=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getCompanyData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(h.a)("/haoban-manage3-web/wxEnterprise-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.versionData=a.result,!1;m.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){var t=this;return r()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=t).getBindData(),e.next=4,a.toLogin();case 4:a.wxEnterpriseId=e.sent,a.getAppData(1),a.getHelpData(),a.getCompanyData(),a.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-92+"px";case 9:case"end":return e.stop()}},e,t)}))()},components:{vueOfficeHeader:u.a,setTip:d.a,expiredDialog:v}},C={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",{staticClass:"font-16 color-303133 font-w-600 line-h-32"},[t._v("已使用")]),t._v(" "),t.checkShow?t._e():a("set-tip",{attrs:{tipText:t.tipText}})],1),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,o){return a("li",{key:o+"app",staticClass:"border-box",on:{click:function(a){t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),t._v(" "),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])}))]),t._v(" "),t.noPurchaseApp.length?a("div",{staticClass:"bg-space"}):t._e(),t._v(" "),a("div",{class:["index-body-left_bottom border-box",t.noPurchaseApp.length?"bottom-0":"bottom-9999"]},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,o){return a("li",{key:o+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])}))])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-13",staticStyle:{"font-weight":"300"}},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),t._v(" "),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),t._v(" "),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10",staticStyle:{"letter-spacing":"2px"}},[t._v(t._s((new Date).getDate()))]),t._v(" "),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),t._v(" "),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.corpName))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.smallVersion))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"GIC已同步上线门店总数,实时获取",placement:"top-start"}},[a("span",{staticClass:"w-86 font-14 color-909399 text-left",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("门店总数")])])],1),t._v(" "),a("span",{staticClass:"font-14 color-303133 "},[t._v(t._s(t.versionData.storeTotal))])])])]),t._v(" "),a("div",{staticClass:"bg-margin-10"}),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list m-t-15"},[t._l(t.helpList,function(e,o){return a("li",{key:o+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){t.toRedirect(e)}}},[t._v("\n "+t._s(e.helpTitle)+"\n ")])}),t._v(" "),a("li",{staticClass:"text-center li-more cursor-pointer",on:{click:t.goUdesk}},[t._v("查看更多")])],2)])])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)],1)},staticRenderFns:[]};var b=a("VU/8")(x,C,!1,function(t){a("GzI/")},"data-v-223e036c",null);e.default=b.exports},veEd:function(t,e){}});
\ No newline at end of file
webpackJsonp([14],{"9MUK":function(t,e){t.exports="data:image/png;base64,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"},"GzI/":function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Xxa5"),n=a.n(o),s=a("exGp"),r=a.n(s),i=a("//Fk"),c=a.n(i),l=a("mvHQ"),p=a.n(l),d=a("c9no"),u=a("NKg7"),g={props:{syncData:{type:Object,default:function(){return{syncStatus:"0"}}}},data:function(){return{dialogVisible:!0}},methods:{handleClose:function(t){this.dialogVisible=!0},toDamo:function(){window.open("https://www.demogic.com/")}}},f={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{staticClass:"hide-close-dialog",attrs:{title:"到期提醒",visible:t.dialogVisible,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[o("div",{staticClass:"m-b-20 text-center"},[o("div",{staticClass:"img-tip-wrap text-center"},[o("img",{attrs:{src:a("9MUK"),alt:""}})]),t._v(" "),o("div",{staticClass:"font-18 color-303133 m-t-17 text-center"},[t._v("使用已到期")]),t._v(" "),o("div",{staticClass:"font-14 color-909399 m-t-10 line-h-20 text-center"},[o("span",{staticClass:"font-14 color-909399"},[t._v("服务已到使用期限,请升级 ")]),o("span",{staticClass:"color-2f54eb cursor-pointer",on:{click:t.toDamo}},[t._v("达摩服务")])])])])},staticRenderFns:[]};var v=a("VU/8")(g,f,!1,function(t){a("veEd")},"data-v-4d04a4fb",null).exports,h=a("P9l9"),m=a("Ch4/"),w=a("3E4D"),x={name:"index",data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,smallVersion:"",corpName:"",date:(new Date).getTime(),storeNum:100,storeTotal:""},helpList:[],expiredFlag:!1}},methods:{getExpired:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:""};Object(h.a)("/haoban-manage3-web/open-or-close",e).then(function(e){var a=e.data;1!=a.errorCode?m.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var o=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){var n=[t,e=parseInt(e)>0?e-1:11,a],s=3!==n.length?new Date:new Date(n[0],n[1],n[2]),r=void 0,i=void 0,c=void 0,l=void 0,p=!1,d=s.getFullYear();for(r=365*(d-1921)+Math.floor((d-1921)/4)+[0,31,59,90,120,151,181,212,243,273,304,334][s.getMonth()]+s.getDate()-38,d%4==0&&s.getMonth()>1&&r++,i=0;;i++){for(c=l=o[i]<4095?11:12;c>=0;c--){if(r<=this.getBit(o[i],c)){p=!0;break}r-=this.getBit(o[i],c)}if(p)break}var u,g=void 0;g=l-c+1,u=r,12===l&&(g===Math.floor(o[i]/65536)+1&&(g=1-g),g>Math.floor(o[i]/65536)+1&&g--);var f="一二三四五六七八九十".charAt(u-1);return u%10==0&&10!==u||(f="一二三四五六七八九十".charAt((u-1)%10)),console.log(),1===u?"正二三四五六七八九十冬腊".charAt(g-1)+"月初一":"正二三四五六七八九十冬腊".charAt(g-1)+"月"+(u<11?"初":u<20?"十":u<30?"廿":"三十")+f}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.helpUrl)return!1;window.open(t.helpUrl)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){if(!t.applicationPath)return w.a.showmsg("无更多设置项,不可进入!","warning"),!1;this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认"+a+"【"+t.applicationName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){t.openFlag})},postSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:1==t.openFlag?0:1};Object(h.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return w.a.showmsg("操作成功","success"),void e.getAppData(1);m.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAppSwitch:function(t,e){var a=this;a.$confirm("确定要"+(1==t?"启用":"停用")+"【"+e.applicationName+"】?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postAppSwitch(e)}).catch(function(){e.openFlag=!1})},postAppSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:t.openFlag?1:0};Object(h.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return w.a.showmsg("启用成功","success"),void e.getAppData(1);m.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getHelpData:function(){var t=this;Object(h.a)("/haoban-manage3-web/get-help-list",{}).then(function(e){var a=e.data;1!=a.errorCode?t.$message.error({duration:1e3,message:a.message}):t.helpList=a.result||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",type:t};Object(h.a)("/haoban-manage3-web/application-open-close-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.open.forEach(function(t){t.openFlag=1}),e.purchaseApp=JSON.parse(p()(a.result.open))||[],a.result.close.forEach(function(t){t.openFlag=!1}),void(e.noPurchaseApp=JSON.parse(p()(a.result.close))||[]);m.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getBindData:function(){var t=this;Object(h.a)("/haoban-manage3-web/has-bind-contract",{}).then(function(e){var a=e.data;1!=a.errorCode?m.a.errorMsg(a):a.result||t.getBindUrl()}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getBindUrl:function(){var t=this;Object(h.a)("/haoban-manage3-web/get-auth-url",{}).then(function(t){var e=t.data;1!=e.errorCode?m.a.errorMsg(e):window.location.href=""+e.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var t=this;return new c.a(function(e,a){Object(h.a)("/haoban-manage3-web/get-login-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return localStorage.setItem("userInfos",p()(a.result)),void e(a.result.wxEnterpriseId);m.a.errorMsg(a),e({wxEnterpriseId:""})}).catch(function(a){e({wxEnterpriseId:""}),t.$message.error({duration:1e3,message:a.message})})})},getTipData:function(){var t=this;Object(h.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(e){var a=e.data;1!=a.errorCode?m.a.errorMsg(a):t.checkShow=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getCompanyData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(h.a)("/haoban-manage3-web/wxEnterprise-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.versionData=a.result,!1;m.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){var t=this;return r()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=t).getBindData(),e.next=4,a.toLogin();case 4:a.wxEnterpriseId=e.sent,a.getAppData(1),a.getHelpData(),a.getCompanyData(),a.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-92+"px";case 9:case"end":return e.stop()}},e,t)}))()},components:{vueOfficeHeader:u.a,setTip:d.a,expiredDialog:v}},C={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",{staticClass:"font-16 color-303133 font-w-600 line-h-32"},[t._v("已使用")]),t._v(" "),t.checkShow?t._e():a("set-tip",{attrs:{tipText:t.tipText}})],1),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,o){return a("li",{key:o+"app",staticClass:"border-box",on:{click:function(a){t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),t._v(" "),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])}))]),t._v(" "),t.noPurchaseApp.length?a("div",{staticClass:"bg-space"}):t._e(),t._v(" "),a("div",{class:["index-body-left_bottom border-box",t.noPurchaseApp.length?"bottom-0":"bottom-9999"]},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,o){return a("li",{key:o+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])}))])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-13",staticStyle:{"font-weight":"300"}},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),t._v(" "),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),t._v(" "),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10",staticStyle:{"letter-spacing":"2px"}},[t._v(t._s((new Date).getDate()))]),t._v(" "),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),t._v(" "),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.corpName))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.smallVersion))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"GIC已同步上线门店总数,实时获取",placement:"top-start"}},[a("span",{staticClass:"w-86 font-14 color-909399 text-left",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("门店总数")])])],1),t._v(" "),a("span",{staticClass:"font-14 color-303133 "},[t._v(t._s(t.versionData.storeTotal))])])])]),t._v(" "),a("div",{staticClass:"bg-margin-10"}),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list m-t-15"},[t._l(t.helpList,function(e,o){return a("li",{key:o+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){t.toRedirect(e)}}},[t._v("\n "+t._s(e.helpTitle)+"\n ")])}),t._v(" "),a("li",{staticClass:"text-center li-more cursor-pointer",on:{click:t.goUdesk}},[t._v("查看更多")])],2)])])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)],1)},staticRenderFns:[]};var b=a("VU/8")(x,C,!1,function(t){a("GzI/")},"data-v-223e036c",null);e.default=b.exports},veEd:function(t,e){}});
\ No newline at end of file
webpackJsonp([14],{ByJz:function(e,t){},EvT0:function(e,t){},aMpN:function(e,t){},xDJN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),i=a("exGp"),r=a.n(i),s=a("P9l9"),c=a("Ch4/"),l=a("PI0u"),d={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0}},methods:{handleClose:function(e){this.$emit("closeGetRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(s.d)("/haoban-app-customer-web/cardCoupon/find-receive-card-page",i).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"领取记录",visible:e.dialogVisible,width:"802px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-369",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1)]),e._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"领取时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("aMpN")},"data-v-1fbf8b96",null).exports,h={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0}},methods:{handleClose:function(e){this.$emit("closeSendRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(s.d)("/haoban-app-customer-web/cardCoupon/find-send-card-page",i).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"发送记录",visible:e.dialogVisible,width:"802px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-369",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1)]),e._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark",height:"450"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"发送时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.sendTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.sendTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var b={components:{cardGetRecord:p,cardSendRecord:a("VU/8")(h,f,!1,function(e){a("EvT0")},"data-v-ea04b09e",null).exports},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0,getRecordShow:!1,sendRecordShow:!1,coupCardId:""}},filters:{percenteNum:function(e){return e>0?Number(100*e).toFixed(2)+"%":Number(e).toFixed(2)+"%"}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{showGetRecord:function(e,t){this.coupCardId=t.coupCardId,this.getRecordShow=!0},closeGetRecord:function(){this.getRecordShow=!1},showSendRecord:function(e,t){this.coupCardId=t.coupCardId,this.sendRecordShow=!0},closeSendRecord:function(){this.sendRecordShow=!1},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var e=this;return r()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n={gicEnterpriseId:(a=e).brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(s.d)("/haoban-app-customer-web/cardCoupon/find-card-log-page",n).then(function(e){var t=e.data;if(1==t.errorCode)return a.tableData=t.result.list||[],void(a.total=t.result.pageInfo.total);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})});case 3:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[e._m(0),e._v(" "),a("div",{staticClass:"m-b-20"}),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"",width:"96"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券数量,包含扫码发券数",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送数量")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.issuingQuantity)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.getedQuantity))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("percenteNum")(t.row.getedRate)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.usageQuantity))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("percenteNum")(t.row.verificationRate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"销售额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.saleAmount))])]}}])}),e._v(" "),a("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"导购发送卡券的总人数统计,次日刷新",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购发送卡券人数")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendMemberCount)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",width:"200",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showSendRecord(t.$index,t.row,"1")}}},[e._v("发送记录")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showGetRecord(t.$index,t.row,"2")}}},[e._v("领取记录")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),e.getRecordShow?a("card-get-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeGetRecord:e.closeGetRecord}}):e._e(),e._v(" "),e.sendRecordShow?a("card-send-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeSendRecord:e.closeSendRecord}}):e._e()],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overstore-tip m-b-20",staticStyle:{width:"978px"}},[t("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[t("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),t("div",{staticClass:"el-alert__content"},[t("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录")])])])])}]};var m=a("VU/8")(b,g,!1,function(e){a("ByJz")},"data-v-a05a9230",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([15],{ByJz:function(e,t){},EvT0:function(e,t){},aMpN:function(e,t){},xDJN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),i=a("exGp"),r=a.n(i),s=a("P9l9"),c=a("Ch4/"),l=a("PI0u"),d={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0}},methods:{handleClose:function(e){this.$emit("closeGetRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(s.d)("/haoban-app-customer-web/cardCoupon/find-receive-card-page",i).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"领取记录",visible:e.dialogVisible,width:"802px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-369",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1)]),e._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"领取时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("aMpN")},"data-v-1fbf8b96",null).exports,h={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0}},methods:{handleClose:function(e){this.$emit("closeSendRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(s.d)("/haoban-app-customer-web/cardCoupon/find-send-card-page",i).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"发送记录",visible:e.dialogVisible,width:"802px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-369",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1)]),e._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark",height:"450"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"发送时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.sendTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.sendTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var b={components:{cardGetRecord:p,cardSendRecord:a("VU/8")(h,f,!1,function(e){a("EvT0")},"data-v-ea04b09e",null).exports},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0,getRecordShow:!1,sendRecordShow:!1,coupCardId:""}},filters:{percenteNum:function(e){return e>0?Number(100*e).toFixed(2)+"%":Number(e).toFixed(2)+"%"}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{showGetRecord:function(e,t){this.coupCardId=t.coupCardId,this.getRecordShow=!0},closeGetRecord:function(){this.getRecordShow=!1},showSendRecord:function(e,t){this.coupCardId=t.coupCardId,this.sendRecordShow=!0},closeSendRecord:function(){this.sendRecordShow=!1},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var e=this;return r()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n={gicEnterpriseId:(a=e).brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(s.d)("/haoban-app-customer-web/cardCoupon/find-card-log-page",n).then(function(e){var t=e.data;if(1==t.errorCode)return a.tableData=t.result.list||[],void(a.total=t.result.pageInfo.total);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})});case 3:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[e._m(0),e._v(" "),a("div",{staticClass:"m-b-20"}),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"",width:"96"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券数量,包含扫码发券数",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送数量")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.issuingQuantity)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.getedQuantity))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("percenteNum")(t.row.getedRate)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.usageQuantity))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("percenteNum")(t.row.verificationRate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"销售额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.saleAmount))])]}}])}),e._v(" "),a("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"导购发送卡券的总人数统计,次日刷新",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购发送卡券人数")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendMemberCount)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",width:"200",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showSendRecord(t.$index,t.row,"1")}}},[e._v("发送记录")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showGetRecord(t.$index,t.row,"2")}}},[e._v("领取记录")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),e.getRecordShow?a("card-get-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeGetRecord:e.closeGetRecord}}):e._e(),e._v(" "),e.sendRecordShow?a("card-send-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeSendRecord:e.closeSendRecord}}):e._e()],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overstore-tip m-b-20",staticStyle:{width:"978px"}},[t("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[t("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),t("div",{staticClass:"el-alert__content"},[t("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录")])])])])}]};var m=a("VU/8")(b,g,!1,function(e){a("ByJz")},"data-v-a05a9230",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([15],{B9Yg:function(t,s,e){t.exports=e.p+"static/img/gic-error.8aba914.png"},"Q3j/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("B9Yg"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/login",rel:"noopener noreferrer"}},[this._v("返回好办登录页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("m85l")},"data-v-db126e6e",null);s.default=c.exports},m85l:function(t,s){}});
\ No newline at end of file
webpackJsonp([16],{B9Yg:function(t,s,e){t.exports=e.p+"static/img/gic-error.8aba914.png"},"Q3j/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("B9Yg"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/login",rel:"noopener noreferrer"}},[this._v("返回好办登录页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("m85l")},"data-v-db126e6e",null);s.default=c.exports},m85l:function(t,s){}});
\ No newline at end of file
webpackJsonp([16],{"7Otq":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4EImFINJKApCDpiBRRIsXIcqQCqUJqkV1II/ItchQ5jVxA+pDbyCAyivyKvEcxlIGyUQPUAnVAuagfGorGoHPRdDQPXYCWomvRGrQePYC2oqfRS+h1dAB9io5jgNExDmaM2WFcjIdFYIlYGibHFmPlWDVWjzVjHVg3dhUbwJ5h7wgkAouAE+wIXoQQwmyCkJBHWExYQ6gl7CO0EroIVwmDhDHCJyKTqE+0JXoS+cR4YjqxkFhGrCbuIR4hniVeJw4TX5NIJA7JkuROCiElkDJJC0lrSNtILaRTpD7SEGmcTCbrkG3J3uQIsoCsIJeRt5APkE+S+8nD5LcUOsWI4kwJoiRSpJQSSjVlP+UEpZ8yQpmgqlHNqZ7UCKqIOp9aSW2gdlAvU4epEzR1miXNmxZDy6Qto9XQmmlnafdoL+l0ugndgx5Fl9CX0mvoB+nn6YP0dwwNhg2Dx0hiKBlrGXsZpxi3GS+ZTKYF05eZyFQw1zIbmWeYD5hvVVgq9ip8FZHKEpU6lVaVfpXnqlRVc1U/1XmqC1SrVQ+rXlZ9pkZVs1DjqQnUFqvVqR1Vu6k2rs5Sd1KPUM9RX6O+X/2C+mMNsoaFRqCGSKNUY7fGGY0hFsYyZfFYQtZyVgPrLGuYTWJbsvnsTHYF+xt2L3tMU0NzqmasZpFmneZxzQEOxrHg8DnZnErOIc4NznstAy0/LbHWaq1mrX6tN9p62r7aYu1y7Rbt69rvdXCdQJ0snfU6bTr3dQm6NrpRuoW623XP6j7TY+t56Qn1yvUO6d3RR/Vt9KP1F+rv1u/RHzcwNAg2kBlsMThj8MyQY+hrmGm40fCE4agRy2i6kcRoo9FJoye4Ju6HZ+M1eBc+ZqxvHGKsNN5l3Gs8YWJpMtukxKTF5L4pzZRrmma60bTTdMzMyCzcrNisyeyOOdWca55hvtm82/yNhaVFnMVKizaLx5balnzLBZZNlvesmFY+VnlW9VbXrEnWXOss623WV2xQG1ebDJs6m8u2qK2brcR2m23fFOIUjynSKfVTbtox7PzsCuya7AbtOfZh9iX2bfbPHcwcEh3WO3Q7fHJ0dcx2bHC866ThNMOpxKnD6VdnG2ehc53zNRemS5DLEpd2lxdTbaeKp26fesuV5RruutK10/Wjm7ub3K3ZbdTdzD3Ffav7TS6bG8ldwz3vQfTw91jicczjnaebp8LzkOcvXnZeWV77vR5Ps5wmntYwbcjbxFvgvct7YDo+PWX6zukDPsY+Ap96n4e+pr4i3z2+I37Wfpl+B/ye+zv6y/2P+L/hefIW8U4FYAHBAeUBvYEagbMDawMfBJkEpQc1BY0FuwYvDD4VQgwJDVkfcpNvwBfyG/ljM9xnLJrRFcoInRVaG/owzCZMHtYRjobPCN8Qfm+m+UzpzLYIiOBHbIi4H2kZmRf5fRQpKjKqLupRtFN0cXT3LNas5Fn7Z72O8Y+pjLk722q2cnZnrGpsUmxj7Ju4gLiquIF4h/hF8ZcSdBMkCe2J5MTYxD2J43MC52yaM5zkmlSWdGOu5dyiuRfm6c7Lnnc8WTVZkHw4hZgSl7I/5YMgQlAvGE/lp25NHRPyhJuFT0W+oo2iUbG3uEo8kuadVpX2ON07fUP6aIZPRnXGMwlPUit5kRmSuSPzTVZE1t6sz9lx2S05lJyUnKNSDWmWtCvXMLcot09mKyuTDeR55m3KG5OHyvfkI/lz89sVbIVM0aO0Uq5QDhZML6greFsYW3i4SL1IWtQz32b+6vkjC4IWfL2QsFC4sLPYuHhZ8eAiv0W7FiOLUxd3LjFdUrpkeGnw0n3LaMuylv1Q4lhSVfJqedzyjlKD0qWlQyuCVzSVqZTJy26u9Fq5YxVhlWRV72qX1VtWfyoXlV+scKyorviwRrjm4ldOX9V89Xlt2treSrfK7etI66Trbqz3Wb+vSr1qQdXQhvANrRvxjeUbX21K3nShemr1js20zcrNAzVhNe1bzLas2/KhNqP2ep1/XctW/a2rt77ZJtrWv913e/MOgx0VO97vlOy8tSt4V2u9RX31btLugt2PGmIbur/mft24R3dPxZ6Pe6V7B/ZF7+tqdG9s3K+/v7IJbVI2jR5IOnDlm4Bv2pvtmne1cFoqDsJB5cEn36Z8e+NQ6KHOw9zDzd+Zf7f1COtIeSvSOr91rC2jbaA9ob3v6IyjnR1eHUe+t/9+7zHjY3XHNY9XnqCdKD3x+eSCk+OnZKeenU4/PdSZ3Hn3TPyZa11RXb1nQ8+ePxd07ky3X/fJ897nj13wvHD0Ivdi2yW3S609rj1HfnD94UivW2/rZffL7Vc8rnT0Tes70e/Tf/pqwNVz1/jXLl2feb3vxuwbt24m3Ry4Jbr1+Hb27Rd3Cu5M3F16j3iv/L7a/eoH+g/qf7T+sWXAbeD4YMBgz8NZD+8OCYee/pT/04fh0kfMR9UjRiONj50fHxsNGr3yZM6T4aeypxPPyn5W/3nrc6vn3/3i+0vPWPzY8Av5i8+/rnmp83Lvq6mvOscjxx+8znk98ab8rc7bfe+477rfx70fmSj8QP5Q89H6Y8en0E/3Pud8/vwv94Tz+4A5JREAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADKGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMzggNzkuMTU5ODI0LCAyMDE2LzA5LzE0LTAxOjA5OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozQTc1QTU3MEMyQzMxMUU4OTEwM0IxQTAxMkZFQzlFOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozQTc1QTU2RkMyQzMxMUU4OTEwM0IxQTAxMkZFQzlFOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoTWFjaW50b3NoKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJDNjg1NkFFOEJGMzExRTg5RDM1OTVDMzQ5MTk5MThGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJDNjg1NkFGOEJGMzExRTg5RDM1OTVDMzQ5MTk5MThGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+qQWQfQAADLhJREFUeNqkWAmMXVUZ/s65+9tn7UynZTqFloJQBFndiBAQFAEDkoghhqBGkU0ICdFgTCCYEBVREjQiMREkyhKDEIm4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"},"T+/8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),s=r.n(n),o=r("PI0u"),a=r("MJLE"),i=r.n(a),c=r("Ch4/"),l=r("P9l9"),d={name:"login",data:function(){return{qrcodeCase:"",qrcodeNum:"",enterpriseId:"",expiredFlag:!1,canSelectFlag:!1,userId:"",ajaxTime:null,chooseTab:"qrcode",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},chooseLogin:function(e,t){this.chooseTab=t,document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),clearInterval(this.ajaxTime),"pass"!=t?this.expiredFlag=!1:this.qrcodeNum="",document.getElementById("line-active").style.width=e.target.offsetWidth+"px",document.getElementById("line-active").style.left=e.target.offsetLeft+"px"},collapseTag:function(e){this.collapseFlag=e},qrcode:function(e){var t={type:"web-login",data:e||"123456789"};this.qrcodeCase=new i.a("qrcode",{width:190,height:190,text:s()(t)}),document.getElementById("qrcode").title=""},refreshCode:Object(o.a)(function(){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear()),this.getQrcode(),this.expiredFlag=!1},500),toIndex:Object(o.a)(function(){this.toLogin()},500),toLogin:Object(o.a)(function(){var e=this,t={qrcode:e.qrcodeNum||"debug",enterpriseId:e.enterpriseId,userId:e.userId};Object(l.d)("/haoban-manage3-web/login_local",t).then(function(t){var r=t.data;if(1==r.errorCode)return localStorage.removeItem("userInfo"),void localStorage.setItem("userInfos",s()(r.result));30004==r.errorCode&&(e.canSelectFlag=!1,"qrcode"==e.chooseTab&&(e.getQrcode(),e.expiredFlag=!1)),c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},500),checkLogin:function(){var e=this,t={qrcode:e.qrcodeNum};Object(l.d)("/haoban-manage3-web/login-check",t).then(function(t){var r=t.data;if(1!=r.errorCode)30002==r.errorCode&&(e.expiredFlag=!0),c.a.errorMsg(r),clearInterval(e.ajaxTime);else if(r.result&&r.result.enterpriseList&&r.result.enterpriseList.length){if(e.enterpriseList=r.result.enterpriseList,e.enterpriseId=e.enterpriseList[0].enterpriseId,e.userId=r.result.userId,document.getElementById("qrcode").innerHTML="",e.qrcodeCase.clear(),clearInterval(e.ajaxTime),1==r.result.enterpriseList.length)return e.toLogin(),!1;e.canSelectFlag=!0}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkScan:function(){var e=this;clearInterval(e.ajaxTime),e.ajaxTime=null,e.ajaxTime=setInterval(function(){e.checkLogin()},3e3)},getQrcode:function(){var e=this;Object(l.d)("/haoban-manage3-web/get-login-qrcode",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.qrcodeNum=r.result,void(window.location.href=""+r.result);c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeCode:function(e){this.numberCode=e}},mounted:function(){this.getQrcode(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},A={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"login-wrap"},[r("section",[r("div",{staticClass:"login-body-top"},[e._m(0),e._v(" "),r("div",{staticClass:"login-body-qrcode"},[r("div",{staticClass:"login-qrcode-inner border-box"},[r("div",{staticClass:"qrcode-title font-18 color-303133 m-b-20"},[e._v("企业微信扫码登录")]),e._v(" "),r("div",{attrs:{id:"qrcode",title:""}}),e._v(" "),r("div",{staticClass:"qrcode-refresh m-t-20"},[r("el-button",{staticClass:"font-12",attrs:{type:"text"},on:{click:e.refreshCode}},[e._v("刷新 "),r("span",{staticClass:"color-2f54eb iconfont iconshuaxin"})])],1)])]),e._v(" "),r("div",{staticClass:"bg-dot"}),e._v(" "),r("div",{staticClass:"bg-dot-center"})]),e._v(" "),r("div",{staticClass:"login-body-bottom"})]),e._v(" "),r("footer",{staticClass:"p-t-35"},[r("vue-gic-footer")],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"login-body-head"},[t("div",{staticClass:"login-body-head_inner border-box flex"},[t("img",{staticClass:"login-body-logo",attrs:{src:r("7Otq"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"login-body-title p-l-7"},[this._v("好办管理后台")])])])}]};var g=r("VU/8")(d,A,!1,function(e){r("jyJ8")},"data-v-d73f5746",null);t.default=g.exports},jyJ8:function(e,t){}});
\ No newline at end of file
webpackJsonp([17],{"7Otq":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4EImFINJKApCDpiBRRIsXIcqQCqUJqkV1II/ItchQ5jVxA+pDbyCAyivyKvEcxlIGyUQPUAnVAuagfGorGoHPRdDQPXYCWomvRGrQePYC2oqfRS+h1dAB9io5jgNExDmaM2WFcjIdFYIlYGibHFmPlWDVWjzVjHVg3dhUbwJ5h7wgkAouAE+wIXoQQwmyCkJBHWExYQ6gl7CO0EroIVwmDhDHCJyKTqE+0JXoS+cR4YjqxkFhGrCbuIR4hniVeJw4TX5NIJA7JkuROCiElkDJJC0lrSNtILaRTpD7SEGmcTCbrkG3J3uQIsoCsIJeRt5APkE+S+8nD5LcUOsWI4kwJoiRSpJQSSjVlP+UEpZ8yQpmgqlHNqZ7UCKqIOp9aSW2gdlAvU4epEzR1miXNmxZDy6Qto9XQmmlnafdoL+l0ugndgx5Fl9CX0mvoB+nn6YP0dwwNhg2Dx0hiKBlrGXsZpxi3GS+ZTKYF05eZyFQw1zIbmWeYD5hvVVgq9ip8FZHKEpU6lVaVfpXnqlRVc1U/1XmqC1SrVQ+rXlZ9pkZVs1DjqQnUFqvVqR1Vu6k2rs5Sd1KPUM9RX6O+X/2C+mMNsoaFRqCGSKNUY7fGGY0hFsYyZfFYQtZyVgPrLGuYTWJbsvnsTHYF+xt2L3tMU0NzqmasZpFmneZxzQEOxrHg8DnZnErOIc4NznstAy0/LbHWaq1mrX6tN9p62r7aYu1y7Rbt69rvdXCdQJ0snfU6bTr3dQm6NrpRuoW623XP6j7TY+t56Qn1yvUO6d3RR/Vt9KP1F+rv1u/RHzcwNAg2kBlsMThj8MyQY+hrmGm40fCE4agRy2i6kcRoo9FJoye4Ju6HZ+M1eBc+ZqxvHGKsNN5l3Gs8YWJpMtukxKTF5L4pzZRrmma60bTTdMzMyCzcrNisyeyOOdWca55hvtm82/yNhaVFnMVKizaLx5balnzLBZZNlvesmFY+VnlW9VbXrEnWXOss623WV2xQG1ebDJs6m8u2qK2brcR2m23fFOIUjynSKfVTbtox7PzsCuya7AbtOfZh9iX2bfbPHcwcEh3WO3Q7fHJ0dcx2bHC866ThNMOpxKnD6VdnG2ehc53zNRemS5DLEpd2lxdTbaeKp26fesuV5RruutK10/Wjm7ub3K3ZbdTdzD3Ffav7TS6bG8ldwz3vQfTw91jicczjnaebp8LzkOcvXnZeWV77vR5Ps5wmntYwbcjbxFvgvct7YDo+PWX6zukDPsY+Ap96n4e+pr4i3z2+I37Wfpl+B/ye+zv6y/2P+L/hefIW8U4FYAHBAeUBvYEagbMDawMfBJkEpQc1BY0FuwYvDD4VQgwJDVkfcpNvwBfyG/ljM9xnLJrRFcoInRVaG/owzCZMHtYRjobPCN8Qfm+m+UzpzLYIiOBHbIi4H2kZmRf5fRQpKjKqLupRtFN0cXT3LNas5Fn7Z72O8Y+pjLk722q2cnZnrGpsUmxj7Ju4gLiquIF4h/hF8ZcSdBMkCe2J5MTYxD2J43MC52yaM5zkmlSWdGOu5dyiuRfm6c7Lnnc8WTVZkHw4hZgSl7I/5YMgQlAvGE/lp25NHRPyhJuFT0W+oo2iUbG3uEo8kuadVpX2ON07fUP6aIZPRnXGMwlPUit5kRmSuSPzTVZE1t6sz9lx2S05lJyUnKNSDWmWtCvXMLcot09mKyuTDeR55m3KG5OHyvfkI/lz89sVbIVM0aO0Uq5QDhZML6greFsYW3i4SL1IWtQz32b+6vkjC4IWfL2QsFC4sLPYuHhZ8eAiv0W7FiOLUxd3LjFdUrpkeGnw0n3LaMuylv1Q4lhSVfJqedzyjlKD0qWlQyuCVzSVqZTJy26u9Fq5YxVhlWRV72qX1VtWfyoXlV+scKyorviwRrjm4ldOX9V89Xlt2treSrfK7etI66Trbqz3Wb+vSr1qQdXQhvANrRvxjeUbX21K3nShemr1js20zcrNAzVhNe1bzLas2/KhNqP2ep1/XctW/a2rt77ZJtrWv913e/MOgx0VO97vlOy8tSt4V2u9RX31btLugt2PGmIbur/mft24R3dPxZ6Pe6V7B/ZF7+tqdG9s3K+/v7IJbVI2jR5IOnDlm4Bv2pvtmne1cFoqDsJB5cEn36Z8e+NQ6KHOw9zDzd+Zf7f1COtIeSvSOr91rC2jbaA9ob3v6IyjnR1eHUe+t/9+7zHjY3XHNY9XnqCdKD3x+eSCk+OnZKeenU4/PdSZ3Hn3TPyZa11RXb1nQ8+ePxd07ky3X/fJ897nj13wvHD0Ivdi2yW3S609rj1HfnD94UivW2/rZffL7Vc8rnT0Tes70e/Tf/pqwNVz1/jXLl2feb3vxuwbt24m3Ry4Jbr1+Hb27Rd3Cu5M3F16j3iv/L7a/eoH+g/qf7T+sWXAbeD4YMBgz8NZD+8OCYee/pT/04fh0kfMR9UjRiONj50fHxsNGr3yZM6T4aeypxPPyn5W/3nrc6vn3/3i+0vPWPzY8Av5i8+/rnmp83Lvq6mvOscjxx+8znk98ab8rc7bfe+477rfx70fmSj8QP5Q89H6Y8en0E/3Pud8/vwv94Tz+4A5JREAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADKGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMzggNzkuMTU5ODI0LCAyMDE2LzA5LzE0LTAxOjA5OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozQTc1QTU3MEMyQzMxMUU4OTEwM0IxQTAxMkZFQzlFOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozQTc1QTU2RkMyQzMxMUU4OTEwM0IxQTAxMkZFQzlFOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoTWFjaW50b3NoKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJDNjg1NkFFOEJGMzExRTg5RDM1OTVDMzQ5MTk5MThGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJDNjg1NkFGOEJGMzExRTg5RDM1OTVDMzQ5MTk5MThGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+qQWQfQAADLhJREFUeNqkWAmMXVUZ/s65+9tn7UynZTqFloJQBFndiBAQFAEDkoghhqBGkU0ICdFgTCCYEBVREjQiMREkyhKDEIm4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"},"T+/8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),s=r.n(n),o=r("PI0u"),a=r("MJLE"),i=r.n(a),c=r("Ch4/"),l=r("P9l9"),d={name:"login",data:function(){return{qrcodeCase:"",qrcodeNum:"",enterpriseId:"",expiredFlag:!1,canSelectFlag:!1,userId:"",ajaxTime:null,chooseTab:"qrcode",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},chooseLogin:function(e,t){this.chooseTab=t,document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),clearInterval(this.ajaxTime),"pass"!=t?this.expiredFlag=!1:this.qrcodeNum="",document.getElementById("line-active").style.width=e.target.offsetWidth+"px",document.getElementById("line-active").style.left=e.target.offsetLeft+"px"},collapseTag:function(e){this.collapseFlag=e},qrcode:function(e){var t={type:"web-login",data:e||"123456789"};this.qrcodeCase=new i.a("qrcode",{width:190,height:190,text:s()(t)}),document.getElementById("qrcode").title=""},refreshCode:Object(o.a)(function(){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear()),this.getQrcode(),this.expiredFlag=!1},500),toIndex:Object(o.a)(function(){this.toLogin()},500),toLogin:Object(o.a)(function(){var e=this,t={qrcode:e.qrcodeNum||"debug",enterpriseId:e.enterpriseId,userId:e.userId};Object(l.d)("/haoban-manage3-web/login_local",t).then(function(t){var r=t.data;if(1==r.errorCode)return localStorage.removeItem("userInfo"),void localStorage.setItem("userInfos",s()(r.result));30004==r.errorCode&&(e.canSelectFlag=!1,"qrcode"==e.chooseTab&&(e.getQrcode(),e.expiredFlag=!1)),c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},500),checkLogin:function(){var e=this,t={qrcode:e.qrcodeNum};Object(l.d)("/haoban-manage3-web/login-check",t).then(function(t){var r=t.data;if(1!=r.errorCode)30002==r.errorCode&&(e.expiredFlag=!0),c.a.errorMsg(r),clearInterval(e.ajaxTime);else if(r.result&&r.result.enterpriseList&&r.result.enterpriseList.length){if(e.enterpriseList=r.result.enterpriseList,e.enterpriseId=e.enterpriseList[0].enterpriseId,e.userId=r.result.userId,document.getElementById("qrcode").innerHTML="",e.qrcodeCase.clear(),clearInterval(e.ajaxTime),1==r.result.enterpriseList.length)return e.toLogin(),!1;e.canSelectFlag=!0}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkScan:function(){var e=this;clearInterval(e.ajaxTime),e.ajaxTime=null,e.ajaxTime=setInterval(function(){e.checkLogin()},3e3)},getQrcode:function(){var e=this;Object(l.d)("/haoban-manage3-web/get-login-qrcode",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.qrcodeNum=r.result,void(window.location.href=""+r.result);c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeCode:function(e){this.numberCode=e}},mounted:function(){this.getQrcode(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},A={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"login-wrap"},[r("section",[r("div",{staticClass:"login-body-top"},[e._m(0),e._v(" "),r("div",{staticClass:"login-body-qrcode"},[r("div",{staticClass:"login-qrcode-inner border-box"},[r("div",{staticClass:"qrcode-title font-18 color-303133 m-b-20"},[e._v("企业微信扫码登录")]),e._v(" "),r("div",{attrs:{id:"qrcode",title:""}}),e._v(" "),r("div",{staticClass:"qrcode-refresh m-t-20"},[r("el-button",{staticClass:"font-12",attrs:{type:"text"},on:{click:e.refreshCode}},[e._v("刷新 "),r("span",{staticClass:"color-2f54eb iconfont iconshuaxin"})])],1)])]),e._v(" "),r("div",{staticClass:"bg-dot"}),e._v(" "),r("div",{staticClass:"bg-dot-center"})]),e._v(" "),r("div",{staticClass:"login-body-bottom"})]),e._v(" "),r("footer",{staticClass:"p-t-35"},[r("vue-gic-footer")],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"login-body-head"},[t("div",{staticClass:"login-body-head_inner border-box flex"},[t("img",{staticClass:"login-body-logo",attrs:{src:r("7Otq"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"login-body-title p-l-7"},[this._v("好办管理后台")])])])}]};var g=r("VU/8")(d,A,!1,function(e){r("jyJ8")},"data-v-d73f5746",null);t.default=g.exports},jyJ8:function(e,t){}});
\ No newline at end of file
webpackJsonp([17],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),c={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(c,n,!1,function(t){i("wc9b")},"data-v-a27616c0",null);s.default=r.exports},wc9b:function(t,s){}});
\ No newline at end of file
webpackJsonp([18],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),c={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(c,n,!1,function(t){i("wc9b")},"data-v-a27616c0",null);s.default=r.exports},wc9b:function(t,s){}});
\ No newline at end of file
webpackJsonp([18],{"00op":function(t,e){},YkrW:function(t,e){},"q+Sm":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("mvHQ"),r=o.n(a),n=o("fZjL"),s=o.n(n),i=o("l46T"),c=o("PI0u"),l=o("P9l9"),u=o("3E4D"),p=o("Ch4/"),d={props:{editRow:{type:Object,default:function(){return{}}},categoryParentId:{type:Object,default:function(){return""}}},components:{limitInput:i.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{categoryId:"",categoryName:"",categoryParentId:this.categoryParentId},rules:{categoryName:[{required:!0,message:"请输入模块名称",trigger:"blur"}]}}},methods:{toCancel:function(){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},handleClose:function(t){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},submitForm:Object(c.a)(function(t){var e=this;e.$refs[t].validate(function(t){t&&e.postSave()})},300),postSave:function(){var t=this,e={categoryParentId:t.ruleForm.categoryParentId||"0",categoryId:t.ruleForm.categoryId,categoryName:t.ruleForm.categoryName};Object(l.d)(t.ruleForm.categoryId?"/haoban-manage3-web/category-edit":"/haoban-manage3-web/mateial-add-category",e).then(function(e){var o=e.data;1==o.errorCode?(u.a.showmsg("操作成功","success"),t.$refs.ruleForm.resetFields(),t.$emit("submitGroup")):p.a.errorMsg(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{editRow:function(t){s()(t).length&&(this.ruleForm=JSON.parse(r()(t)))}},mounted:function(){s()(this.editRow).length&&(this.ruleForm=JSON.parse(r()(this.editRow)))}},g={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{title:t.editRow.categoryId?"编辑分组":"新增分组",visible:t.dialogVisible,width:"485px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[o("div",{},[o("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"分组名称",prop:"categoryName"}},[o("limitInput",{attrs:{inputWidth:300,inputValue:t.ruleForm.categoryName,holder:"请输入分组名称",getByType:"word",maxLength:8},on:{"update:inputValue":function(e){t.$set(t.ruleForm,"categoryName",e)}}})],1)],1)],1),t._v(" "),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:t.toCancel}},[t._v("取消")]),t._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("确定")])],1)])},staticRenderFns:[]};var f=o("VU/8")(d,g,!1,function(t){o("00op")},"data-v-a4db2e12",null).exports,h={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",currentCategoryId:"-1",groupData:[],categoryParentId:"",addShow:!1,editGroupRow:{},expandArr:[],tableData:[],activeName:""}},methods:{selectGroup:function(t){t.expand=!t.expand,this.currentCategoryId=t.categoryId,t.expand?this.expandArr.push(t.categoryId):this.expandArr.splice(this.expandArr.indexOf(t.categoryId),1),this.$forceUpdate()},selectNoGroup:function(){this.currentCategoryId="-1"},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearSearch:function(){this.currentPage=1,this.getTableList()},addGroup:function(){this.addShow=!0,this.categoryParentId="",this.editGroupRow={}},closeGroup:function(){this.addShow=!1,this.editGroupRow={}},submitGroup:function(){this.addShow=!1,this.editGroupRow={},this.getGroupData()},addChildGroup:function(t){this.editGroupRow={},this.categoryParentId=t.categoryId,this.addShow=!0},editGroup:function(t){this.addShow=!0,this.categoryParentId="",this.editGroupRow=t},delGroup:function(t){var e=this;e.$confirm("是否删除当前选中的分组?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postDelData(t)}).catch(function(){})},postDelData:function(t){var e=this,o={categoryId:t.categoryId};Object(l.a)("/haoban-manage3-web/category-del",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void e.getGroupData();p.a.errorMsg(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var o=t.filter(function(t){return e.categoryId==t.categoryParentId});return o.length>0?e.children=o:e.children=[],0==e.categoryParentId});return console.log("tree:",e),e},getGroupData:function(t){var e=this,o={wxEnterpriseId:e.wxEnterpriseId};Object(l.a)("/haoban-manage3-web/category-list",o).then(function(t){var o=t.data;1!=o.errorCode?p.a.errorMsg(o):o.result&&o.result.length&&(o.result.forEach(function(t){t.expand=!!e.expandArr.includes(t.categoryId)}),e.groupData=e.treeData(o.result)||[])}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",3),document.documentElement.style.backgroundColor="#f0f2f5",this.getGroupData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{groupDialog:f}},m={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"daily-set-wrap "},[o("div",{staticClass:"daily-set-content border-box"},[o("div",{staticClass:"material-top border-box"},[o("el-input",{staticStyle:{width:"394px"},attrs:{placeholder:"请输入素材名称",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return o=e,t.toInput(o,t.searchInput);var o}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[o("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),o("div",{staticClass:"material-body flex"},[o("div",{staticClass:"material-left"},[o("div",{staticClass:"material-left-add m-t-10 text-center"},[o("div",{staticClass:"add-group font-14 color-909399 cursor-pointer line-h-32",on:{click:t.addGroup}},[o("span",{staticClass:"el-icon-plus"}),o("span",{staticClass:"p-l-5"},[t._v("新建分组")])])]),t._v(" "),o("div",{staticClass:"group-body"},[o("div",{class:["no-group m-t-10 line-h-32 font-14 color-606266","-1"==t.currentCategoryId?"current-group":""],on:{click:t.selectNoGroup}},[t._v("未分组")]),t._v(" "),o("ul",{staticClass:"group-ul padding-lr-12"},[t._l(t.groupData,function(e,a){return[o("li",{key:a+"group",staticClass:"group-cell"},[o("div",{staticClass:"cursor-pointer",on:{click:function(o){o.stopPropagation(),t.selectGroup(e)}}},[e.children.length?o("span",{class:["color-c0c4cc font-12 cursor-pointer",e.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}):t._e(),o("span",{class:["group-name font-14 color-606266 p-l-10",t.currentCategoryId==e.categoryId?"current-group":""]},[t._v(t._s(e.categoryName))]),o("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[o("ul",[o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.addChildGroup(e)}}},[t._v("新增子分组")]),t._v(" "),o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.editGroup(e)}}},[t._v("编辑")]),t._v(" "),e.children.length?t._e():o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.delGroup(e)}}},[t._v("删除")])]),t._v(" "),o("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),t._v(" "),e.expand?o("ul",{staticClass:"p-l-10"},[t._l(e.children,function(e,a){return[o("li",{key:a+"group",staticClass:"group-cell"},[o("div",{staticClass:"cursor-pointer",on:{click:function(o){o.stopPropagation(),t.selectGroup(e)}}},[e.children.length?o("span",{class:["color-c0c4cc font-12 cursor-pointer",e.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}):t._e(),o("span",{class:["group-name font-14 color-606266 p-l-10",t.currentCategoryId==e.categoryId?"current-group":""]},[t._v(t._s(e.categoryName))]),o("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[o("ul",[o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.addChildGroup(e)}}},[t._v("新增子分组")]),t._v(" "),o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.editGroup(e)}}},[t._v("编辑")]),t._v(" "),e.children.length?t._e():o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.delGroup(e)}}},[t._v("删除")])]),t._v(" "),o("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),t._v(" "),e.expand?o("ul",{staticClass:"p-l-10"},[t._l(e.children,function(e,a){return[o("li",{key:a+"group",staticClass:"group-cell"},[o("div",{staticClass:"cursor-pointer",on:{click:function(o){o.stopPropagation(),t.selectGroup(e)}}},[o("span",{class:["group-name font-14 color-606266 p-l-10",t.currentCategoryId==e.categoryId?"current-group":""]},[t._v(t._s(e.categoryName))]),o("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[o("ul",[o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.editGroup(e)}}},[t._v("编辑")]),t._v(" "),o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.delGroup(e)}}},[t._v("删除")])]),t._v(" "),o("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1)])]})],2):t._e()])]})],2):t._e()])]})],2)])]),t._v(" "),o("div",{staticClass:"material-right"},[o("div",{staticClass:"material-table"},[o("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[o("el-tab-pane",{attrs:{name:"1"}},[o("span",{attrs:{slot:"label"},slot:"label"},[o("i",{staticClass:"iconfont iconwenzi"}),t._v("文本")])]),t._v(" "),o("el-tab-pane",{attrs:{label:"图片",name:"2"}},[o("span",{attrs:{slot:"label"},slot:"label"},[o("i",{staticClass:"iconfont icontupian"}),t._v("图片")])]),t._v(" "),o("el-tab-pane",{attrs:{label:"网页",name:"3"}},[o("span",{attrs:{slot:"label"},slot:"label"},[o("i",{staticClass:"iconfont icondaima"}),t._v("网页")])]),t._v(" "),o("el-tab-pane",{attrs:{label:"视频",name:"4"}},[o("span",{attrs:{slot:"label"},slot:"label"},[o("i",{staticClass:"iconfont iconshipin"}),t._v("视频")])]),t._v(" "),o("el-tab-pane",{attrs:{label:"文件",name:"4"}},[o("span",{attrs:{slot:"label"},slot:"label"},[o("i",{staticClass:"iconfont iconwenjian"}),t._v("视频")])])],1)],1)])])]),t._v(" "),t.addShow?o("group-dialog",{attrs:{categoryParentId:t.categoryParentId,editRow:t.editGroupRow},on:{closeGroup:t.closeGroup,submitGroup:t.submitGroup}}):t._e()],1)},staticRenderFns:[]};var v=o("VU/8")(h,m,!1,function(t){o("YkrW")},"data-v-7551a37b",null);e.default=v.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([47],{To6z: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,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},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: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,e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(!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.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){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,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(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){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"},[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:"请输入门店名称"},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"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{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:"35"}}),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("el-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:[]};var h=a("VU/8")(u,p,!1,function(t){a("To6z")},"data-v-65414662",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([47],{QdYk:function(t,e){},lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),r=s("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""}}},computed:{},methods:{saveSet:Object(a.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?n.a.errorMsg(e):o.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.taskBelong=String(s.result.taskBelong),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(i,l,!1,function(t){s("QdYk")},"data-v-59737b52",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([48],{QdYk:function(t,e){},lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),r=s("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""}}},computed:{},methods:{saveSet:Object(a.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?n.a.errorMsg(e):o.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.taskBelong=String(s.result.taskBelong),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(i,l,!1,function(t){s("QdYk")},"data-v-59737b52",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([48],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),n=a("PI0u"),o=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(n.a)(function(t){this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},n=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,n="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(n="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.d)(n,a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(o.d)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("doVp")},"data-v-546a1ac1",null);e.default=c.exports},doVp:function(t,e){}});
\ No newline at end of file
webpackJsonp([49],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),n=a("PI0u"),o=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(n.a)(function(t){this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},n=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,n="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(n="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.d)(n,a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(o.d)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("doVp")},"data-v-546a1ac1",null);e.default=c.exports},doVp:function(t,e){}});
\ No newline at end of file
webpackJsonp([49],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file
webpackJsonp([50],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file
webpackJsonp([50],{X5LE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),s=a.n(o),c=a("Ch4/"),i=a("3E4D"),l=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(u.d)("/haoban-app-customer-web/cardCoupon/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return i.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCard?coupCardId="+e.coupCardId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCard")},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return s()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={gicEnterpriseId:(a=t).brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/cardCoupon/find-card-page",n).then(function(t){var e=t.data;if(1==e.errorCode)return a.tableData=e.result.list||[],void(a.total=e.result.pageInfo.total);c.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})});case 3:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getTableList()}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增卡券")])],1),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e(),t._v(" "),2==e.row.cardType?a("span",[t._v("兑换券")]):t._e()]}}])}),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.effectDateString||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"库存"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.couponStock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},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("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(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("el-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)])},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(t){a("gRjb")},"data-v-5241992b",null);e.default=f.exports},gRjb:function(t,e){}});
\ No newline at end of file
webpackJsonp([51],{X5LE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),s=a.n(o),c=a("Ch4/"),i=a("3E4D"),l=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(u.d)("/haoban-app-customer-web/cardCoupon/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return i.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCard?coupCardId="+e.coupCardId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCard")},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return s()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={gicEnterpriseId:(a=t).brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/cardCoupon/find-card-page",n).then(function(t){var e=t.data;if(1==e.errorCode)return a.tableData=e.result.list||[],void(a.total=e.result.pageInfo.total);c.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})});case 3:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getTableList()}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增卡券")])],1),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e(),t._v(" "),2==e.row.cardType?a("span",[t._v("兑换券")]):t._e()]}}])}),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.effectDateString||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"库存"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.couponStock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},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("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(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("el-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)])},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(t){a("gRjb")},"data-v-5241992b",null);e.default=f.exports},gRjb:function(t,e){}});
\ No newline at end of file
webpackJsonp([51],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("JXCd")},"data-v-5106f326",null);e.default=l.exports},JXCd:function(t,e){}});
\ No newline at end of file
webpackJsonp([52],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("JXCd")},"data-v-5106f326",null);e.default=l.exports},JXCd:function(t,e){}});
\ No newline at end of file
webpackJsonp([52],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("kMRx")},"data-v-45a71088",null);e.default=o.exports},kMRx:function(t,e){}});
\ No newline at end of file
webpackJsonp([53],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("kMRx")},"data-v-45a71088",null);e.default=o.exports},kMRx:function(t,e){}});
\ No newline at end of file
webpackJsonp([53],{UlM0:function(t,e){},dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Ch4/"),o=a("3E4D"),n=a("PI0u"),i=a("P9l9"),r={components:{},props:{brandId:{type:String,default:""}},data:function(){var t=this;return{recordShow:!1,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},activeId:"2",conditionObj:{postDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,s=e.minDate;t.choiceDateCopy=[s.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,s=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>s}}},templateData:[],strategyData:[],tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(i.d)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return o.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(n.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.conditionObj.postDateRange||(t.conditionObj.postDateRange=[]);var e={wxEnterpriseId:t.wxEnterpriseId,search:t.conditionObj.searchInput,queryType:1,sendStartDate:t.conditionObj.postDateRange[0],sendEndDate:t.conditionObj.postDateRange[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(i.d)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","41"),this.getTableList()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,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.postDateRange,callback:function(e){t.$set(t.conditionObj,"postDateRange",e)},expression:"conditionObj.postDateRange"}}),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",clearable:""},on:{clear:t.clearInput},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"})])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"成员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headImg?a("img",{attrs:{src:e.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[t._v(t._s(e.row.staffName||"--"))]),t._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"font-14 color-606266 line-18"},[t._v(t._s(e.row.memberName||"--"))]),t._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发券渠道","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n 好办内购券\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[3==e.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):t._e(),4==e.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):t._e(),5==e.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):t._e(),6==e.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):t._e(),7==e.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):t._e(),8==e.row.status?a("span",{staticClass:"status-dot bg-faad14"}):t._e(),a("span",{staticClass:"inline-block"},[t._v(t._s(t.statusObj[e.row.status]))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.createDate?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createDate)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createDate)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.receiveTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.receiveTime)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.useTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.useTime)))])]):a("div",[t._v("\n --\n ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-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)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("UlM0")},"data-v-41e1090f",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([54],{UlM0:function(t,e){},dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Ch4/"),o=a("3E4D"),n=a("PI0u"),i=a("P9l9"),r={components:{},props:{brandId:{type:String,default:""}},data:function(){var t=this;return{recordShow:!1,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},activeId:"2",conditionObj:{postDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,s=e.minDate;t.choiceDateCopy=[s.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,s=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>s}}},templateData:[],strategyData:[],tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(i.d)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return o.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(n.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.conditionObj.postDateRange||(t.conditionObj.postDateRange=[]);var e={wxEnterpriseId:t.wxEnterpriseId,search:t.conditionObj.searchInput,queryType:1,sendStartDate:t.conditionObj.postDateRange[0],sendEndDate:t.conditionObj.postDateRange[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(i.d)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","41"),this.getTableList()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,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.postDateRange,callback:function(e){t.$set(t.conditionObj,"postDateRange",e)},expression:"conditionObj.postDateRange"}}),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",clearable:""},on:{clear:t.clearInput},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"})])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"成员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headImg?a("img",{attrs:{src:e.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[t._v(t._s(e.row.staffName||"--"))]),t._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"font-14 color-606266 line-18"},[t._v(t._s(e.row.memberName||"--"))]),t._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发券渠道","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n 好办内购券\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[3==e.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):t._e(),4==e.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):t._e(),5==e.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):t._e(),6==e.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):t._e(),7==e.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):t._e(),8==e.row.status?a("span",{staticClass:"status-dot bg-faad14"}):t._e(),a("span",{staticClass:"inline-block"},[t._v(t._s(t.statusObj[e.row.status]))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.createDate?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createDate)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createDate)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.receiveTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.receiveTime)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.useTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.useTime)))])]):a("div",[t._v("\n --\n ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-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)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("UlM0")},"data-v-41e1090f",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([54],{Vyv9:function(t,e){},moBL:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),i=s("Ch4/"),o=s("3E4D"),l=s("P9l9"),r={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"普通电话",value:1},{label:"双向透传",value:2}],activeId:"1",setObj:{taskCallType:1,taskType:0,overDayJudge:"",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""}}},computed:{},methods:{saveSet:Object(a.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallType:t.setObj.taskCallType,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(l.d)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?i.a.errorMsg(e):o.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.d)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.relaxTaskJudge=1==s.result.relaxTaskJudge,void(t.setObj=s.result);i.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","23"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("不良评价拨打:")]),s("el-select",{staticClass:"w-240",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.setObj.taskCallType,callback:function(e){t.$set(t.setObj,"taskCallType",e)},expression:"setObj.taskCallType"}},t._l(t.options,function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("双向透传,使用GIC双向呼叫及透传功能。计费由GIC计费中心计费,可记录通话记录及监测是否拨通。")]):t._e(),t._v(" "),1==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("普通呼叫,使用导购自己手机呼叫。计费方式同正常手机运营商呼叫计费。无法记录通话记录及监测是否拨通")]):t._e()],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),2==t.setObj.taskCallType?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("放弃任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("不良评价下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(r,n,!1,function(t){s("Vyv9")},"data-v-3f143ed2",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([55],{Vyv9:function(t,e){},moBL:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),i=s("Ch4/"),o=s("3E4D"),l=s("P9l9"),r={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"普通电话",value:1},{label:"双向透传",value:2}],activeId:"1",setObj:{taskCallType:1,taskType:0,overDayJudge:"",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""}}},computed:{},methods:{saveSet:Object(a.a)(function(){this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallType:t.setObj.taskCallType,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(l.d)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(t){var e=t.data;1!=e.errorCode?i.a.errorMsg(e):o.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.d)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.relaxTaskJudge=1==s.result.relaxTaskJudge,void(t.setObj=s.result);i.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","23"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("不良评价拨打:")]),s("el-select",{staticClass:"w-240",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.setObj.taskCallType,callback:function(e){t.$set(t.setObj,"taskCallType",e)},expression:"setObj.taskCallType"}},t._l(t.options,function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("双向透传,使用GIC双向呼叫及透传功能。计费由GIC计费中心计费,可记录通话记录及监测是否拨通。")]):t._e(),t._v(" "),1==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("普通呼叫,使用导购自己手机呼叫。计费方式同正常手机运营商呼叫计费。无法记录通话记录及监测是否拨通")]):t._e()],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),2==t.setObj.taskCallType?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("放弃任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("不良评价下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(r,n,!1,function(t){s("Vyv9")},"data-v-3f143ed2",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([55],{"6j9f":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),r=a("P9l9"),o={name:"unreview",data:function(){return{storeSwitch:!1,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:""}},methods:{changeSwitch:function(t){this.postData()},postData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId,auditFlag:e.storeSwitch?1:0};Object(r.d)("/haoban-manage3-web/audit/open-or-close",a).then(function(t){var e=t.data;1!=e.errorCode?n.a.errorMsg(e):s.a.showmsg("操作成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(r.a)("/haoban-manage3-web/audit/find-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):e.storeSwitch=1==a.result.auditFlag}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",3),this.getData()}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:t.changeSwitch},model:{value:t.storeSwitch,callback:function(e){t.storeSwitch=e},expression:"storeSwitch"}}),t._v(" "),a("el-tooltip",{attrs:{content:"开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改",placement:"top"}},[a("span",{staticClass:"inline-block font-14 color-303133 m-l-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("开启门店资料修改审核")])])],1)])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(t){a("ev7S")},"data-v-3d2e14d2",null);e.default=c.exports},ev7S:function(t,e){}});
\ No newline at end of file
webpackJsonp([56],{"6j9f":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),r=a("P9l9"),o={name:"unreview",data:function(){return{storeSwitch:!1,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:""}},methods:{changeSwitch:function(t){this.postData()},postData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId,auditFlag:e.storeSwitch?1:0};Object(r.d)("/haoban-manage3-web/audit/open-or-close",a).then(function(t){var e=t.data;1!=e.errorCode?n.a.errorMsg(e):s.a.showmsg("操作成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(r.a)("/haoban-manage3-web/audit/find-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):e.storeSwitch=1==a.result.auditFlag}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",3),this.getData()}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:t.changeSwitch},model:{value:t.storeSwitch,callback:function(e){t.storeSwitch=e},expression:"storeSwitch"}}),t._v(" "),a("el-tooltip",{attrs:{content:"开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改",placement:"top"}},[a("span",{staticClass:"inline-block font-14 color-303133 m-l-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("开启门店资料修改审核")])])],1)])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(t){a("ev7S")},"data-v-3d2e14d2",null);e.default=c.exports},ev7S:function(t,e){}});
\ No newline at end of file
webpackJsonp([56],{"5GE8":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),s=a("exGp"),i=a.n(s),r=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){var e=this;return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},conditionObj:{getDateRange:[],useDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n}}},templateList:[],strategyList:[],tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(t.coupCardId)}).catch(function(){})},delCardList:function(e){var t=this,a={coupCardId:e};Object(u.d)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(e){var a=e.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void t.getTableList();r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(){var e=this;return i()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(a=e).conditionObj.getDateRange||(a.conditionObj.getDateRange=[]),a.conditionObj.useDateRange||(a.conditionObj.useDateRange=[]),n={queryType:2,wxEnterpriseId:a.wxEnterpriseId,receiveStartDate:a.conditionObj.getDateRange[0],receiveEndDate:a.conditionObj.getDateRange[1],useStartDate:a.conditionObj.useDateRange[0],useEndDate:a.conditionObj.useDateRange[1],search:a.conditionObj.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/inner/find-card-log-page",n).then(function(e){var t=e.data;if(1==t.errorCode)return a.tableData=t.result.result||[],void(a.total=t.result.totalCount);r.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})});case 5:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","42"),this.getTableList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",{staticClass:"flex "},[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"领取开始时间","end-placeholder":"领取结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.getDateRange,callback:function(t){e.$set(e.conditionObj,"getDateRange",t)},expression:"conditionObj.getDateRange"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"核销开始时间","end-placeholder":"核销结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.useDateRange,callback:function(t){e.$set(e.conditionObj,"useDateRange",t)},expression:"conditionObj.useDateRange"}}),e._v(" "),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]):a("div",[e._v("\n --\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.useTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.useTime)))])]):a("div",[e._v("\n --\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"font-14 color-606266 line-18"},[e._v(e._s(t.row.memberName||"--"))]),e._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[e._v(e._s(e._f("formatPhoneNum")(t.row.phoneNum)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"员工信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headImg?a("img",{attrs:{src:t.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[e._v(e._s(t.row.staffName||"--"))]),e._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[e._v(e._s(t.row.departmentName||"--"))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[3==t.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):e._e(),4==t.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):e._e(),5==t.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):e._e(),6==t.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):e._e(),7==t.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):e._e(),8==t.row.status?a("span",{staticClass:"status-dot bg-faad14"}):e._e(),a("span",{staticClass:"inline-block"},[e._v(e._s(e.statusObj[t.row.status]))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"投放来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n 好办内购券\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(5!=t.row.status?"--":0==t.row.checkSource?"订单核销":"手动核销")+"\n ")]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(e){a("kanC")},"data-v-3874edb2",null);t.default=f.exports},kanC:function(e,t){}});
\ No newline at end of file
webpackJsonp([57],{"5GE8":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),s=a("exGp"),i=a.n(s),r=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){var e=this;return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},conditionObj:{getDateRange:[],useDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n}}},templateList:[],strategyList:[],tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(t.coupCardId)}).catch(function(){})},delCardList:function(e){var t=this,a={coupCardId:e};Object(u.d)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(e){var a=e.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void t.getTableList();r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(){var e=this;return i()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(a=e).conditionObj.getDateRange||(a.conditionObj.getDateRange=[]),a.conditionObj.useDateRange||(a.conditionObj.useDateRange=[]),n={queryType:2,wxEnterpriseId:a.wxEnterpriseId,receiveStartDate:a.conditionObj.getDateRange[0],receiveEndDate:a.conditionObj.getDateRange[1],useStartDate:a.conditionObj.useDateRange[0],useEndDate:a.conditionObj.useDateRange[1],search:a.conditionObj.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/inner/find-card-log-page",n).then(function(e){var t=e.data;if(1==t.errorCode)return a.tableData=t.result.result||[],void(a.total=t.result.totalCount);r.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})});case 5:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","42"),this.getTableList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",{staticClass:"flex "},[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"领取开始时间","end-placeholder":"领取结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.getDateRange,callback:function(t){e.$set(e.conditionObj,"getDateRange",t)},expression:"conditionObj.getDateRange"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"核销开始时间","end-placeholder":"核销结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.useDateRange,callback:function(t){e.$set(e.conditionObj,"useDateRange",t)},expression:"conditionObj.useDateRange"}}),e._v(" "),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]):a("div",[e._v("\n --\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.useTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.useTime)))])]):a("div",[e._v("\n --\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"font-14 color-606266 line-18"},[e._v(e._s(t.row.memberName||"--"))]),e._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[e._v(e._s(e._f("formatPhoneNum")(t.row.phoneNum)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"员工信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headImg?a("img",{attrs:{src:t.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[e._v(e._s(t.row.staffName||"--"))]),e._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[e._v(e._s(t.row.departmentName||"--"))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[3==t.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):e._e(),4==t.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):e._e(),5==t.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):e._e(),6==t.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):e._e(),7==t.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):e._e(),8==t.row.status?a("span",{staticClass:"status-dot bg-faad14"}):e._e(),a("span",{staticClass:"inline-block"},[e._v(e._s(e.statusObj[t.row.status]))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"投放来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n 好办内购券\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(5!=t.row.status?"--":0==t.row.checkSource?"订单核销":"手动核销")+"\n ")]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(e){a("kanC")},"data-v-3874edb2",null);t.default=f.exports},kanC:function(e,t){}});
\ No newline at end of file
webpackJsonp([57],{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:[]},selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!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:function(){var t=this,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(t){if(!t.data)return d.a.errorMsg("暂无数据"),!1;var e=new Blob([t.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="云日报记录.csv",a.style.display="none",a.href=URL.createObjectURL(e),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){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,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(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){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"},[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:"请输入门店名称"},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"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{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:"35"}}),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("el-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:[]};var h=a("VU/8")(u,p,!1,function(t){a("KEU8")},"data-v-37261560",null);e.default=h.exports},KEU8:function(t,e){}});
\ No newline at end of file
webpackJsonp([58],{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:[]},selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!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:function(){var t=this,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(t){if(!t.data)return d.a.errorMsg("暂无数据"),!1;var e=new Blob([t.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="云日报记录.csv",a.style.display="none",a.href=URL.createObjectURL(e),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){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,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(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){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"},[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:"请输入门店名称"},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"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{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:"35"}}),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("el-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:[]};var h=a("VU/8")(u,p,!1,function(t){a("KEU8")},"data-v-37261560",null);e.default=h.exports},KEU8:function(t,e){}});
\ No newline at end of file
webpackJsonp([58],{ZcO4:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("ZcO4")},"data-v-337dd046",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([59],{ZcO4:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("ZcO4")},"data-v-337dd046",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([59],{BgBI:function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("BgBI")},"data-v-30d200c5",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([60],{BgBI:function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("BgBI")},"data-v-30d200c5",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([60],{"//Ug":function(e,t){},fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ch4/"),c=a("PI0u"),l=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota"},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:a.brandId},Object(l.a)("/haoban-app-performance-three-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):i.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:e.brandId,year:e.year},Object(l.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(c.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getYearList()}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("//Ug")},"data-v-30947aab",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([61],{"//Ug":function(e,t){},fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ch4/"),c=a("PI0u"),l=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota"},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:a.brandId},Object(l.a)("/haoban-app-performance-three-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):i.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:e.brandId,year:e.year},Object(l.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(c.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getYearList()}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("//Ug")},"data-v-30947aab",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([61],{OuPF:function(e,t){},odfG:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),l=a("PI0u"),i=a("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1}}},methods:{submit:Object(l.a)(function(e){this.setData(e)},500),setData:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(a[e]=t.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(a.mainStoreFlag=t.myCustomData.mainStoreFlag?1:0,a.minorStoreFlag=t.myCustomData.minorStoreFlag?1:0,a.openCardStoreFlag=t.myCustomData.openCardStoreFlag?1:0,a.clerkSeeOtherFlag=t.myCustomData.clerkSeeOtherFlag?1:0,a.allowGuideContact=t.myCustomData.allowGuideContact?1:0,a.allowGuideMobile=t.myCustomData.allowGuideMobile?1:0,a.allowGuideMessage=t.myCustomData.allowGuideMessage?1:0,a.allowGuideOnlineChat=t.myCustomData.allowGuideOnlineChat?1:0,a.isSeeAuthMember=t.myCustomData.isSeeAuthMember?1:0,a.chatFlag=t.myCustomData.chatFlag,a.isMessageRemind=t.myCustomData.isMessageRemind,a.messageRemindTime=t.myCustomData.messageRemindTime,a.isTemplateMessage=t.myCustomData.isTemplateMessage,a.isImgMessage=t.myCustomData.isImgMessage,a.isGoodMessage=t.myCustomData.isGoodMessage,a.isIntegralGoodMessage=t.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.d)(l,a).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):s.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(i.d)("/haoban-app-customer-web/customer/find-member-show-setting",a).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(a.result.mainStoreFlag=1==a.result.mainStoreFlag,a.result.minorStoreFlag=1==a.result.minorStoreFlag,a.result.openCardStoreFlag=1==a.result.openCardStoreFlag,a.result.clerkSeeOtherFlag=1==a.result.clerkSeeOtherFlag,a.result.allowGuideContact=1==a.result.allowGuideContact,a.result.allowGuideMobile=1==a.result.allowGuideMobile,a.result.allowGuideMessage=1==a.result.allowGuideMessage,a.result.allowGuideOnlineChat=1==a.result.allowGuideOnlineChat,a.result.isSeeAuthMember=1==a.result.isSeeAuthMember,a.result.searchFlag=1==a.result.searchFlag,t.myCustomData=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(t){e.$set(e.myCustomData,"mainStoreFlag",t)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(t){e.$set(e.myCustomData,"minorStoreFlag",t)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(t){e.$set(e.myCustomData,"openCardStoreFlag",t)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(t){e.$set(e.myCustomData,"isSeeAuthMember",t)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(t){e.$set(e.myCustomData,"clerkSeeOtherFlag",t)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系会员方式:")])]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(t){e.$set(e.myCustomData,"allowGuideMobile",t)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(t){e.$set(e.myCustomData,"allowGuideMessage",t)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(t){e.$set(e.myCustomData,"allowGuideOnlineChat",t)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加会员/发消息")])],1),e._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var m=a("VU/8")(r,n,!1,function(e){a("OuPF")},"data-v-2e7fb338",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([62],{OuPF:function(e,t){},odfG:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),l=a("PI0u"),i=a("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1}}},methods:{submit:Object(l.a)(function(e){this.setData(e)},500),setData:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(a[e]=t.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(a.mainStoreFlag=t.myCustomData.mainStoreFlag?1:0,a.minorStoreFlag=t.myCustomData.minorStoreFlag?1:0,a.openCardStoreFlag=t.myCustomData.openCardStoreFlag?1:0,a.clerkSeeOtherFlag=t.myCustomData.clerkSeeOtherFlag?1:0,a.allowGuideContact=t.myCustomData.allowGuideContact?1:0,a.allowGuideMobile=t.myCustomData.allowGuideMobile?1:0,a.allowGuideMessage=t.myCustomData.allowGuideMessage?1:0,a.allowGuideOnlineChat=t.myCustomData.allowGuideOnlineChat?1:0,a.isSeeAuthMember=t.myCustomData.isSeeAuthMember?1:0,a.chatFlag=t.myCustomData.chatFlag,a.isMessageRemind=t.myCustomData.isMessageRemind,a.messageRemindTime=t.myCustomData.messageRemindTime,a.isTemplateMessage=t.myCustomData.isTemplateMessage,a.isImgMessage=t.myCustomData.isImgMessage,a.isGoodMessage=t.myCustomData.isGoodMessage,a.isIntegralGoodMessage=t.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.d)(l,a).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):s.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(i.d)("/haoban-app-customer-web/customer/find-member-show-setting",a).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(a.result.mainStoreFlag=1==a.result.mainStoreFlag,a.result.minorStoreFlag=1==a.result.minorStoreFlag,a.result.openCardStoreFlag=1==a.result.openCardStoreFlag,a.result.clerkSeeOtherFlag=1==a.result.clerkSeeOtherFlag,a.result.allowGuideContact=1==a.result.allowGuideContact,a.result.allowGuideMobile=1==a.result.allowGuideMobile,a.result.allowGuideMessage=1==a.result.allowGuideMessage,a.result.allowGuideOnlineChat=1==a.result.allowGuideOnlineChat,a.result.isSeeAuthMember=1==a.result.isSeeAuthMember,a.result.searchFlag=1==a.result.searchFlag,t.myCustomData=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(t){e.$set(e.myCustomData,"mainStoreFlag",t)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(t){e.$set(e.myCustomData,"minorStoreFlag",t)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(t){e.$set(e.myCustomData,"openCardStoreFlag",t)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(t){e.$set(e.myCustomData,"isSeeAuthMember",t)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(t){e.$set(e.myCustomData,"clerkSeeOtherFlag",t)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系会员方式:")])]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(t){e.$set(e.myCustomData,"allowGuideMobile",t)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(t){e.$set(e.myCustomData,"allowGuideMessage",t)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(t){e.$set(e.myCustomData,"allowGuideOnlineChat",t)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加会员/发消息")])],1),e._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var m=a("VU/8")(r,n,!1,function(e){a("OuPF")},"data-v-2e7fb338",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([62],{"29oH":function(t,e){},FMQe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),s=a("LRn8"),i=a("P9l9"),r=a("PI0u"),l=a("3E4D"),c=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:{searchInput:""},wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的任务?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.sessionTaskId)}).catch(function(){})},delCardList:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId,sessionTaskId:t};Object(i.d)("/haoban-app-tel-task-three-web/delete-session-task",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},hidePop:function(t){t.visible=!1},handleDelete:function(t){var e=this,a={helpId:t.helpId};Object(i.d)("/haoban-app-tel-task-three-web/del-help",a).then(function(t){1===t.data.errorCode?(e.$message.success(t.data.message),e.currentPage=1,e.getTableList()):e.$message.warning(t.data.message)}).catch(function(t){})},checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},toInput:Object(r.a)(function(t,e){this.currentPage=1,this.getTableList()},500),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={search:e.conditionObj.searchInput||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(i.d)("/haoban-app-tel-task-three-web/batch-del-store-task-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toNewSession:function(t,e){this.$router.push("newSession")},getTableList:function(t){var e=this,a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,wxEnterpriseId:e.wxEnterpriseId};Object(i.a)("/haoban-app-tel-task-three-web/session-task-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){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(){var t=this;document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.$emit("showTab","3"),this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:s.a}},d={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"},[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:"请输入任务名称"},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"})])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"primary"},on:{click:t.toNewSession}},[t._v("新建会话任务")])],1)]),t._v(" "),a("el-table",{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:{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.taskTitle))])]}}])}),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.taskContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"创建时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.lastTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.lastTime)))])]}}])}),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.createName))]}}])}),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.toDel(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("el-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:[]};var h=a("VU/8")(u,d,!1,function(t){a("29oH")},"data-v-2a0f0370",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([63],{"29oH":function(t,e){},FMQe:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),s=a("LRn8"),i=a("P9l9"),r=a("PI0u"),l=a("3E4D"),c=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:{searchInput:""},wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的任务?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.sessionTaskId)}).catch(function(){})},delCardList:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId,sessionTaskId:t};Object(i.d)("/haoban-app-tel-task-three-web/delete-session-task",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},hidePop:function(t){t.visible=!1},handleDelete:function(t){var e=this,a={helpId:t.helpId};Object(i.d)("/haoban-app-tel-task-three-web/del-help",a).then(function(t){1===t.data.errorCode?(e.$message.success(t.data.message),e.currentPage=1,e.getTableList()):e.$message.warning(t.data.message)}).catch(function(t){})},checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},toInput:Object(r.a)(function(t,e){this.currentPage=1,this.getTableList()},500),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={search:e.conditionObj.searchInput||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(i.d)("/haoban-app-tel-task-three-web/batch-del-store-task-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toNewSession:function(t,e){this.$router.push("newSession")},getTableList:function(t){var e=this,a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,wxEnterpriseId:e.wxEnterpriseId};Object(i.a)("/haoban-app-tel-task-three-web/session-task-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){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(){var t=this;document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.$emit("showTab","3"),this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:s.a}},d={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"},[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:"请输入任务名称"},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"})])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"primary"},on:{click:t.toNewSession}},[t._v("新建会话任务")])],1)]),t._v(" "),a("el-table",{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:{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.taskTitle))])]}}])}),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.taskContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"创建时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.lastTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.lastTime)))])]}}])}),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.createName))]}}])}),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.toDel(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("el-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:[]};var h=a("VU/8")(u,d,!1,function(t){a("29oH")},"data-v-2a0f0370",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([63],{"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+"),r=a("LRn8"),s=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,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},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: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(s.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,e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(!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.$message.error({duration:1e3,message:e.message})})},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,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(s.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){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,r=new Date(e),s=r.getFullYear(),l=r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate();return[s+"-"+(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:r.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"},[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:"请输入门店名称"},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"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{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:"35"}}),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("el-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:[]};var h=a("VU/8")(u,p,!1,function(t){a("n0pw")},"data-v-2955a06c",null);e.default=h.exports},n0pw:function(t,e){}});
\ No newline at end of file
webpackJsonp([9],{"61Rz":function(e,t){},IGnz:function(e,t){},WMy9:function(e,t){},pBT8:function(e,t){},"q+Sm":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=a("mvHQ"),o=a.n(c),i=a("fZjL"),l=a.n(i),d=a("l46T"),r=a("PI0u"),m=a("P9l9"),s=a("3E4D"),n=a("Ch4/"),f=[{imgUrl:"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce",gifUrl:"https://pic01-10001430.image.myqcloud.com/204994d9-48d8-4bfe-bfbd-e8168d444965",key:"[微笑]",keyCode:"/::)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a5f7c1eb-358e-47fe-a43c-7ae1ba5e95fd",gifUrl:"https://pic01-10001430.image.myqcloud.com/87bbdce9-82e4-4fb0-8d6c-b867ccf7e058",key:"[撇嘴]",keyCode:"/::~"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/32201a50-e937-4594-bfb2-68dc674d29a1",gifUrl:"https://pic01-10001430.image.myqcloud.com/df55c677-7adb-48f2-bf65-6cf592eccf80",key:"[色]",keyCode:"/::B"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/674f2eea-85fd-4735-9ae5-416aef938857",gifUrl:"https://pic01-10001430.image.myqcloud.com/c44c6034-c191-4526-ac80-c5f7f0fbcf5f",key:"[发呆]",keyCode:"/::|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a52e4031-51e6-47c4-9a7d-4aa36902e868",gifUrl:"https://pic01-10001430.image.myqcloud.com/684dcfac-a95f-49fc-8d9d-8d3627f4a26e",key:"[得意]",keyCode:"/:8-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d5d3c311-30a7-46d4-bd6b-e09e9e270eb8",gifUrl:"https://pic01-10001430.image.myqcloud.com/3f17d82f-beb6-4e0f-be8b-72c571558438",key:"[流泪]",keyCode:"/::<"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/014fb90d-db81-4a6d-b89d-6edc21825c57",gifUrl:"https://pic01-10001430.image.myqcloud.com/6ce13f11-6c26-4e5a-b3b1-f47151b61e30",key:"[害羞]",keyCode:"/::$"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fecaa108-f9ee-4871-88f8-04fe9dd006c4",gifUrl:"https://pic01-10001430.image.myqcloud.com/0fe29af4-bddc-46c2-a063-f8d8e4414d13",key:"[闭嘴]",keyCode:"/::X"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/61373735-d6a4-42ec-beb8-f2ad3a4204ae",gifUrl:"https://pic01-10001430.image.myqcloud.com/9fa3a5f6-3814-46df-a85c-e27711b41c45",key:"[睡]",keyCode:"/::Z"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/5e18d40c-00fe-4fa8-94bb-fc5879b601db",gifUrl:"https://pic01-10001430.image.myqcloud.com/87d28ce0-72d2-44ab-a5b9-899ca92737c3",key:"[大哭]",keyCode:"/::'("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/9956bdde-87e2-4377-a77d-2d7a6510dcca",gifUrl:"https://pic01-10001430.image.myqcloud.com/28d4443a-ae59-459b-8fa0-c5d236a84208",key:"[尴尬]",keyCode:"/::-|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a36b8868-369d-4022-be38-e71970b4b0ed",gifUrl:"https://pic01-10001430.image.myqcloud.com/a3db89ce-6b1a-44e9-a276-8284dfba6fec",key:"[发怒]",keyCode:"/::@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2b46750b-e399-41fa-88da-cef0705adb68",gifUrl:"https://pic01-10001430.image.myqcloud.com/a340191e-00f0-4aed-9c4b-5084c9d48a3f",key:"[调皮]",keyCode:"/::P"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f3d140d2-3490-4d12-a16f-5786c50e92e6",gifUrl:"https://pic01-10001430.image.myqcloud.com/3741398d-ac5e-4ca4-aff2-7072d4f3e809",key:"[呲牙]",keyCode:"/::D"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d54d58f6-a89a-4a70-9e7a-834ba728e5cb",gifUrl:"https://pic01-10001430.image.myqcloud.com/62bb88d4-a38b-4d0a-943b-854e35f4216d",key:"[惊讶]",keyCode:"/::O"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ceb0633a-3610-48dc-a4da-79b74d91c5a3",gifUrl:"https://pic01-10001430.image.myqcloud.com/a9f355d2-89d5-41c3-96c9-53e6c1893ce8",key:"[难过]",keyCode:"/::("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7ae8e3ea-864f-4864-ba73-fbc731fe5e43",gifUrl:"https://pic01-10001430.image.myqcloud.com/75533bd8-4d96-4d14-a28e-18f01141fd53",key:"[酷]",keyCode:"/::+"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/1ad076a0-a052-4cc5-bd1b-d46bdaf25928",gifUrl:"https://pic01-10001430.image.myqcloud.com/b551bd90-8f9c-49d4-a73f-05852da72e4e",key:"[冷汗]",keyCode:"/:--b"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/756eb481-d965-4b09-abe6-5ea2f7d460db",gifUrl:"https://pic01-10001430.image.myqcloud.com/9a9f6be6-6c9f-496e-8f40-cdd56670b1cb",key:"[抓狂]",keyCode:"/::Q"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/56107e91-303c-4d4c-bbc2-6a6ace586777",gifUrl:"https://pic01-10001430.image.myqcloud.com/70b702b8-b1f2-4071-8fa1-01b4bac8c8cb",key:"[吐]",keyCode:"/::T"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/363eb785-69a9-4f18-8e45-cb069bb12c4c",gifUrl:"https://pic01-10001430.image.myqcloud.com/fc61ddbf-a962-4043-a5cc-cb7a8a4edbcc",key:"[偷笑]",keyCode:"/:,@P"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/888ee4dc-0274-4c3d-bb84-e3ba943ff86f",gifUrl:"https://pic01-10001430.image.myqcloud.com/223e7c88-5ffa-4392-a4b1-e5785bf59e19",key:"[愉快]",keyCode:"/:,@-D"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a5a391da-659b-48ab-8007-a8888f98ec66",gifUrl:"https://pic01-10001430.image.myqcloud.com/8fb34158-562b-4710-ae93-47b64174bdbf",key:"[白眼]",keyCode:"/::d"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f3c70943-f4a2-4e15-a9fb-f8f840878a6a",gifUrl:"https://pic01-10001430.image.myqcloud.com/8a0a3dcb-ea02-4c9d-9fb8-3cd72378da19",key:"[傲慢]",keyCode:"/:,@o"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c7b25d7c-abc6-4547-803b-19dc45fd5be2",gifUrl:"https://pic01-10001430.image.myqcloud.com/2428fcba-8a72-40d6-b847-6f7034f7e9d5",key:"[饥饿]",keyCode:"/::g"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c6e9be34-b576-477d-a757-7d5593019552",gifUrl:"https://pic01-10001430.image.myqcloud.com/45cddb56-4a94-4cfb-aea3-02ea14fd5093",key:"[困]",keyCode:"/:|-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/015bfb53-443a-4b5c-82f6-960b9d0acedd",gifUrl:"https://pic01-10001430.image.myqcloud.com/1455635c-6cb0-470c-ae27-6602f76af048",key:"[惊恐]",keyCode:"/::!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d2569652-651e-4f8a-8052-d8f471af1a4d",gifUrl:"https://pic01-10001430.image.myqcloud.com/c90c340f-39ab-4d34-a301-8aed680e79dd",key:"[流汗]",keyCode:"/::L"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/27f447a5-555d-49c0-b04d-7da098e372f6",gifUrl:"https://pic01-10001430.image.myqcloud.com/e2bf7e8a-3218-44e7-a42e-b18c4fd32411",key:"[憨笑]",keyCode:"/::>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8f139cf5-49f7-4bfa-9ab9-d6f23782684e",gifUrl:"https://pic01-10001430.image.myqcloud.com/ee4249c0-d355-40d0-9c68-1187e88e68d8",key:"[悠闲]",keyCode:"/::,@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/688b20ba-ce01-4369-934f-2062a5b57643",gifUrl:"https://pic01-10001430.image.myqcloud.com/386a5629-aec9-4840-a2cb-dfb8bdbf237d",key:"[奋斗]",keyCode:"/:,@f"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/e05cd4b5-e5cb-4374-80d9-8c09702ce7f5",gifUrl:"https://pic01-10001430.image.myqcloud.com/95d3c7be-356b-4573-8aa8-45724618a527",key:"[咒骂]",keyCode:"/::-S"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8f11e215-9e39-476b-a77b-e994cc703edc",gifUrl:"https://pic01-10001430.image.myqcloud.com/fa622e45-63eb-4fe3-aa27-cca7dc7db07b",key:"[疑问]",keyCode:"/:?"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/de50c8c0-a797-4bb7-b2ef-ddb4a6b48085",gifUrl:"https://pic01-10001430.image.myqcloud.com/067378c9-04d4-470c-a125-1c3fcfa298e3",key:"[嘘]",keyCode:"/:,@x"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2e55af63-2591-49b9-9565-85269a308a97",gifUrl:"https://pic01-10001430.image.myqcloud.com/484cc9ea-89b4-4af1-8134-8ba9fdcabeb3",key:"[晕]",keyCode:"/:,@@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/057a6ff4-2403-424a-aaa4-5ece64336a37",gifUrl:"https://pic01-10001430.image.myqcloud.com/6d21c607-d709-45a5-a8d6-dd74bcdf587f",key:"[疯了]",keyCode:"/::8"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7d5e19d4-334b-441a-a964-285d8826c6d8",gifUrl:"https://pic01-10001430.image.myqcloud.com/204c089c-d737-447e-a912-a3da4f92c8fe",key:"[哀]",keyCode:"/:,@!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/9b14cbe9-749a-4081-b697-8a456db53cd3",gifUrl:"https://pic01-10001430.image.myqcloud.com/94019082-ea4b-4ada-a7a3-0e1d02143c62",key:"[骷髅]",keyCode:"/:!!!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3518ddf0-8cc3-4b4f-9391-7aa67a95f6b6",gifUrl:"https://pic01-10001430.image.myqcloud.com/7eeb8cc7-6e6b-4e02-b289-4f462677831d",key:"[敲打]",keyCode:"/:xx"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/b3086372-dd16-45d1-a51e-343befece0f7",gifUrl:"https://pic01-10001430.image.myqcloud.com/3e1c155c-3517-4c5f-9831-98a564d94bd2",key:"[再见]",keyCode:"/:bye"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/31350af3-00e6-40c1-91fd-c36660614f7a",gifUrl:"https://pic01-10001430.image.myqcloud.com/39804b4f-e56d-475d-b398-121d65e96d01",key:"[擦汗]",keyCode:"/:wipe"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fc09bdc6-8467-40c3-b20d-822980f14824",gifUrl:"https://pic01-10001430.image.myqcloud.com/89a3283e-fef9-4ccd-a238-400139a786a9",key:"[抠鼻]",keyCode:"/:dig"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7a1d3d7f-ae4e-495d-8c4d-75378069a52c",gifUrl:"https://pic01-10001430.image.myqcloud.com/8cd3aee8-56aa-4862-b253-701212e838f6",key:"[鼓掌]",keyCode:"/:handclap"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/434911d7-c142-4115-8ca2-0765f78e41d1",gifUrl:"https://pic01-10001430.image.myqcloud.com/2ead6c2f-23c7-4e5f-b8e3-161153989ede",key:"[糗大了]",keyCode:"/:&-("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/aa3532b6-99df-4984-9e76-013b4e106501",gifUrl:"https://pic01-10001430.image.myqcloud.com/9c3ec470-8055-413c-8839-465f75dd9f71",key:"[坏笑]",keyCode:"/:B-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/887fbd28-9f81-42ce-addf-639a94a8edb2",gifUrl:"https://pic01-10001430.image.myqcloud.com/897a5d5b-7c89-40bf-94ed-dc1c91c317ee",key:"[左哼哼]",keyCode:"/:<@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2267b046-ac56-4fc2-b592-351a1e6ffa28",gifUrl:"https://pic01-10001430.image.myqcloud.com/da25a587-d314-4b44-98eb-2f9220b6a093",key:"[右哼哼]",keyCode:"/:@>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3d1a9b50-3262-4d3e-a554-33871189023d",gifUrl:"https://pic01-10001430.image.myqcloud.com/f5323432-50d2-4393-853c-f8998a956da6",key:"[哈欠]",keyCode:"/::-O"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/edd78bd3-ffbb-4268-8af8-85377535cc0a",gifUrl:"https://pic01-10001430.image.myqcloud.com/ca62a0b0-2d01-4ca4-b958-8417f0906a89",key:"[鄙视]",keyCode:"/:>-|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d1f49343-0f9b-485a-b6b7-4d9b43020fab",gifUrl:"https://pic01-10001430.image.myqcloud.com/e43b2e20-8802-44d4-afa0-7eb6b7126c38",key:"[委屈]",keyCode:"/:P-("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/e6532dd2-5734-41fc-862c-3fec91ecb7b7",gifUrl:"https://pic01-10001430.image.myqcloud.com/d3120d89-2df8-47ba-b894-84658dd3e617",key:"[快哭了]",keyCode:"/::'|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3799a3bb-94a4-4614-917c-07629f1a63ac",gifUrl:"https://pic01-10001430.image.myqcloud.com/17853d32-28fc-4565-8dab-44d7c95d4819",key:"[阴险]",keyCode:"/:X-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4f84b1d5-235a-41a6-9927-96e29232ab61",gifUrl:"https://pic01-10001430.image.myqcloud.com/a034d0c1-eafd-434c-a3e9-6042081536f9",key:"[亲亲]",keyCode:"/::*"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fb45c4ad-2813-4ec1-afb7-873ef95ea975",gifUrl:"https://pic01-10001430.image.myqcloud.com/660a65ee-66ff-4fa3-85fc-72149b938739",key:"[吓]",keyCode:"/:@x"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/abdb4f9e-8fec-4fab-98c4-a89711da5f6a",gifUrl:"https://pic01-10001430.image.myqcloud.com/c8ef0424-21c9-4a25-a6be-c2233a6a85ba",key:"[可怜]",keyCode:"/:8*"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/6a0d843a-6870-409a-9bf2-40114628076e",gifUrl:"https://pic01-10001430.image.myqcloud.com/f80d75c4-8f07-459c-9c83-0cf016ddfcef",key:"[菜刀]",keyCode:"/:pd"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/140d13e9-1587-491c-afdc-2599a5ba72de",gifUrl:"https://pic01-10001430.image.myqcloud.com/08ec4424-86b8-4e46-bdce-3c93180a9cf9",key:"[西瓜]",keyCode:"/:<W>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d9974e8a-820e-4571-8fde-0fe21b725b7a",gifUrl:"https://pic01-10001430.image.myqcloud.com/8426b197-1a1b-4f5f-a446-e47b2a2bff09",key:"[啤酒]",keyCode:"/:beer"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4ff9ae58-e8df-4c9e-91ac-b91a6dc9096d",gifUrl:"https://pic01-10001430.image.myqcloud.com/2578648c-f29b-46d3-91de-b636c6014dcc",key:"[篮球]",keyCode:"/:basketb"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/aa136900-c1f5-40f4-9130-1ddae518cb22",gifUrl:"https://pic01-10001430.image.myqcloud.com/3b7a5bec-a119-4a7f-ae8f-e962cfb658b5",key:"[乒乓]",keyCode:"/:oo"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4de4896d-a8b0-4cc6-921a-bb7a81788e68",gifUrl:"https://pic01-10001430.image.myqcloud.com/5f1af094-059d-48a3-b374-381818827596",key:"[咖啡]",keyCode:"/:coffee"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c61865c0-2fcf-44e9-bf62-3a5a606ca459",gifUrl:"https://pic01-10001430.image.myqcloud.com/71a2ebba-3160-4a96-9370-2294e325c3d6",key:"[饭]",keyCode:"/:eat"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2ffebcf6-48a8-4c26-8e67-dd6ea345407f",gifUrl:"https://pic01-10001430.image.myqcloud.com/7309bbc1-3f2e-4df1-b523-b95ad9e18e0f",key:"[猪头]",keyCode:"/:pig"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/66dfc7b5-bebe-45d9-98f6-96d3a28214e8",gifUrl:"https://pic01-10001430.image.myqcloud.com/06673bd8-c7ca-4672-b7a3-569bb5768efc",key:"[玫瑰]",keyCode:"/:rose"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/86a99146-e83b-4132-b3fb-2864aaf8cfa4",gifUrl:"https://pic01-10001430.image.myqcloud.com/6b6b8364-d6eb-4c27-99d8-4bd0930b3cda",key:"[凋谢]",keyCode:"/:fade"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/090ae661-b401-496c-bd1f-d475e20e1c36",gifUrl:"https://pic01-10001430.image.myqcloud.com/d42b19ce-943c-40df-8886-f1cc70281f5d",key:"[嘴唇]",keyCode:"/:showlove"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a8295101-ac8c-4b8b-b1b0-97c548ec7c8d",gifUrl:"https://pic01-10001430.image.myqcloud.com/579e7c8b-d538-4ac0-8b9b-5e0691c33c74",key:"[爱心]",keyCode:"/:heart"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4b42af75-7434-4e1b-a727-def403b3c018",gifUrl:"https://pic01-10001430.image.myqcloud.com/d8b6265f-2ca2-4227-8aa3-26cfee1e1d8f",key:"[心碎]",keyCode:"/:break"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2eaf27d5-0f8e-4716-9f0c-7af7fce62980",gifUrl:"https://pic01-10001430.image.myqcloud.com/f96201f2-32b8-462b-847a-22c49c3cf6df",key:"[蛋糕]",keyCode:"/:cake"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ef55a1bb-6177-4075-b8ae-326b967cd612",gifUrl:"https://pic01-10001430.image.myqcloud.com/f3e8ef24-0efa-4823-af8f-34604e832b94",key:"[闪电]",keyCode:"/:li"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8672c806-0ecd-45ec-a9cd-2af63c806344",gifUrl:"https://pic01-10001430.image.myqcloud.com/758a6b09-71e7-429b-9c2e-c744b8305610",key:"[炸弹]",keyCode:"/:bome"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/0dfd4afd-f954-4de3-93da-ac6104a007a9",gifUrl:"https://pic01-10001430.image.myqcloud.com/d82af5eb-6fd5-48c8-9ba9-bf8b6ef7fe54",key:"[刀]",keyCode:"/:kn"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/12524677-2787-4a7b-9e8a-2874c44864f6",gifUrl:"https://pic01-10001430.image.myqcloud.com/dbb1e536-27bb-47ea-a57e-25c89ecb4c81",key:"[足球]",keyCode:"/:footb"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d65a0c9d-d50f-4986-86f4-de5babceeb4f",gifUrl:"https://pic01-10001430.image.myqcloud.com/62a24697-7529-4dce-93ef-8d78ee2ef3d9",key:"[瓢虫]",keyCode:"/:ladybug"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/0c30bcc5-1ad8-4b33-8040-cf11b4c8cdb4",gifUrl:"https://pic01-10001430.image.myqcloud.com/4beffad5-d07f-465b-987e-62687178a609",key:"[便便]",keyCode:"/:shit"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/adb7224b-ddd7-4e51-9cc0-c9642c3ca827",gifUrl:"https://pic01-10001430.image.myqcloud.com/3e124ec4-68d2-4129-ace6-b02b5a0a47dd",key:"[月亮]",keyCode:"/:moon"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/55a303ca-bcbf-42fb-99c5-d2a2aaa2c254",gifUrl:"https://pic01-10001430.image.myqcloud.com/191faab4-2c7d-4b6a-95e0-0cec831bdba8",key:"[太阳]",keyCode:"/:sun"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a84809d8-4553-4380-966b-17484ce317b8",gifUrl:"https://pic01-10001430.image.myqcloud.com/ffbc4ada-d572-4f80-821a-ee1d232c0da4",key:"[礼物]",keyCode:"/:gift"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/70f21a3f-165e-46dd-bbd3-9523e72761ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/1344a463-f19a-4a5a-9e99-450bf32c2c6b",key:"[拥抱]",keyCode:"/:hug"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a008b2e1-6d02-47f0-b477-c2b0e9f585f2",gifUrl:"https://pic01-10001430.image.myqcloud.com/b4cf425d-08fb-48a3-8383-e705d4ed990e",key:"[强]",keyCode:"/:strong"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/dd610773-3bc5-4bce-90a3-d5c7b7af1bd4",gifUrl:"https://pic01-10001430.image.myqcloud.com/bab6f0b3-94e1-4e94-b144-5161c5ee0799",key:"[弱]",keyCode:"/:weak"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4c027076-e5bb-492c-9cc7-39b58b50f720",gifUrl:"https://pic01-10001430.image.myqcloud.com/72076aef-4091-4b6a-a727-b3b433c64e7e",key:"[握手]",keyCode:"/:share"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef",key:"[胜利]",keyCode:"/:v"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/27f6adac-c525-4b8e-817d-f79e8b595ad8",gifUrl:"https://pic01-10001430.image.myqcloud.com/ab16d400-9bb0-493d-9973-5cf97f6f8ab2",key:"[抱拳]",keyCode:"/:@)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ef165f66-cf6b-4588-81a6-e01a31679670",gifUrl:"https://pic01-10001430.image.myqcloud.com/1e701efe-b602-4570-a957-5ba12486a853",key:"[勾引]",keyCode:"/:jj"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c230a194-9f2f-4690-84ce-194aed18143b",gifUrl:"https://pic01-10001430.image.myqcloud.com/fb9d43d1-506d-4684-8fc2-62a9cd528feb",key:"[拳头]",keyCode:"/:@@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4d963fc7-20c0-4942-b6f6-eb9282c509a6",gifUrl:"https://pic01-10001430.image.myqcloud.com/443b1f18-c10d-4803-9a1d-698075874fcf",key:"[差劲]",keyCode:"/:bad"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ac3fe192-103c-48f1-bd30-293d5f7551d0",gifUrl:"https://pic01-10001430.image.myqcloud.com/8f0ce5ac-c0b6-4936-8091-953b13d1d091",key:"[爱你]",keyCode:"/:lvu"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/68d642b4-0573-4821-8c42-ecfdaf8ceeb9",gifUrl:"https://pic01-10001430.image.myqcloud.com/633fc189-ab89-4ee5-9325-01f7b6c2a3fe",key:"[NO]",keyCode:"/:no"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ceb1580b-e0b1-4fcf-a3d9-66b83346cc43",gifUrl:"https://pic01-10001430.image.myqcloud.com/a80685a2-4e41-461c-b67d-e2092c2ba068",key:"[OK]",keyCode:"/:ok"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/1732e5d1-ab4b-4c63-9571-171feac408ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/a83394ea-9191-4eff-a3ca-84646ee748e4",key:"[爱情]",keyCode:"/:love"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f15cf2a7-89d8-48c5-bd63-0e550a240813",gifUrl:"https://pic01-10001430.image.myqcloud.com/b23f441c-2329-468b-a09a-e6a1d2cc38cf",key:"[飞吻]",keyCode:"/:<L>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7be4b8d5-6b2c-4c8c-9444-3e82057e6aca",gifUrl:"https://pic01-10001430.image.myqcloud.com/db11cfab-1be4-4279-b11a-18787247513d",key:"[跳跳]",keyCode:"/:jump"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a1147a2d-8fe4-4dac-b14b-4d144ce5e2f7",gifUrl:"https://pic01-10001430.image.myqcloud.com/9e243eca-c1e3-4afa-a068-8260af2eb62b",key:"[发抖]",keyCode:"/:shake"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/845e5982-a104-4ca7-be4c-ef176a360c25",gifUrl:"https://pic01-10001430.image.myqcloud.com/1695538d-744f-418b-9362-6eb052642163",key:"[怄火]",keyCode:"/:<O>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fd84d952-e6d0-498b-865c-4f9aaf570d81",gifUrl:"https://pic01-10001430.image.myqcloud.com/4ae21d0e-b019-4ab8-a607-8e43b8f24bf1",key:"[转圈]",keyCode:"/:circle"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/976e7ef5-4381-4f98-8a94-b1647c501357",gifUrl:"https://pic01-10001430.image.myqcloud.com/e63c5775-da40-480a-bf57-2fac6b88c372",key:"[磕头]",keyCode:"/:kotow"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/705e70c6-5524-4dc8-840b-ddf0a5558024",gifUrl:"https://pic01-10001430.image.myqcloud.com/fa8c6f1d-3fe6-4ffe-b62b-bc6f6024a681",key:"[回头]",keyCode:"/:turn"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/069837fd-9b7c-4dfe-9203-2cc747c083d0",gifUrl:"https://pic01-10001430.image.myqcloud.com/64a70d02-8888-4c23-93fc-a94c63589ea8",key:"[跳绳]",keyCode:"/:skip"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ebeb6e1d-a159-4d11-9a41-e639c1b82203",gifUrl:"https://pic01-10001430.image.myqcloud.com/6b12c653-0027-4c44-a9f2-d0bac2d405bf",key:"[投降]",keyCode:"/:oY"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2da0f4d4-37ed-43bd-ba44-0f3a65c2f46c",gifUrl:"https://pic01-10001430.image.myqcloud.com/21d5b626-e190-4a65-9c88-c4bfcb4261d7",key:"[激动]",keyCode:"/:#-0"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/6d34badb-1972-4b3f-9d42-f054f365ed5a",gifUrl:"https://pic01-10001430.image.myqcloud.com/bc51d1d4-42de-442a-8e94-74ae0dd5abd0",key:"[乱舞]",keyCode:"/:hiphot"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4e35c97d-f497-4fa8-8cf4-bd6fd8d7f9ad",gifUrl:"https://pic01-10001430.image.myqcloud.com/6856fc16-279a-45cd-9ab3-9396d382f502",key:"[献吻]",keyCode:"/:kiss"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/209d7202-5972-445e-a0f6-336cbe8b0b9d",gifUrl:"https://pic01-10001430.image.myqcloud.com/fadeb841-e07c-47f7-b948-081eabb556b9",key:"[左太极]",keyCode:"/:<&"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f566cd87-b948-4929-bfcc-955385937095",gifUrl:"https://pic01-10001430.image.myqcloud.com/4b08fdfe-9ea8-420a-9eda-998b6ad2045f",key:"[右太极]",keyCode:"/:&>"}],p={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:d.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{materialId:"",materialTitle:"",materialContent:""},rules:{materialTitle:[{required:!0,message:"请输入文本标题",trigger:"blur"}],materialContent:[{required:!0,message:"请输入文本内容",trigger:"blur"}]},emojiList:f}},methods:{handleInput:function(e){this.ruleForm.materialContent=e.target.innerText},selectEmoji:function(e){this.ruleForm.materialContent=this.ruleForm.materialContent+e.key},toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(r.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:1,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle};Object(m.d)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(s.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){l()(e).length&&(this.ruleForm=JSON.parse(o()(e)))}},mounted:function(){l()(this.editRow).length&&(this.ruleForm=JSON.parse(o()(this.editRow)))}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑文本":"新建文本",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"文本标题",prop:"materialTitle"}},[a("limitInput",{attrs:{inputWidth:300,inputValue:e.ruleForm.materialTitle,holder:"请输入文本标题",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"内容",prop:"materialContent"}},[a("div",{staticClass:"material-content"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.ruleForm.materialContent,expression:"ruleForm.materialContent"}],staticClass:"material-body",attrs:{placeholder:"请输入内容",id:"textpanel"},domProps:{value:e.ruleForm.materialContent},on:{input:function(t){t.target.composing||e.$set(e.ruleForm,"materialContent",t.target.value)}}}),e._v(" "),a("el-popover",{attrs:{placement:"top",width:"400",trigger:"click"}},[a("ul",{staticClass:"flex"},e._l(e.emojiList,function(t,c){return a("li",{key:c+"emoji"},[a("img",{attrs:{src:t.gifUrl,alt:""},on:{click:function(a){e.selectEmoji(t)}}})])})),e._v(" "),a("img",{attrs:{slot:"reference",src:"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce",alt:""},slot:"reference"})])],1)])],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var u=a("VU/8")(p,g,!1,function(e){a("IGnz")},"data-v-a90c8f0a",null).exports,b={props:{brandId:{type:String,default:function(){return""}},categoryId:{type:String,default:function(){return""}},textTableData:{type:[Array,Object],default:function(){return[]}},currentPage:{type:[String,Number],default:function(){return 1}},pageSize:{type:[String,Number],default:function(){return 20}},total:{type:[String,Number],default:function(){return 0}}},data:function(){return{tableData:[],multipleSelection:[],textShow:!1,editRow:{}}},computed:{},methods:{closeText:function(){this.textShow=!1,this.editRow={}},submitText:function(){this.textShow=!1,this.editRow={},this.$emit("refreshTable")},toEdit:function(e,t){this.textShow=!0,this.editRow=t},toDel:function(e,t){var a=this;a.$confirm("确定删除当前文本素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,c={materialIds:t.materialId};Object(m.d)("/haoban-manage3-web/material-del",c).then(function(e){var t=e.data;if(1==t.errorCode)return s.a.showmsg("删除成功","success"),void a.$emit("refreshTable");n.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!l()(e).length)return!1;this.postMultDel(e)},handleSizeChange:function(e){this.$emit("handleSizeChange",e)},handleCurrentChange:function(e){this.$emit("handleCurrentChange",e)}},watch:{textTableData:function(e,t){e.length&&(this.tableData=JSON.parse(o()(e)))}},mounted:function(){this.activeBrand=this.brandId,this.textTableData.length&&(this.tableData=JSON.parse(o()(this.textTableData)))},components:{textEdit:u}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"text-table-body"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){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:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialTitle)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialContent))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),e.textShow?a("text-edit",{attrs:{editRow:e.editRow,categoryId:e.categoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[]};var h=a("VU/8")(b,y,!1,function(e){a("pBT8")},"data-v-74de7638",null).exports,k={props:{editRow:{type:Object,default:function(){return{}}},categoryParentId:{type:Object,default:function(){return""}}},components:{limitInput:d.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{categoryId:"",categoryName:"",categoryParentId:this.categoryParentId},rules:{categoryName:[{required:!0,message:"请输入分组名称",trigger:"blur"}]}}},methods:{toCancel:function(){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},submitForm:Object(r.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryParentId:e.ruleForm.categoryParentId||"0",categoryId:e.ruleForm.categoryId,categoryName:e.ruleForm.categoryName};Object(m.d)(e.ruleForm.categoryId?"/haoban-manage3-web/category-edit":"/haoban-manage3-web/mateial-add-category",t).then(function(t){var a=t.data;1==a.errorCode?(s.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitGroup")):n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){l()(e).length&&(this.ruleForm=JSON.parse(o()(e)))}},mounted:function(){l()(this.editRow).length&&(this.ruleForm=JSON.parse(o()(this.editRow)))}},C={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.categoryId?"编辑分组":"新增分组",visible:e.dialogVisible,width:"485px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"分组名称",prop:"categoryName"}},[a("limitInput",{attrs:{inputWidth:300,inputValue:e.ruleForm.categoryName,holder:"请输入分组名称",getByType:"word",maxLength:8},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"categoryName",t)}}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var U=a("VU/8")(k,C,!1,function(e){a("61Rz")},"data-v-73824ea0",null).exports,q={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",currentCategoryId:"-1",groupData:[],categoryParentId:"",addShow:!1,editGroupRow:{},expandArr:[],tableData:[],currentPage:1,pageSize:20,total:0,activeName:"1"}},methods:{refreshTable:function(){this.currentPage=1,this.getTableList()},handleClick:function(){this.currentPage=1,this.getTableList()},selectGroup:function(e){e.expand=!e.expand,this.currentCategoryId=e.categoryId,e.expand?this.expandArr.push(e.categoryId):this.expandArr.splice(this.expandArr.indexOf(e.categoryId),1),this.$forceUpdate()},selectNoGroup:function(){this.currentCategoryId="-1"},toInput:Object(r.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearSearch:function(){this.currentPage=1,this.getTableList()},addGroup:function(){this.addShow=!0,this.categoryParentId="",this.editGroupRow={}},closeGroup:function(){this.addShow=!1,this.editGroupRow={}},submitGroup:function(){this.addShow=!1,this.editGroupRow={},this.getGroupData()},addChildGroup:function(e){this.editGroupRow={},this.categoryParentId=e.categoryId,this.addShow=!0},editGroup:function(e){this.addShow=!0,this.categoryParentId="",this.editGroupRow=e},delGroup:function(e){var t=this;t.$confirm("是否删除当前选中的分组?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.postDelData(e)}).catch(function(){})},postDelData:function(e){var t=this,a={categoryId:e.categoryId};Object(m.a)("/haoban-manage3-web/category-del",a).then(function(e){var a=e.data;if(1==a.errorCode)return s.a.showmsg("删除成功","success"),void t.getGroupData();n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},treeData:function(e){var t=e.filter(function(t){var a=e.filter(function(e){return t.categoryId==e.categoryParentId});return a.length>0?t.children=a:t.children=[],0==t.categoryParentId});return console.log("tree:",t),t},getGroupData:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId};Object(m.a)("/haoban-manage3-web/category-list",a).then(function(e){var a=e.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&a.result.length&&(a.result.forEach(function(e){e.expand=!!t.expandArr.includes(e.categoryId)}),t.groupData=t.treeData(a.result)||[])}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId,keyword:t.searchInput,categoryId:t.currentCategoryId,materialType:t.activeName,pageNum:t.currentPage,pageSize:t.pageSize};Object(m.a)("/haoban-manage3-web/material-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab",3),document.documentElement.style.backgroundColor="#f0f2f5",this.getGroupData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{groupDialog:U,textTable:h}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"material-top border-box"},[a("el-input",{staticStyle:{width:"394px"},attrs:{placeholder:"请输入素材名称",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"material-body flex"},[a("div",{staticClass:"material-left"},[a("div",{staticClass:"material-left-add m-t-10 text-center"},[a("div",{staticClass:"add-group font-14 color-909399 cursor-pointer line-h-32",on:{click:e.addGroup}},[a("span",{staticClass:"el-icon-plus"}),a("span",{staticClass:"p-l-5"},[e._v("新建分组")])])]),e._v(" "),a("div",{staticClass:"group-body"},[a("div",{class:["no-group m-t-10 line-h-32 font-14 color-606266","-1"==e.currentCategoryId?"current-group":""],on:{click:e.selectNoGroup}},[e._v("未分组")]),e._v(" "),a("ul",{staticClass:"group-ul padding-lr-12"},[e._l(e.groupData,function(t,c){return[a("li",{key:c+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[t.children.length?a("span",{class:["color-c0c4cc font-12 cursor-pointer",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}):e._e(),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))]),a("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[a("ul",[a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.addChildGroup(t)}}},[e._v("新增子分组")]),e._v(" "),a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.editGroup(t)}}},[e._v("编辑")]),e._v(" "),t.children.length?e._e():a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.delGroup(t)}}},[e._v("删除")])]),e._v(" "),a("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),e._v(" "),t.expand?a("ul",{staticClass:"p-l-10"},[e._l(t.children,function(t,c){return[a("li",{key:c+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[t.children.length?a("span",{class:["color-c0c4cc font-12 cursor-pointer",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}):e._e(),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))]),a("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[a("ul",[a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.addChildGroup(t)}}},[e._v("新增子分组")]),e._v(" "),a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.editGroup(t)}}},[e._v("编辑")]),e._v(" "),t.children.length?e._e():a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.delGroup(t)}}},[e._v("删除")])]),e._v(" "),a("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),e._v(" "),t.expand?a("ul",{staticClass:"p-l-10"},[e._l(t.children,function(t,c){return[a("li",{key:c+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))]),a("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[a("ul",[a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.editGroup(t)}}},[e._v("编辑")]),e._v(" "),a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.delGroup(t)}}},[e._v("删除")])]),e._v(" "),a("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1)])]})],2):e._e()])]})],2):e._e()])]})],2)])]),e._v(" "),a("div",{staticClass:"material-right"},[a("div",{staticClass:"material-table"},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{name:"1"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont iconwenzi"}),e._v("文本")]),e._v(" "),a("text-table",{attrs:{currentPage:e.currentPage,pageSize:e.pageSize,total:e.total,textTableData:e.tableData,categoryId:e.currentCategoryId},on:{refreshTable:e.refreshTable,handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"图片",name:"2"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont icontupian"}),e._v("图片")])]),e._v(" "),a("el-tab-pane",{attrs:{label:"网页",name:"3"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont icondaima"}),e._v("网页")])]),e._v(" "),a("el-tab-pane",{attrs:{label:"视频",name:"4"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont iconshipin"}),e._v("视频")])]),e._v(" "),a("el-tab-pane",{attrs:{label:"文件",name:"5"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont iconwenjian"}),e._v("文件")])])],1)],1)])])]),e._v(" "),e.addShow?a("group-dialog",{attrs:{categoryParentId:e.categoryParentId,editRow:e.editGroupRow},on:{closeGroup:e.closeGroup,submitGroup:e.submitGroup}}):e._e()],1)},staticRenderFns:[]};var _=a("VU/8")(q,v,!1,function(e){a("WMy9")},"data-v-3a29a992",null);t.default=_.exports}});
\ No newline at end of file
webpackJsonp([9],{CJE6:function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Zx22"),s=a("Ch4/"),o=a("P9l9"),i=a("PI0u"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",filterValue:"",filterBrand:"",brandOptions:[],filterOptions:[{label:"全部状态",value:""},{label:"已同意",value:"1"},{label:"已拒绝",value:"2"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{},userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:Object(i.a)(function(t){if(!String(t.target.value).trim())return!1;this.currentPage=1,this.getTableList()},200),toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showSingleInfo:function(t){var e=this,a={staffId:t};Object(o.d)("/haoban-manage3-web/get-staff-info",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.userData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;Object(o.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={wxEnterpriseId:e.wxEnterpriseId,auditStatus:e.filterValue,auditFlag:"1",search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.filterBrand};Object(o.a)("/haoban-manage3-web/audit/find-page",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],void(e.total=a.result.totalCount);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",2),this.getTableList(),this.getBrandData()},components:{storeChange:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"reviewed-body-head"},[a("el-input",{staticClass:"w-250 ",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.searchEnterFun(a,t.searchInput);var a}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),t._v(" "),a("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.getTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),t._v(" "),t._l(t.brandOptions,function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})],2)],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.auditType?"门店信息变更":1==e.row.auditType?"新增成员":2==e.row.auditType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.commitStaffId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.userData.headImg?a("img",{attrs:{src:t.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(t.userData.staffName||"--")+" ( "+t._s(t.userData.position||"--")+")\n ")]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==t.userData.nationCode?t.userData.phoneNumber:"+"+t.userData.nationCode+"-"+t.userData.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属部门:")]),a("span",{staticClass:"w-130"},[t._v(t._s(t.userData.departmentName||"--"))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[e.row.commitStaffImg?a("img",{attrs:{src:e.row.commitStaffImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",[t._v(t._s(e.row.commitStaffName))]),t._v(" "),a("span",{staticClass:"font-13",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[t._v(t._s(e.row.commitStoreName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[6!=e.row.changeField?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),6==e.row.changeField?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.auditName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",2==e.row.auditStatus?"bg-f5222d":"bg-52c41a"]}),1==e.row.auditStatus?a("span",[t._v("已同意")]):t._e(),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.auditReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditStatus?a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"},on:{click:function(a){t.toggleReason(e.row)}}},[t._v("已拒绝")]):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-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("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("URJJ")},"data-v-4715e190",null);e.default=c.exports},URJJ:function(t,e){},Zx22:function(t,e,a){"use strict";var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),o=n.getMonth()+1,i=n.getDate();return s+e+a(o)+e+a(i)+e}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var o=a("VU/8")(n,s,!1,function(t){a("CJE6")},"data-v-5a02018c",null);e.a=o.exports}});
\ No newline at end of file
webpackJsonp([75],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=a("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){a("/NA0")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),v=a.n(l);u.a.use(d.a);var h=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:v()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:v()("business","contacts")},{path:"/orgStructSet",name:"组织架构管理",component:v()("business","orgStructSet")},{path:"/recycle",name:"组织架构管理",component:v()("business","recycle")},{path:"/syncLog",name:"通讯录日志",component:v()("business","syncLog")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:v()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:v()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:v()("enterprise","adminList")},{path:"/material",name:"素材库",component:v()("enterprise","material")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:v()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:v()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:v()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:v()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:v()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:v()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:v()("apps/customerApp","memberSearchSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:v()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:v()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:v()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:v()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("apps/badEvaluate","badEvaluateSet")},{path:"/taskList",name:"会话任务列表",component:v()("apps/trafficTask","taskList")},{path:"/newSession",name:"新建会话任务",component:v()("apps/trafficTask","newSession")},{path:"/taskSessionSet",name:"会话任务设置",component:v()("apps/trafficTask","taskSessionSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:v()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:v()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:v()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:v()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:v()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:v()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:v()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:v()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:v()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:v()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:v()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:v()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:v()("apps/protectCard","cardGetRecord")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:v()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:v()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],S=new d.a({routes:g,scrollBehavior:function(){return{y:0}}}),D=a("zL8q"),w=a.n(D),k=a("Rf8U"),y=a.n(k),x=a("mtWM"),T=a.n(x),C=a("bOdI"),b=a.n(C),R=a("SJI6"),A=a.n(R);u.a.use(A.a);var E=new A.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),L=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+s}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var n=Math.floor(a/864e5);console.log(a,n);var o=a%864e5,r=o%36e5;return n+"天"+Math.floor(o/36e5)+"小时"+Math.floor(r/6e4)+"分"}}}),M=a("TUaa"),P=a.n(M),V=a("tyqE"),q=a.n(V),H=a("pRVe"),I=a.n(H),Y=a("XsK6"),j=a.n(Y),G=a("QRL9"),N=a.n(G),O=a("2Pnh"),F=a.n(O),J=a("l9mu"),U=a.n(J),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;F()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new U.a("","pt","a4");if(r<o)c.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(N.a),Vue.use(I.a),Vue.use(q.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(y.a,T.a),Vue.axios.defaults.withCredentials=!0,o()(L).forEach(function(e){Vue.filter(e,L[e])}),S.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:S,store:E,components:{App:i},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,44],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,65],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,54],"./apps/badEvaluate/index.vue":["AG22",0,24],"./apps/card/cardList.vue":["X5LE",0,50],"./apps/card/cardRecord.vue":["xDJN",0,14],"./apps/card/index.vue":["nV1L",0,35],"./apps/card/newCard.vue":["7/Zw",0,12],"./apps/cloudDaily/customReport.vue":["ak3k",0,30],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,4],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,10],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,19],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,57],"./apps/cloudDaily/index.vue":["4QyY",0,40],"./apps/cloudDaily/systemReport.vue":["J/6z",0,5],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,26],"./apps/cloudDaily/template/block.vue":["O3gZ",49],"./apps/cloudDaily/template/date-range.vue":["2WGr",51],"./apps/cloudDaily/template/image.vue":["8dpP",64],"./apps/cloudDaily/template/input.vue":["zHtI",72],"./apps/cloudDaily/template/select.vue":["rYZf",58],"./apps/customerApp/index.vue":["QHTa",0,46],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,42],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,48],"./apps/customerApp/memberShowSet.vue":["odfG",0,61],"./apps/index.vue":["K1Vb",0,52],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,56],"./apps/protectCard/cardPut.vue":["cD4x",0,43],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,53],"./apps/protectCard/cardStrategy.vue":["rUvh",0,20],"./apps/protectCard/cardTemplate.vue":["c7iB",0,33],"./apps/protectCard/index.vue":["aWmL",0,36],"./apps/protectCard/newCardPut.vue":["9db3",0,7],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,6],"./apps/protectCard/newCardTemp.vue":["tF0P",0,31],"./apps/quota/companyDaySet.vue":["NiGE",0,69],"./apps/quota/index.vue":["qSX4",0,29],"./apps/quota/monthList.vue":["fAFA",0,60],"./apps/quota/monthTask.vue":["NpHY",0,32],"./apps/quota/monthTaskDetail.vue":["YKf6",0,41],"./apps/quota/salerMonthDetail.vue":["+qr5",0,73],"./apps/quota/storeMonthTask.vue":["qWC+",0,68],"./apps/trafficTask/index.vue":["FmZU",0,28],"./apps/trafficTask/newSession.vue":["upTI",0,70],"./apps/trafficTask/taskDetail.vue":["XrDD",0,11],"./apps/trafficTask/taskList.vue":["FMQe",0,62],"./apps/trafficTask/taskRecord.vue":["m+x7",0,63],"./apps/trafficTask/taskSessionSet.vue":["lPa5",0,47],"./apps/trafficTask/taskView.vue":["w2fd",0,22],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,45],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,38],"./business/contacts.vue":["/W60",0,2],"./business/index.vue":["jPcV",0,71],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,66],"./business/syncLog.vue":["20P3",0,25],"./enterprise/adminList.vue":["zYBJ",0,34],"./enterprise/enterpriseSet.vue":["x5Fx",0,39],"./enterprise/index.vue":["m9dW",0,67],"./enterprise/material.vue":["q+Sm",0,18],"./errorPage/403.vue":["6XGN",21],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",17],"./errorPage/gic-error.vue":["Q3j/",15],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,13],"./login/index.vue":["T+/8",0,16],"./overstore/index.vue":["Y55K",0,59],"./overstore/overStoreList.vue":["vuAV",0,37],"./reviewCenter/index.vue":["+lem",0,27],"./reviewCenter/reviewSet.vue":["6j9f",0,55],"./reviewCenter/reviewed.vue":["CLYF",0,9],"./reviewCenter/unreview.vue":["xCEU",0,8]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([75],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=a("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){a("/NA0")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),v=a.n(l);u.a.use(d.a);var h=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:v()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:v()("business","contacts")},{path:"/orgStructSet",name:"组织架构管理",component:v()("business","orgStructSet")},{path:"/recycle",name:"组织架构管理",component:v()("business","recycle")},{path:"/syncLog",name:"通讯录日志",component:v()("business","syncLog")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:v()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:v()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:v()("enterprise","adminList")},{path:"/material",name:"素材库",component:v()("enterprise","material")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:v()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:v()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:v()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:v()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:v()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:v()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:v()("apps/customerApp","memberSearchSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:v()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:v()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:v()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:v()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("apps/badEvaluate","badEvaluateSet")},{path:"/taskList",name:"会话任务列表",component:v()("apps/trafficTask","taskList")},{path:"/newSession",name:"新建会话任务",component:v()("apps/trafficTask","newSession")},{path:"/taskSessionSet",name:"会话任务设置",component:v()("apps/trafficTask","taskSessionSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:v()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:v()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:v()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:v()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:v()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:v()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:v()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:v()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:v()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:v()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:v()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:v()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:v()("apps/protectCard","cardGetRecord")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:v()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:v()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],S=new d.a({routes:g,scrollBehavior:function(){return{y:0}}}),D=a("zL8q"),w=a.n(D),k=a("Rf8U"),y=a.n(k),x=a("mtWM"),T=a.n(x),C=a("bOdI"),b=a.n(C),R=a("SJI6"),A=a.n(R);u.a.use(A.a);var E=new A.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),L=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+s}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var n=Math.floor(a/864e5);console.log(a,n);var o=a%864e5,r=o%36e5;return n+"天"+Math.floor(o/36e5)+"小时"+Math.floor(r/6e4)+"分"}}}),M=a("TUaa"),P=a.n(M),V=a("tyqE"),q=a.n(V),H=a("pRVe"),I=a.n(H),Y=a("XsK6"),j=a.n(Y),G=a("QRL9"),N=a.n(G),O=a("2Pnh"),F=a.n(O),J=a("l9mu"),U=a.n(J),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;F()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new U.a("","pt","a4");if(r<o)c.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(N.a),Vue.use(I.a),Vue.use(q.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(y.a,T.a),Vue.axios.defaults.withCredentials=!0,o()(L).forEach(function(e){Vue.filter(e,L[e])}),S.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:S,store:E,components:{App:i},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,44],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,65],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,55],"./apps/badEvaluate/index.vue":["AG22",0,24],"./apps/card/cardList.vue":["X5LE",0,51],"./apps/card/cardRecord.vue":["xDJN",0,15],"./apps/card/index.vue":["nV1L",0,35],"./apps/card/newCard.vue":["7/Zw",0,13],"./apps/cloudDaily/customReport.vue":["ak3k",0,30],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,4],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,11],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,19],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,58],"./apps/cloudDaily/index.vue":["4QyY",0,40],"./apps/cloudDaily/systemReport.vue":["J/6z",0,5],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,26],"./apps/cloudDaily/template/block.vue":["O3gZ",50],"./apps/cloudDaily/template/date-range.vue":["2WGr",52],"./apps/cloudDaily/template/image.vue":["8dpP",64],"./apps/cloudDaily/template/input.vue":["zHtI",72],"./apps/cloudDaily/template/select.vue":["rYZf",59],"./apps/customerApp/index.vue":["QHTa",0,46],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,42],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,49],"./apps/customerApp/memberShowSet.vue":["odfG",0,62],"./apps/index.vue":["K1Vb",0,53],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,57],"./apps/protectCard/cardPut.vue":["cD4x",0,43],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,54],"./apps/protectCard/cardStrategy.vue":["rUvh",0,20],"./apps/protectCard/cardTemplate.vue":["c7iB",0,33],"./apps/protectCard/index.vue":["aWmL",0,36],"./apps/protectCard/newCardPut.vue":["9db3",0,7],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,6],"./apps/protectCard/newCardTemp.vue":["tF0P",0,31],"./apps/quota/companyDaySet.vue":["NiGE",0,69],"./apps/quota/index.vue":["qSX4",0,29],"./apps/quota/monthList.vue":["fAFA",0,61],"./apps/quota/monthTask.vue":["NpHY",0,32],"./apps/quota/monthTaskDetail.vue":["YKf6",0,41],"./apps/quota/salerMonthDetail.vue":["+qr5",0,73],"./apps/quota/storeMonthTask.vue":["qWC+",0,68],"./apps/trafficTask/index.vue":["FmZU",0,28],"./apps/trafficTask/newSession.vue":["upTI",0,70],"./apps/trafficTask/taskDetail.vue":["XrDD",0,12],"./apps/trafficTask/taskList.vue":["FMQe",0,63],"./apps/trafficTask/taskRecord.vue":["m+x7",0,47],"./apps/trafficTask/taskSessionSet.vue":["lPa5",0,48],"./apps/trafficTask/taskView.vue":["w2fd",0,22],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,45],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,38],"./business/contacts.vue":["/W60",0,2],"./business/index.vue":["jPcV",0,71],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,66],"./business/syncLog.vue":["20P3",0,25],"./enterprise/adminList.vue":["zYBJ",0,34],"./enterprise/enterpriseSet.vue":["x5Fx",0,39],"./enterprise/index.vue":["m9dW",0,67],"./enterprise/material.vue":["q+Sm",0,9],"./errorPage/403.vue":["6XGN",21],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",18],"./errorPage/gic-error.vue":["Q3j/",16],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,14],"./login/index.vue":["T+/8",0,17],"./overstore/index.vue":["Y55K",0,60],"./overstore/overStoreList.vue":["vuAV",0,37],"./reviewCenter/index.vue":["+lem",0,27],"./reviewCenter/reviewSet.vue":["6j9f",0,56],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,8]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={76:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"b34ffb148c94a0864421",1:"06c4e42e62c1f75191f0",2:"95860c596ce8eeb79301",3:"2a63ebede4a53ae4d5be",4:"985967f4496609803ce1",5:"bf21cfa1832c94ed8d4c",6:"bf0bd72259e971cb5c5d",7:"6d129ebb69dd65574768",8:"5cbeb9fde8d49bf97a09",9:"3de8b46eff6850d4edee",10:"62eecd9e2e85ea911ebd",11:"59c87174f09911b8256b",12:"e8cd784bf481f550c766",13:"2ccd52bd6e1150f23c90",14:"d7cec3ec28f71d81a442",15:"eb4a33b11e1bcfc10d01",16:"d6f21b5db0ef31d13e0f",17:"ebf1847c50132c6f96a7",18:"7fa0be27d3ea523f8826",19:"63ca1f785b71646ef739",20:"96ae1c7fff93072fa000",21:"b9552ac568217b38c707",22:"a3681c6a337ad49aeb4b",23:"e507c496e766217ec178",24:"a89c78a7ed5ce6306ba7",25:"d9ee9041561602fa561c",26:"0e68f81c2d32fec5abdb",27:"01b66b3d0ab23d2341c2",28:"8606cc4adb654d067bac",29:"485d7c81ce188c3fa687",30:"6e3dad3ed142df770d0e",31:"963d650c22609bb350cc",32:"648e00249c751be0ef72",33:"3b19f619921aacfda1e4",34:"b57b41292517a536addb",35:"8a132ad30fce01f4deb7",36:"ae95aada03220eb5550d",37:"5dc35c4db0da65b72ba3",38:"67c2ba02c8cb8e2aeae7",39:"cffc9df02e23624f15f7",40:"f72c24c69c3d22cb365f",41:"3e80f7c7164f36ab833d",42:"9cfba776561a2683e1ce",43:"491cbc97f03e6a9416fd",44:"9a001dcb0b20412481a9",45:"7d07ad63ee1aebc77c05",46:"64a15dd24ae8e3144031",47:"46097b0db930f8998e25",48:"bba03bcee8ebece514c9",49:"a6f7a2dce27db52104e5",50:"909c9e85ea51f2841902",51:"3d768cd09b88e9fc1dfe",52:"21378cae9a2a9603ea77",53:"76cc13b40c7878ec1850",54:"44d3c12a2724e5586b88",55:"62d7e11a79d40049fabc",56:"24e726ce5fe347c611e6",57:"faf962e39bfd0f4ffda9",58:"d3ebf67ef88c937fdaab",59:"db51a7f4c51421d4f9bc",60:"ff78f7652091a35782ec",61:"e84c616b76d09228b6fe",62:"cd195beac77b18e065fb",63:"2983ad835122fb0d5ae5",64:"2e546d02be42fac0c64d",65:"11f52cad03275c8aba4f",66:"9fa3ca5124aa2b5a85ec",67:"fe28b5cd6347bad40117",68:"7c8716b3ed26ffda11fb",69:"18f0e63b47a729fc63d0",70:"b999d4bf8b805f03bd2b",71:"d19b0a20ea22d410b91d",72:"ae171a4233296a9ac4b4",73:"0c069b06ad167faadfc6"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[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(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var c={},b={76:0};function f(a){if(c[a])return c[a].exports;var b=c[a]={i:a,l:!1,exports:{}};return e[a].call(b.exports,b,b.exports,f),b.l=!0,b.exports}f.e=function(e){var a=b[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,f){a=b[e]=[c,f]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"b34ffb148c94a0864421",1:"06c4e42e62c1f75191f0",2:"95860c596ce8eeb79301",3:"2a63ebede4a53ae4d5be",4:"19d2794f24d3e9833c75",5:"bf21cfa1832c94ed8d4c",6:"bf0bd72259e971cb5c5d",7:"6d129ebb69dd65574768",8:"5cbeb9fde8d49bf97a09",9:"f7c875c7689ffc18fc21",10:"f64bf1b4c969dc8e4324",11:"234de60fe9d347a9b246",12:"39d6a9f43160a9b4f5bd",13:"06a77c08775fb582d98b",14:"0225e369d82f24077aba",15:"592a2e6008db77975bcc",16:"bc276325eab50b4b86c0",17:"edf42ec3b001b6cfe65e",18:"f86ec20512d7fa59b24d",19:"63ca1f785b71646ef739",20:"96ae1c7fff93072fa000",21:"b9552ac568217b38c707",22:"a3681c6a337ad49aeb4b",23:"e507c496e766217ec178",24:"a89c78a7ed5ce6306ba7",25:"d9ee9041561602fa561c",26:"0e68f81c2d32fec5abdb",27:"01b66b3d0ab23d2341c2",28:"8606cc4adb654d067bac",29:"485d7c81ce188c3fa687",30:"6e3dad3ed142df770d0e",31:"963d650c22609bb350cc",32:"648e00249c751be0ef72",33:"3b19f619921aacfda1e4",34:"b57b41292517a536addb",35:"8a132ad30fce01f4deb7",36:"ae95aada03220eb5550d",37:"5dc35c4db0da65b72ba3",38:"67c2ba02c8cb8e2aeae7",39:"cffc9df02e23624f15f7",40:"f72c24c69c3d22cb365f",41:"3e80f7c7164f36ab833d",42:"9cfba776561a2683e1ce",43:"491cbc97f03e6a9416fd",44:"9a001dcb0b20412481a9",45:"7d07ad63ee1aebc77c05",46:"64a15dd24ae8e3144031",47:"e158722e9154c479fd48",48:"bf0f43e67bca163a8825",49:"db237966421b9efea688",50:"f22cbf7598ba1005cbcc",51:"6a01d92850fef1ae9c8d",52:"daeb4b3000f4e6f0622b",53:"ed4f0a40a8c2ab4ef1b5",54:"a63f3b2b05b73e8a3ed6",55:"e08c75127132ad856135",56:"958b7f1db9c52bb2abaf",57:"b059e07220a79fb60d95",58:"38bdda7d88dd6886fbed",59:"ed1cfc8b4f8a46cebdfb",60:"93a2ee002c3cd92e8e0e",61:"c72abb8753a2004d6800",62:"66e0ac1b58f6da721da0",63:"8e1a0364cf1388ecfd3d",64:"2e546d02be42fac0c64d",65:"11f52cad03275c8aba4f",66:"9fa3ca5124aa2b5a85ec",67:"fe28b5cd6347bad40117",68:"7c8716b3ed26ffda11fb",69:"18f0e63b47a729fc63d0",70:"b999d4bf8b805f03bd2b",71:"d19b0a20ea22d410b91d",72:"ae171a4233296a9ac4b4",73:"0c069b06ad167faadfc6"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=b[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},f.m=e,f.c=c,f.d=function(e,a,c){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-05-12 14:43:32
* @LastEditTime: 2020-05-12 15:48:57
-->
<!--
<group-dialog @closeGroup="closeGroup" @submitGroup="submitGroup"></group-dialog>
......@@ -59,7 +59,7 @@ export default {
categoryParentId: this.categoryParentId
},
rules: {
categoryName: [{ required: true, message: '请输入模块名称', trigger: 'blur' }]
categoryName: [{ required: true, message: '请输入分组名称', trigger: 'blur' }]
}
};
},
......
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-05-12 16:26:15
-->
<!--
<text-edit categoryId="categoryId" @closeText="closeText" @submitText="submitText"></text-edit>
import textEdit from '@/components/set/text-edit.vue';
-->
<template>
<el-dialog :title="!!editRow.materialId ? '编辑文本' : '新建文本'" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="文本标题" prop="materialTitle">
<limitInput :inputWidth="300" :inputValue.sync="ruleForm.materialTitle" :holder="'请输入文本标题'" :getByType="'word'" :maxLength="20"> </limitInput>
</el-form-item>
<el-form-item label="内容" prop="materialContent">
<div class="material-content">
<textarea class="material-body" placeholder="请输入内容" id="textpanel" v-model="ruleForm.materialContent"></textarea>
<el-popover placement="top" width="400" trigger="click">
<ul class="flex">
<li v-for="(item, index) in emojiList" :key="index + 'emoji'">
<img :src="item.gifUrl" alt="" @click="selectEmoji(item)" />
</li>
</ul>
<img slot="reference" src="https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce" alt="" />
</el-popover>
</div>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="toCancel">取消</el-button>
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
</div>
</el-dialog>
</template>
<script>
import limitInput from '@/components/limit-input.vue';
import { _debounce } from '@/common/js/public';
import { postRequest } from '@/api/api';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
import { emojiArr } from '@/utils/emoji';
export default {
props: {
editRow: {
type: Object,
default() {
return {};
}
},
categoryId: {
type: Object,
default() {
return '';
}
}
},
components: {
limitInput
},
data() {
return {
editPersion: localStorage.getItem('userName'),
dialogVisible: true,
ruleForm: {
materialId: '',
materialTitle: '',
materialContent: ''
},
rules: {
materialTitle: [{ required: true, message: '请输入文本标题', trigger: 'blur' }],
materialContent: [{ required: true, message: '请输入文本内容', trigger: 'blur' }]
},
emojiList: emojiArr
};
},
methods: {
/**
* 输入内容
**/
handleInput($event) {
const that = this;
that.ruleForm.materialContent = $event.target.innerText;
},
/**
* 选中表情
**/
selectEmoji(item) {
const that = this;
that.ruleForm.materialContent = that.ruleForm.materialContent + item.key;
},
toCancel() {
const that = this;
that.$emit('closeText');
that.$refs['ruleForm'].resetFields();
},
handleClose(done) {
const that = this;
that.$emit('closeText');
that.$refs['ruleForm'].resetFields();
},
submitForm: _debounce(function(formName) {
const that = this;
that.$refs[formName].validate(valid => {
if (valid) {
that.postSave();
}
});
}, 300),
postSave() {
const that = this;
const data = {
categoryId: that.categoryId,
materialType: 1,
materialId: that.ruleForm.materialId,
materialTitle: that.ruleForm.materialTitle
};
postRequest(that.ruleForm.materialId ? '/haoban-manage3-web/material-edit' : '/haoban-manage3-web/material-add', data)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('操作成功', 'success');
that.$refs['ruleForm'].resetFields();
that.$emit('submitText');
} else {
errMsg.errorMsg(resData);
}
})
.catch(error => {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {
editRow(newData) {
const that = this;
if (Object.keys(newData).length) {
that.ruleForm = JSON.parse(JSON.stringify(newData));
}
}
},
mounted() {
const that = this;
if (Object.keys(that.editRow).length) {
that.ruleForm = JSON.parse(JSON.stringify(that.editRow));
}
}
};
</script>
<style lang="less" scoped>
.m-b-20 {
margin-bottom: 20px;
}
.p-l-18 {
padding-left: 18px;
}
</style>
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-05-12 16:44:14
-->
<!--
<text-table :categoryId="categoryId" :textTableData="textTableData" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></text-table>
import textTable from '@/components/set/text-table.vue';
-->
<template>
<div class="text-table-body">
<el-table class="select-table" ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%', minHeight: tableH }" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="35"> </el-table-column>
<el-table-column width="25">
<template slot="header" slot-scope="scope">
<el-dropdown style="line-height: 10px; padding: 0; margin-left: -15px; transform: translateY(4px); -webkit-transform: translateY(4px);" @command="handleCommand" placement="bottom-start">
<span class="el-dropdown-link"><i class="iconfont icongengduo"></i> </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="0"><span :style="{ color: selectRadio == 0 ? '#2f54eb' : '#606266' }">选择当页</span></el-dropdown-item>
<el-dropdown-item command="1"><span :style="{ color: selectRadio == 1 ? '#2f54eb' : '#606266' }">选择全部</span></el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</template>
<template slot-scope="scope"> </template>
</el-table-column>
<el-table-column label="标题" width="120" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.materialTitle }}
</template>
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope">{{ scope.row.materialContent }}</template>
</el-table-column>
<el-table-column prop="" label="编辑人" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.staffName }}</template>
</el-table-column>
<el-table-column prop="" label="最近编辑时间" show-overflow-tooltip>
<template slot-scope="scope">
<div class="color-606266 line-18">{{ scope.row.updateTime | timeStampToYmd }}</div>
<div class="color-606266 line-18">{{ scope.row.updateTime | timeStampToHms }}</div>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination>
</div>
<text-edit v-if="textShow" :editRow="editRow" :categoryId="categoryId" @closeText="closeText" @submitText="submitText"></text-edit>
</div>
</template>
<script>
import textEdit from '@/components/set/text-edit.vue';
import { postRequest } from '@/api/api';
// import { _debounce } from '@/common/js/public';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
export default {
props: {
brandId: {
type: String,
default() {
return '';
}
},
categoryId: {
type: String,
default() {
return '';
}
},
textTableData: {
type: [Array, Object],
default() {
return [];
}
},
currentPage: {
type: [String, Number],
default() {
return 1;
}
},
pageSize: {
type: [String, Number],
default() {
return 20;
}
},
total: {
type: [String, Number],
default() {
return 0;
}
}
},
data() {
return {
tableData: [],
multipleSelection: [],
textShow: false,
editRow: {}
};
},
computed: {},
methods: {
/**
* 文本弹窗关闭
*/
closeText() {
const that = this;
that.textShow = false;
that.editRow = {};
},
submitText() {
const that = this;
that.textShow = false;
that.editRow = {};
that.$emit('refreshTable');
},
/**
* 编辑
*/
toEdit(index, row) {
const that = this;
that.textShow = true;
that.editRow = row;
},
/**
* 删除
*/
toDel(index, row) {
const that = this;
that
.$confirm('确定删除当前文本素材?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
that.postDel(index, row);
})
.catch(() => {});
},
postDel(index, row) {
const that = this;
let para = {
materialIds: row.materialId
};
postRequest('/haoban-manage3-web/material-del', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('删除成功', 'success');
that.$emit('refreshTable');
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
},
/**
* 表格选择
*/
handleSelectionChange(val) {
this.multipleSelection = val;
},
/**
* 批量删除
*/
multDel() {
const that = this;
if (!that.multipleSelection.length) {
that.$message.error({
duration: 1000,
message: '请选择删除项'
});
return false;
}
that.showDialog = true;
},
/* *
* 批量删除---弹窗关闭
*/
hideDialog(obj) {
const that = this;
that.showDialog = false;
if (!Object.keys(obj).length) {
return false;
}
that.postMultDel(obj);
},
/**
* 分页---页码变化
*/
handleSizeChange(val) {
const that = this;
that.$emit('handleSizeChange', val);
},
/**
* 分页---当前页变化
*/
handleCurrentChange(val) {
const that = this;
that.$emit('handleCurrentChange', val);
}
},
watch: {
textTableData: function(newData, oldData) {
let that = this;
if (!!newData.length) {
that.tableData = JSON.parse(JSON.stringify(newData));
}
}
},
mounted() {
const that = this;
that.activeBrand = that.brandId;
if (!!that.textTableData.length) {
that.tableData = JSON.parse(JSON.stringify(that.textTableData));
}
},
components: {
textEdit
}
};
</script>
<style type="text/scss" lang="scss" scoped>
.color-c0c4cc {
display: inline-block;
line-height: 34px;
padding-left: 10px;
color: #c0c4cc;
}
.condition-tips {
display: inline-block;
vertical-align: middle;
line-height: 32px;
}
.table-condition {
// min-width: 1200px;
}
.daily-set-wrap {
height: 100%;
.daily-set-content {
padding: 20px;
.table-condition-left {
font-size: 0;
}
}
.depart-item-content {
width: 213px;
height: 32px;
overflow: hidden;
white-space: nowrap;
border-radius: 4px;
border: 1px solid #dcdfe6;
cursor: pointer;
}
.item-cell-select {
/deep/ .el-select__tags {
white-space: nowrap;
overflow: hidden;
}
}
.depart-cell {
position: relative;
margin: 0 24px 24px 0;
.el-icon-circle-close {
position: absolute;
top: -10px;
right: -10px;
font-size: 16px;
color: #808995;
cursor: pointer;
}
}
}
</style>
const emojiArr = [
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/204994d9-48d8-4bfe-bfbd-e8168d444965',
key: '[微笑]',
keyCode: '/::)'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a5f7c1eb-358e-47fe-a43c-7ae1ba5e95fd',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/87bbdce9-82e4-4fb0-8d6c-b867ccf7e058',
key: '[撇嘴]',
keyCode: '/::~'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/32201a50-e937-4594-bfb2-68dc674d29a1',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/df55c677-7adb-48f2-bf65-6cf592eccf80',
key: '[色]',
keyCode: '/::B'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/674f2eea-85fd-4735-9ae5-416aef938857',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/c44c6034-c191-4526-ac80-c5f7f0fbcf5f',
key: '[发呆]',
keyCode: '/::|'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a52e4031-51e6-47c4-9a7d-4aa36902e868',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/684dcfac-a95f-49fc-8d9d-8d3627f4a26e',
key: '[得意]',
keyCode: '/:8-)'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/d5d3c311-30a7-46d4-bd6b-e09e9e270eb8',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/3f17d82f-beb6-4e0f-be8b-72c571558438',
key: '[流泪]',
keyCode: '/::<'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/014fb90d-db81-4a6d-b89d-6edc21825c57',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/6ce13f11-6c26-4e5a-b3b1-f47151b61e30',
key: '[害羞]',
keyCode: '/::$'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/fecaa108-f9ee-4871-88f8-04fe9dd006c4',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/0fe29af4-bddc-46c2-a063-f8d8e4414d13',
key: '[闭嘴]',
keyCode: '/::X'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/61373735-d6a4-42ec-beb8-f2ad3a4204ae',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/9fa3a5f6-3814-46df-a85c-e27711b41c45',
key: '[睡]',
keyCode: '/::Z'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/5e18d40c-00fe-4fa8-94bb-fc5879b601db',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/87d28ce0-72d2-44ab-a5b9-899ca92737c3',
key: '[大哭]',
keyCode: "/::'("
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/9956bdde-87e2-4377-a77d-2d7a6510dcca',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/28d4443a-ae59-459b-8fa0-c5d236a84208',
key: '[尴尬]',
keyCode: '/::-|'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a36b8868-369d-4022-be38-e71970b4b0ed',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/a3db89ce-6b1a-44e9-a276-8284dfba6fec',
key: '[发怒]',
keyCode: '/::@'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/2b46750b-e399-41fa-88da-cef0705adb68',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/a340191e-00f0-4aed-9c4b-5084c9d48a3f',
key: '[调皮]',
keyCode: '/::P'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/f3d140d2-3490-4d12-a16f-5786c50e92e6',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/3741398d-ac5e-4ca4-aff2-7072d4f3e809',
key: '[呲牙]',
keyCode: '/::D'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/d54d58f6-a89a-4a70-9e7a-834ba728e5cb',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/62bb88d4-a38b-4d0a-943b-854e35f4216d',
key: '[惊讶]',
keyCode: '/::O'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/ceb0633a-3610-48dc-a4da-79b74d91c5a3',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/a9f355d2-89d5-41c3-96c9-53e6c1893ce8',
key: '[难过]',
keyCode: '/::('
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/7ae8e3ea-864f-4864-ba73-fbc731fe5e43',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/75533bd8-4d96-4d14-a28e-18f01141fd53',
key: '[酷]',
keyCode: '/::+'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/1ad076a0-a052-4cc5-bd1b-d46bdaf25928',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/b551bd90-8f9c-49d4-a73f-05852da72e4e',
key: '[冷汗]',
keyCode: '/:--b'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/756eb481-d965-4b09-abe6-5ea2f7d460db',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/9a9f6be6-6c9f-496e-8f40-cdd56670b1cb',
key: '[抓狂]',
keyCode: '/::Q'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/56107e91-303c-4d4c-bbc2-6a6ace586777',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/70b702b8-b1f2-4071-8fa1-01b4bac8c8cb',
key: '[吐]',
keyCode: '/::T'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/363eb785-69a9-4f18-8e45-cb069bb12c4c',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/fc61ddbf-a962-4043-a5cc-cb7a8a4edbcc',
key: '[偷笑]',
keyCode: '/:,@P'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/888ee4dc-0274-4c3d-bb84-e3ba943ff86f',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/223e7c88-5ffa-4392-a4b1-e5785bf59e19',
key: '[愉快]',
keyCode: '/:,@-D'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a5a391da-659b-48ab-8007-a8888f98ec66',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/8fb34158-562b-4710-ae93-47b64174bdbf',
key: '[白眼]',
keyCode: '/::d'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/f3c70943-f4a2-4e15-a9fb-f8f840878a6a',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/8a0a3dcb-ea02-4c9d-9fb8-3cd72378da19',
key: '[傲慢]',
keyCode: '/:,@o'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/c7b25d7c-abc6-4547-803b-19dc45fd5be2',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/2428fcba-8a72-40d6-b847-6f7034f7e9d5',
key: '[饥饿]',
keyCode: '/::g'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/c6e9be34-b576-477d-a757-7d5593019552',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/45cddb56-4a94-4cfb-aea3-02ea14fd5093',
key: '[困]',
keyCode: '/:|-)'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/015bfb53-443a-4b5c-82f6-960b9d0acedd',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/1455635c-6cb0-470c-ae27-6602f76af048',
key: '[惊恐]',
keyCode: '/::!'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/d2569652-651e-4f8a-8052-d8f471af1a4d',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/c90c340f-39ab-4d34-a301-8aed680e79dd',
key: '[流汗]',
keyCode: '/::L'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/27f447a5-555d-49c0-b04d-7da098e372f6',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/e2bf7e8a-3218-44e7-a42e-b18c4fd32411',
key: '[憨笑]',
keyCode: '/::>'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/8f139cf5-49f7-4bfa-9ab9-d6f23782684e',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/ee4249c0-d355-40d0-9c68-1187e88e68d8',
key: '[悠闲]',
keyCode: '/::,@'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/688b20ba-ce01-4369-934f-2062a5b57643',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/386a5629-aec9-4840-a2cb-dfb8bdbf237d',
key: '[奋斗]',
keyCode: '/:,@f'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/e05cd4b5-e5cb-4374-80d9-8c09702ce7f5',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/95d3c7be-356b-4573-8aa8-45724618a527',
key: '[咒骂]',
keyCode: '/::-S'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/8f11e215-9e39-476b-a77b-e994cc703edc',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/fa622e45-63eb-4fe3-aa27-cca7dc7db07b',
key: '[疑问]',
keyCode: '/:?'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/de50c8c0-a797-4bb7-b2ef-ddb4a6b48085',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/067378c9-04d4-470c-a125-1c3fcfa298e3',
key: '[嘘]',
keyCode: '/:,@x'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/2e55af63-2591-49b9-9565-85269a308a97',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/484cc9ea-89b4-4af1-8134-8ba9fdcabeb3',
key: '[晕]',
keyCode: '/:,@@'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/057a6ff4-2403-424a-aaa4-5ece64336a37',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/6d21c607-d709-45a5-a8d6-dd74bcdf587f',
key: '[疯了]',
keyCode: '/::8'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/7d5e19d4-334b-441a-a964-285d8826c6d8',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/204c089c-d737-447e-a912-a3da4f92c8fe',
key: '[哀]',
keyCode: '/:,@!'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/9b14cbe9-749a-4081-b697-8a456db53cd3',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/94019082-ea4b-4ada-a7a3-0e1d02143c62',
key: '[骷髅]',
keyCode: '/:!!!'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/3518ddf0-8cc3-4b4f-9391-7aa67a95f6b6',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/7eeb8cc7-6e6b-4e02-b289-4f462677831d',
key: '[敲打]',
keyCode: '/:xx'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/b3086372-dd16-45d1-a51e-343befece0f7',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/3e1c155c-3517-4c5f-9831-98a564d94bd2',
key: '[再见]',
keyCode: '/:bye'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/31350af3-00e6-40c1-91fd-c36660614f7a',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/39804b4f-e56d-475d-b398-121d65e96d01',
key: '[擦汗]',
keyCode: '/:wipe'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/fc09bdc6-8467-40c3-b20d-822980f14824',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/89a3283e-fef9-4ccd-a238-400139a786a9',
key: '[抠鼻]',
keyCode: '/:dig'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/7a1d3d7f-ae4e-495d-8c4d-75378069a52c',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/8cd3aee8-56aa-4862-b253-701212e838f6',
key: '[鼓掌]',
keyCode: '/:handclap'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/434911d7-c142-4115-8ca2-0765f78e41d1',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/2ead6c2f-23c7-4e5f-b8e3-161153989ede',
key: '[糗大了]',
keyCode: '/:&-('
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/aa3532b6-99df-4984-9e76-013b4e106501',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/9c3ec470-8055-413c-8839-465f75dd9f71',
key: '[坏笑]',
keyCode: '/:B-)'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/887fbd28-9f81-42ce-addf-639a94a8edb2',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/897a5d5b-7c89-40bf-94ed-dc1c91c317ee',
key: '[左哼哼]',
keyCode: '/:<@'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/2267b046-ac56-4fc2-b592-351a1e6ffa28',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/da25a587-d314-4b44-98eb-2f9220b6a093',
key: '[右哼哼]',
keyCode: '/:@>'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/3d1a9b50-3262-4d3e-a554-33871189023d',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/f5323432-50d2-4393-853c-f8998a956da6',
key: '[哈欠]',
keyCode: '/::-O'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/edd78bd3-ffbb-4268-8af8-85377535cc0a',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/ca62a0b0-2d01-4ca4-b958-8417f0906a89',
key: '[鄙视]',
keyCode: '/:>-|'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/d1f49343-0f9b-485a-b6b7-4d9b43020fab',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/e43b2e20-8802-44d4-afa0-7eb6b7126c38',
key: '[委屈]',
keyCode: '/:P-('
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/e6532dd2-5734-41fc-862c-3fec91ecb7b7',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/d3120d89-2df8-47ba-b894-84658dd3e617',
key: '[快哭了]',
keyCode: "/::'|"
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/3799a3bb-94a4-4614-917c-07629f1a63ac',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/17853d32-28fc-4565-8dab-44d7c95d4819',
key: '[阴险]',
keyCode: '/:X-)'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4f84b1d5-235a-41a6-9927-96e29232ab61',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/a034d0c1-eafd-434c-a3e9-6042081536f9',
key: '[亲亲]',
keyCode: '/::*'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/fb45c4ad-2813-4ec1-afb7-873ef95ea975',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/660a65ee-66ff-4fa3-85fc-72149b938739',
key: '[吓]',
keyCode: '/:@x'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/abdb4f9e-8fec-4fab-98c4-a89711da5f6a',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/c8ef0424-21c9-4a25-a6be-c2233a6a85ba',
key: '[可怜]',
keyCode: '/:8*'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/6a0d843a-6870-409a-9bf2-40114628076e',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/f80d75c4-8f07-459c-9c83-0cf016ddfcef',
key: '[菜刀]',
keyCode: '/:pd'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/140d13e9-1587-491c-afdc-2599a5ba72de',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/08ec4424-86b8-4e46-bdce-3c93180a9cf9',
key: '[西瓜]',
keyCode: '/:<W>'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/d9974e8a-820e-4571-8fde-0fe21b725b7a',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/8426b197-1a1b-4f5f-a446-e47b2a2bff09',
key: '[啤酒]',
keyCode: '/:beer'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4ff9ae58-e8df-4c9e-91ac-b91a6dc9096d',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/2578648c-f29b-46d3-91de-b636c6014dcc',
key: '[篮球]',
keyCode: '/:basketb'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/aa136900-c1f5-40f4-9130-1ddae518cb22',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/3b7a5bec-a119-4a7f-ae8f-e962cfb658b5',
key: '[乒乓]',
keyCode: '/:oo'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4de4896d-a8b0-4cc6-921a-bb7a81788e68',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/5f1af094-059d-48a3-b374-381818827596',
key: '[咖啡]',
keyCode: '/:coffee'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/c61865c0-2fcf-44e9-bf62-3a5a606ca459',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/71a2ebba-3160-4a96-9370-2294e325c3d6',
key: '[饭]',
keyCode: '/:eat'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/2ffebcf6-48a8-4c26-8e67-dd6ea345407f',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/7309bbc1-3f2e-4df1-b523-b95ad9e18e0f',
key: '[猪头]',
keyCode: '/:pig'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/66dfc7b5-bebe-45d9-98f6-96d3a28214e8',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/06673bd8-c7ca-4672-b7a3-569bb5768efc',
key: '[玫瑰]',
keyCode: '/:rose'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/86a99146-e83b-4132-b3fb-2864aaf8cfa4',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/6b6b8364-d6eb-4c27-99d8-4bd0930b3cda',
key: '[凋谢]',
keyCode: '/:fade'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/090ae661-b401-496c-bd1f-d475e20e1c36',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/d42b19ce-943c-40df-8886-f1cc70281f5d',
key: '[嘴唇]',
keyCode: '/:showlove'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a8295101-ac8c-4b8b-b1b0-97c548ec7c8d',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/579e7c8b-d538-4ac0-8b9b-5e0691c33c74',
key: '[爱心]',
keyCode: '/:heart'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4b42af75-7434-4e1b-a727-def403b3c018',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/d8b6265f-2ca2-4227-8aa3-26cfee1e1d8f',
key: '[心碎]',
keyCode: '/:break'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/2eaf27d5-0f8e-4716-9f0c-7af7fce62980',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/f96201f2-32b8-462b-847a-22c49c3cf6df',
key: '[蛋糕]',
keyCode: '/:cake'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/ef55a1bb-6177-4075-b8ae-326b967cd612',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/f3e8ef24-0efa-4823-af8f-34604e832b94',
key: '[闪电]',
keyCode: '/:li'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/8672c806-0ecd-45ec-a9cd-2af63c806344',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/758a6b09-71e7-429b-9c2e-c744b8305610',
key: '[炸弹]',
keyCode: '/:bome'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/0dfd4afd-f954-4de3-93da-ac6104a007a9',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/d82af5eb-6fd5-48c8-9ba9-bf8b6ef7fe54',
key: '[刀]',
keyCode: '/:kn'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/12524677-2787-4a7b-9e8a-2874c44864f6',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/dbb1e536-27bb-47ea-a57e-25c89ecb4c81',
key: '[足球]',
keyCode: '/:footb'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/d65a0c9d-d50f-4986-86f4-de5babceeb4f',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/62a24697-7529-4dce-93ef-8d78ee2ef3d9',
key: '[瓢虫]',
keyCode: '/:ladybug'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/0c30bcc5-1ad8-4b33-8040-cf11b4c8cdb4',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/4beffad5-d07f-465b-987e-62687178a609',
key: '[便便]',
keyCode: '/:shit'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/adb7224b-ddd7-4e51-9cc0-c9642c3ca827',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/3e124ec4-68d2-4129-ace6-b02b5a0a47dd',
key: '[月亮]',
keyCode: '/:moon'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/55a303ca-bcbf-42fb-99c5-d2a2aaa2c254',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/191faab4-2c7d-4b6a-95e0-0cec831bdba8',
key: '[太阳]',
keyCode: '/:sun'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a84809d8-4553-4380-966b-17484ce317b8',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/ffbc4ada-d572-4f80-821a-ee1d232c0da4',
key: '[礼物]',
keyCode: '/:gift'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/70f21a3f-165e-46dd-bbd3-9523e72761ef',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/1344a463-f19a-4a5a-9e99-450bf32c2c6b',
key: '[拥抱]',
keyCode: '/:hug'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a008b2e1-6d02-47f0-b477-c2b0e9f585f2',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/b4cf425d-08fb-48a3-8383-e705d4ed990e',
key: '[强]',
keyCode: '/:strong'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/dd610773-3bc5-4bce-90a3-d5c7b7af1bd4',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/bab6f0b3-94e1-4e94-b144-5161c5ee0799',
key: '[弱]',
keyCode: '/:weak'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4c027076-e5bb-492c-9cc7-39b58b50f720',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/72076aef-4091-4b6a-a727-b3b433c64e7e',
key: '[握手]',
keyCode: '/:share'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef',
key: '[胜利]',
keyCode: '/:v'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/27f6adac-c525-4b8e-817d-f79e8b595ad8',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/ab16d400-9bb0-493d-9973-5cf97f6f8ab2',
key: '[抱拳]',
keyCode: '/:@)'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/ef165f66-cf6b-4588-81a6-e01a31679670',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/1e701efe-b602-4570-a957-5ba12486a853',
key: '[勾引]',
keyCode: '/:jj'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/c230a194-9f2f-4690-84ce-194aed18143b',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/fb9d43d1-506d-4684-8fc2-62a9cd528feb',
key: '[拳头]',
keyCode: '/:@@'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4d963fc7-20c0-4942-b6f6-eb9282c509a6',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/443b1f18-c10d-4803-9a1d-698075874fcf',
key: '[差劲]',
keyCode: '/:bad'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/ac3fe192-103c-48f1-bd30-293d5f7551d0',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/8f0ce5ac-c0b6-4936-8091-953b13d1d091',
key: '[爱你]',
keyCode: '/:lvu'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/68d642b4-0573-4821-8c42-ecfdaf8ceeb9',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/633fc189-ab89-4ee5-9325-01f7b6c2a3fe',
key: '[NO]',
keyCode: '/:no'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/ceb1580b-e0b1-4fcf-a3d9-66b83346cc43',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/a80685a2-4e41-461c-b67d-e2092c2ba068',
key: '[OK]',
keyCode: '/:ok'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/1732e5d1-ab4b-4c63-9571-171feac408ef',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/a83394ea-9191-4eff-a3ca-84646ee748e4',
key: '[爱情]',
keyCode: '/:love'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/f15cf2a7-89d8-48c5-bd63-0e550a240813',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/b23f441c-2329-468b-a09a-e6a1d2cc38cf',
key: '[飞吻]',
keyCode: '/:<L>'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/7be4b8d5-6b2c-4c8c-9444-3e82057e6aca',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/db11cfab-1be4-4279-b11a-18787247513d',
key: '[跳跳]',
keyCode: '/:jump'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/a1147a2d-8fe4-4dac-b14b-4d144ce5e2f7',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/9e243eca-c1e3-4afa-a068-8260af2eb62b',
key: '[发抖]',
keyCode: '/:shake'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/845e5982-a104-4ca7-be4c-ef176a360c25',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/1695538d-744f-418b-9362-6eb052642163',
key: '[怄火]',
keyCode: '/:<O>'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/fd84d952-e6d0-498b-865c-4f9aaf570d81',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/4ae21d0e-b019-4ab8-a607-8e43b8f24bf1',
key: '[转圈]',
keyCode: '/:circle'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/976e7ef5-4381-4f98-8a94-b1647c501357',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/e63c5775-da40-480a-bf57-2fac6b88c372',
key: '[磕头]',
keyCode: '/:kotow'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/705e70c6-5524-4dc8-840b-ddf0a5558024',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/fa8c6f1d-3fe6-4ffe-b62b-bc6f6024a681',
key: '[回头]',
keyCode: '/:turn'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/069837fd-9b7c-4dfe-9203-2cc747c083d0',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/64a70d02-8888-4c23-93fc-a94c63589ea8',
key: '[跳绳]',
keyCode: '/:skip'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/ebeb6e1d-a159-4d11-9a41-e639c1b82203',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/6b12c653-0027-4c44-a9f2-d0bac2d405bf',
key: '[投降]',
keyCode: '/:oY'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/2da0f4d4-37ed-43bd-ba44-0f3a65c2f46c',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/21d5b626-e190-4a65-9c88-c4bfcb4261d7',
key: '[激动]',
keyCode: '/:#-0'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/6d34badb-1972-4b3f-9d42-f054f365ed5a',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/bc51d1d4-42de-442a-8e94-74ae0dd5abd0',
key: '[乱舞]',
keyCode: '/:hiphot'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/4e35c97d-f497-4fa8-8cf4-bd6fd8d7f9ad',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/6856fc16-279a-45cd-9ab3-9396d382f502',
key: '[献吻]',
keyCode: '/:kiss'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/209d7202-5972-445e-a0f6-336cbe8b0b9d',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/fadeb841-e07c-47f7-b948-081eabb556b9',
key: '[左太极]',
keyCode: '/:<&'
},
{
imgUrl: 'https://pic01-10001430.image.myqcloud.com/f566cd87-b948-4929-bfcc-955385937095',
gifUrl: 'https://pic01-10001430.image.myqcloud.com/4b08fdfe-9ea8-420a-9eda-998b6ad2045f',
key: '[右太极]',
keyCode: '/:&>'
}
];
export { emojiArr };
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-19 11:24:28
* @LastEditTime: 2020-05-12 15:29:04
-->
<template>
<div class="daily-set-wrap ">
......@@ -296,9 +296,9 @@ export default {
});
},
/* *
/**
* 分页---页码变化
* /
*/
handleSizeChange(val) {
const that = this;
that.pageSize = val;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-03-16 09:59:39
* @LastEditors: 无尘
* @LastEditTime: 2020-05-12 15:03:39
* @LastEditTime: 2020-05-12 16:38:35
-->
<template>
<div class="daily-set-wrap ">
......@@ -77,6 +77,7 @@
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane name="1">
<span slot="label"><i class="iconfont iconwenzi"></i>文本</span>
<text-table :currentPage="currentPage" :pageSize="pageSize" :total="total" :textTableData="tableData" :categoryId="currentCategoryId" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></text-table>
</el-tab-pane>
<el-tab-pane label="图片" name="2">
<span slot="label"><i class="iconfont icontupian"></i>图片</span>
......@@ -87,8 +88,8 @@
<el-tab-pane label="视频" name="4">
<span slot="label"><i class="iconfont iconshipin"></i>视频</span>
</el-tab-pane>
<el-tab-pane label="文件" name="4">
<span slot="label"><i class="iconfont iconwenjian"></i>视频</span>
<el-tab-pane label="文件" name="5">
<span slot="label"><i class="iconfont iconwenjian"></i>文件</span>
</el-tab-pane>
</el-tabs>
</div>
......@@ -99,6 +100,7 @@
</div>
</template>
<script>
import textTable from '@/components/set/text-table.vue';
import groupDialog from '@/components/set/group-dialog.vue';
import { getRequest } from '@/api/api';
import { _debounce } from '@/common/js/public';
......@@ -118,11 +120,31 @@ export default {
editGroupRow: {},
expandArr: [],
tableData: [],
activeName: ''
// 分页参数
currentPage: 1,
pageSize: 20,
total: 0,
activeName: '1'
};
},
methods: {
/**
* 刷新列表
*/
refreshTable() {
const that = this;
that.currentPage = 1;
that.getTableList();
},
/**
* 切换tab
*/
handleClick() {
const that = this;
that.currentPage = 1;
that.getTableList();
},
/**
* 选中分组
*/
selectGroup(item) {
......@@ -273,6 +295,53 @@ export default {
message: error.message
});
});
},
/**
* 分页---页码变化
*/
handleSizeChange(val) {
const that = this;
that.pageSize = val;
that.getTableList();
},
/**
* 分页---当前页变化
*/
handleCurrentChange(val) {
const that = this;
that.currentPage = val;
that.getTableList();
},
/**
* 获取列表数据
*/
getTableList(val) {
const that = this;
let para = {
wxEnterpriseId: that.wxEnterpriseId,
keyword: that.searchInput,
categoryId: that.currentCategoryId,
materialType: that.activeName,
pageNum: that.currentPage,
pageSize: that.pageSize
};
getRequest('/haoban-manage3-web/material-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.tableData = resData.result.list || [];
that.total = resData.result.pageInfo.total;
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {},
......@@ -285,7 +354,7 @@ export default {
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
components: { groupDialog }
components: { groupDialog, textTable }
};
</script>
<style type="text/less" lang="less" scoped>
......
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