Commit 7d31697d by crushh

udpate: dist

parent 7459deb2
<!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.69.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1628375_cl07xa4zqij.css><script src=//at.alicdn.com/t/font_1628375_cl07xa4zqij.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.43c473e8d427e9cad62b280016b53fa9.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script>(function() { <!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.69.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1628375_cl07xa4zqij.css><script src=//at.alicdn.com/t/font_1628375_cl07xa4zqij.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.e74d0f873a952e50e49793f91b8d2599.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script>(function() {
var src = '/component/static/import-component.js?timestrap='+ new Date().getTime(); var src = '/component/static/import-component.js?timestrap='+ new Date().getTime();
var host = window.location.host; var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host; host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>') document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.dc5c4d6dff554a23acf4.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.ef8e2c1f6886e93ab498.js></script></body></html> })()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.2172f4ed365e12f2d68f.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.7cf54bdd4577852a025c.js></script></body></html>
\ No newline at end of file \ 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([60],{"3Qek":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),i=s.n(a),l=s("PI0u"),o=s("Ch4/"),n=s("3E4D"),r=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["如果这个配置打开了,则商户好办端所有的话务任务都可以用企业电话,前提是企业电话对应账户不欠费;"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],setObj:{taskCallTypes:[],taskType:1,overDayJudge:"",distributeTypeJudge:"",posDistributeJudge:"",giveUpJudge:"",relaxTaskJudge:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(l.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskCallTypes:t.setObj.taskCallTypes.join(","),enterpriseId:t.activeBrand,taskType:1,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,posDistributeJudge:t.setObj.posDistributeJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(r.e)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?o.a.errorMsg(s):n.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:1};Object(r.e)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)o.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=i()({},s.result,{taskCallTypes:a})}}).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","11"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},u={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 flex"},[t._m(0),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{staticClass:"tooltips"},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item font-0"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务下发:")]),t._v(" "),s("div",{staticClass:"inline-block vertical-top"},[s("table",{staticClass:"font-14"},[s("tbody",[s("tr",{staticClass:"el-table__row"},[t._m(1),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给专属导购")])],1)])]),t._v(" "),s("tr",{staticClass:"el-table__row"},[t._m(2),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给专属导购")])],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("话务任务下发后 ")]),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",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"set-line-item_title text-right"},[e("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px"}},[this._v("话务任务拨打")]),this._v(":")])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("微信会员")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("POS会员")])])}]};var d=s("VU/8")(c,u,!1,function(t){s("XF/H")},"data-v-77dc2651",null);e.default=d.exports},"XF/H":function(t,e){}});
\ No newline at end of file
webpackJsonp([60],{FLMi:function(t,e){},K8Yn:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Qs+A"),l=a("P9l9"),r=a("Ch4/"),i=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"组织架构管理",path:"/orgStructSet"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(t,e){this.recoverItem=e,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",storeFlag:e.storeFlag,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage3-web/department-recycle-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.total,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",maxlength:"50",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("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:t.changeType},model:{value:t.storeFlag,callback:function(e){t.storeFlag=e},expression:"storeFlag"}},t._l(t.options,function(t){return a("el-option",{key:t.value+"type",attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["iconfont-hb3 color-2f54eb",1==e.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),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){return t.toRecover(e.$index,e.row)}}},[t._v("恢复")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])]),t._v(" "),t.setVisible?a("set-department",{attrs:{recoverItem:t.recoverItem},on:{closeSet:t.closeSet}}):t._e()],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),e("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var u=a("VU/8")(o,c,!1,function(t){a("FLMi")},"data-v-76ee3008",null);e.default=u.exports}}); webpackJsonp([61],{FLMi:function(t,e){},K8Yn:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Qs+A"),l=a("P9l9"),r=a("Ch4/"),i=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"组织架构管理",path:"/orgStructSet"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(t,e){this.recoverItem=e,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",storeFlag:e.storeFlag,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage3-web/department-recycle-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.total,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",maxlength:"50",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("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:t.changeType},model:{value:t.storeFlag,callback:function(e){t.storeFlag=e},expression:"storeFlag"}},t._l(t.options,function(t){return a("el-option",{key:t.value+"type",attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["iconfont-hb3 color-2f54eb",1==e.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),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){return t.toRecover(e.$index,e.row)}}},[t._v("恢复")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])]),t._v(" "),t.setVisible?a("set-department",{attrs:{recoverItem:t.recoverItem},on:{closeSet:t.closeSet}}):t._e()],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),e("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var u=a("VU/8")(o,c,!1,function(t){a("FLMi")},"data-v-76ee3008",null);e.default=u.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([61],{"0T6a":function(t,e){},IuWw:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),r=a("LRn8"),s=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,defaultStoreList:[],loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(s.e)("/haoban-app-daily-three-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:Object(l.a)(function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-daily-three-web/daily/batch-export-brand-task",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="云日报记录.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},300),handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-daily-three-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","11"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:r.a,gicSelectGroup:i.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{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){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("仅统计近两年数据")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("0T6a")},"data-v-757254ac",null);e.default=h.exports}}); webpackJsonp([62],{"0T6a":function(t,e){},IuWw:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),r=a("LRn8"),s=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,defaultStoreList:[],loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(s.e)("/haoban-app-daily-three-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:Object(l.a)(function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-daily-three-web/daily/batch-export-brand-task",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="云日报记录.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},300),handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-daily-three-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","11"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:r.a,gicSelectGroup:i.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{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){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("仅统计近两年数据")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("0T6a")},"data-v-757254ac",null);e.default=h.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([62],{g9l9:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),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(n.e)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.e)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes:a})}}).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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={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 flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],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(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("g9l9")},"data-v-74784215",null);e.default=u.exports}}); webpackJsonp([63],{g9l9:function(t,e){},z2RJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),o=s.n(a),i=s("PI0u"),l=s("Ch4/"),r=s("3E4D"),n=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.若任务创建时无双向呼叫权限,此项设置勾选也不生效"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],activeId:"1",setObj:{taskCallTypes:[],taskType:0,overDayJudge:"3",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(i.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallTypes:t.setObj.taskCallTypes.join(","),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(n.e)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?l.a.errorMsg(s):r.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(n.e)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)l.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=o()({},s.result,{taskCallTypes:a})}}).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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={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 flex"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"代理商户默认关闭双向呼叫功能,如需开通请联系达摩运营或实施进行开通",placement:"top-start","open-delay":200}},[s("span",{staticClass:"set-line-item_title text-right m-r-4"},[s("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px","border-bottom":"1px dashed rgb(47, 84, 235)"}},[t._v("不良评价拨打")]),t._v(":")])]),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{class:["tooltips",t.setObj.taskCallTypes.includes(e.value)?"color-303133":"color-606266"]},[t._v(t._s(e.label))])],2)],1)}),1)],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(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var u=s("VU/8")(c,d,!1,function(t){s("g9l9")},"data-v-74784215",null);e.default=u.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([63],{fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("PI0u"),c=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:[],loading:!1,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.currentPage=1,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 i()(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(c.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())):s.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return i()(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).loading=!0,t.next=4,n={enterpriseId:e.brandId,year:e.year},Object(c.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 4:r=t.sent,o=r.data,a.loading=!1,1==o.errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 8: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",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],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){return e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2)],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("fni5")},"data-v-70988675",null);t.default=h.exports},fni5:function(e,t){}}); webpackJsonp([64],{fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("PI0u"),c=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:[],loading:!1,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.currentPage=1,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 i()(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(c.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())):s.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return i()(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).loading=!0,t.next=4,n={enterpriseId:e.brandId,year:e.year},Object(c.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 4:r=t.sent,o=r.data,a.loading=!1,1==o.errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 8: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",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],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){return e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2)],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("fni5")},"data-v-70988675",null);t.default=h.exports},fni5:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([64],{"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("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}}); webpackJsonp([65],{"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("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([65],{Tvq6:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}}); webpackJsonp([66],{Tvq6:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([66],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}}); webpackJsonp([67],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])}),0),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("Q9Uw")},"data-v-67147ae0",null);e.default=a.exports},Q9Uw:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([67],{lNsz: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"),n={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:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,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.e)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?i.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.e)("/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:{}},r={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}})}),1),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10 set-long-tip"},[t._v("第三方双向呼叫及透传(透传功能暂无法使用,外呼显示号码为固定电话),可监控通话状态。呼叫结算及通话记录存储于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",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(n,r,!1,function(t){s("lNsz")},"data-v-65cf4516",null);e.default=c.exports}}); webpackJsonp([68],{lNsz: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"),n={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:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,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.e)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?i.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.e)("/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:{}},r={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}})}),1),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10 set-long-tip"},[t._v("第三方双向呼叫及透传(透传功能暂无法使用,外呼显示号码为固定电话),可监控通话状态。呼叫结算及通话记录存储于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",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(n,r,!1,function(t){s("lNsz")},"data-v-65cf4516",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([68],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.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,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",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]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-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;p.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.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),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-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),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-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.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){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var b=a("VU/8")(h,g,!1,function(t){a("lgO+")},"data-v-647acdf8",null);e.default=b.exports},"lgO+":function(t,e){}}); webpackJsonp([69],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.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,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",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]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-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;p.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.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),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-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){return t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),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-hb3 icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.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){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var b=a("VU/8")(h,g,!1,function(t){a("lgO+")},"data-v-647acdf8",null);e.default=b.exports},"lgO+":function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([69],{JuNN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),n=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:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:localStorage.getItem("userInfos")?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},overTimeSeeFlag:!1,conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,loading:!1,syncDate:"",loadingBtn:!1,templateList:[]}},beforeDestroy:function(){sessionStorage.removeItem("memberGroupSet")},beforeMount:function(){var e=window.location.origin;-1!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delTempList(t.templateId)}).catch(function(){})},delTempList:function(e){var t=this,a={templateId:e};Object(n.e)("/haoban-app-customer-web/del-group-template",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toEdit:function(e,t){this.$router.push("/addGroupTemplate?templateId="+t.templateId)},toStore:function(e,t){this.$router.push("/storeRangeSet?templateId="+t.templateId+"&brandId="+this.brandId)},addTemplate:function(){this.$router.push("/addGroupTemplate")},getTableList:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/get-template-list",t).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.templateList=a.result||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleClick:function(e,t){this.currentPage=1,this.pageSize=20,this.total=0,"first"==e.name?(this.getGroupClassify(),this.getGroupList(),this.getGroupClassSet(),this.getSyncDate()):this.getTableList()},getSyncDate:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/get-group_last_syn_time",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.syncDate=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toSync:Object(o.a)(function(){var e=this;e.loadingBtn=!0;var t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/syn-group",t).then(function(t){var a=t.data;if(e.loadingBtn=!1,1==a.errorCode)return r.a.showmsg("同步成功","success"),void e.getSyncDate();s.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},500),getGroupClassSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/get-member-group-setting",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.overTimeSeeFlag=0!=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},saveGroupSet:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,overTimeSeeFlag:1==e.overTimeSeeFlag?1:0};Object(n.e)("/haoban-app-customer-web/memberGroup/save-member-group-setting",t).then(function(e){var t=e.data;if(1==t.errorCode)return r.a.showmsg("设置成功","success"),!1;s.a.errorMsg(t)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(o.a)(function(e,t){this.currentPage=1,this.getGroupList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getGroupList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getGroupList(this.brandId)},getGroupClassify:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/get-member-class-list",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.classifyList=a.result.list||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toChangeTemp:function(e,t,a){var o=this,i={enterpriseId:o.brandId,wxEnterpriseRelatedId:o.wxEnterpriseRelatedId,memberTagGroupId:a.memberTagGroupId,isSendTemplate:1==a.isSendTemplate?1:0};Object(n.e)("/haoban-app-customer-web/memberGroup/save-member-group-is-template-message",i).then(function(e){var t=e.data;if(1==t.errorCode)return r.a.showmsg("操作成功","success"),o.pageNum=1,void o.getGroupList(o.brandId);a.isSendTemplate=!1,s.a.errorMsg(t)}).catch(function(e){o.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getGroupList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getGroupList(this.brandId)},getGroupList:function(e){var t=this;t.loading=!0;var a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId,memberGroupName:t.conditionObj.searchInput,classifyName:t.conditionObj.classifyName,effectiveStatus:t.conditionObj.effectiveStatus,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.e)("/haoban-app-customer-web/memberGroup/member-tag-group-list",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return a.result.list&&a.result.list.length&&a.result.list.forEach(function(e){e.isSendTemplate=1==e.isSendTemplate}),t.groupListData=a.result.list||[],void(t.total=a.result.pageInfo.total);s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)),"second"==this.activeName&&this.getTableList()}},mounted:function(){this.$emit("showTab","12"),this.brandId&&(this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)),this.brandId&&"second"==sessionStorage.getItem("memberGroupSet")&&(this.activeName="second",this.getTableList())},components:{}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[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:{label:"会员分组列表",name:"first"}},[a("div",{staticClass:"app-detail-pane border-box p-lbr-20"},[a("div",{staticClass:"condition-wrap flex flex-space-between"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"217px"},attrs:{placeholder:"请输入分组名称",maxlength:"50","prefix-icon":"el-icon-search",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-168 m-l-10",attrs:{placeholder:"全部分类"},on:{change:e.changeCondition},model:{value:e.conditionObj.classifyName,callback:function(t){e.$set(e.conditionObj,"classifyName",t)},expression:"conditionObj.classifyName"}},[a("el-option",{attrs:{label:"全部分类",value:""}}),e._v(" "),e._l(e.classifyList,function(e){return a("el-option",{key:e,attrs:{label:e,value:e}})})],2),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部状态"},on:{change:e.changeCondition},model:{value:e.conditionObj.effectiveStatus,callback:function(t){e.$set(e.conditionObj,"effectiveStatus",t)},expression:"conditionObj.effectiveStatus"}},[a("el-option",{attrs:{label:"全部状态",value:""}}),e._v(" "),a("el-option",{attrs:{label:"有效",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"失效",value:"0"}})],1)],1),e._v(" "),a("div",[a("el-checkbox",{attrs:{disabled:e.$store.state.wxEnterpriseType},on:{change:e.saveGroupSet},model:{value:e.overTimeSeeFlag,callback:function(t){e.overTimeSeeFlag=t},expression:"overTimeSeeFlag"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"开启后,GIC中设置的好办端会员分组失效后,即使在GIC开启好办展示,好办移动端也不再展示该条分组",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB","margin-left":"-4px"}},[e._v("会员分组失效后不展示")])])],1),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn,disabled:e.$store.state.wxEnterpriseType},on:{click:e.toSync}},[e._v("立即同步")]),e._v(" "),e.syncDate?a("span",{staticClass:"font-14 color-606266 p-r-10"},[e._v("最近一次同步时间:"+e._s(e._f("formatTimeStamp")(e.syncDate)))]):e._e()],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.groupListData,"tooltip-effect":"dark"}},[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.groupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"分类"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberTagGroupClassifyName))]}}])}),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(1==t.row.isRealTime?"是":"否"))]}}])}),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(1==t.row.curingFlag?"是":"否"))]}}])}),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(1==t.row.updateType?"每日":2==t.row.updateType?"每周":3==t.row.updateType?"每月":"-")+" "+e._s(1==t.row.updateType?"一次":2==t.row.updateType?"周"+t.row.updateDay:3==t.row.updateType?t.row.updateDay+"号":"-")+" ")]}}])}),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("1"==t.row.effectiveStatus?"有效":"失效"))]}}])}),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.memberCount||0)+"人")]}}])}),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("timeStampToYmd")(t.row.effectiveDate)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.effectiveDate)))])]}}])})],1),e._v(" "),0!=e.groupListData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-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("el-tab-pane",{attrs:{label:"分组展示设置",name:"second"}},[a("div",{staticClass:" border-box p-lbr-20"},[a("div",{staticClass:"flex flex-space-between"},[a("div"),e._v(" "),a("div",[a("span",{staticClass:"font-12 color-909399"},[e._v("最多新建20个模板")]),a("el-button",{staticClass:"m-l-20",attrs:{disabled:e.$store.state.wxEnterpriseType||e.templateList.length>=20,type:"primary"},on:{click:e.addTemplate}},[e._v("新建模版")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tempTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.templateList,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"模板id","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateId))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.editPerson))]}}])}),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("timeStampToYmd")(t.row.editTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.editTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.toStore(t.$index,t.row)}}},[e._v("门店范围设置")]),e._v(" "),a("el-button",{attrs:{type:"text",disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1)])])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("Liar")},"data-v-6411a4ea",null);t.default=c.exports},Liar:function(e,t){}}); webpackJsonp([70],{JuNN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),n=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:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:localStorage.getItem("userInfos")?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},overTimeSeeFlag:!1,conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,loading:!1,syncDate:"",loadingBtn:!1,templateList:[]}},beforeDestroy:function(){sessionStorage.removeItem("memberGroupSet")},beforeMount:function(){var e=window.location.origin;-1!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delTempList(t.templateId)}).catch(function(){})},delTempList:function(e){var t=this,a={templateId:e};Object(n.e)("/haoban-app-customer-web/del-group-template",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toEdit:function(e,t){this.$router.push("/addGroupTemplate?templateId="+t.templateId)},toStore:function(e,t){this.$router.push("/storeRangeSet?templateId="+t.templateId+"&brandId="+this.brandId)},addTemplate:function(){this.$router.push("/addGroupTemplate")},getTableList:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/get-template-list",t).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.templateList=a.result||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleClick:function(e,t){this.currentPage=1,this.pageSize=20,this.total=0,"first"==e.name?(this.getGroupClassify(),this.getGroupList(),this.getGroupClassSet(),this.getSyncDate()):this.getTableList()},getSyncDate:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/get-group_last_syn_time",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.syncDate=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toSync:Object(o.a)(function(){var e=this;e.loadingBtn=!0;var t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/syn-group",t).then(function(t){var a=t.data;if(e.loadingBtn=!1,1==a.errorCode)return r.a.showmsg("同步成功","success"),void e.getSyncDate();s.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},500),getGroupClassSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/get-member-group-setting",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.overTimeSeeFlag=0!=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},saveGroupSet:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,overTimeSeeFlag:1==e.overTimeSeeFlag?1:0};Object(n.e)("/haoban-app-customer-web/memberGroup/save-member-group-setting",t).then(function(e){var t=e.data;if(1==t.errorCode)return r.a.showmsg("设置成功","success"),!1;s.a.errorMsg(t)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(o.a)(function(e,t){this.currentPage=1,this.getGroupList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getGroupList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getGroupList(this.brandId)},getGroupClassify:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.e)("/haoban-app-customer-web/memberGroup/get-member-class-list",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.classifyList=a.result.list||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toChangeTemp:function(e,t,a){var o=this,i={enterpriseId:o.brandId,wxEnterpriseRelatedId:o.wxEnterpriseRelatedId,memberTagGroupId:a.memberTagGroupId,isSendTemplate:1==a.isSendTemplate?1:0};Object(n.e)("/haoban-app-customer-web/memberGroup/save-member-group-is-template-message",i).then(function(e){var t=e.data;if(1==t.errorCode)return r.a.showmsg("操作成功","success"),o.pageNum=1,void o.getGroupList(o.brandId);a.isSendTemplate=!1,s.a.errorMsg(t)}).catch(function(e){o.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getGroupList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getGroupList(this.brandId)},getGroupList:function(e){var t=this;t.loading=!0;var a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId,memberGroupName:t.conditionObj.searchInput,classifyName:t.conditionObj.classifyName,effectiveStatus:t.conditionObj.effectiveStatus,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.e)("/haoban-app-customer-web/memberGroup/member-tag-group-list",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return a.result.list&&a.result.list.length&&a.result.list.forEach(function(e){e.isSendTemplate=1==e.isSendTemplate}),t.groupListData=a.result.list||[],void(t.total=a.result.pageInfo.total);s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)),"second"==this.activeName&&this.getTableList()}},mounted:function(){this.$emit("showTab","12"),this.brandId&&(this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)),this.brandId&&"second"==sessionStorage.getItem("memberGroupSet")&&(this.activeName="second",this.getTableList())},components:{}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[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:{label:"会员分组列表",name:"first"}},[a("div",{staticClass:"app-detail-pane border-box p-lbr-20"},[a("div",{staticClass:"condition-wrap flex flex-space-between"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"217px"},attrs:{placeholder:"请输入分组名称",maxlength:"50","prefix-icon":"el-icon-search",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-168 m-l-10",attrs:{placeholder:"全部分类"},on:{change:e.changeCondition},model:{value:e.conditionObj.classifyName,callback:function(t){e.$set(e.conditionObj,"classifyName",t)},expression:"conditionObj.classifyName"}},[a("el-option",{attrs:{label:"全部分类",value:""}}),e._v(" "),e._l(e.classifyList,function(e){return a("el-option",{key:e,attrs:{label:e,value:e}})})],2),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部状态"},on:{change:e.changeCondition},model:{value:e.conditionObj.effectiveStatus,callback:function(t){e.$set(e.conditionObj,"effectiveStatus",t)},expression:"conditionObj.effectiveStatus"}},[a("el-option",{attrs:{label:"全部状态",value:""}}),e._v(" "),a("el-option",{attrs:{label:"有效",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"失效",value:"0"}})],1)],1),e._v(" "),a("div",[a("el-checkbox",{attrs:{disabled:e.$store.state.wxEnterpriseType},on:{change:e.saveGroupSet},model:{value:e.overTimeSeeFlag,callback:function(t){e.overTimeSeeFlag=t},expression:"overTimeSeeFlag"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"开启后,GIC中设置的好办端会员分组失效后,即使在GIC开启好办展示,好办移动端也不再展示该条分组",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB","margin-left":"-4px"}},[e._v("会员分组失效后不展示")])])],1),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn,disabled:e.$store.state.wxEnterpriseType},on:{click:e.toSync}},[e._v("立即同步")]),e._v(" "),e.syncDate?a("span",{staticClass:"font-14 color-606266 p-r-10"},[e._v("最近一次同步时间:"+e._s(e._f("formatTimeStamp")(e.syncDate)))]):e._e()],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.groupListData,"tooltip-effect":"dark"}},[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.groupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"分类"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberTagGroupClassifyName))]}}])}),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(1==t.row.isRealTime?"是":"否"))]}}])}),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(1==t.row.curingFlag?"是":"否"))]}}])}),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(1==t.row.updateType?"每日":2==t.row.updateType?"每周":3==t.row.updateType?"每月":"-")+" "+e._s(1==t.row.updateType?"一次":2==t.row.updateType?"周"+t.row.updateDay:3==t.row.updateType?t.row.updateDay+"号":"-")+" ")]}}])}),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("1"==t.row.effectiveStatus?"有效":"失效"))]}}])}),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.memberCount||0)+"人")]}}])}),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("timeStampToYmd")(t.row.effectiveDate)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.effectiveDate)))])]}}])})],1),e._v(" "),0!=e.groupListData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-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("el-tab-pane",{attrs:{label:"分组展示设置",name:"second"}},[a("div",{staticClass:" border-box p-lbr-20"},[a("div",{staticClass:"flex flex-space-between"},[a("div"),e._v(" "),a("div",[a("span",{staticClass:"font-12 color-909399"},[e._v("最多新建20个模板")]),a("el-button",{staticClass:"m-l-20",attrs:{disabled:e.$store.state.wxEnterpriseType||e.templateList.length>=20,type:"primary"},on:{click:e.addTemplate}},[e._v("新建模版")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tempTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.templateList,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"模板id","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateId))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.editPerson))]}}])}),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("timeStampToYmd")(t.row.editTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.editTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.toStore(t.$index,t.row)}}},[e._v("门店范围设置")]),e._v(" "),a("el-button",{attrs:{type:"text",disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1)])])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("Liar")},"data-v-6411a4ea",null);t.default=c.exports},Liar:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([70],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.a)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("YXcV")},"data-v-63f80218",null);t.default=p.exports},YXcV:function(a,t){}}); webpackJsonp([71],{"4QyY":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),o=e("Qie6"),r=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",defaultNavpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navpath:[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"}],navName:{11:"云日报-云日报记录",111:"云日报-记录详情",12:"云日报导出",2:"任务下发设置",3:"云日报设置",31:"云日报设置-系统报表",32:"云日报设置-自定义报表",321:"编辑模板",322:"新建模板"},navFrontPath:{11:"/dailyRecord",111:"/dailyRecord",12:"/dailyRecord",2:"/dailyRecord",31:"/dailyRecord",32:"/dailyRecord",321:"/customReport",322:"/customReport"},tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(d.a)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?s.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(a){var t=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=a,this.activeSelTab=a;var n=[].concat(i()(this.defaultNavpath));e.length&&e.map(function(a){n[n.length-1].path=t.navFrontPath[a],n.push({name:t.navName[a],path:""})}),this.$nextTick(function(){return t.navpath=[].concat(n)})},changeNavShow:function(a){"/dailyDetail"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},l={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.activeBrand?e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}}):a._e()],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var p=e("VU/8")(h,l,!1,function(a){e("YXcV")},"data-v-63f80218",null);t.default=p.exports},YXcV:function(a,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([71],{CTf4: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"}},o={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"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("Ql4E")},"data-v-61d0b205",null);e.default=i.exports},Ql4E:function(t,e){}}); webpackJsonp([72],{CTf4: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"}},o={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"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("Ql4E")},"data-v-61d0b205",null);e.default=i.exports},Ql4E:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([72],{"eQQ/":function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),o=a.n(s),n=a("P9l9"),r=a("Ch4/"),i={props:{},data:function(){return{form:{},openFlag:0}},filters:{},methods:{changeRoute:function(){this.$router.push("/salutatorySet")},getData:function(){var t=this;Object(n.a)("/haoban-manage3-web/get-welcome",{}).then(function(e){var a=e.data;1==a.errorCode&&a.result&&(t.form=o()({},a.result),t.openFlag=a.result.openFlag),r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},setWelcome:function(t){var e=this,a=this;a.$refs.form.validate(function(s){s&&e.$confirm("是否确认修改欢迎语启用状态?","提示").then(function(){Object(n.a)("/haoban-manage3-web/set-welcome",{openFlag:t}).then(function(t){var e=t.data;1==e.errorCode&&(a.$message.success({duration:1e3,message:"设置成功"}),window.location.reload()),r.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}).catch(function(){a.openFlag=1===a.openFlag?0:1})})}},watch:{},mounted:function(){this.$emit("showTab",4),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"salutatory-wrap m-t-20"},[a("div",{staticClass:"top"},[a("p",{staticClass:"left"},[t._v("欢迎语标题 "+t._s(t.form.title||"系统默认"))]),t._v(" "),a("p",{staticClass:"right"},[a("span",{staticClass:"date"},[t._v("最近编辑时间:"+t._s(t._f("formatTimeStamp")(t.form.updateTime)))]),t._v(" "),a("el-button",{staticStyle:{"margin-right":"43px"},attrs:{type:"text"},on:{click:t.changeRoute}},[t._v("编辑")])],1)]),t._v(" "),a("p",{staticClass:"line"}),t._v(" "),a("div",{staticClass:"bottom"},[a("el-form",{ref:"form",attrs:{"label-width":"70px",model:t.form}},[a("el-form-item",{attrs:{label:"文本内容"}},[a("p",{staticClass:"welcome-text"},[t._v(t._s(t.form.welcomeContent||"你好,< 微信昵称 >"))])])],1)],1)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1. 因企业微信接口限制,若在企微管理端为相关人员配置欢迎语,好办设置欢迎语不会生效;"),e("br"),this._v("\n 2. 若使用好办欢迎语,请关闭其他企业自建应用/第三方应用的欢迎语配置; "),e("br"),this._v("\n 3. 在此处所自定义配置的欢迎语基础上,系统将默认包含“带参会员小程序卡片”,以便门店员工添加客户好友后,引导客户进入带参会员小程序页面授权微信信息,进而使得系统将企业客户与GIC后台某客户对应起来;\n ")])])])])}]};var c=a("VU/8")(i,l,!1,function(t){a("eQQ/")},"data-v-52c4d287",null);e.default=c.exports}}); webpackJsonp([73],{"eQQ/":function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),o=a.n(s),n=a("P9l9"),r=a("Ch4/"),i={props:{},data:function(){return{form:{},openFlag:0}},filters:{},methods:{changeRoute:function(){this.$router.push("/salutatorySet")},getData:function(){var t=this;Object(n.a)("/haoban-manage3-web/get-welcome",{}).then(function(e){var a=e.data;1==a.errorCode&&a.result&&(t.form=o()({},a.result),t.openFlag=a.result.openFlag),r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},setWelcome:function(t){var e=this,a=this;a.$refs.form.validate(function(s){s&&e.$confirm("是否确认修改欢迎语启用状态?","提示").then(function(){Object(n.a)("/haoban-manage3-web/set-welcome",{openFlag:t}).then(function(t){var e=t.data;1==e.errorCode&&(a.$message.success({duration:1e3,message:"设置成功"}),window.location.reload()),r.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}).catch(function(){a.openFlag=1===a.openFlag?0:1})})}},watch:{},mounted:function(){this.$emit("showTab",4),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"salutatory-wrap m-t-20"},[a("div",{staticClass:"top"},[a("p",{staticClass:"left"},[t._v("欢迎语标题 "+t._s(t.form.title||"系统默认"))]),t._v(" "),a("p",{staticClass:"right"},[a("span",{staticClass:"date"},[t._v("最近编辑时间:"+t._s(t._f("formatTimeStamp")(t.form.updateTime)))]),t._v(" "),a("el-button",{staticStyle:{"margin-right":"43px"},attrs:{type:"text"},on:{click:t.changeRoute}},[t._v("编辑")])],1)]),t._v(" "),a("p",{staticClass:"line"}),t._v(" "),a("div",{staticClass:"bottom"},[a("el-form",{ref:"form",attrs:{"label-width":"70px",model:t.form}},[a("el-form-item",{attrs:{label:"文本内容"}},[a("p",{staticClass:"welcome-text"},[t._v(t._s(t.form.welcomeContent||"你好,< 微信昵称 >"))])])],1)],1)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1. 因企业微信接口限制,若在企微管理端为相关人员配置欢迎语,好办设置欢迎语不会生效;"),e("br"),this._v("\n 2. 若使用好办欢迎语,请关闭其他企业自建应用/第三方应用的欢迎语配置; "),e("br"),this._v("\n 3. 在此处所自定义配置的欢迎语基础上,系统将默认包含“带参会员小程序卡片”,以便门店员工添加客户好友后,引导客户进入带参会员小程序页面授权微信信息,进而使得系统将企业客户与GIC后台某客户对应起来;\n ")])])])])}]};var c=a("VU/8")(i,l,!1,function(t){a("eQQ/")},"data-v-52c4d287",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([73],{PGgb:function(t,e){},dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ch4/"),o=a("3E4D"),s=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,n=e.minDate;t.choiceDateCopy=[n.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,n=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>n}}},templateData:[],strategyData:[],loading:!1,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.e)("/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);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.loading=!0,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.e)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(e){t.loading=!1,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:"请输入卡券名称/卡券代码/会员信息",maxlength:"50",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",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],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-hb3 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("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("PGgb")},"data-v-4feb3dca",null);e.default=c.exports}}); webpackJsonp([74],{PGgb:function(t,e){},dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ch4/"),o=a("3E4D"),s=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,n=e.minDate;t.choiceDateCopy=[n.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,n=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>n}}},templateData:[],strategyData:[],loading:!1,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.e)("/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);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.loading=!0,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.e)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(e){t.loading=!1,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:"请输入卡券名称/卡券代码/会员信息",maxlength:"50",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",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],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-hb3 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("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("PGgb")},"data-v-4feb3dca",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([74],{"+qr5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("PI0u"),s=r("Ch4/"),c=r("3E4D"),l=r("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,operationStaffName:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",activeId:"4",tableData:[],performanceSum:"0.00",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex;if(2===e.columnIndex)return 0==t?{rowspan:this.tableData.length,colspan:1}:{rowspan:0,colspan:0}},inputPerformance:function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},inputValue:function(e,t){t.performanceValue=Number(String(e).replace(/[^\d.]/g,""))?String(e).replace(/[^\d+(.\d+)]/g,""):"";var r=0;this.tableData.forEach(function(e){r+=Number(e.performanceValue)}),this.performanceSum=Number(r).toFixed(2),this.diffData()},inputMonthPerformance:function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(n.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance,operationStaffName:this.operationStaffName};this.postSave(e)},500),postSave:function(e){var t=this,r={enterpriseId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(l.e)("/haoban-app-performance-three-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?s.a.errorMsg(t):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(l.e)("/haoban-app-performance-three-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}s.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1","11","111"),this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},f={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("div",{staticClass:"task-set-content border-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])])]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{"span-method":e.objectSpanMethod,data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-120 p-l-8",attrs:{maxlength:"12",placeholder:"请输入",disabled:0==e.clerkObj.settingAble||0==t.row.bindFlag},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)},input:function(r){return e.inputValue(r,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"12px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"总计=门店月指标",width:"418px"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.$index;return[r("div",{key:a},[r("span",{staticClass:"font-14 color-606266 text-left"},[e._v("总计")]),r("span",{staticClass:" p-l-175 font-14 color-606266 text-left"},[e._v("门店月指标")])]),e._v(" "),r("div",{staticStyle:{"margin-top":"4px"}},[r("el-input",{staticClass:"w-161",attrs:{disabled:""},model:{value:e.performanceSum,callback:function(t){e.performanceSum=t},expression:"performanceSum"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"10px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])]),e._v(" "),r("span",{staticClass:"p-l-10 p-r-10"},[e._v("=")]),e._v(" "),r("el-input",{staticClass:"w-161 p-l-8",attrs:{maxlength:"50",placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"16px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确认")]):e._e()],1)])])},staticRenderFns:[]};var u=r("VU/8")(i,f,!1,function(e){r("rQ3I")},"data-v-4ed874d6",null);t.default=u.exports},rQ3I:function(e,t){}}); webpackJsonp([75],{"+qr5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("PI0u"),s=r("Ch4/"),c=r("3E4D"),l=r("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,operationStaffName:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",activeId:"4",tableData:[],performanceSum:"0.00",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex;if(2===e.columnIndex)return 0==t?{rowspan:this.tableData.length,colspan:1}:{rowspan:0,colspan:0}},inputPerformance:function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},inputValue:function(e,t){t.performanceValue=Number(String(e).replace(/[^\d.]/g,""))?String(e).replace(/[^\d+(.\d+)]/g,""):"";var r=0;this.tableData.forEach(function(e){r+=Number(e.performanceValue)}),this.performanceSum=Number(r).toFixed(2),this.diffData()},inputMonthPerformance:function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(n.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance,operationStaffName:this.operationStaffName};this.postSave(e)},500),postSave:function(e){var t=this,r={enterpriseId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(l.e)("/haoban-app-performance-three-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?s.a.errorMsg(t):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(l.e)("/haoban-app-performance-three-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}s.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1","11","111"),this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},f={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("div",{staticClass:"task-set-content border-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])])]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{"span-method":e.objectSpanMethod,data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-120 p-l-8",attrs:{maxlength:"12",placeholder:"请输入",disabled:0==e.clerkObj.settingAble||0==t.row.bindFlag},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)},input:function(r){return e.inputValue(r,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"12px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"总计=门店月指标",width:"418px"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.$index;return[r("div",{key:a},[r("span",{staticClass:"font-14 color-606266 text-left"},[e._v("总计")]),r("span",{staticClass:" p-l-175 font-14 color-606266 text-left"},[e._v("门店月指标")])]),e._v(" "),r("div",{staticStyle:{"margin-top":"4px"}},[r("el-input",{staticClass:"w-161",attrs:{disabled:""},model:{value:e.performanceSum,callback:function(t){e.performanceSum=t},expression:"performanceSum"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"10px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])]),e._v(" "),r("span",{staticClass:"p-l-10 p-r-10"},[e._v("=")]),e._v(" "),r("el-input",{staticClass:"w-161 p-l-8",attrs:{maxlength:"50",placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"16px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确认")]):e._e()],1)])])},staticRenderFns:[]};var u=r("VU/8")(i,f,!1,function(e){r("rQ3I")},"data-v-4ed874d6",null);t.default=u.exports},rQ3I:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([75],{UVPf:function(e,a){},tF0P:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=t("mvHQ"),r=t.n(o),i=t("l46T"),n=t("Kkt8"),s=t("P9l9"),l=t("3E4D"),m=t("Ch4/"),p=t("PI0u"),c={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:n.a},data:function(){return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",commitName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",formData:{templateId:"",templateName:"",cardType:"0",cardApplicationChannel:["offlineStore"],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:""},rules:{templateName:[{required:!0,message:"请输入模板名称",trigger:"blur"}],cardApplicationChannel:[{type:"array",required:!0,message:"请至少选择一个卡券适用渠道",trigger:"change"}],cardDenomination:[{required:!0,message:"请输入减免金额",trigger:"blur"}],costValue:[{required:!0,message:"请输入成本费用",trigger:"blur"}],cardExplain:[{required:!0,message:"请输入适用门店说明",trigger:"blur"}],applicationStoreType:[{required:!0,message:"请选择适用门店",trigger:"change"}],useDescript:[{required:!0,message:"请输入使用说明",trigger:"blur"}],gicEnterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},cardSelectShow:!1,brandListData:[],chanelList:[],loadingBtn:!1}},methods:{changeEnterprise:function(){this.formData.cardApplicationChannel=[],this.getChanel()},getChanel:function(){var e=this,a={gicEnterpriseId:e.formData.gicEnterpriseId};Object(s.a)("/haoban-app-customer-web/inner/get-channel-type",a).then(function(a){var t=a.data;return 1==t.errorCode&&(e.chanelList=t.result||[],t.result.length&&!e.$route.query.templateId&&(e.formData.cardApplicationChannel=[t.result[0].value])),!1}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},changeTop:function(e){0==e&&(this.formData.limitTop=0)},cancelEdit:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(){})},submitForm:Object(p.a)(function(e,a){var t=this;return t.formData.fitGoodCheck&&!t.formData.fitGoodDes&&t.formData.noFitGoodDes?(t.$message.error({duration:1e3,message:"适用商品至少填写一项"}),!1):t.formData.minCostCheck&&!t.formData.minCost?(t.$message.error({duration:1e3,message:"请输入最低消费"}),!1):1!=t.formData.limitTopType||t.formData.limitTop?1!=t.formData.minGoodsType||t.formData.minApplicableGoods?1!=t.formData.maxGoodsType||t.formData.maxApplicableGoods?2!=t.formData.cardLimitType||t.formData.cardLimit?(t.loadingBtn=!0,void t.$refs[e].validate(function(e){e?t.postSaveCard(a):t.loadingBtn=!1})):(t.$message.error({duration:1e3,message:"请输入领券限制"}),!1):(t.$message.error({duration:1e3,message:"请输入最高适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入最低适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入封顶金额"}),!1)},1e3),postSaveCard:function(e){var a=this,t={sale_limit:{fee:0},goods:{ok:a.formData.fitGoodDes,no:a.formData.noFitGoodDes},only:a.formData.shareCheck?1:0,discount_amount_upper_limit:1==a.formData.cardType&&1==a.formData.limitTopType?a.formData.limitTop:0,goods_discounts_number_lower_limit:1==a.formData.minGoodsType?a.formData.minApplicableGoods:0,goods_discounts_number_upper_limit:1==a.formData.maxGoodsType?a.formData.maxApplicableGoods:0};a.formData.minCostCheck&&(t.sale_limit={fee:a.formData.minCost});var o={templateId:a.formData.templateId,templateName:a.formData.templateName,cardType:a.formData.cardType,cardApplicationChannel:a.formData.cardApplicationChannel.join(","),erpDemoCode:a.formData.erpDemoCode,cardColor:a.formData.cardColor,cardDenomination:a.formData.cardDenomination,minGoodsType:a.formData.minGoodsType,minApplicableGoods:a.formData.minApplicableGoods,maxGoodsType:a.formData.maxGoodsType,maxApplicableGoods:a.formData.maxApplicableGoods,limitTopType:a.formData.limitTopType,limitTop:a.formData.limitTop,useCondition:r()(t),cardLimitType:a.formData.cardLimitType,cardLimit:a.formData.cardLimit,costValue:a.formData.costValue,useCustomCode:a.formData.useCustomCode,cardExplain:a.formData.cardExplain,applicationStoreType:a.formData.applicationStoreType,useDescript:a.formData.useDescript,gicEnterpriseId:a.formData.gicEnterpriseId,commitName:a.commitName,wxEnterpriseId:a.wxEnterpriseId};Object(s.e)((a.$route.query.templateId,"/haoban-app-customer-web/inner/save-template"),o).then(function(t){var o=t.data;a.loadingBtn=!1,1==o.errorCode&&(l.a.showmsg(a.$route.query.templateId?"编辑卡券模板成功":"新建卡券模板成功","success"),e?(a.formData={templateId:"",templateName:"",cardType:"0",cardApplicationChannel:[],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:a.brandListData[0].enterpriseId},a.getChanel()):a.$router.push("/cardTemplate")),m.a.errorMsg(o)}).catch(function(e){a.loadingBtn=!1,a.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/cardTemplate")}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this,a={templateId:e.$route.query.templateId};Object(s.a)("/haoban-app-customer-web/inner/find-template",a).then(function(a){var t=a.data;if(1==t.errorCode){var o=JSON.parse(t.result.useCondition);return e.formData={templateId:t.result.templateId,templateName:t.result.templateName,cardType:String(t.result.cardType),cardApplicationChannel:t.result.cardApplicationChannel.split(",")||[],erpDemoCode:t.result.erpDemoCode,cardColor:t.result.cardColor,cardDenomination:t.result.cardDenomination,limitTopType:String(t.result.limitTopType),limitTop:t.result.limitTop,minGoodsType:String(t.result.minGoodsType),minApplicableGoods:t.result.minApplicableGoods,maxGoodsType:String(t.result.maxGoodsType),maxApplicableGoods:t.result.maxApplicableGoods,minCostCheck:!!o.sale_limit.fee,minCost:o.sale_limit.fee?o.sale_limit.fee:"1",shareCheck:!!o.only,fitGoodCheck:!(!o.goods.ok&&!o.goods.no),fitGoodDes:o.goods.ok,noFitGoodDes:o.goods.no,cardLimitType:String(t.result.cardLimitType),cardLimit:t.result.cardLimit,costValue:t.result.costValue,useCustomCode:String(t.result.useCustomCode),cardExplain:t.result.cardExplain,applicationStoreType:String(t.result.applicationStoreType),useDescript:t.result.useDescript,gicEnterpriseId:t.result.gicEnterpriseId},e.getChanel(),!1}m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},getBrandData:function(){var e=this;Object(s.e)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(a){var t=a.data;if(1==t.errorCode)return e.brandListData=t.result||[],void(t.result.length&&!e.$route.query.templateId&&(e.formData.gicEnterpriseId=t.result[0].enterpriseId,e.getChanel()));m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(e,a){e&&this.$route.query.templateId&&(this.activeBrand=e)},activeGroupId:function(e,a){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","1"),e.getBrandData(),e.$route.query.templateId&&e.$nextTick(function(){e.getCardData()})}},d={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("section",{staticClass:"common-right-wrap"},[t("div",{staticClass:"new-card-body border-box"},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"142px"}},[t("el-form-item",{attrs:{label:"卡券模板名称",prop:"templateName"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.templateName,getByType:"word",holder:"请输入卡券模板名称",maxLength:6},on:{"update:inputValue":function(a){return e.$set(e.formData,"templateName",a)},"update:input-value":function(a){return e.$set(e.formData,"templateName",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券类型",prop:"cardType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("抵金券")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("折扣券")])],1),e._v(" "),t("el-form-item",{attrs:{label:"选择商户",prop:"gicEnterpriseId"}},[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.changeEnterprise},model:{value:e.formData.gicEnterpriseId,callback:function(a){e.$set(e.formData,"gicEnterpriseId",a)},expression:"formData.gicEnterpriseId"}},e._l(e.brandListData,function(e){return t("el-option",{key:e.enterpriseId,attrs:{label:e.enterpriseName,value:e.enterpriseId}})}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券适用渠道",prop:"cardApplicationChannel"}},[t("el-checkbox-group",{model:{value:e.formData.cardApplicationChannel,callback:function(a){e.$set(e.formData,"cardApplicationChannel",a)},expression:"formData.cardApplicationChannel"}},e._l(e.chanelList,function(a,o){return t("el-checkbox",{key:o+"chanel",attrs:{label:a.value}},[e._v(e._s(a.name))])}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"demo券号",prop:"erpDemoCode"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.erpDemoCode,getByType:"word",holder:"请输入demo券号",maxLength:200},on:{"update:inputValue":function(a){return e.$set(e.formData,"erpDemoCode",a)},"update:input-value":function(a){return e.$set(e.formData,"erpDemoCode",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券颜色",prop:"cardColor"}},[t("div",{staticClass:"card-color flex flex-space-between"},[t("span",[e._v(e._s(e.formData.cardColor))]),e._v(" "),t("el-color-picker",{model:{value:e.formData.cardColor,callback:function(a){e.$set(e.formData,"cardColor",a)},expression:"formData.cardColor"}})],1)]),e._v(" "),0==e.formData.cardType?t("el-form-item",{attrs:{label:"减免金额",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("输入大于0的整数")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"折扣额度",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:1,min:1,max:9.9,step:.1},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("折")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写1-9.9之间的数字")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"优惠金额封顶",prop:""}},[t("el-radio",{attrs:{label:"0"},on:{change:e.changeTop},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("不封顶")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("限制封顶")]),1==e.formData.limitTopType?t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.limitTop,callback:function(a){e.$set(e.formData,"limitTop",a)},expression:"formData.limitTop"}}):e._e(),e._v(" "),1==e.formData.limitTopType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]):e._e()],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"最低适用商品件数",prop:"minGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("限制")]),1==e.formData.minGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minApplicableGoods,callback:function(a){e.$set(e.formData,"minApplicableGoods",a)},expression:"formData.minApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.minGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"最高适用商品件数",prop:"maxGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("限制")]),1==e.formData.maxGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.maxApplicableGoods,callback:function(a){e.$set(e.formData,"maxApplicableGoods",a)},expression:"formData.maxApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.maxGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"适用条件",prop:"minCostCheck"}},[t("div",[t("el-checkbox",{model:{value:e.formData.minCostCheck,callback:function(a){e.$set(e.formData,"minCostCheck",a)},expression:"formData.minCostCheck"}},[e._v("最低消费")]),t("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minCost,callback:function(a){e.$set(e.formData,"minCost",a)},expression:"formData.minCost"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元可用")])],1),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.fitGoodCheck,callback:function(a){e.$set(e.formData,"fitGoodCheck",a)},expression:"formData.fitGoodCheck"}},[e._v("适用商品")]),t("span",{staticClass:"font-14 color-909399"},[e._v("(至少填写一项)")])],1),e._v(" "),e.formData.fitGoodCheck?t("div",{staticClass:"fit-good border-box m-b-20"},[t("div",[t("div",{staticClass:"m-b-20 flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.fitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){return e.$set(e.formData,"fitGoodDes",a)},"update:input-value":function(a){return e.$set(e.formData,"fitGoodDes",a)}}})],1),e._v(" "),t("div",{staticClass:"flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("不适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.noFitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){return e.$set(e.formData,"noFitGoodDes",a)},"update:input-value":function(a){return e.$set(e.formData,"noFitGoodDes",a)}}})],1)])]):e._e(),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.shareCheck,callback:function(a){e.$set(e.formData,"shareCheck",a)},expression:"formData.shareCheck"}},[e._v("不与其他优惠共享")])],1)]),e._v(" "),t("el-form-item",{attrs:{label:"领券限制",prop:"cardLimitType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("1张/人")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("100张/人")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("自定义")]),2==e.formData.cardLimitType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardLimit,callback:function(a){e.$set(e.formData,"cardLimit",a)},expression:"formData.cardLimit"}}):e._e(),e._v(" "),2==e.formData.cardLimitType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("张/人")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"成本费用",prop:"costValue"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.costValue,callback:function(a){e.$set(e.formData,"costValue",a)},expression:"formData.costValue"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写大于0的数字(限制两位小数)")])],1),e._v(" "),t("el-form-item",{attrs:{label:"code类型",prop:"useCustomCode"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.useCustomCode,callback:function(a){e.$set(e.formData,"useCustomCode",a)},expression:"formData.useCustomCode"}},[e._v("随机生成")])],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店说明",prop:"cardExplain"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.cardExplain,holder:"请输入适用门店说明",getByType:"word",maxLength:50},on:{"update:inputValue":function(a){return e.$set(e.formData,"cardExplain",a)},"update:input-value":function(a){return e.$set(e.formData,"cardExplain",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店",prop:"applicationStoreType"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.formData.applicationStoreType,callback:function(a){e.$set(e.formData,"applicationStoreType",a)},expression:"formData.applicationStoreType"}},[e._v("所有门店")])],1),e._v(" "),t("el-form-item",{attrs:{label:"使用说明",prop:"useDescript"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.useDescript,holder:"请输入使用说明",getByType:"word",maxLength:500},on:{"update:inputValue":function(a){return e.$set(e.formData,"useDescript",a)},"update:input-value":function(a){return e.$set(e.formData,"useDescript",a)}}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.cancelEdit}},[e._v("取消")]),e._v(" "),t("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(a){return e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.templateId?"编辑":"新建"))]),e._v(" "),e.$route.query.templateId?e._e():t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1)])},staticRenderFns:[]};var u=t("VU/8")(c,d,!1,function(e){t("UVPf")},"data-v-4e6dc12a",null);a.default=u.exports}}); webpackJsonp([76],{UVPf:function(e,a){},tF0P:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=t("mvHQ"),r=t.n(o),i=t("l46T"),n=t("Kkt8"),s=t("P9l9"),l=t("3E4D"),m=t("Ch4/"),p=t("PI0u"),c={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:n.a},data:function(){return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",commitName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",formData:{templateId:"",templateName:"",cardType:"0",cardApplicationChannel:["offlineStore"],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:""},rules:{templateName:[{required:!0,message:"请输入模板名称",trigger:"blur"}],cardApplicationChannel:[{type:"array",required:!0,message:"请至少选择一个卡券适用渠道",trigger:"change"}],cardDenomination:[{required:!0,message:"请输入减免金额",trigger:"blur"}],costValue:[{required:!0,message:"请输入成本费用",trigger:"blur"}],cardExplain:[{required:!0,message:"请输入适用门店说明",trigger:"blur"}],applicationStoreType:[{required:!0,message:"请选择适用门店",trigger:"change"}],useDescript:[{required:!0,message:"请输入使用说明",trigger:"blur"}],gicEnterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},cardSelectShow:!1,brandListData:[],chanelList:[],loadingBtn:!1}},methods:{changeEnterprise:function(){this.formData.cardApplicationChannel=[],this.getChanel()},getChanel:function(){var e=this,a={gicEnterpriseId:e.formData.gicEnterpriseId};Object(s.a)("/haoban-app-customer-web/inner/get-channel-type",a).then(function(a){var t=a.data;return 1==t.errorCode&&(e.chanelList=t.result||[],t.result.length&&!e.$route.query.templateId&&(e.formData.cardApplicationChannel=[t.result[0].value])),!1}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},changeTop:function(e){0==e&&(this.formData.limitTop=0)},cancelEdit:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(){})},submitForm:Object(p.a)(function(e,a){var t=this;return t.formData.fitGoodCheck&&!t.formData.fitGoodDes&&t.formData.noFitGoodDes?(t.$message.error({duration:1e3,message:"适用商品至少填写一项"}),!1):t.formData.minCostCheck&&!t.formData.minCost?(t.$message.error({duration:1e3,message:"请输入最低消费"}),!1):1!=t.formData.limitTopType||t.formData.limitTop?1!=t.formData.minGoodsType||t.formData.minApplicableGoods?1!=t.formData.maxGoodsType||t.formData.maxApplicableGoods?2!=t.formData.cardLimitType||t.formData.cardLimit?(t.loadingBtn=!0,void t.$refs[e].validate(function(e){e?t.postSaveCard(a):t.loadingBtn=!1})):(t.$message.error({duration:1e3,message:"请输入领券限制"}),!1):(t.$message.error({duration:1e3,message:"请输入最高适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入最低适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入封顶金额"}),!1)},1e3),postSaveCard:function(e){var a=this,t={sale_limit:{fee:0},goods:{ok:a.formData.fitGoodDes,no:a.formData.noFitGoodDes},only:a.formData.shareCheck?1:0,discount_amount_upper_limit:1==a.formData.cardType&&1==a.formData.limitTopType?a.formData.limitTop:0,goods_discounts_number_lower_limit:1==a.formData.minGoodsType?a.formData.minApplicableGoods:0,goods_discounts_number_upper_limit:1==a.formData.maxGoodsType?a.formData.maxApplicableGoods:0};a.formData.minCostCheck&&(t.sale_limit={fee:a.formData.minCost});var o={templateId:a.formData.templateId,templateName:a.formData.templateName,cardType:a.formData.cardType,cardApplicationChannel:a.formData.cardApplicationChannel.join(","),erpDemoCode:a.formData.erpDemoCode,cardColor:a.formData.cardColor,cardDenomination:a.formData.cardDenomination,minGoodsType:a.formData.minGoodsType,minApplicableGoods:a.formData.minApplicableGoods,maxGoodsType:a.formData.maxGoodsType,maxApplicableGoods:a.formData.maxApplicableGoods,limitTopType:a.formData.limitTopType,limitTop:a.formData.limitTop,useCondition:r()(t),cardLimitType:a.formData.cardLimitType,cardLimit:a.formData.cardLimit,costValue:a.formData.costValue,useCustomCode:a.formData.useCustomCode,cardExplain:a.formData.cardExplain,applicationStoreType:a.formData.applicationStoreType,useDescript:a.formData.useDescript,gicEnterpriseId:a.formData.gicEnterpriseId,commitName:a.commitName,wxEnterpriseId:a.wxEnterpriseId};Object(s.e)((a.$route.query.templateId,"/haoban-app-customer-web/inner/save-template"),o).then(function(t){var o=t.data;a.loadingBtn=!1,1==o.errorCode&&(l.a.showmsg(a.$route.query.templateId?"编辑卡券模板成功":"新建卡券模板成功","success"),e?(a.formData={templateId:"",templateName:"",cardType:"0",cardApplicationChannel:[],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:a.brandListData[0].enterpriseId},a.getChanel()):a.$router.push("/cardTemplate")),m.a.errorMsg(o)}).catch(function(e){a.loadingBtn=!1,a.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/cardTemplate")}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this,a={templateId:e.$route.query.templateId};Object(s.a)("/haoban-app-customer-web/inner/find-template",a).then(function(a){var t=a.data;if(1==t.errorCode){var o=JSON.parse(t.result.useCondition);return e.formData={templateId:t.result.templateId,templateName:t.result.templateName,cardType:String(t.result.cardType),cardApplicationChannel:t.result.cardApplicationChannel.split(",")||[],erpDemoCode:t.result.erpDemoCode,cardColor:t.result.cardColor,cardDenomination:t.result.cardDenomination,limitTopType:String(t.result.limitTopType),limitTop:t.result.limitTop,minGoodsType:String(t.result.minGoodsType),minApplicableGoods:t.result.minApplicableGoods,maxGoodsType:String(t.result.maxGoodsType),maxApplicableGoods:t.result.maxApplicableGoods,minCostCheck:!!o.sale_limit.fee,minCost:o.sale_limit.fee?o.sale_limit.fee:"1",shareCheck:!!o.only,fitGoodCheck:!(!o.goods.ok&&!o.goods.no),fitGoodDes:o.goods.ok,noFitGoodDes:o.goods.no,cardLimitType:String(t.result.cardLimitType),cardLimit:t.result.cardLimit,costValue:t.result.costValue,useCustomCode:String(t.result.useCustomCode),cardExplain:t.result.cardExplain,applicationStoreType:String(t.result.applicationStoreType),useDescript:t.result.useDescript,gicEnterpriseId:t.result.gicEnterpriseId},e.getChanel(),!1}m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},getBrandData:function(){var e=this;Object(s.e)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(a){var t=a.data;if(1==t.errorCode)return e.brandListData=t.result||[],void(t.result.length&&!e.$route.query.templateId&&(e.formData.gicEnterpriseId=t.result[0].enterpriseId,e.getChanel()));m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(e,a){e&&this.$route.query.templateId&&(this.activeBrand=e)},activeGroupId:function(e,a){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","1"),e.getBrandData(),e.$route.query.templateId&&e.$nextTick(function(){e.getCardData()})}},d={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("section",{staticClass:"common-right-wrap"},[t("div",{staticClass:"new-card-body border-box"},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"142px"}},[t("el-form-item",{attrs:{label:"卡券模板名称",prop:"templateName"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.templateName,getByType:"word",holder:"请输入卡券模板名称",maxLength:6},on:{"update:inputValue":function(a){return e.$set(e.formData,"templateName",a)},"update:input-value":function(a){return e.$set(e.formData,"templateName",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券类型",prop:"cardType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("抵金券")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("折扣券")])],1),e._v(" "),t("el-form-item",{attrs:{label:"选择商户",prop:"gicEnterpriseId"}},[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.changeEnterprise},model:{value:e.formData.gicEnterpriseId,callback:function(a){e.$set(e.formData,"gicEnterpriseId",a)},expression:"formData.gicEnterpriseId"}},e._l(e.brandListData,function(e){return t("el-option",{key:e.enterpriseId,attrs:{label:e.enterpriseName,value:e.enterpriseId}})}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券适用渠道",prop:"cardApplicationChannel"}},[t("el-checkbox-group",{model:{value:e.formData.cardApplicationChannel,callback:function(a){e.$set(e.formData,"cardApplicationChannel",a)},expression:"formData.cardApplicationChannel"}},e._l(e.chanelList,function(a,o){return t("el-checkbox",{key:o+"chanel",attrs:{label:a.value}},[e._v(e._s(a.name))])}),1)],1),e._v(" "),t("el-form-item",{attrs:{label:"demo券号",prop:"erpDemoCode"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.erpDemoCode,getByType:"word",holder:"请输入demo券号",maxLength:200},on:{"update:inputValue":function(a){return e.$set(e.formData,"erpDemoCode",a)},"update:input-value":function(a){return e.$set(e.formData,"erpDemoCode",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券颜色",prop:"cardColor"}},[t("div",{staticClass:"card-color flex flex-space-between"},[t("span",[e._v(e._s(e.formData.cardColor))]),e._v(" "),t("el-color-picker",{model:{value:e.formData.cardColor,callback:function(a){e.$set(e.formData,"cardColor",a)},expression:"formData.cardColor"}})],1)]),e._v(" "),0==e.formData.cardType?t("el-form-item",{attrs:{label:"减免金额",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("输入大于0的整数")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"折扣额度",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:1,min:1,max:9.9,step:.1},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("折")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写1-9.9之间的数字")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"优惠金额封顶",prop:""}},[t("el-radio",{attrs:{label:"0"},on:{change:e.changeTop},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("不封顶")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("限制封顶")]),1==e.formData.limitTopType?t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.limitTop,callback:function(a){e.$set(e.formData,"limitTop",a)},expression:"formData.limitTop"}}):e._e(),e._v(" "),1==e.formData.limitTopType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]):e._e()],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"最低适用商品件数",prop:"minGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("限制")]),1==e.formData.minGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minApplicableGoods,callback:function(a){e.$set(e.formData,"minApplicableGoods",a)},expression:"formData.minApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.minGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"最高适用商品件数",prop:"maxGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("限制")]),1==e.formData.maxGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.maxApplicableGoods,callback:function(a){e.$set(e.formData,"maxApplicableGoods",a)},expression:"formData.maxApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.maxGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"适用条件",prop:"minCostCheck"}},[t("div",[t("el-checkbox",{model:{value:e.formData.minCostCheck,callback:function(a){e.$set(e.formData,"minCostCheck",a)},expression:"formData.minCostCheck"}},[e._v("最低消费")]),t("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minCost,callback:function(a){e.$set(e.formData,"minCost",a)},expression:"formData.minCost"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元可用")])],1),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.fitGoodCheck,callback:function(a){e.$set(e.formData,"fitGoodCheck",a)},expression:"formData.fitGoodCheck"}},[e._v("适用商品")]),t("span",{staticClass:"font-14 color-909399"},[e._v("(至少填写一项)")])],1),e._v(" "),e.formData.fitGoodCheck?t("div",{staticClass:"fit-good border-box m-b-20"},[t("div",[t("div",{staticClass:"m-b-20 flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.fitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){return e.$set(e.formData,"fitGoodDes",a)},"update:input-value":function(a){return e.$set(e.formData,"fitGoodDes",a)}}})],1),e._v(" "),t("div",{staticClass:"flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("不适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.noFitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){return e.$set(e.formData,"noFitGoodDes",a)},"update:input-value":function(a){return e.$set(e.formData,"noFitGoodDes",a)}}})],1)])]):e._e(),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.shareCheck,callback:function(a){e.$set(e.formData,"shareCheck",a)},expression:"formData.shareCheck"}},[e._v("不与其他优惠共享")])],1)]),e._v(" "),t("el-form-item",{attrs:{label:"领券限制",prop:"cardLimitType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("1张/人")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("100张/人")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("自定义")]),2==e.formData.cardLimitType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardLimit,callback:function(a){e.$set(e.formData,"cardLimit",a)},expression:"formData.cardLimit"}}):e._e(),e._v(" "),2==e.formData.cardLimitType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("张/人")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"成本费用",prop:"costValue"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.costValue,callback:function(a){e.$set(e.formData,"costValue",a)},expression:"formData.costValue"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写大于0的数字(限制两位小数)")])],1),e._v(" "),t("el-form-item",{attrs:{label:"code类型",prop:"useCustomCode"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.useCustomCode,callback:function(a){e.$set(e.formData,"useCustomCode",a)},expression:"formData.useCustomCode"}},[e._v("随机生成")])],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店说明",prop:"cardExplain"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.cardExplain,holder:"请输入适用门店说明",getByType:"word",maxLength:50},on:{"update:inputValue":function(a){return e.$set(e.formData,"cardExplain",a)},"update:input-value":function(a){return e.$set(e.formData,"cardExplain",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店",prop:"applicationStoreType"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.formData.applicationStoreType,callback:function(a){e.$set(e.formData,"applicationStoreType",a)},expression:"formData.applicationStoreType"}},[e._v("所有门店")])],1),e._v(" "),t("el-form-item",{attrs:{label:"使用说明",prop:"useDescript"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.useDescript,holder:"请输入使用说明",getByType:"word",maxLength:500},on:{"update:inputValue":function(a){return e.$set(e.formData,"useDescript",a)},"update:input-value":function(a){return e.$set(e.formData,"useDescript",a)}}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.cancelEdit}},[e._v("取消")]),e._v(" "),t("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(a){return e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.templateId?"编辑":"新建"))]),e._v(" "),e.$route.query.templateId?e._e():t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1)])},staticRenderFns:[]};var u=t("VU/8")(c,d,!1,function(e){t("UVPf")},"data-v-4e6dc12a",null);a.default=u.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([76],{"Kj+C":function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),o=e("bzW+"),c=e("Qie6"),s=e("Z8ln"),r=e("Ch4/"),h=e("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],navName:{1:"月指标",11:"门店月指标",111:"导购月指标详情",12:"商户日权重月指标",2:"月指标任务",21:"月指标任务详情"},navFrontPath:{1:"/monthList",11:"/monthList",111:"/storeMonthTask",12:"/monthList",13:"/monthList",2:"/monthList",21:"/monthTask"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(h.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath[a.navpath.length-1].path="111"===t?a.navFrontPath[t]+"?yearMonth="+a.$route.query.yearMonth:a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,commonDetailLeft:c.a,expiredDialog:s.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=e("VU/8")(d,v,!1,function(t){e("Kj+C")},"data-v-4d124316",null);a.default=u.exports}}); webpackJsonp([77],{"Kj+C":function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),o=e("bzW+"),c=e("Qie6"),s=e("Z8ln"),r=e("Ch4/"),h=e("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],navName:{1:"月指标",11:"门店月指标",111:"导购月指标详情",12:"商户日权重月指标",2:"月指标任务",21:"月指标任务详情"},navFrontPath:{1:"/monthList",11:"/monthList",111:"/storeMonthTask",12:"/monthList",13:"/monthList",2:"/monthList",21:"/monthTask"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(h.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath[a.navpath.length-1].path="111"===t?a.navFrontPath[t]+"?yearMonth="+a.$route.query.yearMonth:a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,commonDetailLeft:c.a,expiredDialog:s.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=e("VU/8")(d,v,!1,function(t){e("Kj+C")},"data-v-4d124316",null);a.default=u.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([77],{FQZX:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}}); webpackJsonp([78],{FQZX:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("FQZX")},"data-v-4cfabcb1",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([78],{"JFe+":function(t,e){},NpHY:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ggl+"),o=a("P9l9"),i=a("PI0u"),r=a("Ch4/"),s={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/monthList"},{id:"2",name:"月指标任务",path:""}],showDialog:!1,conditionObj:{searchInput:"",storeGroupIds:[],storeStatus:"",dateRange:[]},storeStatusOptions:[{value:"",label:"所有门店状态"},{value:"0",label:"待审核"},{value:"1",label:"正常"},{value:"2",label:"审核失败"},{value:"3",label:"停业整顿"},{value:"4",label:"回收站"},{value:"5",label:"删除"}],loading:!1,selectRadio:0,tableData:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroupIds=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreStatus:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},exportExcel:function(){var t=this;t.loadingBtn=!0;var e={keyword:t.conditionObj.searchInput,storeGroupIds:t.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:t.conditionObj.storeStatus,startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(o.b)("/haoban-app-performance-three-web/performance/export-store-month-performance-task",e).then(function(e){if(t.loadingBtn=!1,!e.data)return r.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="store-month-performance-task.xls",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){var a="",n="";this.conditionObj.dateRange.length>0&&(a=this.conditionObj.dateRange[0],n=this.conditionObj.dateRange[1]),this.$router.push("monthTaskDetail?storeId="+e.storeId+"&startDate="+a+"&endDate="+n)},getTableList:function(t){var e=this;e.loading=!0,e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={keyword:e.conditionObj.searchInput||"",storeGroupIds:e.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:e.conditionObj.storeStatus||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(o.a)("/haoban-app-performance-three-web/performance/query-store-month-performance-task",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;r.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap common-right-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-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称/code",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroupIds},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px","vertical-align":"middle"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",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:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"storeName",label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"taskCount",label:"任务总数"}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedCount",label:"已完成(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedRate",label:"完成率(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"noCompletedCount",label:"待完成","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"overdueCount",label:"逾期中","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(s,l,!1,function(t){a("JFe+")},"data-v-4be77d96",null);e.default=c.exports}}); webpackJsonp([79],{"JFe+":function(t,e){},NpHY:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ggl+"),o=a("P9l9"),i=a("PI0u"),r=a("Ch4/"),s={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/monthList"},{id:"2",name:"月指标任务",path:""}],showDialog:!1,conditionObj:{searchInput:"",storeGroupIds:[],storeStatus:"",dateRange:[]},storeStatusOptions:[{value:"",label:"所有门店状态"},{value:"0",label:"待审核"},{value:"1",label:"正常"},{value:"2",label:"审核失败"},{value:"3",label:"停业整顿"},{value:"4",label:"回收站"},{value:"5",label:"删除"}],loading:!1,selectRadio:0,tableData:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroupIds=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreStatus:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},exportExcel:function(){var t=this;t.loadingBtn=!0;var e={keyword:t.conditionObj.searchInput,storeGroupIds:t.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:t.conditionObj.storeStatus,startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(o.b)("/haoban-app-performance-three-web/performance/export-store-month-performance-task",e).then(function(e){if(t.loadingBtn=!1,!e.data)return r.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="store-month-performance-task.xls",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){var a="",n="";this.conditionObj.dateRange.length>0&&(a=this.conditionObj.dateRange[0],n=this.conditionObj.dateRange[1]),this.$router.push("monthTaskDetail?storeId="+e.storeId+"&startDate="+a+"&endDate="+n)},getTableList:function(t){var e=this;e.loading=!0,e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={keyword:e.conditionObj.searchInput||"",storeGroupIds:e.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:e.conditionObj.storeStatus||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(o.a)("/haoban-app-performance-three-web/performance/query-store-month-performance-task",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;r.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap common-right-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-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称/code",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroupIds},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px","vertical-align":"middle"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",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:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"storeName",label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"taskCount",label:"任务总数"}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedCount",label:"已完成(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedRate",label:"完成率(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"noCompletedCount",label:"待完成","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"overdueCount",label:"逾期中","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(s,l,!1,function(t){a("JFe+")},"data-v-4be77d96",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([79],{f1qT:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("CMYX"),l=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),c=a("PI0u"),d=a("3E4D"),u=a("Ch4/"),p={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}},enableDownloadCompleteData:{type:[Number,String],default:function(){return 0}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:this.$store.state.salesDate},loading:!1,selectRadio:2,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1,tableRefresh:!1,exportDialog:!1,overOptions:[{label:"所有逾期情况",value:""},{label:"逾期未失效",value:"2"},{label:"逾期已失效",value:"3"},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}]}},computed:{},methods:{changeSelect:function(e){e?this.$store.dispatch("changeSales",e):this.$store.dispatch("changeSales",[]),this.currentPage=1,this.getTableList()},beforeExportExcel:function(){if(!this.multipleSelection.length)return d.a.showmsg("请选择门店","warning"),!1;1==this.enableDownloadCompleteData?this.exportDialog=!0:this.exportExcel(0)},changeExportDialog:function(){this.exportDialog=!1,this.multipleSelection=[],this.$refs.multipleTable.clearSelection()},exportExcel:function(e){var t=this;if(!t.multipleSelection.length)return d.a.showmsg("请选择门店","warning"),!1;var a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)}),t.loadingBtn=!0;var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",ecmId:t.$route.query.ecmId,ecmPlanName:this.$route.query.ecmName,storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),gicEnterpriseId:t.activeBrand,selectType:2==t.selectRadio&&t.multipleSelection.length?0:this.selectRadio,dataType:e};Object(r.b)("/haoban-app-tel-task-three-web/task/export-task-view-store-list",o).then(function(e){if(t.loadingBtn=!1,!e.data)return u.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),o=document.createElement("a");o.download="话务任务视图详情门店报表.xls",o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},checkGroupIds:function(e){this.conditionObj.storeGroup=e,this.currentPage=1,this.getTableList()},changeTable:function(e){this.currentPage=1,this.getTableList()},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},setSelectTab:function(e){this.activeTab=e.tabId},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e?this.$store.dispatch("changeSales",e):this.$store.dispatch("changeSales",[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},delDepart:function(e,t){t.splice(e,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(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)});var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio,ecmId:t.$route.query.ecmId};Object(r.e)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",o).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList(this.selectRadio)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.selectRadio)},showDialogLayer:function(e,t){this.selectType=e,this.changed=e,this.defaultStoreList=t,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(e){this.conditionObj.storeGroup=e,this.getTableList()},toDetail:function(e,t){this.$router.push("taskDetail?storeId="+t.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(e){var t=this,a=this;a.loading=!0;var o=[];a.conditionObj.storeGroup.forEach(function(e){o.push(e.storeGroupId)});var n={ecmId:a.$route.query.ecmId,search:a.conditionObj.searchInput||"",storeGroupIds:o.join(",")||"",storeType:a.conditionObj.storeType||"",startDate:a.conditionObj.dateRange[0]||"",endDate:a.conditionObj.dateRange[1]||"",pageNum:a.currentPage,pageSize:a.pageSize,enterpriseId:a.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(o){var n=o.data;a.loading=!1,1==n.errorCode&&(a.tableData=n.result.list||[],a.total=n.result.pageInfo.total,1==e?t.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):t.selectRadio=2),u.a.errorMsg(n)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList()),this.multipleSelection=[]},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","122","1221"),document.documentElement.style.backgroundColor="#f0f2f5",e.activeBrand=e.brandId,e.brandId&&e.$nextTick(function(){e.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:l.a,multipleDel:s.a,exportDialog:i.a}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap task-view-detail"},[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:"请输入门店名称",maxlength:"50"},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"})]),e._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.conditionObj.storeGroup},on:{checkGroupIds:e.checkGroupIds}}),e._v(" "),a("el-select",{staticClass:"w-135 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._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:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]),e._v(" "),a("el-button",{attrs:{loading:e.loadingBtn,type:"primary"},on:{click:e.beforeExportExcel}},[e._v("导出")]),e._v(" "),a("el-tooltip",{attrs:{content:"导出结果中会员姓名、手机号等敏感信息将进行加密,实现隐私保护",placement:"top"}},[a("i",{directives:[{name:"show",rawName:"v-show",value:0==e.enableDownloadCompleteData,expression:"enableDownloadCompleteData == 0"}],staticClass:"el-icon-warning-outline font-14 p-l-6"})])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,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:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(e){var t=e.$index;return[a("p",{key:t})]}}])}),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.storeGroupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.storeName))]),e._v(" "),a("p",{staticStyle:{color:"#909399"}},[e._v(e._s(t.row.storeCode))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCount))]}}])}),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.completedCount))]}}])}),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.completedRate))]}}])}),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.noCompletedCount))]}}])}),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.overdueCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期失效"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.invalidCount))]}}])}),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){return e.toDetail(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("dm-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("export-dialog",{attrs:{dialogVisible:e.exportDialog},on:{export:e.exportExcel,"update:dialogVisible":e.changeExportDialog}}),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1,showTip:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(p,h,!1,function(e){a("zNAp")},"data-v-44e6fce8",null);t.default=g.exports},zNAp:function(e,t){}}); webpackJsonp([80],{f1qT:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("CMYX"),l=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),c=a("PI0u"),d=a("3E4D"),u=a("Ch4/"),p={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}},enableDownloadCompleteData:{type:[Number,String],default:function(){return 0}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:this.$store.state.salesDate},loading:!1,selectRadio:2,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1,tableRefresh:!1,exportDialog:!1,overOptions:[{label:"所有逾期情况",value:""},{label:"逾期未失效",value:"2"},{label:"逾期已失效",value:"3"},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}]}},computed:{},methods:{changeSelect:function(e){e?this.$store.dispatch("changeSales",e):this.$store.dispatch("changeSales",[]),this.currentPage=1,this.getTableList()},beforeExportExcel:function(){if(!this.multipleSelection.length)return d.a.showmsg("请选择门店","warning"),!1;1==this.enableDownloadCompleteData?this.exportDialog=!0:this.exportExcel(0)},changeExportDialog:function(){this.exportDialog=!1,this.multipleSelection=[],this.$refs.multipleTable.clearSelection()},exportExcel:function(e){var t=this;if(!t.multipleSelection.length)return d.a.showmsg("请选择门店","warning"),!1;var a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)}),t.loadingBtn=!0;var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",ecmId:t.$route.query.ecmId,ecmPlanName:this.$route.query.ecmName,storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),gicEnterpriseId:t.activeBrand,selectType:2==t.selectRadio&&t.multipleSelection.length?0:this.selectRadio,dataType:e};Object(r.b)("/haoban-app-tel-task-three-web/task/export-task-view-store-list",o).then(function(e){if(t.loadingBtn=!1,!e.data)return u.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),o=document.createElement("a");o.download="话务任务视图详情门店报表.xls",o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},checkGroupIds:function(e){this.conditionObj.storeGroup=e,this.currentPage=1,this.getTableList()},changeTable:function(e){this.currentPage=1,this.getTableList()},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},setSelectTab:function(e){this.activeTab=e.tabId},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e?this.$store.dispatch("changeSales",e):this.$store.dispatch("changeSales",[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},delDepart:function(e,t){t.splice(e,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(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[];t.conditionObj.storeGroup.forEach(function(e){a.push(e.storeGroupId)});var o={search:t.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio,ecmId:t.$route.query.ecmId};Object(r.e)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",o).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList(this.selectRadio)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.selectRadio)},showDialogLayer:function(e,t){this.selectType=e,this.changed=e,this.defaultStoreList=t,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(e){this.conditionObj.storeGroup=e,this.getTableList()},toDetail:function(e,t){this.$router.push("taskDetail?storeId="+t.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(e){var t=this,a=this;a.loading=!0;var o=[];a.conditionObj.storeGroup.forEach(function(e){o.push(e.storeGroupId)});var n={ecmId:a.$route.query.ecmId,search:a.conditionObj.searchInput||"",storeGroupIds:o.join(",")||"",storeType:a.conditionObj.storeType||"",startDate:a.conditionObj.dateRange[0]||"",endDate:a.conditionObj.dateRange[1]||"",pageNum:a.currentPage,pageSize:a.pageSize,enterpriseId:a.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(o){var n=o.data;a.loading=!1,1==n.errorCode&&(a.tableData=n.result.list||[],a.total=n.result.pageInfo.total,1==e?t.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):t.selectRadio=2),u.a.errorMsg(n)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList()),this.multipleSelection=[]},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","122","1221"),document.documentElement.style.backgroundColor="#f0f2f5",e.activeBrand=e.brandId,e.brandId&&e.$nextTick(function(){e.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:l.a,multipleDel:s.a,exportDialog:i.a}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap task-view-detail"},[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:"请输入门店名称",maxlength:"50"},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"})]),e._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.conditionObj.storeGroup},on:{checkGroupIds:e.checkGroupIds}}),e._v(" "),a("el-select",{staticClass:"w-135 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._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:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]),e._v(" "),a("el-button",{attrs:{loading:e.loadingBtn,type:"primary"},on:{click:e.beforeExportExcel}},[e._v("导出")]),e._v(" "),a("el-tooltip",{attrs:{content:"导出结果中会员姓名、手机号等敏感信息将进行加密,实现隐私保护",placement:"top"}},[a("i",{directives:[{name:"show",rawName:"v-show",value:0==e.enableDownloadCompleteData,expression:"enableDownloadCompleteData == 0"}],staticClass:"el-icon-warning-outline font-14 p-l-6"})])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,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:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(e){var t=e.$index;return[a("p",{key:t})]}}])}),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.storeGroupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.storeName))]),e._v(" "),a("p",{staticStyle:{color:"#909399"}},[e._v(e._s(t.row.storeCode))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCount))]}}])}),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.completedCount))]}}])}),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.completedRate))]}}])}),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.noCompletedCount))]}}])}),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.overdueCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期失效"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.invalidCount))]}}])}),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){return e.toDetail(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("dm-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("export-dialog",{attrs:{dialogVisible:e.exportDialog},on:{export:e.exportExcel,"update:dialogVisible":e.changeExportDialog}}),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1,showTip:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(p,h,!1,function(e){a("zNAp")},"data-v-44e6fce8",null);t.default=g.exports},zNAp:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([80],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={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:"3",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.e)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2","21"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},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()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),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}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.e)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,n={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.a)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",n).then(function(t){var n=t.data;if(1==n.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(n)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.a)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-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-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",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",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},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){return 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-hb3 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-hb3 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:"first-item 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:"color-909399 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:"color-909399 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:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.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,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("dWHn")},"data-v-42ae645a",null);t.default=u.exports},dWHn:function(e,t){}}); webpackJsonp([81],{YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={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:"3",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.e)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2","21"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},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()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),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}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.e)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示").then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,n={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.a)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",n).then(function(t){var n=t.data;if(1==n.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(n)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.a)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.init()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-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-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",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",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},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){return 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-hb3 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-hb3 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:"first-item 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:"color-909399 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:"color-909399 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:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.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,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("dWHn")},"data-v-42ae645a",null);t.default=u.exports},dWHn:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([81],{e8rA:function(e,t){},jPcV:function(e,t,n){"use strict";Object.defineProperty(t,"__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(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body",style:{height:this.contentHeight}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(e){n("e8rA")},"data-v-3cef0f12",null);t.default=o.exports}}); webpackJsonp([82],{e8rA:function(e,t){},jPcV:function(e,t,n){"use strict";Object.defineProperty(t,"__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(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body",style:{height:this.contentHeight}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(e){n("e8rA")},"data-v-3cef0f12",null);t.default=o.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([82],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),r=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",loading:!1}},methods:{submit:Object(r.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},r=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,r="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(r="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.e)(r,a).then(function(t){var a=t.data;e.loading=!1,1!=a.errorCode?n.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){e.loading=!1,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.e)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.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",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(e){return t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("fMVc")},"data-v-3cbba2f4",null);e.default=c.exports},fMVc:function(t,e){}}); webpackJsonp([83],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),r=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",loading:!1}},methods:{submit:Object(r.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},r=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,r="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(r="/haoban-app-customer-web/customer/save-customer-setting")),Object(o.e)(r,a).then(function(t){var a=t.data;e.loading=!1,1!=a.errorCode?n.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){e.loading=!1,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.e)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.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",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(e){return t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("fMVc")},"data-v-3cbba2f4",null);e.default=c.exports},fMVc:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([83],{ExaL:function(t,e){},NiGE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("mvHQ"),n=a.n(r),s=a("Gu7T"),i=a.n(s),c=a("Xxa5"),o=a.n(c),u=a("exGp"),d=a.n(u),h=a("PI0u"),l=a("Ch4/"),p=a("3E4D"),f=a("P9l9"),y={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",brandName:"",activeBrand:this.brandId,yearMonth:"",activeId:"3",myObject:{hasEmptyGrid:!1,empytGrids:[],days:[],hasLastEmptyGrid:!1,lastEmpytGrids:[],beginDate:"",endDate:""},performanceWeightSettingList:[],settingStatus:1,settingAble:1}},computed:{},methods:{is_leap:function(t){return t%400==0||t%4==0&&t%100!=0},m_days:function(t){return[31,28+this.is_leap(t),31,30,31,30,31,31,30,31,30,31]},addZero:function(t){return t<10?"0"+parseInt(t):t},getThisMonthDays:function(t,e){return new Date(t,e,0).getDate()},getFirstDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,1)).getDay()},getLastDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,this.getThisMonthDays(t,e))).getDay()},getYearMonthDayWeek:function(t,e,a){return new Date(t,e-1,a).getDay()},isOverMonth:function(t,e){return t.split("-")[1]==e.split("-")[1]},calculateEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getFirstDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>0)for(i=0;i<n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calDayEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>0)for(c=0;c<s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateLastEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getLastDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>=0)for(i=0;i<6-n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calLastEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>=0)for(c=0;c<6-s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateDays:function(t,e,a,r){var n=this;return d()(o.a.mark(function s(){var c,u,d,h,l,p,f,y,m,v;return o.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return c=n,(u={}).beginDate=a,u.endDate=r,u.year=t,s.next=7,c.addZero(e);case 7:return u.month=s.sent,d=a.split("-"),h=r.split("-"),s.next=12,c.isOverMonth(a,r);case 12:return l=s.sent,s.next=15,c.calDayEmptyGrids(d[0],d[1],d[2]);case 15:return(p=s.sent).length>0?(u.hasEmptyGrid=!0,u.empytGrids=p):(u.hasEmptyGrid=!1,u.empytGrids=[]),s.next=19,c.calLastEmptyGrids(h[0],h[1],h[2]);case 19:if((f=s.sent).length>0?(u.hasLastEmptyGrid=!0,u.lastEmpytGrids=f):(u.hasLastEmptyGrid=!1,u.lastEmpytGrids=[]),!l){s.next=27;break}return s.next=24,c.setCurrentMonth(d[0],d[1],d[2],h[2]);case 24:u.days=s.sent,s.next=37;break;case 27:return s.next=29,c.getThisMonthDays(d[0],d[1]);case 29:return y=s.sent,s.next=32,c.setCurrentMonth(d[0],d[1],d[2],y);case 32:return m=s.sent,s.next=35,c.setCurrentMonth(h[0],h[1],1,h[2]);case 35:v=s.sent,u.days=[].concat(i()(m),i()(v));case 37:return c.myObject=u,s.abrupt("return",u);case 39:case"end":return s.stop()}},s,n)}))()},setCurrentMonth:function(t,e,a,r){for(var n=this,s=[],i=function(a){var r={};if(n.performanceWeightSettingList.length)n.performanceWeightSettingList.forEach(function(t,e){parseInt(t.date.split("-")[2])==a&&(r.weightValue=Number(t.weightValue).toFixed(2))});else{var i=n.getYearMonthDayWeek(t,e,a);r.weightValue=5==i?Number(1.8).toFixed(2):6==i||0==i?Number(2).toFixed(2):Number(1).toFixed(2)}r.performanceDay=n.addZero(a),r.date=t+"-"+n.addZero(e)+"-"+n.addZero(a),r.month=n.addZero(e),s.push(r)},c=a;c<=r;c++)i(c);return s},resetData:function(){this.performanceWeightSettingList=[];var t=this.yearMonth.split("-");this.calculateDays(t[0],t[1],this.myObject.beginDate,this.myObject.endDate)},saveSet:Object(h.a)(function(){var t=this,e=!0;if(t.myObject.days.forEach(function(t){(!t.weightValue||t.weightValue<=0||!Number(t.weightValue))&&(e=!1)}),!e)return this.$confirm("每日的权重不能为空,必须为数字,且不小于 0 ?","提示").then(function(){}),!1;t.$confirm(0==t.settingStatus?"点击即下发门店月指标任务,请确认是否提交?":"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?","提示").then(function(){t.postSave(t.myObject.days)}).catch(function(){})},500),postSave:function(t){var e=this,a={enterpriseId:e.activeBrand,yearMonth:e.yearMonth,performanceWeightSettingList:n()(t)};Object(f.e)("/haoban-app-performance-three-web/performance/save-performance-weight-setting",a).then(function(t){var a=t.data;if(1==a.errorCode)return p.a.showmsg("保存成功","success"),void e.getData();l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,yearMonth:t.yearMonth};Object(f.e)("/haoban-app-performance-three-web/performance/query-performance-weight-setting",e).then(function(e){var a=e.data,r=t.yearMonth.split("-");if(1==a.errorCode)return t.performanceWeightSettingList=a.result.performanceWeightSettingList||[],t.settingStatus=a.result.settingStatus,t.settingAble=a.result.settingAble,t.brandName=a.result.enterpriseName,t.myObject.beginDate=a.result.beginDate,t.myObject.endDate=a.result.endDate,void t.calculateDays(r[0],r[1],a.result.beginDate,a.result.endDate);l.a.errorMsg(a),t.settingAble=0}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.yearMonth=this.$route.query.yearMonth,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1","12"),this.brandId&&(this.yearMonth=this.$route.query.yearMonth,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap common-right-wrap"},[a("div",{staticClass:"day-set-content border-box"},[a("div",{staticClass:"day-set-title m-b-20"},[a("span",{staticClass:"font-18 color-303133"},[t._v(t._s(t.yearMonth))]),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("首次设置提交即下发门店月指标任务;"),a("br"),t._v("门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);")]),t._v(" "),a("span",{staticClass:"font-14 color-606266 m-l-10",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v(t._s(t.brandName)+"日权重")])])],1),t._v(" "),a("section",[t._m(0),t._v(" "),a("div",{staticClass:"week week-body"},[t.myObject.hasEmptyGrid?t._l(t.myObject.empytGrids,function(t,e){return a("div",{key:e+"empytGrids",staticClass:"day grid white-color"})}):t._e(),t._v(" "),t._l(t.myObject.days,function(e,r){return a("div",{key:r,staticClass:"day w-p-14 selectable",class:0==e?"hide":""},[a("div",{staticClass:"w-120 font-14 color-909399 day-performance"},[t._v(t._s(e.month+"-"+e.performanceDay))]),t._v(" "),a("div",{staticClass:"target-value "},[a("el-input",{staticClass:"w-120",attrs:{maxlength:"50",placeholder:"请输入权重值",disabled:0==t.settingAble},model:{value:e.weightValue,callback:function(a){t.$set(e,"weightValue",a)},expression:"day.weightValue"}})],1)])}),t._v(" "),t.myObject.hasLastEmptyGrid?t._l(t.myObject.lastEmpytGrids,function(t,e){return a("div",{key:e+"lastEmpytGrids",staticClass:"day grid white-color"})}):t._e()],2)]),t._v(" "),t.$store.state.wxEnterpriseType||1!=t.settingAble?t._e():a("div",{staticClass:"day-set-btn m-t-24 text-center"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.resetData}},[t._v("重置")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("提交")])],1)])])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"week"},[a("div",{staticClass:"week-head day w-p-14"},[t._v("周日")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周一")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周二")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周三")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周四")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周五")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周六")])])}]};var v=a("VU/8")(y,m,!1,function(t){a("ExaL")},"data-v-3be7df5c",null);e.default=v.exports}}); webpackJsonp([84],{ExaL:function(t,e){},NiGE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("mvHQ"),n=a.n(r),s=a("Gu7T"),i=a.n(s),c=a("Xxa5"),o=a.n(c),u=a("exGp"),d=a.n(u),h=a("PI0u"),l=a("Ch4/"),p=a("3E4D"),f=a("P9l9"),y={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",brandName:"",activeBrand:this.brandId,yearMonth:"",activeId:"3",myObject:{hasEmptyGrid:!1,empytGrids:[],days:[],hasLastEmptyGrid:!1,lastEmpytGrids:[],beginDate:"",endDate:""},performanceWeightSettingList:[],settingStatus:1,settingAble:1}},computed:{},methods:{is_leap:function(t){return t%400==0||t%4==0&&t%100!=0},m_days:function(t){return[31,28+this.is_leap(t),31,30,31,30,31,31,30,31,30,31]},addZero:function(t){return t<10?"0"+parseInt(t):t},getThisMonthDays:function(t,e){return new Date(t,e,0).getDate()},getFirstDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,1)).getDay()},getLastDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,this.getThisMonthDays(t,e))).getDay()},getYearMonthDayWeek:function(t,e,a){return new Date(t,e-1,a).getDay()},isOverMonth:function(t,e){return t.split("-")[1]==e.split("-")[1]},calculateEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getFirstDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>0)for(i=0;i<n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calDayEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>0)for(c=0;c<s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateLastEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getLastDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>=0)for(i=0;i<6-n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calLastEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>=0)for(c=0;c<6-s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateDays:function(t,e,a,r){var n=this;return d()(o.a.mark(function s(){var c,u,d,h,l,p,f,y,m,v;return o.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return c=n,(u={}).beginDate=a,u.endDate=r,u.year=t,s.next=7,c.addZero(e);case 7:return u.month=s.sent,d=a.split("-"),h=r.split("-"),s.next=12,c.isOverMonth(a,r);case 12:return l=s.sent,s.next=15,c.calDayEmptyGrids(d[0],d[1],d[2]);case 15:return(p=s.sent).length>0?(u.hasEmptyGrid=!0,u.empytGrids=p):(u.hasEmptyGrid=!1,u.empytGrids=[]),s.next=19,c.calLastEmptyGrids(h[0],h[1],h[2]);case 19:if((f=s.sent).length>0?(u.hasLastEmptyGrid=!0,u.lastEmpytGrids=f):(u.hasLastEmptyGrid=!1,u.lastEmpytGrids=[]),!l){s.next=27;break}return s.next=24,c.setCurrentMonth(d[0],d[1],d[2],h[2]);case 24:u.days=s.sent,s.next=37;break;case 27:return s.next=29,c.getThisMonthDays(d[0],d[1]);case 29:return y=s.sent,s.next=32,c.setCurrentMonth(d[0],d[1],d[2],y);case 32:return m=s.sent,s.next=35,c.setCurrentMonth(h[0],h[1],1,h[2]);case 35:v=s.sent,u.days=[].concat(i()(m),i()(v));case 37:return c.myObject=u,s.abrupt("return",u);case 39:case"end":return s.stop()}},s,n)}))()},setCurrentMonth:function(t,e,a,r){for(var n=this,s=[],i=function(a){var r={};if(n.performanceWeightSettingList.length)n.performanceWeightSettingList.forEach(function(t,e){parseInt(t.date.split("-")[2])==a&&(r.weightValue=Number(t.weightValue).toFixed(2))});else{var i=n.getYearMonthDayWeek(t,e,a);r.weightValue=5==i?Number(1.8).toFixed(2):6==i||0==i?Number(2).toFixed(2):Number(1).toFixed(2)}r.performanceDay=n.addZero(a),r.date=t+"-"+n.addZero(e)+"-"+n.addZero(a),r.month=n.addZero(e),s.push(r)},c=a;c<=r;c++)i(c);return s},resetData:function(){this.performanceWeightSettingList=[];var t=this.yearMonth.split("-");this.calculateDays(t[0],t[1],this.myObject.beginDate,this.myObject.endDate)},saveSet:Object(h.a)(function(){var t=this,e=!0;if(t.myObject.days.forEach(function(t){(!t.weightValue||t.weightValue<=0||!Number(t.weightValue))&&(e=!1)}),!e)return this.$confirm("每日的权重不能为空,必须为数字,且不小于 0 ?","提示").then(function(){}),!1;t.$confirm(0==t.settingStatus?"点击即下发门店月指标任务,请确认是否提交?":"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?","提示").then(function(){t.postSave(t.myObject.days)}).catch(function(){})},500),postSave:function(t){var e=this,a={enterpriseId:e.activeBrand,yearMonth:e.yearMonth,performanceWeightSettingList:n()(t)};Object(f.e)("/haoban-app-performance-three-web/performance/save-performance-weight-setting",a).then(function(t){var a=t.data;if(1==a.errorCode)return p.a.showmsg("保存成功","success"),void e.getData();l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,yearMonth:t.yearMonth};Object(f.e)("/haoban-app-performance-three-web/performance/query-performance-weight-setting",e).then(function(e){var a=e.data,r=t.yearMonth.split("-");if(1==a.errorCode)return t.performanceWeightSettingList=a.result.performanceWeightSettingList||[],t.settingStatus=a.result.settingStatus,t.settingAble=a.result.settingAble,t.brandName=a.result.enterpriseName,t.myObject.beginDate=a.result.beginDate,t.myObject.endDate=a.result.endDate,void t.calculateDays(r[0],r[1],a.result.beginDate,a.result.endDate);l.a.errorMsg(a),t.settingAble=0}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.yearMonth=this.$route.query.yearMonth,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1","12"),this.brandId&&(this.yearMonth=this.$route.query.yearMonth,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap common-right-wrap"},[a("div",{staticClass:"day-set-content border-box"},[a("div",{staticClass:"day-set-title m-b-20"},[a("span",{staticClass:"font-18 color-303133"},[t._v(t._s(t.yearMonth))]),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("首次设置提交即下发门店月指标任务;"),a("br"),t._v("门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);")]),t._v(" "),a("span",{staticClass:"font-14 color-606266 m-l-10",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v(t._s(t.brandName)+"日权重")])])],1),t._v(" "),a("section",[t._m(0),t._v(" "),a("div",{staticClass:"week week-body"},[t.myObject.hasEmptyGrid?t._l(t.myObject.empytGrids,function(t,e){return a("div",{key:e+"empytGrids",staticClass:"day grid white-color"})}):t._e(),t._v(" "),t._l(t.myObject.days,function(e,r){return a("div",{key:r,staticClass:"day w-p-14 selectable",class:0==e?"hide":""},[a("div",{staticClass:"w-120 font-14 color-909399 day-performance"},[t._v(t._s(e.month+"-"+e.performanceDay))]),t._v(" "),a("div",{staticClass:"target-value "},[a("el-input",{staticClass:"w-120",attrs:{maxlength:"50",placeholder:"请输入权重值",disabled:0==t.settingAble},model:{value:e.weightValue,callback:function(a){t.$set(e,"weightValue",a)},expression:"day.weightValue"}})],1)])}),t._v(" "),t.myObject.hasLastEmptyGrid?t._l(t.myObject.lastEmpytGrids,function(t,e){return a("div",{key:e+"lastEmpytGrids",staticClass:"day grid white-color"})}):t._e()],2)]),t._v(" "),t.$store.state.wxEnterpriseType||1!=t.settingAble?t._e():a("div",{staticClass:"day-set-btn m-t-24 text-center"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.resetData}},[t._v("重置")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("提交")])],1)])])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"week"},[a("div",{staticClass:"week-head day w-p-14"},[t._v("周日")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周一")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周二")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周三")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周四")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周五")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周六")])])}]};var v=a("VU/8")(y,m,!1,function(t){a("ExaL")},"data-v-3be7df5c",null);e.default=v.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([84],{IhEL:function(t,e){},cD4x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),i=a("exGp"),o=a.n(i),s=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,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.repairId)}).catch(function(){})},delCardList:function(t){var e=this,a={repairId:t};Object(u.e)("/haoban-app-customer-web/inner/delete-repair",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardPut?repairId="+e.repairId)},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("/newCardPut")},handleSizeChange:function(t){this.currentPage=1,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 o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!1,n={wxEnterpriseId:a.wxEnterpriseId,pageNum:a.currentPage,pageSize:a.pageSize},Object(u.e)("/haoban-app-customer-web/inner/page-repair",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.result||[],void(a.total=e.result.totalCount);s.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","3"),this.getTableList()}},p={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"},[t._m(0),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增补发")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},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.cardCombineName)+"\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 "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return 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("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[this._v("内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发")])])}]};var g=a("VU/8")(d,p,!1,function(t){a("IhEL")},"data-v-2e38753d",null);e.default=g.exports}}); webpackJsonp([85],{IhEL:function(t,e){},cD4x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),i=a("exGp"),o=a.n(i),s=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,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.repairId)}).catch(function(){})},delCardList:function(t){var e=this,a={repairId:t};Object(u.e)("/haoban-app-customer-web/inner/delete-repair",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardPut?repairId="+e.repairId)},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("/newCardPut")},handleSizeChange:function(t){this.currentPage=1,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 o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!1,n={wxEnterpriseId:a.wxEnterpriseId,pageNum:a.currentPage,pageSize:a.pageSize},Object(u.e)("/haoban-app-customer-web/inner/page-repair",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.result||[],void(a.total=e.result.totalCount);s.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","3"),this.getTableList()}},p={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"},[t._m(0),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增补发")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},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.cardCombineName)+"\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 "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return 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("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[this._v("内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发")])])}]};var g=a("VU/8")(d,p,!1,function(t){a("IhEL")},"data-v-2e38753d",null);e.default=g.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([85],{TvgO:function(e,t){},w4UW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("Dd8w"),o=a.n(s),n=a("3E4D"),r=a("Ggl+"),l=a("3Xzz"),i=a("P9l9"),c=a("Ch4/"),d=a("PI0u"),p={name:"storeList",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{selectRadio:2,tableRefresh:!1,multipleSelection:[],bgHeight:window.screen.availHeight-298+"px",dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,loading:!1,navpath:[{name:"首页",path:"/index"},{name:"营销任务",path:"/trafficTaskSet"},{name:"话务任务-话务任务设置",path:""}],pageParams:{pageNum:1,pageSize:20,storeGroup:[],storeName:"",date:this.$store.state.salesDate},total:0,tableData:[],pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()-864e5}},loadingBtn:!1}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},exportExcel:function(){var e=this;if(!this.multipleSelection.length)return n.a.showmsg("请选择门店","warning"),!1;this.loadingBtn=!0;var t="/haoban-task-manage-web/market/clue/export/store-view",a=this.pageParams,s={pageNum:a.pageNum,pageSize:a.pageSize,storeName:a.storeName,taskType:2,selectType:this.selectRadio,selectIdList:1==this.selectRadio?"":this.multipleSelection.map(function(e){return e.storeId}).join(","),enterpriseId:sessionStorage.getItem("userInfoBrandId"),qywxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,startTime:this.pageParams.date[0],endTime:this.pageParams.date[1]};if(this.pageParams.storeGroup){var r=[];this.pageParams.storeGroup.forEach(function(e){r.push(e.storeGroupId)}),s.storeGroupIds=r.join(",")||""}var l=this.pageParams.date.length?"群发任务-门店视图_"+s.startTime+"至"+s.endTime+".xls":"群发任务-门店视图.xls";this.$route.query.hasOwnProperty("ecmPlanName")&&(s=o()({},s,this.$route.query),t="/haoban-task-manage-web/market/clue/export/plan-view-task-store-detail",l=this.pageParams.date.length?"群发任务-计划视图-任务门店详情_"+s.startTime+"至"+s.endTime+".xls":"群发任务-计划视图-任务门店详情.xls"),Object(i.b)(t,s).then(function(t){if(e.loadingBtn=!1,!t.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([t.data],{type:"application/vnd.ms-excel"}),s=document.createElement("a");s.download=l,s.style.display="none",s.href=URL.createObjectURL(a),document.body.appendChild(s),s.click(),URL.revokeObjectURL(s.href),document.body.removeChild(s)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})}).finally(function(){e.loadingBtn=!1})},checkGroupIds:function(e){this.pageParams.storeGroup=e,this.reFetch()},changeRoute:function(e){this.$router.push(e)},reFetch:Object(d.a)(function(e,t){this.pageParams.pageNum=1,this.getTableList()},500),changeDate:function(e){e?this.$store.dispatch("changeSales",e):(this.pageParams.date=[],this.$store.dispatch("changeSales",[])),this.pageParams.pageNum=1,this.getTableList()},handleSizeChange:function(e){this.pageParams.pageNum=1,this.pageParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.pageParams.pageNum=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=o()({},t.pageParams,{enterpriseId:sessionStorage.getItem("userInfoBrandId"),qywxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,taskType:2});if(t.pageParams.storeGroup){var s=[];t.pageParams.storeGroup.forEach(function(e){s.push(e.storeGroupId)}),delete a.storeGroup,a.storeGroupIds=s.join(",")||""}a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),t.$route.query.ecmPlanId&&(a.ecmPlanId=t.$route.query.ecmPlanId),Object(i.a)("/haoban-task-manage-web/market/clue/web/store-list",a).then(function(e){t.loading=!1;var a=e.data;1==a.errorCode?(t.tableData=a.result.list||[],t.total=a.result.pageInfo?a.result.pageInfo.total:0):c.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},showDetail:function(e){this.$route.query.ecmPlanId?this.$router.push("grStoreDetail/"+e.storeId+"?tab=2&ecmPlanId="+this.$route.query.ecmPlanId+"&ecmPlanName="+this.$route.query.ecmPlanName):this.$router.push("grStoreDetail/"+e.storeId)}},watch:{brandId:function(e){this.getTableList()},$route:function(e,t){this.$route.query.ecmPlanId||this.getTableList()}},mounted:function(){this.getTableList(),this.$route.query.ecmPlanId?this.$emit("showTab","212","2121"):this.$emit("showTab","211"),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:l.a,gicSelectGroup:r.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[e._v("仅展示近一年数据,数据截取时间:"+e._s(e._f("timeStampToYmd2")(e.dateStart))+" 至 "+e._s(e._f("timeStampToYmd2")(e.dateEnd)))])])]),e._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[e._v("只统计通过GIC创建的群发,不包含在企业微信创建的群发及门店创建的群发")]),e._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[e._v("查看指标说明")])])])],1),e._v(" "),a("div",{staticClass:"table-condition-search flex flex-space-between m-t-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入门店名称","prefix-icon":"el-icon-search",clearable:""},on:{change:e.reFetch},model:{value:e.pageParams.storeName,callback:function(t){e.$set(e.pageParams,"storeName",t)},expression:"pageParams.storeName"}}),e._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.pageParams.storeGroup},on:{checkGroupIds:e.checkGroupIds}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.pageParams.date,callback:function(t){e.$set(e.pageParams,"date",t)},expression:"pageParams.date"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{loading:e.loadingBtn,type:"primary"},on:{click:e.exportExcel}},[e._v("导出")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(t){return[e._v(e._s(" "))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName||"--")+"\n "),a("p",{staticStyle:{color:"#909399"}},[e._v(e._s(t.row.storeCode))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店分组"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeGroupName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.cplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s((100*t.row.completionRate).toFixed(2)+"%"||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.waitFinishCount||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ovincplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期失效","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.invalidCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.showDetail(t.row)}}},[e._v("查看详情")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,"current-page":e.pageParams.pageNum,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e()],1)])])])])])])},staticRenderFns:[]};var m=a("VU/8")(p,u,!1,function(e){a("TvgO")},"data-v-292394a1",null);t.default=m.exports}}); webpackJsonp([86],{TvgO:function(e,t){},w4UW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("Dd8w"),o=a.n(s),n=a("3E4D"),r=a("Ggl+"),l=a("3Xzz"),i=a("P9l9"),c=a("Ch4/"),d=a("PI0u"),p={name:"storeList",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{selectRadio:2,tableRefresh:!1,multipleSelection:[],bgHeight:window.screen.availHeight-298+"px",dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,loading:!1,navpath:[{name:"首页",path:"/index"},{name:"营销任务",path:"/trafficTaskSet"},{name:"话务任务-话务任务设置",path:""}],pageParams:{pageNum:1,pageSize:20,storeGroup:[],storeName:"",date:this.$store.state.salesDate},total:0,tableData:[],pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()-864e5}},loadingBtn:!1}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},exportExcel:function(){var e=this;if(!this.multipleSelection.length)return n.a.showmsg("请选择门店","warning"),!1;this.loadingBtn=!0;var t="/haoban-task-manage-web/market/clue/export/store-view",a=this.pageParams,s={pageNum:a.pageNum,pageSize:a.pageSize,storeName:a.storeName,taskType:2,selectType:this.selectRadio,selectIdList:1==this.selectRadio?"":this.multipleSelection.map(function(e){return e.storeId}).join(","),enterpriseId:sessionStorage.getItem("userInfoBrandId"),qywxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,startTime:this.pageParams.date[0],endTime:this.pageParams.date[1]};if(this.pageParams.storeGroup){var r=[];this.pageParams.storeGroup.forEach(function(e){r.push(e.storeGroupId)}),s.storeGroupIds=r.join(",")||""}var l=this.pageParams.date.length?"群发任务-门店视图_"+s.startTime+"至"+s.endTime+".xls":"群发任务-门店视图.xls";this.$route.query.hasOwnProperty("ecmPlanName")&&(s=o()({},s,this.$route.query),t="/haoban-task-manage-web/market/clue/export/plan-view-task-store-detail",l=this.pageParams.date.length?"群发任务-计划视图-任务门店详情_"+s.startTime+"至"+s.endTime+".xls":"群发任务-计划视图-任务门店详情.xls"),Object(i.b)(t,s).then(function(t){if(e.loadingBtn=!1,!t.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([t.data],{type:"application/vnd.ms-excel"}),s=document.createElement("a");s.download=l,s.style.display="none",s.href=URL.createObjectURL(a),document.body.appendChild(s),s.click(),URL.revokeObjectURL(s.href),document.body.removeChild(s)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})}).finally(function(){e.loadingBtn=!1})},checkGroupIds:function(e){this.pageParams.storeGroup=e,this.reFetch()},changeRoute:function(e){this.$router.push(e)},reFetch:Object(d.a)(function(e,t){this.pageParams.pageNum=1,this.getTableList()},500),changeDate:function(e){e?this.$store.dispatch("changeSales",e):(this.pageParams.date=[],this.$store.dispatch("changeSales",[])),this.pageParams.pageNum=1,this.getTableList()},handleSizeChange:function(e){this.pageParams.pageNum=1,this.pageParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.pageParams.pageNum=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=o()({},t.pageParams,{enterpriseId:sessionStorage.getItem("userInfoBrandId"),qywxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,taskType:2});if(t.pageParams.storeGroup){var s=[];t.pageParams.storeGroup.forEach(function(e){s.push(e.storeGroupId)}),delete a.storeGroup,a.storeGroupIds=s.join(",")||""}a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),t.$route.query.ecmPlanId&&(a.ecmPlanId=t.$route.query.ecmPlanId),Object(i.a)("/haoban-task-manage-web/market/clue/web/store-list",a).then(function(e){t.loading=!1;var a=e.data;1==a.errorCode?(t.tableData=a.result.list||[],t.total=a.result.pageInfo?a.result.pageInfo.total:0):c.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},showDetail:function(e){this.$route.query.ecmPlanId?this.$router.push("grStoreDetail/"+e.storeId+"?tab=2&ecmPlanId="+this.$route.query.ecmPlanId+"&ecmPlanName="+this.$route.query.ecmPlanName):this.$router.push("grStoreDetail/"+e.storeId)}},watch:{brandId:function(e){this.getTableList()},$route:function(e,t){this.$route.query.ecmPlanId||this.getTableList()}},mounted:function(){this.getTableList(),this.$route.query.ecmPlanId?this.$emit("showTab","212","2121"):this.$emit("showTab","211"),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:l.a,gicSelectGroup:r.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[e._v("仅展示近一年数据,数据截取时间:"+e._s(e._f("timeStampToYmd2")(e.dateStart))+" 至 "+e._s(e._f("timeStampToYmd2")(e.dateEnd)))])])]),e._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[e._v("只统计通过GIC创建的群发,不包含在企业微信创建的群发及门店创建的群发")]),e._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[e._v("查看指标说明")])])])],1),e._v(" "),a("div",{staticClass:"table-condition-search flex flex-space-between m-t-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入门店名称","prefix-icon":"el-icon-search",clearable:""},on:{change:e.reFetch},model:{value:e.pageParams.storeName,callback:function(t){e.$set(e.pageParams,"storeName",t)},expression:"pageParams.storeName"}}),e._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.pageParams.storeGroup},on:{checkGroupIds:e.checkGroupIds}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.pageParams.date,callback:function(t){e.$set(e.pageParams,"date",t)},expression:"pageParams.date"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{loading:e.loadingBtn,type:"primary"},on:{click:e.exportExcel}},[e._v("导出")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(t){return[e._v(e._s(" "))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName||"--")+"\n "),a("p",{staticStyle:{color:"#909399"}},[e._v(e._s(t.row.storeCode))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店分组"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeGroupName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.cplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s((100*t.row.completionRate).toFixed(2)+"%"||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.waitFinishCount||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ovincplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期失效","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.invalidCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.showDetail(t.row)}}},[e._v("查看详情")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,"current-page":e.pageParams.pageNum,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e()],1)])])])])])])},staticRenderFns:[]};var m=a("VU/8")(p,u,!1,function(e){a("TvgO")},"data-v-292394a1",null);t.default=m.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([86],{TLVp:function(t,e){},m9dW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("NKg7"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"企业信息",icon:"iconqiyexinxi"},{tabId:"2",tabName:"管理员列表",icon:"iconguanliyuanliebiao"},{tabId:"3",tabName:"素材库",icon:"iconsucaiku"},{tabId:"4",tabName:"欢迎语",icon:"iconhuanyingci"},{tabId:"5",tabName:"审核中心",icon:"iconshenhezhongxin"},{tabId:"6",tabName:"操作设置",icon:"iconshezhi"}],activeBrand:"",activeGroup:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){switch(this.activeTab=t.tabId,console.log(this.activeTab),t.tabId){case"1":this.changeRoute("enterpriseSet");break;case"2":this.changeRoute("adminList");break;case"3":this.changeRoute("material");break;case"4":this.changeRoute("salutatory");break;case"5":this.changeRoute("reviewCenter");break;case"6":this.changeRoute("setting")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,console.log(this.activeTab),console.log(this.activeSelTab),this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,vueOfficeHeader:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"enterprise-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])])])],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("TLVp")},"data-v-260d1026",null);e.default=r.exports}}); webpackJsonp([87],{TLVp:function(t,e){},m9dW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("NKg7"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"企业信息",icon:"iconqiyexinxi"},{tabId:"2",tabName:"管理员列表",icon:"iconguanliyuanliebiao"},{tabId:"3",tabName:"素材库",icon:"iconsucaiku"},{tabId:"4",tabName:"欢迎语",icon:"iconhuanyingci"},{tabId:"5",tabName:"审核中心",icon:"iconshenhezhongxin"},{tabId:"6",tabName:"操作设置",icon:"iconshezhi"}],activeBrand:"",activeGroup:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){switch(this.activeTab=t.tabId,console.log(this.activeTab),t.tabId){case"1":this.changeRoute("enterpriseSet");break;case"2":this.changeRoute("adminList");break;case"3":this.changeRoute("material");break;case"4":this.changeRoute("salutatory");break;case"5":this.changeRoute("reviewCenter");break;case"6":this.changeRoute("setting")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,console.log(this.activeTab),console.log(this.activeSelTab),this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,vueOfficeHeader:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"enterprise-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])])])],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("TLVp")},"data-v-260d1026",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([87],{"4N1S":function(t,e){},FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("Z8ln"),s=a("Ch4/"),o=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:"/goodsShowSet"},{name:"商品展示设置",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(o.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.activeBrand?a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("4N1S")},"data-v-21978d24",null);e.default=h.exports}}); webpackJsonp([88],{"4N1S":function(t,e){},FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("Z8ln"),s=a("Ch4/"),o=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:"/goodsShowSet"},{name:"商品展示设置",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(o.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.activeBrand?a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("4N1S")},"data-v-21978d24",null);e.default=h.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([88],{"+lem":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{activeTab:"1",tabListData:[{tabId:"1",tabName:"待审核",icon:"icondaishenhe_orange"},{tabId:"2",tabName:"已审核",icon:"iconrenwu1"},{tabId:"3",tabName:"审核设置",icon:"iconshenhe"}]}},computed:{},methods:{handleClick:function(e,t){switch(e.name){case"1":this.$router.push("unreview");break;case"2":this.$router.push("reviewed");break;case"3":this.$router.push("reviewSet")}console.log(e,t)}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",5),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},o={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("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.tabListData,function(e){return a("el-tab-pane",{key:e.tabId,attrs:{label:e.tabName,name:e.tabId}},[a("div",{staticClass:"border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])}),1)],1)])},staticRenderFns:[]};var i=a("VU/8")(n,o,!1,function(e){a("ztov")},"data-v-21288b0d",null);t.default=i.exports},ztov:function(e,t){}}); webpackJsonp([89],{"+lem":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{activeTab:"1",tabListData:[{tabId:"1",tabName:"待审核",icon:"icondaishenhe_orange"},{tabId:"2",tabName:"已审核",icon:"iconrenwu1"},{tabId:"3",tabName:"审核设置",icon:"iconshenhe"}]}},computed:{},methods:{handleClick:function(e,t){switch(e.name){case"1":this.$router.push("unreview");break;case"2":this.$router.push("reviewed");break;case"3":this.$router.push("reviewSet")}console.log(e,t)}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",5),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},o={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("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.tabListData,function(e){return a("el-tab-pane",{key:e.tabId,attrs:{label:e.tabName,name:e.tabId}},[a("div",{staticClass:"border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])}),1)],1)])},staticRenderFns:[]};var i=a("VU/8")(n,o,!1,function(e){a("ztov")},"data-v-21288b0d",null);t.default=i.exports},ztov:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([89],{"9B3n":function(t,e){},mjMK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),r=a("P9l9"),s=a("Ch4/"),i={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],loading:!0,currentPage:1,pageSize:20,total:0,tableData:[],addShow:!1,activeBrand:""}},computed:{},filters:{wxEnterpriseTypeFilter:function(t){return 0==t?"总部":1==t?"代理":""}},methods:{AddAuthMerchant:function(t){t.enterpriseId?this.changeRoute("authMerchantForm?enterprise="+t.enterpriseId):this.changeRoute("authMerchantForm")},refreshData:function(t){if(this.addShow=!1,"close"==t)return!1;this.getTableList()},changeRoute:function(t){this.$router.push(t)},toStoreList:function(t){this.changeRoute("merchantStoreList?enterprise="+t.enterpriseId)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this;e.loading=!0;Object(r.a)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.tableData=a.result||[],!1;s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},refreshStoreBind:function(t){var e=this;e.$confirm("确认要刷新吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.loading=!0;var a={enterpriseId:t.enterpriseId};Object(r.a)("/haoban-manage3-web/flush-bind-store-list",a).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.$message.success({duration:1e3,message:"刷新成功"}),!1;s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})},clerkEditFlagChange:function(t,e){var a=this,n=this;n.$confirm("是否确认修改导购编辑权限?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.loading=!0;var i={wxEnterprieseRelatedId:t.wxEnterpriseRelatedId,clerkEditFlag:n.tableData[e].clerkEditFlag?1:0};Object(r.a)("/haoban-manage3-web/set-clerk-edit",i).then(function(t){n.loading=!1;var e=t.data;if(1==e.errorCode)return n.$message.success({duration:1e3,message:"修改成功"}),a.getTableList(),!1;a.getTableList(),s.a.errorMsg(e)}).catch(function(t){n.loading=!1,n.$message.error({duration:1e3,message:t.message}),this.getTableList()})}).catch(function(){n.tableData[e].clerkEditFlag=n.tableData[e].clerkEditFlag?0:1})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"flex flex-space-between flex-align-center"},[t._m(0),t._v(" "),a("div",[a("span",{staticClass:"color-909399 font-13 m-r-19"},[t._v("最多授权 10 个商户")]),t._v(" "),t.tableData.length<10?a("el-button",{attrs:{type:"primary"},on:{click:t.AddAuthMerchant}},[t._v("新建授权")]):t._e()],1)]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"商户列表","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"ul-li-cell flex"},[a("div",{staticClass:"cell-img"},[a("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}})]),t._v(" "),a("div",{staticClass:"cell-info"},[a("div",{staticClass:"cell-info-name flex font-14 color-303133"},[a("span",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.enterpriseName||"--"))]),a("span",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.version||"3.0"))])]),t._v(" "),a("div",{staticClass:"cell-info-name flex font-14 color-606266"},[a("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(t._f("wxEnterpriseTypeFilter")(e.row.wxEnterpriseType)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"开平类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.memberOpenCardFlag?"不同开平":"同一开平"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购编辑","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,disabled:1===e.row.wxEnterpriseType},on:{change:function(a){return t.clerkEditFlagChange(e.row,e.$index)}},model:{value:e.row.clerkEditFlag,callback:function(a){t.$set(e.row,"clerkEditFlag",a)},expression:"scope.row.clerkEditFlag"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.staffName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.AddAuthMerchant(e.row)}}},[t._v("编辑授权设置")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toStoreList(e.row)}}},[t._v("绑定门店列表")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(a){return t.refreshStoreBind(e.row)}},slot:"reference"},[t._v("刷新门店 ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:8},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-center",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-warning font-13 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("绑定门店:绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等。")]),this._v(" "),e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("刷新门店:编辑或修改绑定门店范围,手动刷新获取最近门店列表。")])])])])}]};var l=a("VU/8")(i,o,!1,function(t){a("9B3n")},"data-v-1b46d11a",null);e.default=l.exports}}); webpackJsonp([90],{"9B3n":function(t,e){},mjMK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),r=a("P9l9"),s=a("Ch4/"),i={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],loading:!0,currentPage:1,pageSize:20,total:0,tableData:[],addShow:!1,activeBrand:""}},computed:{},filters:{wxEnterpriseTypeFilter:function(t){return 0==t?"总部":1==t?"代理":""}},methods:{AddAuthMerchant:function(t){t.enterpriseId?this.changeRoute("authMerchantForm?enterprise="+t.enterpriseId):this.changeRoute("authMerchantForm")},refreshData:function(t){if(this.addShow=!1,"close"==t)return!1;this.getTableList()},changeRoute:function(t){this.$router.push(t)},toStoreList:function(t){this.changeRoute("merchantStoreList?enterprise="+t.enterpriseId)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this;e.loading=!0;Object(r.a)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.tableData=a.result||[],!1;s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},refreshStoreBind:function(t){var e=this;e.$confirm("确认要刷新吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.loading=!0;var a={enterpriseId:t.enterpriseId};Object(r.a)("/haoban-manage3-web/flush-bind-store-list",a).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.$message.success({duration:1e3,message:"刷新成功"}),!1;s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})},clerkEditFlagChange:function(t,e){var a=this,n=this;n.$confirm("是否确认修改导购编辑权限?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.loading=!0;var i={wxEnterprieseRelatedId:t.wxEnterpriseRelatedId,clerkEditFlag:n.tableData[e].clerkEditFlag?1:0};Object(r.a)("/haoban-manage3-web/set-clerk-edit",i).then(function(t){n.loading=!1;var e=t.data;if(1==e.errorCode)return n.$message.success({duration:1e3,message:"修改成功"}),a.getTableList(),!1;a.getTableList(),s.a.errorMsg(e)}).catch(function(t){n.loading=!1,n.$message.error({duration:1e3,message:t.message}),this.getTableList()})}).catch(function(){n.tableData[e].clerkEditFlag=n.tableData[e].clerkEditFlag?0:1})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"flex flex-space-between flex-align-center"},[t._m(0),t._v(" "),a("div",[a("span",{staticClass:"color-909399 font-13 m-r-19"},[t._v("最多授权 10 个商户")]),t._v(" "),t.tableData.length<10?a("el-button",{attrs:{type:"primary"},on:{click:t.AddAuthMerchant}},[t._v("新建授权")]):t._e()],1)]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"商户列表","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"ul-li-cell flex"},[a("div",{staticClass:"cell-img"},[a("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}})]),t._v(" "),a("div",{staticClass:"cell-info"},[a("div",{staticClass:"cell-info-name flex font-14 color-303133"},[a("span",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.enterpriseName||"--"))]),a("span",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.version||"3.0"))])]),t._v(" "),a("div",{staticClass:"cell-info-name flex font-14 color-606266"},[a("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(t._f("wxEnterpriseTypeFilter")(e.row.wxEnterpriseType)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"开平类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.memberOpenCardFlag?"不同开平":"同一开平"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购编辑","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,disabled:1===e.row.wxEnterpriseType},on:{change:function(a){return t.clerkEditFlagChange(e.row,e.$index)}},model:{value:e.row.clerkEditFlag,callback:function(a){t.$set(e.row,"clerkEditFlag",a)},expression:"scope.row.clerkEditFlag"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.staffName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.AddAuthMerchant(e.row)}}},[t._v("编辑授权设置")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toStoreList(e.row)}}},[t._v("绑定门店列表")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(a){return t.refreshStoreBind(e.row)}},slot:"reference"},[t._v("刷新门店 ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:8},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-center",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-warning font-13 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("绑定门店:绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等。")]),this._v(" "),e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("刷新门店:编辑或修改绑定门店范围,手动刷新获取最近门店列表。")])])])])}]};var l=a("VU/8")(i,o,!1,function(t){a("9B3n")},"data-v-1b46d11a",null);e.default=l.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([90],{"3Qek":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),i=s.n(a),l=s("PI0u"),o=s("Ch4/"),n=s("3E4D"),r=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态。费用结算及通话记录存储于GIC计费中心;","2.如果这个配置打开了,则商户好办端所有的话务任务都可以用企业电话,前提是企业电话对应账户不欠费;"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],setObj:{taskCallTypes:[],taskType:1,overDayJudge:"",distributeTypeJudge:"",posDistributeJudge:"",giveUpJudge:"",relaxTaskJudge:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(l.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskCallTypes:t.setObj.taskCallTypes.join(","),enterpriseId:t.activeBrand,taskType:1,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,posDistributeJudge:t.setObj.posDistributeJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(r.e)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?o.a.errorMsg(s):n.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:1};Object(r.e)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)o.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=i()({},s.result,{taskCallTypes:a})}}).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","11"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},d={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 flex"},[t._m(0),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{staticClass:"tooltips"},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item font-0"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务下发:")]),t._v(" "),s("div",{staticClass:"inline-block vertical-top"},[s("table",{staticClass:"font-14"},[s("tbody",[s("tr",{staticClass:"el-table__row"},[t._m(1),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给专属导购")])],1)])]),t._v(" "),s("tr",{staticClass:"el-table__row"},[t._m(2),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给专属导购")])],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("话务任务下发后 ")]),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",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"set-line-item_title text-right"},[e("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px"}},[this._v("话务任务拨打")]),this._v(":")])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("微信会员")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("POS会员")])])}]};var u=s("VU/8")(c,d,!1,function(t){s("bed/")},"data-v-18c83053",null);e.default=u.exports},"bed/":function(t,e){}});
\ No newline at end of file
webpackJsonp([99],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"0xDb":function(e,t,a){"use strict";t.a=function(){var e=new Date((new Date).getTime()-864e5),t=e.getTime()-7776e6,a=e.getFullYear(),n=e.getMonth()+1,r=e.getDate()<10?"0"+e.getDate():e.getDate(),o=n<10?"0"+n:n,p=new Date(t),s=p.getFullYear(),i=p.getMonth()+1,c=p.getDate()<10?"0"+p.getDate():p.getDate();return[s+"-"+(i<10?"0"+i:i)+"-"+c,a+"-"+o+"-"+r]};var n=a("woOf"),r=(a.n(n),a("fZjL")),o=(a.n(r),a("pFYg"));a.n(o),new Date},"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"),r=a.n(n),o=(a("j1ja"),a("hKoQ")),p=a.n(o),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("a75N")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),h=a.n(l);u.a.use(d.a);var v=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 g,f=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:h()("login","index")},{path:"/loginMore",name:"登录",component:h()("login","login-more")},{path:"/index",name:"index",component:h()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:h()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:h()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:h()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:h()("business","authMerchant")},{path:"/authMerchantForm",name:"新建授权商户",component:h()("business","authMerchant-form")},{path:"/merchantStoreList",name:"绑定门店列表",component:h()("business","storeList")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:h()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:h()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:h()("enterprise","adminList")},{path:"/material",name:"素材库",component:h()("enterprise","material")},{path:"/salutatory",name:"欢迎语",component:h()("enterprise","salutatory")},{path:"/salutatorySet",name:"欢迎语",component:h()("enterprise","salutatorySet")},{path:"/setting",name:"操作设置",component:h()("setting","index")},{path:"/reviewCenter",name:"审核中心",redirect:"/unreview",component:h()("reviewCenter","index"),children:[{path:"/unreview",name:"未审核",component:h()("reviewCenter","unreview")},{path:"/reviewed",name:"已审核",component:h()("reviewCenter","reviewed")},{path:"/reviewSet",name:"审核设置",component:h()("reviewCenter","reviewSet")}]}]},{path:"/salesleads",name:"销售线索",redirect:"trafficTaskSet",component:h()("salesleads","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:h()("salesleads/trafficTask","taskRecord"),meta:{keepAlive:!0}},{path:"/taskView",name:"话务任务记录",component:h()("salesleads/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:h()("salesleads/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:h()("salesleads/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:h()("salesleads/trafficTask","trafficTaskSet")},{path:"/grStoreList",name:"门店视图",component:h()("salesleads/groupSend","grStoreList")},{path:"/grStoreDetail/:id",name:"门店视图",component:h()("salesleads/groupSend","grStoreDetail")},{path:"/grTaskList",name:"计划视图",component:h()("salesleads/groupSend","grTaskList")}]},{path:"/enterpriseData",name:"企业数据",redirect:"enterpriseUseData",component:h()("enterpriseData","index"),children:[{path:"/enterpriseUseData",name:"好办使用详情",component:h()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:h()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:h()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:h()("enterpriseData","areaLoginDetail")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:h()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:h()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:h()("apps","index"),children:[{path:"/mycustomer",name:"我的客户的",redirect:"/memberShowSet",component:h()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"客户展示设置",component:h()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"客户分组设置",component:h()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"客户搜索设置",component:h()("apps/customerApp","memberSearchSet")},{path:"/memberDetailSet",name:"客户详情设置",component:h()("apps/customerApp","memberDetailSet")},{path:"/memberTagSet",name:"客户标签设置",component:h()("apps/customerApp","memberTagSet")},{path:"/syncHistory",name:"同步历史",component:h()("apps/customerApp","syncHistory")},{path:"/myCustomerList",name:"我的客户列表",component:h()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:h()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:h()("apps/customerApp","storeRangeSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:h()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:h()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:h()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:h()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:h()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:h()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:h()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:h()("apps/cloudDaily","customReportSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:h()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:h()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:h()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:h()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:h()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:h()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:h()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:h()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:h()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:h()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:h()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:h()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:h()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:h()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:h()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:h()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:h()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:h()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:h()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:h()("apps/protectCard","cardGetRecord")}]},{path:"/shoppingCenter",name:"商品中心",redirect:"/goodsShowSet",component:h()("apps/shoppingCenter","index"),children:[{path:"/goodsShowSet",name:"商品展示设置",component:h()("apps/shoppingCenter","goodsShowSet")}]},{path:"/order-evaluate",name:"订单评价设置",redirect:"/evaluate-set",component:h()("apps/order-evaluate","index"),children:[{path:"/evaluate-set",name:"订单评价",component:h()("apps/order-evaluate","evaluate-set")},{path:"/bad-evaluate",name:"不良评价回访设置",component:h()("apps/order-evaluate","bad-evaluate-set")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:h()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],D=new d.a({routes:f,scrollBehavior:function(){return{y:0}}}),S=a("Rf8U"),w=a.n(S),y=a("OMN4"),x=a.n(y),C=a("bOdI"),T=a.n(C),b=a("SJI6"),k=a.n(b),M=a("0xDb");u.a.use(k.a);var A=new k.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[],wxEnterpriseType:0,salesDate:Object(M.a)()},mutations:(g={},T()(g,"login",function(e,t){sessionStorage.token=t,e.token=t}),T()(g,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),T()(g,"title",function(e,t){e.title=t}),T()(g,"show",function(e,t){e.show=t}),T()(g,"saveAdd",function(e,t){e.addDepartment.push(t)}),T()(g,"saveEdit",function(e,t){e.editDepartment.push(t)}),T()(g,"saveDel",function(e,t){e.delDepartment.push(t)}),T()(g,"clearAdd",function(e){e.addDepartment=[]}),T()(g,"clearEdit",function(e){e.editDepartment=[]}),T()(g,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),T()(g,"changeWxEntertype",function(e,t){e.wxEnterpriseType=t}),T()(g,"changeSalesDate",function(e,t){e.salesDate=t}),g),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")},changeWxEntertypeData:function(e,t){e.commit("changeWxEntertype",t)},changeSales:function(e,t){e.commit("changeSalesDate",t)}}}),L=(a("4qCZ"),a("Xcu2"),a("xtVA"),a("Q0Ca")),R={props:{size:{type:[Number,String],default:20},iconname:{type:String,default:""}},computed:{ClassStyle:function(){return"width:"+parseInt(this.size)+";height:"+parseInt(this.size)+";"},IconName:function(){return"#"+this.iconname}}},E={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon svg-icon svg-iconfont-hb3",style:this.ClassStyle,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.IconName}})])},staticRenderFns:[]};var V=a("VU/8")(R,E,!1,function(e){a("mF/g")},"data-v-aa28dd00",null).exports,P=a("TUaa"),q=a.n(P),I=a("tyqE"),F=a.n(I),H=a("pRVe"),N=a.n(H),j=a("XsK6"),Y=a.n(j),G=a("QRL9"),O=a.n(G),U=a("eMjc"),W=a.n(U),X=a("l9mu"),z=a.n(X),J={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;W()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,r=a/592.28*841.89,o=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new z.a("","pt","a4");if(o<r)c.addImage(i,"JPEG",0,0,595.28,s);else for(;o>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(o-=r)>0&&c.addPage();c.save(e+".pdf")})}}},Q=a("/IwO"),Z=a.n(Q);p.a.polyfill(),Vue.component("svg-icon",V),Vue.use(Z.a),Z.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(J),Vue.use(Y.a),Vue.use(O.a),Vue.use(N.a),Vue.use(F.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(w.a,x.a),Vue.axios.defaults.withCredentials=!0,r()(L.a).forEach(function(e){Vue.filter(e,L.a[e])}),D.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:D,store:A,components:{App:i},template:"<App/>"})},OMN4:function(e,t){e.exports=axios},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,97],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,68],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,67],"./apps/badEvaluate/index.vue":["AG22",0,28],"./apps/card/cardList.vue":["X5LE",0,58],"./apps/card/cardRecord.vue":["xDJN",0,23],"./apps/card/index.vue":["nV1L",0,55],"./apps/card/newCard.vue":["7/Zw",0,16],"./apps/cloudDaily/customReport.vue":["ak3k",0,46],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,5],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,21],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,36],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,61],"./apps/cloudDaily/index.vue":["4QyY",0,70],"./apps/cloudDaily/systemReport.vue":["J/6z",0,7],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,57],"./apps/cloudDaily/template/block.vue":["O3gZ",66],"./apps/cloudDaily/template/date-range.vue":["2WGr",64],"./apps/cloudDaily/template/image.vue":["8dpP",44],"./apps/cloudDaily/template/input.vue":["zHtI",77],"./apps/cloudDaily/template/select.vue":["rYZf",65],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,27],"./apps/customerApp/index.vue":["QHTa",0,49],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,54],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,69],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,82],"./apps/customerApp/memberShowSet.vue":["odfG",0,42],"./apps/customerApp/memberTagSet.vue":["HmLC",0,40],"./apps/customerApp/myCustomerList.vue":["9CCr",0,8],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,17],"./apps/customerApp/syncHistory.vue":["T435",0,41],"./apps/index.vue":["K1Vb",0,59],"./apps/order-evaluate/bad-evaluate-set.vue":["z2RJ",0,62],"./apps/order-evaluate/evaluate-set.vue":["RvMj",0,50],"./apps/order-evaluate/index.vue":["NUSj",0,48],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,96],"./apps/protectCard/cardPut.vue":["cD4x",0,84],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,73],"./apps/protectCard/cardStrategy.vue":["rUvh",0,39],"./apps/protectCard/cardTemplate.vue":["c7iB",0,56],"./apps/protectCard/index.vue":["aWmL",0,92],"./apps/protectCard/newCardPut.vue":["9db3",0,11],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,12],"./apps/protectCard/newCardTemp.vue":["tF0P",0,75],"./apps/quota/companyDaySet.vue":["NiGE",0,83],"./apps/quota/index.vue":["qSX4",0,76],"./apps/quota/monthList.vue":["fAFA",0,63],"./apps/quota/monthTask.vue":["NpHY",0,78],"./apps/quota/monthTaskDetail.vue":["YKf6",0,80],"./apps/quota/salerMonthDetail.vue":["+qr5",0,74],"./apps/quota/storeMonthTask.vue":["qWC+",0,43],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,51],"./apps/shoppingCenter/index.vue":["FIFf",0,87],"./business/authMerchant-dailog.vue":["/cEq",0,30],"./business/authMerchant-form.vue":["2xxS",0,10],"./business/authMerchant.vue":["mjMK",0,89],"./business/contacts.vue":["/W60",0,4],"./business/index.vue":["jPcV",0,81],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,60],"./business/storeList.vue":["QZxC",0,93],"./business/syncLog.vue":["20P3",0,34],"./enterprise/adminList.vue":["zYBJ",0,53],"./enterprise/enterpriseSet.vue":["x5Fx",0,14],"./enterprise/index.vue":["m9dW",0,86],"./enterprise/material.vue":["q+Sm",0,2],"./enterprise/salutatory.vue":["xWf4",0,72],"./enterprise/salutatorySet.vue":["vqCN",0,19],"./enterpriseData/activeDetail.vue":["h9Ca",0,20],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,24],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,6],"./enterpriseData/index.vue":["CTf4",0,71],"./enterpriseData/loginDetail.vue":["kX6v",0,9],"./errorPage/403.vue":["6XGN",33],"./errorPage/404.vue":["AejC",31],"./errorPage/500.vue":["FskK",26],"./errorPage/gic-error.vue":["Q3j/",25],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,35],"./login/index.vue":["T+/8",0,29],"./login/login-more.vue":["AVFt",0,38],"./overstore/index.vue":["Y55K",0,91],"./overstore/overStoreList.vue":["vuAV",0,45],"./reviewCenter/index.vue":["+lem",88],"./reviewCenter/reviewSet.vue":["6j9f",0,94],"./reviewCenter/reviewed.vue":["CLYF",0,22],"./reviewCenter/unreview.vue":["xCEU",0,15],"./salesleads/groupSend/grStoreDetail.vue":["XF7X",0,13],"./salesleads/groupSend/grStoreList.vue":["w4UW",0,85],"./salesleads/groupSend/grTaskList.vue":["Uvr8",0,52],"./salesleads/index.vue":["owWS",0,32],"./salesleads/trafficTask/taskDetail.vue":["wRTX",0,18],"./salesleads/trafficTask/taskRecord.vue":["Wj0m",0,47],"./salesleads/trafficTask/taskView.vue":["TsS9",0,37],"./salesleads/trafficTask/taskViewDetail.vue":["f1qT",0,79],"./salesleads/trafficTask/trafficTaskSet.vue":["3Qek",0,90],"./setting/index.vue":["VlR1",0,95]};function r(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+"'."))}r.keys=function(){return Object.keys(n)},r.id="Opzk",e.exports=r},Q0Ca:function(e,t,a){"use strict";t.a={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 r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).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(),r=a<10?"0"+a:a,o=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()+"-"+r+"-"+n+" "+o+":"+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(),r=a<10?"0"+a:a;return t.getFullYear()+"-"+r+"-"+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(),r=a<10?"0"+a:a,o=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()+"."+r+"."+n+" "+o+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},timeStampToYmd2:function(e){if(e){var t=new Date(e-864e5),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),r=a<10?"0"+a:a;return t.getFullYear()+"-"+r+"-"+n}},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(a<0)return"";var n=a%864e5,r=n%36e5;return Math.floor(a/864e5)+"天"+Math.floor(n/36e5)+"小时"+Math.floor(r/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)},formatInvalidStatus:function(e){var t="--";return 1==e?t="未失效":2==e&&(t="已失效"),t}}},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},a75N:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},"mF/g":function(e,t){},pRNm:function(e,t){e.exports=VueRouter},xtVA:function(e,t){}},[0]); webpackJsonp([99],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"0xDb":function(e,t,a){"use strict";t.a=function(){var e=new Date((new Date).getTime()-864e5),t=e.getTime()-7776e6,a=e.getFullYear(),n=e.getMonth()+1,r=e.getDate()<10?"0"+e.getDate():e.getDate(),o=n<10?"0"+n:n,p=new Date(t),s=p.getFullYear(),i=p.getMonth()+1,c=p.getDate()<10?"0"+p.getDate():p.getDate();return[s+"-"+(i<10?"0"+i:i)+"-"+c,a+"-"+o+"-"+r]};var n=a("woOf"),r=(a.n(n),a("fZjL")),o=(a.n(r),a("pFYg"));a.n(o),new Date},"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"),r=a.n(n),o=(a("j1ja"),a("hKoQ")),p=a.n(o),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("a75N")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),h=a.n(l);u.a.use(d.a);var v=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 g,f=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:h()("login","index")},{path:"/loginMore",name:"登录",component:h()("login","login-more")},{path:"/index",name:"index",component:h()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:h()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:h()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:h()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:h()("business","authMerchant")},{path:"/authMerchantForm",name:"新建授权商户",component:h()("business","authMerchant-form")},{path:"/merchantStoreList",name:"绑定门店列表",component:h()("business","storeList")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:h()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:h()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:h()("enterprise","adminList")},{path:"/material",name:"素材库",component:h()("enterprise","material")},{path:"/salutatory",name:"欢迎语",component:h()("enterprise","salutatory")},{path:"/salutatorySet",name:"欢迎语",component:h()("enterprise","salutatorySet")},{path:"/setting",name:"操作设置",component:h()("setting","index")},{path:"/reviewCenter",name:"审核中心",redirect:"/unreview",component:h()("reviewCenter","index"),children:[{path:"/unreview",name:"未审核",component:h()("reviewCenter","unreview")},{path:"/reviewed",name:"已审核",component:h()("reviewCenter","reviewed")},{path:"/reviewSet",name:"审核设置",component:h()("reviewCenter","reviewSet")}]}]},{path:"/salesleads",name:"销售线索",redirect:"trafficTaskSet",component:h()("salesleads","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:h()("salesleads/trafficTask","taskRecord"),meta:{keepAlive:!0}},{path:"/taskView",name:"话务任务记录",component:h()("salesleads/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:h()("salesleads/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:h()("salesleads/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:h()("salesleads/trafficTask","trafficTaskSet")},{path:"/grStoreList",name:"门店视图",component:h()("salesleads/groupSend","grStoreList")},{path:"/grStoreDetail/:id",name:"门店视图",component:h()("salesleads/groupSend","grStoreDetail")},{path:"/grTaskList",name:"计划视图",component:h()("salesleads/groupSend","grTaskList")}]},{path:"/enterpriseData",name:"企业数据",redirect:"enterpriseUseData",component:h()("enterpriseData","index"),children:[{path:"/enterpriseUseData",name:"好办使用详情",component:h()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:h()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:h()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:h()("enterpriseData","areaLoginDetail")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:h()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:h()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:h()("apps","index"),children:[{path:"/mycustomer",name:"我的客户的",redirect:"/memberShowSet",component:h()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"客户展示设置",component:h()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"客户分组设置",component:h()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"客户搜索设置",component:h()("apps/customerApp","memberSearchSet")},{path:"/memberDetailSet",name:"客户详情设置",component:h()("apps/customerApp","memberDetailSet")},{path:"/memberTagSet",name:"客户标签设置",component:h()("apps/customerApp","memberTagSet")},{path:"/syncHistory",name:"同步历史",component:h()("apps/customerApp","syncHistory")},{path:"/myCustomerList",name:"我的客户列表",component:h()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:h()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:h()("apps/customerApp","storeRangeSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:h()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:h()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:h()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:h()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:h()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:h()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:h()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:h()("apps/cloudDaily","customReportSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:h()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:h()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:h()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:h()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:h()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:h()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:h()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:h()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:h()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:h()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:h()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:h()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:h()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:h()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:h()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:h()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:h()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:h()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:h()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:h()("apps/protectCard","cardGetRecord")}]},{path:"/shoppingCenter",name:"商品中心",redirect:"/goodsShowSet",component:h()("apps/shoppingCenter","index"),children:[{path:"/goodsShowSet",name:"商品展示设置",component:h()("apps/shoppingCenter","goodsShowSet")}]},{path:"/order-evaluate",name:"订单评价设置",redirect:"/evaluate-set",component:h()("apps/order-evaluate","index"),children:[{path:"/evaluate-set",name:"订单评价",component:h()("apps/order-evaluate","evaluate-set")},{path:"/bad-evaluate",name:"不良评价回访设置",component:h()("apps/order-evaluate","bad-evaluate-set")}]}]},{path:"/gic-error",name:"gic跳转失败页",component:h()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],D=new d.a({routes:f,scrollBehavior:function(){return{y:0}}}),S=a("Rf8U"),w=a.n(S),y=a("OMN4"),x=a.n(y),C=a("bOdI"),T=a.n(C),b=a("SJI6"),k=a.n(b),M=a("0xDb");u.a.use(k.a);var A=new k.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[],wxEnterpriseType:0,salesDate:Object(M.a)()},mutations:(g={},T()(g,"login",function(e,t){sessionStorage.token=t,e.token=t}),T()(g,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),T()(g,"title",function(e,t){e.title=t}),T()(g,"show",function(e,t){e.show=t}),T()(g,"saveAdd",function(e,t){e.addDepartment.push(t)}),T()(g,"saveEdit",function(e,t){e.editDepartment.push(t)}),T()(g,"saveDel",function(e,t){e.delDepartment.push(t)}),T()(g,"clearAdd",function(e){e.addDepartment=[]}),T()(g,"clearEdit",function(e){e.editDepartment=[]}),T()(g,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),T()(g,"changeWxEntertype",function(e,t){e.wxEnterpriseType=t}),T()(g,"changeSalesDate",function(e,t){e.salesDate=t}),g),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")},changeWxEntertypeData:function(e,t){e.commit("changeWxEntertype",t)},changeSales:function(e,t){e.commit("changeSalesDate",t)}}}),L=(a("4qCZ"),a("Xcu2"),a("xtVA"),a("Q0Ca")),R={props:{size:{type:[Number,String],default:20},iconname:{type:String,default:""}},computed:{ClassStyle:function(){return"width:"+parseInt(this.size)+";height:"+parseInt(this.size)+";"},IconName:function(){return"#"+this.iconname}}},E={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon svg-icon svg-iconfont-hb3",style:this.ClassStyle,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.IconName}})])},staticRenderFns:[]};var V=a("VU/8")(R,E,!1,function(e){a("mF/g")},"data-v-aa28dd00",null).exports,P=a("TUaa"),q=a.n(P),I=a("tyqE"),F=a.n(I),H=a("pRVe"),N=a.n(H),j=a("XsK6"),Y=a.n(j),G=a("QRL9"),O=a.n(G),U=a("eMjc"),W=a.n(U),X=a("l9mu"),z=a.n(X),J={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;W()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,r=a/592.28*841.89,o=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new z.a("","pt","a4");if(o<r)c.addImage(i,"JPEG",0,0,595.28,s);else for(;o>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(o-=r)>0&&c.addPage();c.save(e+".pdf")})}}},Q=a("/IwO"),Z=a.n(Q);p.a.polyfill(),Vue.component("svg-icon",V),Vue.use(Z.a),Z.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(J),Vue.use(Y.a),Vue.use(O.a),Vue.use(N.a),Vue.use(F.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(w.a,x.a),Vue.axios.defaults.withCredentials=!0,r()(L.a).forEach(function(e){Vue.filter(e,L.a[e])}),D.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:D,store:A,components:{App:i},template:"<App/>"})},OMN4:function(e,t){e.exports=axios},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,97],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,69],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,68],"./apps/badEvaluate/index.vue":["AG22",0,28],"./apps/card/cardList.vue":["X5LE",0,58],"./apps/card/cardRecord.vue":["xDJN",0,23],"./apps/card/index.vue":["nV1L",0,55],"./apps/card/newCard.vue":["7/Zw",0,16],"./apps/cloudDaily/customReport.vue":["ak3k",0,46],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,5],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,21],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,36],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,62],"./apps/cloudDaily/index.vue":["4QyY",0,71],"./apps/cloudDaily/systemReport.vue":["J/6z",0,7],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,57],"./apps/cloudDaily/template/block.vue":["O3gZ",67],"./apps/cloudDaily/template/date-range.vue":["2WGr",65],"./apps/cloudDaily/template/image.vue":["8dpP",44],"./apps/cloudDaily/template/input.vue":["zHtI",78],"./apps/cloudDaily/template/select.vue":["rYZf",66],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,27],"./apps/customerApp/index.vue":["QHTa",0,49],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,54],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,70],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,83],"./apps/customerApp/memberShowSet.vue":["odfG",0,42],"./apps/customerApp/memberTagSet.vue":["HmLC",0,40],"./apps/customerApp/myCustomerList.vue":["9CCr",0,8],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,17],"./apps/customerApp/syncHistory.vue":["T435",0,41],"./apps/index.vue":["K1Vb",0,59],"./apps/order-evaluate/bad-evaluate-set.vue":["z2RJ",0,63],"./apps/order-evaluate/evaluate-set.vue":["RvMj",0,50],"./apps/order-evaluate/index.vue":["NUSj",0,48],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,96],"./apps/protectCard/cardPut.vue":["cD4x",0,85],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,74],"./apps/protectCard/cardStrategy.vue":["rUvh",0,39],"./apps/protectCard/cardTemplate.vue":["c7iB",0,56],"./apps/protectCard/index.vue":["aWmL",0,92],"./apps/protectCard/newCardPut.vue":["9db3",0,11],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,12],"./apps/protectCard/newCardTemp.vue":["tF0P",0,76],"./apps/quota/companyDaySet.vue":["NiGE",0,84],"./apps/quota/index.vue":["qSX4",0,77],"./apps/quota/monthList.vue":["fAFA",0,64],"./apps/quota/monthTask.vue":["NpHY",0,79],"./apps/quota/monthTaskDetail.vue":["YKf6",0,81],"./apps/quota/salerMonthDetail.vue":["+qr5",0,75],"./apps/quota/storeMonthTask.vue":["qWC+",0,43],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,51],"./apps/shoppingCenter/index.vue":["FIFf",0,88],"./business/authMerchant-dailog.vue":["/cEq",0,30],"./business/authMerchant-form.vue":["2xxS",0,10],"./business/authMerchant.vue":["mjMK",0,90],"./business/contacts.vue":["/W60",0,4],"./business/index.vue":["jPcV",0,82],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,61],"./business/storeList.vue":["QZxC",0,93],"./business/syncLog.vue":["20P3",0,34],"./enterprise/adminList.vue":["zYBJ",0,53],"./enterprise/enterpriseSet.vue":["x5Fx",0,14],"./enterprise/index.vue":["m9dW",0,87],"./enterprise/material.vue":["q+Sm",0,2],"./enterprise/salutatory.vue":["xWf4",0,73],"./enterprise/salutatorySet.vue":["vqCN",0,19],"./enterpriseData/activeDetail.vue":["h9Ca",0,20],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,24],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,6],"./enterpriseData/index.vue":["CTf4",0,72],"./enterpriseData/loginDetail.vue":["kX6v",0,9],"./errorPage/403.vue":["6XGN",33],"./errorPage/404.vue":["AejC",31],"./errorPage/500.vue":["FskK",26],"./errorPage/gic-error.vue":["Q3j/",25],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,35],"./login/index.vue":["T+/8",0,29],"./login/login-more.vue":["AVFt",0,38],"./overstore/index.vue":["Y55K",0,91],"./overstore/overStoreList.vue":["vuAV",0,45],"./reviewCenter/index.vue":["+lem",89],"./reviewCenter/reviewSet.vue":["6j9f",0,94],"./reviewCenter/reviewed.vue":["CLYF",0,22],"./reviewCenter/unreview.vue":["xCEU",0,15],"./salesleads/groupSend/grStoreDetail.vue":["XF7X",0,13],"./salesleads/groupSend/grStoreList.vue":["w4UW",0,86],"./salesleads/groupSend/grTaskList.vue":["Uvr8",0,52],"./salesleads/index.vue":["owWS",0,32],"./salesleads/trafficTask/taskDetail.vue":["wRTX",0,18],"./salesleads/trafficTask/taskRecord.vue":["Wj0m",0,47],"./salesleads/trafficTask/taskView.vue":["TsS9",0,37],"./salesleads/trafficTask/taskViewDetail.vue":["f1qT",0,80],"./salesleads/trafficTask/trafficTaskSet.vue":["3Qek",0,60],"./setting/index.vue":["VlR1",0,95]};function r(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+"'."))}r.keys=function(){return Object.keys(n)},r.id="Opzk",e.exports=r},Q0Ca:function(e,t,a){"use strict";t.a={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 r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).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(),r=a<10?"0"+a:a,o=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()+"-"+r+"-"+n+" "+o+":"+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(),r=a<10?"0"+a:a;return t.getFullYear()+"-"+r+"-"+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(),r=a<10?"0"+a:a,o=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()+"."+r+"."+n+" "+o+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},timeStampToYmd2:function(e){if(e){var t=new Date(e-864e5),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),r=a<10?"0"+a:a;return t.getFullYear()+"-"+r+"-"+n}},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(a<0)return"";var n=a%864e5,r=n%36e5;return Math.floor(a/864e5)+"天"+Math.floor(n/36e5)+"小时"+Math.floor(r/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)},formatInvalidStatus:function(e){var t="--";return 1==e?t="未失效":2==e&&(t="已失效"),t}}},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},a75N:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},"mF/g":function(e,t){},pRNm:function(e,t){e.exports=VueRouter},xtVA:function(e,t){}},[0]);
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={100:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"d679b80703f2669db906",1:"80ec7107adf684998411",2:"3034f3a1f8a7d4f6d6c5",3:"377353a38b767fb62eee",4:"eede7e36ee16bde24164",5:"0ff01338f026ecdda1ff",6:"89462395604bb0d7bb75",7:"1e22c07cfd143a1409c8",8:"7ed88220477c88b9927c",9:"8d329056b9b78feb1400",10:"98003472262c23bc7efc",11:"153319071ea978071aad",12:"8ac369a6e81098c19345",13:"c2c296ddddc2aa6fcbf1",14:"328dc62f1f3e36fbdfa4",15:"9a92296630d5b001ad0f",16:"cee69c95a4372b9e9c28",17:"5d851e70cd060878ed42",18:"4156d4299272b81036cf",19:"70802847841c1a3a50e4",20:"92a8e93fcd6ac454128c",21:"6f994db499de1ba15fe5",22:"6adece1d2e86f3ed7cf2",23:"237cb95a65eb94db7a8b",24:"7c5542f618f65a285227",25:"fb9c519070e24154d531",26:"98090da394d2fcd7acbd",27:"51d36982fe3d273b6576",28:"6abd7682e8f6844e4ddb",29:"8e0491e5fbcf1e20c5d4",30:"04bcad60c1958de411e4",31:"0d36905eeecb78bad936",32:"6bcadc6624199bec17af",33:"74e6c489c2bea79419b4",34:"6f0e4cede2487bdfc50d",35:"d77a9ad28cf62e8b4d0f",36:"6458f79f23bd8ccc6a6b",37:"8ab1df6a5bafee48605c",38:"0fac9278df1c16b54135",39:"54db58847207cf164940",40:"fdfd68b9985ed0b67522",41:"1dc7c5eaba06197f0709",42:"289031a79a2414c7040e",43:"138a75393a0e4c8ed4da",44:"16f634308d955a641c55",45:"cc863df4da2023dcc47a",46:"890ef4651ff5f9722c34",47:"c0e8fd82b6a44d464cc8",48:"4e178bb297fc047a4e6a",49:"0daa7809040e93803e83",50:"64ced5e2031e4b0dfcc0",51:"fe011d94cdc9d72fc38f",52:"e48cf3632f4d4cb20a53",53:"6588521caa413d25a6fe",54:"be329e39745eb328cda0",55:"019949d300a25e2f4468",56:"f552a773086fddf5eca0",57:"479ef643ba99824488da",58:"2b5d8e6e2f66855fc275",59:"c28752d0234c9c700c8e",60:"7be20e8cb8973aa4c831",61:"a50991ca1b54b4f3d59d",62:"a96634044c0193bbf9ad",63:"c69bb571f78e49ca98fa",64:"2396087f621f71850120",65:"d035f9b2198d937e91cd",66:"cfb69c72ee3b22747acf",67:"377c5c40b3f15ed5ea3f",68:"7fdfc0b1c69245bd32e8",69:"7f18cb3f6405d8f4aaf4",70:"a5ee8fba8671102cd62e",71:"588a713a0d0065087426",72:"0df002d93c94be988998",73:"f9d3b168ed7e98bc7414",74:"e8f3c9592ed7a27f835f",75:"04c768f9b9ce3a00aac0",76:"c495e5572029de61b6bd",77:"69f6b1f64144ec9aad9f",78:"fc6ca51e99a0e0bbc59b",79:"99f94ea35458486e29ab",80:"eac98935e58bd9e95b1f",81:"d35a1a35efa32ee8b132",82:"372bf987852b01980b24",83:"4f21361770f6866abf15",84:"e41ce67b219d6540a93c",85:"e0465ca2eac287536c8c",86:"4cf3b774fab6733e4014",87:"1bafc4d0ac06d977df3b",88:"622bb868c4f5f2fbed2a",89:"6b7010d39712b4573d35",90:"6960f260cff4d7bafe27",91:"64ad30b4854f335b1896",92:"68033632b9635a5adba2",93:"c2f441747bf184bbf8a7",94:"332429cb6e9230d79cac",95:"85daa3cd0fe450e34122",96:"d9ce69de9695ef330393",97:"d2a1d0fad63546829407"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},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}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={100:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"d679b80703f2669db906",1:"80ec7107adf684998411",2:"3034f3a1f8a7d4f6d6c5",3:"377353a38b767fb62eee",4:"eede7e36ee16bde24164",5:"7378fa081f28ad5cddc1",6:"89462395604bb0d7bb75",7:"1e22c07cfd143a1409c8",8:"7ed88220477c88b9927c",9:"8d329056b9b78feb1400",10:"98003472262c23bc7efc",11:"153319071ea978071aad",12:"8ac369a6e81098c19345",13:"c2c296ddddc2aa6fcbf1",14:"328dc62f1f3e36fbdfa4",15:"9a92296630d5b001ad0f",16:"cee69c95a4372b9e9c28",17:"5d851e70cd060878ed42",18:"4156d4299272b81036cf",19:"70802847841c1a3a50e4",20:"92a8e93fcd6ac454128c",21:"6f994db499de1ba15fe5",22:"6adece1d2e86f3ed7cf2",23:"237cb95a65eb94db7a8b",24:"7c5542f618f65a285227",25:"fb9c519070e24154d531",26:"98090da394d2fcd7acbd",27:"51d36982fe3d273b6576",28:"6abd7682e8f6844e4ddb",29:"8e0491e5fbcf1e20c5d4",30:"04bcad60c1958de411e4",31:"0d36905eeecb78bad936",32:"6bcadc6624199bec17af",33:"74e6c489c2bea79419b4",34:"6f0e4cede2487bdfc50d",35:"d77a9ad28cf62e8b4d0f",36:"6458f79f23bd8ccc6a6b",37:"8ab1df6a5bafee48605c",38:"0fac9278df1c16b54135",39:"54db58847207cf164940",40:"fdfd68b9985ed0b67522",41:"1dc7c5eaba06197f0709",42:"289031a79a2414c7040e",43:"138a75393a0e4c8ed4da",44:"16f634308d955a641c55",45:"cc863df4da2023dcc47a",46:"890ef4651ff5f9722c34",47:"c0e8fd82b6a44d464cc8",48:"4e178bb297fc047a4e6a",49:"0daa7809040e93803e83",50:"64ced5e2031e4b0dfcc0",51:"fe011d94cdc9d72fc38f",52:"e48cf3632f4d4cb20a53",53:"6588521caa413d25a6fe",54:"be329e39745eb328cda0",55:"019949d300a25e2f4468",56:"f552a773086fddf5eca0",57:"479ef643ba99824488da",58:"2b5d8e6e2f66855fc275",59:"c28752d0234c9c700c8e",60:"bf782d61a066f8e2b82d",61:"b5734e895b90e705ed4e",62:"3cacc7be6f8eb3f495e3",63:"0007f2a8b2fba2e8753f",64:"5ff784ec7cc64e54d24c",65:"2d167cdd8558c117e2ef",66:"2b5e6cf2c08b7ab6b4b3",67:"56a404cfb44ba6622364",68:"0ce0804b021f56596877",69:"7eb083424293dbf485ef",70:"8f5f8e725387e359ab8b",71:"9d0cb4f8a4538cb34866",72:"9e875a71a651c1a1c22d",73:"94c01a3f083ce12e3f24",74:"8ab98e5783671742091b",75:"8131754c6eaa08fafd0b",76:"327bea0c231ddb2d6c74",77:"66bda1c6fc52232c849f",78:"45f83001940afd9cb558",79:"dc1109ef034989f47090",80:"48e89f85ccc3f873f001",81:"0f1ed4767d48e858dad3",82:"910b419f5da9b489e7fc",83:"bb9fb3cbd5523d0102af",84:"a17d997e2e103de48737",85:"5fd148670020fb7f6125",86:"0671a705b9c09cf0a21a",87:"687b8f53eaedf25f541d",88:"b09e43b757bcb35577b5",89:"29ea1638fd4a0ab982cf",90:"10a2b74a1d025dc97679",91:"64ad30b4854f335b1896",92:"68033632b9635a5adba2",93:"c2f441747bf184bbf8a7",94:"332429cb6e9230d79cac",95:"85daa3cd0fe450e34122",96:"d9ce69de9695ef330393",97:"d2a1d0fad63546829407"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},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 \ No newline at end of file
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