Commit db5ad7d2 by 无尘

fix: 修改提示

parent 125038b8
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.64dcdd6fa0f5590e061d182bb16a7482.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.8f85a7e9972f62dd63be.js></script><script type=text/javascript src=./static/js/vendor.4cb881ee73a47d4b4440.js></script><script type=text/javascript src=./static/js/app.e676be4a134ebf1897e5.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.6f649345ffdc3c1b182cd93d1412d180.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.2e77ac56eb959c8c1319.js></script><script type=text/javascript src=./static/js/vendor.4cb881ee73a47d4b4440.js></script><script type=text/javascript src=./static/js/app.5198ba8d5704616d3a19.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([13],{IAva:function(t,e){},JQ5v:function(t,e){},LArp:function(t,e){},NYxH:function(t,e){},Zx22:function(t,e,a){"use strict";var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var s=new Date(t),i=s.getFullYear(),o=s.getMonth()+1,n=s.getDate();return i+e+a(o)+e+a(n)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var o=a("VU/8")(s,i,!1,function(t){a("LArp")},"data-v-e0628fc0",null);e.a=o.exports},xCEU:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),i=a("Zx22"),o={name:"record-list",props:{detailShow:{type:Boolean,default:!1},tableListData:{type:Object,default:function(){return[]}}},data:function(){return{customDialog:!1,tableData:[]}},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDetailDialog")}},watch:{detailShow:function(t,e){this.customDialog=t},tableListData:function(t,e){this.tableData=t}},mounted:function(){this.customDialog=this.detailShow,this.tableData=this.tableListData}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":2==e.row.auditingType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"品牌","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.brandName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人",width:"150","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",{staticClass:"text-ellipsis"},[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13 text-ellipsis"},[t._v(t._s(e.row.storeName))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核结果","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return["成功"==e.row.auditStatus?a("span",[t._v(t._s(e.row.auditStatus))]):t._e(),t._v(" "),"失败"==e.row.auditStatus?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.row.auditReason,placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("失败")])]):t._e()]}}])})],1)],1)])],1)},staticRenderFns:[]};var l=a("VU/8")(o,n,!1,function(t){a("NYxH")},"data-v-2762cbe5",null).exports,r=a("P9l9"),c=a("Ch4/"),u={name:"record-list",props:{resultText:{type:String,default:""},resultShow:{type:Boolean,default:!1}},data:function(){return{customDialog:this.resultShow,tableData:[],pageSize:5,currentPage:1,totalCount:0}},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideResultDialog")},showDetail:function(){this.$emit("showResultDetail")},getData:function(){var t=this,e={pageNum:t.currentPage,pageSize:t.pageSize,version:t.formData.version,sceneCode:t.formData.sceneCode,interfaceId:t.formData.interfaceId};Object(r.a)("/gateway-manage/page-api-publish-record",e).then(function(e){var a=e.data;if("0000"==a.code)return t.tableData=a.result.result||[],void(t.totalCount=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{resultShow:function(t,e){this.customDialog=t}},mounted:function(){this.customDialog=this.resultShow}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"提示",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"result-content"},[a("span",[t._v(t._s(t.resultText))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:t.showDetail}},[t._v("查看详情")])],1)])])],1)},staticRenderFns:[]};var f=a("VU/8")(u,d,!1,function(t){a("IAva")},"data-v-da682b8c",null).exports,p=a("3E4D"),v=a("PI0u"),h={name:"unreview",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"待审核",path:""}],filterValue:"",filterBrand:"",brandOptions:[],filterOptions:[{label:"全部事项",value:""},{label:"门店信息变更",value:"0"},{label:"新增成员",value:"1"},{label:"成员离职",value:"2"},{label:"转移成员",value:"3"}],tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],resultText:""}},computed:{},methods:{hideDetailDialog:function(){this.detailShow=!1},hideResultDialog:function(){this.resultShow=!1,this.getTableList()},showResultDetail:function(){this.detailShow=!0},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},handleClick:function(t,e,a){this.selectId=e.enterpriseAuditingId,a?this.refuseVisible=!0:this.approveVisible=!0},sendApprove:Object(v.a)(function(){this.postApprove(this.selectId)},500),approveAll:function(){var t=this,e=t.multipleSelection.length?t.multipleSelection.map(function(t){return t.enterpriseAuditingId}).join(","):"";if(!e)return t.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;t.$confirm("是否批量同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.postAllApprove(e)})},postApprove:function(t){var e=this,a={enterpriseAuditingId:t};Object(r.e)("/haoban-manage-web/audit/approve.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),e.approveVisible=!1,e.getTableList(),void e.$forceUpdate();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postAllApprove:function(t){var e=this,a={enterpriseAuditingIds:t};Object(r.e)("/haoban-manage-web/audit/batch-approve.json",a).then(function(t){var a=t.data;if(1==a.errorCode){var s=a.result.list;return e.resultText=a.result.auditResult,e.tableListData=[],e.tableData.forEach(function(t){s.forEach(function(a){a.enterpriseAuditingId==t.enterpriseAuditingId&&(t.auditStatus=1==a.auditStatus?"成功":"失败",t.auditReason=a.auditReason,e.tableListData.push(t))})}),void(e.resultShow=!0)}c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},cancelRefuse:function(t){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:Object(v.a)(function(t){var e=this;e.$refs[t].validate(function(t){if(!t)return!1;e.postRefuse()})},500),postRefuse:function(){var t=this,e={enterpriseAuditingId:t.selectId,refuseReason:t.ruleForm.refuseReason};Object(r.a)("/haoban-manage-web/audit/refuse.json",e).then(function(e){var a=e.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),t.refuseVisible=!1,t.$refs.ruleForm.resetFields(),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},showSingleInfo:function(t){},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.beforeContent?JSON.parse(t.beforeContent):[],afterContent:""!=t.afterContent?JSON.parse(t.afterContent):[]}},getBrandData:function(){var t=this;Object(r.e)("/haoban-manage-web/application-brand-list",{}).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={auditingType:e.filterValue,auditingStatus:"0",search:"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.filterBrand};Object(r.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],void(e.total=a.result.total);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList(),this.getBrandData()},components:{navCrumb:s.a,storeChange:i.a,reviewResultDetail:l,reviewResult:f}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"unreview-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.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("div",[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部事项"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.getTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),t._v(" "),t._l(t.brandOptions,function(t){return a("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})})],2)],1),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.approveAll}},[t._v("批量同意")])],1),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":2==e.row.auditingType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"品牌"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.brandName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[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.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==e.row.nationcode?e.row.phoneNumber:"+"+e.row.nationcode+"-"+e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName||"--"))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName||"--"))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.auditingType||0==e.row.auditingType&&1!=e.row.auditingUpdateType?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),1==e.row.auditingUpdateType?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.handleClick(e.$index,e.row)}}},[t._v("同意")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.handleClick(e.$index,e.row,"refuse")}}},[t._v("拒绝")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}}),t._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:t.approveVisible,width:"422px"},on:{"update:visible":function(e){t.approveVisible=e}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[t._v("同意")])]),t._v(" "),a("div",{staticClass:"approve-tip"},[t._v("是否确认同意")])]),t._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.approveVisible=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.sendApprove}},[t._v("确 定")])],1)]),t._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:t.refuseVisible,"before-close":t.cancelRefuse,width:"422px"},on:{"update:visible":function(e){t.refuseVisible=e}}},[a("div",[a("div",{staticClass:"refuse-tip"},[t._v("请输入拒绝理由")]),t._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:t.ruleForm.refuseReason,callback:function(e){t.$set(t.ruleForm,"refuseReason",e)},expression:"ruleForm.refuseReason"}})],1)],1)],1),t._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.cancelRefuse("ruleForm")}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.sendRefuse("ruleForm")}}},[t._v("确 定")])],1)]),t._v(" "),a("review-result-detail",{attrs:{tableListData:t.tableListData,detailShow:t.detailShow},on:{hideDetailDialog:t.hideDetailDialog}}),t._v(" "),a("review-result",{attrs:{resultText:t.resultText,resultShow:t.resultShow},on:{showResultDetail:t.showResultDetail,hideResultDialog:t.hideResultDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-t-20 m-b-20 w-766"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-1890ff"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("提示:因GIC存在相同手机号或导购code导致审核失败,请拒绝该审核事项,否则会一直展示在待审核列表中。")])])])])}]};var m=a("VU/8")(h,g,!1,function(t){a("JQ5v")},"data-v-d6adafa0",null);e.default=m.exports}}); webpackJsonp([13],{IAva:function(t,e){},LArp:function(t,e){},NYxH:function(t,e){},Zx22:function(t,e,a){"use strict";var s={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var s=new Date(t),i=s.getFullYear(),o=s.getMonth()+1,n=s.getDate();return i+e+a(o)+e+a(n)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var o=a("VU/8")(s,i,!1,function(t){a("LArp")},"data-v-e0628fc0",null);e.a=o.exports},cIfp:function(t,e){},xCEU:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),i=a("Zx22"),o={name:"record-list",props:{detailShow:{type:Boolean,default:!1},tableListData:{type:Object,default:function(){return[]}}},data:function(){return{customDialog:!1,tableData:[]}},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDetailDialog")}},watch:{detailShow:function(t,e){this.customDialog=t},tableListData:function(t,e){this.tableData=t}},mounted:function(){this.customDialog=this.detailShow,this.tableData=this.tableListData}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":2==e.row.auditingType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"品牌","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.brandName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人",width:"150","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",{staticClass:"text-ellipsis"},[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13 text-ellipsis"},[t._v(t._s(e.row.storeName))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核结果","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return["成功"==e.row.auditStatus?a("span",[t._v(t._s(e.row.auditStatus))]):t._e(),t._v(" "),"失败"==e.row.auditStatus?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.row.auditReason,placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("失败")])]):t._e()]}}])})],1)],1)])],1)},staticRenderFns:[]};var l=a("VU/8")(o,n,!1,function(t){a("NYxH")},"data-v-2762cbe5",null).exports,r=a("P9l9"),c=a("Ch4/"),u={name:"record-list",props:{resultText:{type:String,default:""},resultShow:{type:Boolean,default:!1}},data:function(){return{customDialog:this.resultShow,tableData:[],pageSize:5,currentPage:1,totalCount:0}},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideResultDialog")},showDetail:function(){this.$emit("showResultDetail")},getData:function(){var t=this,e={pageNum:t.currentPage,pageSize:t.pageSize,version:t.formData.version,sceneCode:t.formData.sceneCode,interfaceId:t.formData.interfaceId};Object(r.a)("/gateway-manage/page-api-publish-record",e).then(function(e){var a=e.data;if("0000"==a.code)return t.tableData=a.result.result||[],void(t.totalCount=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{resultShow:function(t,e){this.customDialog=t}},mounted:function(){this.customDialog=this.resultShow}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"提示",visible:t.customDialog,width:"600px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"result-content"},[a("span",[t._v(t._s(t.resultText))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:t.showDetail}},[t._v("查看详情")])],1)])])],1)},staticRenderFns:[]};var f=a("VU/8")(u,d,!1,function(t){a("IAva")},"data-v-da682b8c",null).exports,p=a("3E4D"),v=a("PI0u"),h={name:"unreview",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"待审核",path:""}],filterValue:"",filterBrand:"",brandOptions:[],filterOptions:[{label:"全部事项",value:""},{label:"门店信息变更",value:"0"},{label:"新增成员",value:"1"},{label:"成员离职",value:"2"},{label:"转移成员",value:"3"}],tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],resultText:""}},computed:{},methods:{hideDetailDialog:function(){this.detailShow=!1},hideResultDialog:function(){this.resultShow=!1,this.getTableList()},showResultDetail:function(){this.detailShow=!0},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},handleClick:function(t,e,a){this.selectId=e.enterpriseAuditingId,a?this.refuseVisible=!0:this.approveVisible=!0},sendApprove:Object(v.a)(function(){this.postApprove(this.selectId)},500),approveAll:function(){var t=this,e=t.multipleSelection.length?t.multipleSelection.map(function(t){return t.enterpriseAuditingId}).join(","):"";if(!e)return t.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;t.$confirm("是否批量同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.postAllApprove(e)})},postApprove:function(t){var e=this,a={enterpriseAuditingId:t};Object(r.e)("/haoban-manage-web/audit/approve.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),e.approveVisible=!1,e.getTableList(),void e.$forceUpdate();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},postAllApprove:function(t){var e=this,a={enterpriseAuditingIds:t};Object(r.e)("/haoban-manage-web/audit/batch-approve.json",a).then(function(t){var a=t.data;if(1==a.errorCode){var s=a.result.list;return e.resultText=a.result.auditResult,e.tableListData=[],e.tableData.forEach(function(t){s.forEach(function(a){a.enterpriseAuditingId==t.enterpriseAuditingId&&(t.auditStatus=1==a.auditStatus?"成功":"失败",t.auditReason=a.auditReason,e.tableListData.push(t))})}),void(e.resultShow=!0)}c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},cancelRefuse:function(t){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:Object(v.a)(function(t){var e=this;e.$refs[t].validate(function(t){if(!t)return!1;e.postRefuse()})},500),postRefuse:function(){var t=this,e={enterpriseAuditingId:t.selectId,refuseReason:t.ruleForm.refuseReason};Object(r.a)("/haoban-manage-web/audit/refuse.json",e).then(function(e){var a=e.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),t.refuseVisible=!1,t.$refs.ruleForm.resetFields(),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},showSingleInfo:function(t){},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.beforeContent?JSON.parse(t.beforeContent):[],afterContent:""!=t.afterContent?JSON.parse(t.afterContent):[]}},getBrandData:function(){var t=this;Object(r.e)("/haoban-manage-web/application-brand-list",{}).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={auditingType:e.filterValue,auditingStatus:"0",search:"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.filterBrand};Object(r.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],void(e.total=a.result.total);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList(),this.getBrandData()},components:{navCrumb:s.a,storeChange:i.a,reviewResultDetail:l,reviewResult:f}},g={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"unreview-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.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("div",[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部事项"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.getTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),t._v(" "),t._l(t.brandOptions,function(t){return a("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})})],2)],1),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.approveAll}},[t._v("批量同意")])],1),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":2==e.row.auditingType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"品牌"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.brandName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[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.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==e.row.nationcode?e.row.phoneNumber:"+"+e.row.nationcode+"-"+e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName||"--"))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName||"--"))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.auditingType||0==e.row.auditingType&&1!=e.row.auditingUpdateType?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),1==e.row.auditingUpdateType?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.handleClick(e.$index,e.row)}}},[t._v("同意")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.handleClick(e.$index,e.row,"refuse")}}},[t._v("拒绝")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}}),t._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:t.approveVisible,width:"422px"},on:{"update:visible":function(e){t.approveVisible=e}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[t._v("同意")])]),t._v(" "),a("div",{staticClass:"approve-tip"},[t._v("是否确认同意")])]),t._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.approveVisible=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.sendApprove}},[t._v("确 定")])],1)]),t._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:t.refuseVisible,"before-close":t.cancelRefuse,width:"422px"},on:{"update:visible":function(e){t.refuseVisible=e}}},[a("div",[a("div",{staticClass:"refuse-tip"},[t._v("请输入拒绝理由")]),t._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:t.ruleForm.refuseReason,callback:function(e){t.$set(t.ruleForm,"refuseReason",e)},expression:"ruleForm.refuseReason"}})],1)],1)],1),t._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.cancelRefuse("ruleForm")}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.sendRefuse("ruleForm")}}},[t._v("确 定")])],1)]),t._v(" "),a("review-result-detail",{attrs:{tableListData:t.tableListData,detailShow:t.detailShow},on:{hideDetailDialog:t.hideDetailDialog}}),t._v(" "),a("review-result",{attrs:{resultText:t.resultText,resultShow:t.resultShow},on:{showResultDetail:t.showResultDetail,hideResultDialog:t.hideResultDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-t-20 m-b-20 w-766"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-1890ff"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("提示:因GIC存在相同手机号或导购code导致审核失败,请拒绝该审核事项,否则会一直展示在待审核列表中。")])])])])}]};var m=a("VU/8")(h,g,!1,function(t){a("cIfp")},"data-v-a3864848",null);e.default=m.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([33],{UeML:function(t,e){},iG3v:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),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:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"话务任务记录"}],activeId:"1",showDialog:!1,conditionObj:{tableType:"1",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:{changeTable:function(t){this.currentPage=1,this.getTableList()},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,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:e.multipleSelection.map(function(t){return t.ecmIds}).join(",")||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-task-view-list",a).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=this,e=[],a=[];t.conditionObj.storeGroup.forEach(function(t){2==t.type&&e.push(t.groupId),3==t.type&&a.push(t.storeId)});var n={search:t.conditionObj.searchInput||"",filterStoreIds:a.join(",")||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",brandId:t.activeBrand};Object(c.b)("/haoban-app-tel-task-web/task/export-store-task-list",n).then(function(e){if(!e.data)return p.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId+"&appIcon="+this.$route.query.appIcon)},getTableList:function(t){var e=this,a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content boder-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"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?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.toComplete))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.话务任务仅统计近一年数据;"),e("br"),this._v("\n 2.话务任务统计数据每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况\n ")])])])])}]};var g=a("VU/8")(h,b,!1,function(t){a("j4UZ")},"data-v-4203ff90",null).exports,f={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:{tableType:"1",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:{changeTable:function(t){if(2==t.name)return!1;this.currentPage=1,this.getTableList()},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,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],n=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&n.push(t.storeId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var o={search:e.conditionObj.searchInput||"",filterStoreIds:n.join(",")||"",storeGroupIds:a.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-store-task-list",o).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=this,e=[],a=[];t.conditionObj.storeGroup.forEach(function(t){2==t.type&&e.push(t.groupId),3==t.type&&a.push(t.storeId)});var n={search:t.conditionObj.searchInput||"",filterStoreIds:a.join(",")||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",brandId:t.activeBrand};Object(c.b)("/haoban-app-tel-task-web/task/export-store-task-list",n).then(function(e){if(!e.data)return p.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&appIcon="+this.$route.query.appIcon)},getTableList:function(t){var e=this,a=[],n=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&n.push(t.storeId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var o={search:e.conditionObj.searchInput||"",filterStoreIds:n.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};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",o).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})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a,taskView:g}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"common-detail-tab"},[a("el-tabs",{staticClass:"daily-set-tab",on:{"tab-click":t.changeTable},model:{value:t.conditionObj.tableType,callback:function(e){t.$set(t.conditionObj,"tableType",e)},expression:"conditionObj.tableType"}},[a("el-tab-pane",{attrs:{label:"门店视图",name:"1"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"话务任务视图",name:"2"}})],1)],1),t._v(" "),1==t.conditionObj.tableType?a("div",{staticClass:"daily-set-content boder-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},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){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,n){return[a("span",{key:n,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){e.stopPropagation(),t.delDepart(n,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}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"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?"#1890ff":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#1890ff":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"td-ellipsis"}),t._v("\n "+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",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1):t._e(),t._v(" "),2==t.conditionObj.tableType?a("taskView",{attrs:{brandId:t.brandId,activeGroupId:t.activeGroupId}}):t._e(),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:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.话务任务仅统计近一年数据;"),e("br"),this._v("\n 2.因任务数据量过大,门店视图统计数据改为每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况\n ")])])])])}]};var m=a("VU/8")(f,v,!1,function(t){a("UeML")},"data-v-4d484618",null);e.default=m.exports},j4UZ:function(t,e){}});
\ No newline at end of file
webpackJsonp([34],{C57R:function(e,t){},VsMT:function(e,t){},iG3v:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),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:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"话务任务记录"}],activeId:"1",showDialog:!1,conditionObj:{tableType:"1",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:{changeTable:function(e){this.currentPage=1,this.getTableList()},handleCommand:function(e){this.selectRadio=e},setSelectTab:function(e){this.activeTab=e.tabId},toInput:Object(d.a)(function(e,t){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},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,!o()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this;t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var a={search:t.conditionObj.searchInput||"",ecmIds:t.multipleSelection.map(function(e){return e.ecmIds}).join(",")||"",brandId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-task-view-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},exportExcel:function(){var e=this,t=[],a=[];e.conditionObj.storeGroup.forEach(function(e){2==e.type&&t.push(e.groupId),3==e.type&&a.push(e.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:a.join(",")||"",storeGroupIds:t.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange?e.conditionObj.dateRange[0]:"",endDate:e.conditionObj.dateRange?e.conditionObj.dateRange[1]:"",brandId:e.activeBrand};Object(c.b)("/haoban-app-tel-task-web/task/export-store-task-list",n).then(function(t){if(!t.data)return p.a.errorMsg("暂无数据"),!1;var a=new Blob([t.data],{type:"application/vnd.ms-excel"}),n=(e.tableData[0]?e.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},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("taskViewDetail?ecmId="+t.ecmId+"&appIcon="+this.$route.query.appIcon)},getTableList:function(e){var t=this,a={search:t.conditionObj.searchInput||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/task-view-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},initDataRange:function(){var e=new Date,t=e.getTime()-7776e6,a=e.getFullYear(),n=e.getMonth()+1,o=e.getDate()<10?"0"+e.getDate():e.getDate(),i=n<10?"0"+n:n,s=new Date(t),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.conditionObj.dateRange=e.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",e.activeBrand=e.brandId,this.brandId&&e.$nextTick(function(){e.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称"},nativeOn:{keyup:function(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("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[e._v("仅包含话务任务记录")])],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ecmName))]}}])}),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.competedTaskNum))]}}])}),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.competedTaskRate))]}}])}),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.toComplete))]}}])}),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.overTimeNum))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){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("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(e){a("C57R")},"data-v-35b0f131",null).exports,f={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:{tableType:"1",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:{changeTable:function(e){if(2==e.name)return!1;this.currentPage=1,this.getTableList()},handleCommand:function(e){this.selectRadio=e},setSelectTab:function(e){this.activeTab=e.tabId},toInput:Object(d.a)(function(e,t){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},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,!o()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[],n=[];t.conditionObj.storeGroup.forEach(function(e){2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var o={search:t.conditionObj.searchInput||"",filterStoreIds:n.join(",")||"",storeGroupIds:a.join(",")||"",storeIds:t.multipleSelection.map(function(e){return e.storeId}).join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",brandId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio};Object(c.e)("/haoban-app-tel-task-web/task/batch-del-store-task-list",o).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},exportExcel:function(){var e=this,t=[],a=[];e.conditionObj.storeGroup.forEach(function(e){2==e.type&&t.push(e.groupId),3==e.type&&a.push(e.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:a.join(",")||"",storeGroupIds:t.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange?e.conditionObj.dateRange[0]:"",endDate:e.conditionObj.dateRange?e.conditionObj.dateRange[1]:"",brandId:e.activeBrand};Object(c.b)("/haoban-app-tel-task-web/task/export-store-task-list",n).then(function(t){if(!t.data)return p.a.errorMsg("暂无数据"),!1;var a=new Blob([t.data],{type:"application/vnd.ms-excel"}),n=(e.tableData[0]?e.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},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+"&appIcon="+this.$route.query.appIcon)},getTableList:function(e){var t=this,a=[],n=[];t.conditionObj.storeGroup.forEach(function(e){2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var o={search:t.conditionObj.searchInput||"",filterStoreIds:n.join(",")||"",storeGroupIds:a.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",o).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},initDataRange:function(){var e=new Date,t=e.getTime()-7776e6,a=e.getFullYear(),n=e.getMonth()+1,o=e.getDate()<10?"0"+e.getDate():e.getDate(),i=n<10?"0"+n:n,s=new Date(t),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.conditionObj.dateRange=e.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",e.activeBrand=e.brandId,this.brandId&&e.$nextTick(function(){e.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a,taskView:g}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"common-detail-tab"},[a("el-tabs",{staticClass:"daily-set-tab",on:{"tab-click":e.changeTable},model:{value:e.conditionObj.tableType,callback:function(t){e.$set(e.conditionObj,"tableType",t)},expression:"conditionObj.tableType"}},[a("el-tab-pane",{attrs:{label:"门店视图",name:"1"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"话务任务视图",name:"2"}})],1)],1),e._v(" "),1==e.conditionObj.tableType?a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},nativeOn:{keyup:function(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("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(t){e.showDialogLayer("store",e.conditionObj.storeGroup)}}},[e.conditionObj.storeGroup.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc"},[e._v("请选择门店分组")]),e._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.conditionObj.storeGroup,function(t,n){return[a("span",{key:n,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name||t.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(n,e.conditionObj.storeGroup)}}})])]})],2)])])])]),e._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeStoreType},model:{value:e.conditionObj.storeType,callback:function(t){e.$set(e.conditionObj,"storeType",t)},expression:"conditionObj.storeType"}},e._l(e.storeTypeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),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:{type:"primary"},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"td-ellipsis"}),e._v("\n "+e._s(t.row.storeName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.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[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){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("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1):e._e(),e._v(" "),2==e.conditionObj.tableType?a("taskView",{attrs:{brandId:e.brandId,activeGroupId:e.activeGroupId}}):e._e(),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1},on:{hideDialog:e.hideDialog}}),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.activeGroup,appScene:e.appScene,treeSet:e.storeTreeSet,selectType:"group",defaultList:e.defaultStoreList},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var v=a("VU/8")(f,m,!1,function(e){a("VsMT")},"data-v-89d282a4",null);t.default=v.exports}});
\ No newline at end of file
webpackJsonp([33],{"/n/x":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("mvHQ"),r=s.n(a),l=s("Ke24"),n=s("P9l9"),c=s("Ch4/"),i=s("3E4D"),o=s("PI0u"),u={name:"people-day-class",props:{classData:{type:[Array,Object],default:function(){return[]}},cycleData:{type:[Array,Object],default:function(){return[]}},itemSchedule:{type:[Array,Object],default:function(){return[]}},dates:{type:[Array,Object],default:function(){return[]}},weekDay:{type:[Number,String],default:function(){return""}}},data:function(){return{activeTab:"1",translate:{width:"56px",transform:"translateX(30px)"},defaultData:[{classesId:"-1",classesName:"休息",classColor:"day-tag-grey"},{classesId:"-2",classesName:"清空",classColor:""}],itemData:{},itemCycleData:[]}},methods:{chooseTab:function(e,t){this.activeTab=t,this.translate={width:e.target.offsetWidth+"px",transform:"translateX("+e.target.offsetLeft+"px)"}},hideSet:function(){var e=document.createElement("button");document.body.appendChild(e),e.click(),document.body.removeChild(e)},daySet:function(e){var t=this,s=(new Date).getFullYear(),a=(new Date).getMonth()+1<10?(new Date).getMonth()+1:"0"+((new Date).getMonth()+1),l=(new Date).getDate()<10?(new Date).getDate():"0"+(new Date).getDate();if(new Date(t.weekDay).getTime()<new Date(String(s)+"-"+String(a)+"-"+String(l)).getTime())return i.a.showmsg("不能设置今天以前的排班","warning"),!1;t.hideSet(),t.itemData.setClassesList.map(function(e){return e.weekDay}).includes(t.weekDay)&&(t.itemData.setClassesList.forEach(function(s){s.weekDay==t.weekDay&&(s.classesName=e.classesName,s.classesId=e.classesId,s.classColor=e.classColor,s.isReset=!0)}),t.$emit("refreshData",JSON.parse(r()(t.itemData))),t.$forceUpdate())},toCycleSet:function(){this.$router.push("/workGroupSet?appIcon="+this.$route.query.appIcon+"&attenceGroupId="+this.$route.query.attenceGroupId)},dayWeekSet:function(){var e=this,t=(new Date).getFullYear(),s=(new Date).getMonth()+1>10?(new Date).getMonth()+1:"0"+((new Date).getMonth()+1),a=(new Date).getDate()>10?(new Date).getDate():"0"+(new Date).getDate();if(new Date(e.weekDay).getTime()<new Date(String(t)+"-"+String(s)+"-"+String(a)).getTime())return i.a.showmsg("不能设置今天以前的排班","warning"),!1;var l=0;e.itemData.setClassesList.forEach(function(t,s){e.weekDay==t.weekDay&&(l=s)}),e.hideSet();for(var n=e.cycleData[0].classesList.length,c=l,o=0;o<e.itemData.setClassesList.length-l;o++)e.itemData.setClassesList[c].classesName=e.cycleData[0].classesList[o%n].classesName,e.itemData.setClassesList[c].classesId=e.cycleData[0].classesList[o%n].classesId,e.itemData.setClassesList[c].classColor=e.cycleData[0].classesList[o%n].classColor,e.itemData.setClassesList[c].isReset=!0,c++;e.$emit("refreshData",JSON.parse(r()(e.itemData))),e.$forceUpdate()}},watch:{itemSchedule:function(e){this.itemData=JSON.parse(r()(e))},cycleData:function(e){this.itemCycleData=JSON.parse(r()(e))}},mounted:function(){this.itemData=JSON.parse(r()(this.itemSchedule)),this.itemCycleData=JSON.parse(r()(this.cycleData))}},d={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"day-tabs"},[s("div",{staticClass:"tablist"},[s("div",{staticClass:"right-content-top border-box"},[s("div",{staticClass:"right-top-wrap_left flex flex-pack-center"},[s("ul",{staticClass:"flex flex-row flex-pack-center "},[s("div",{staticClass:"el-tabs__active-bar is-top",style:e.translate}),e._v(" "),s("li",{class:["flex flex-align-center flex-pack-center p-lr-24",1==e.activeTab?"active-li":""],on:{click:function(t){e.chooseTab(t,"1")}}},[s("span",{staticClass:"flex flex-align-center flex-pack-center right-top-title"},[e._v("按天排班")])]),e._v(" "),s("li",{class:["flex flex-align-center flex-pack-center p-lr-24",2==e.activeTab?"active-li":""],on:{click:function(t){e.chooseTab(t,"2")}}},[s("span",{staticClass:"flex flex-align-center flex-pack-center right-top-title"},[e._v("按周期排班")])])])])])]),e._v(" "),1==e.activeTab?s("ul",[s("li",[s("div",{staticClass:"day-item-title",attrs:{title:"修改该员工当天班次"}},[e._v("修改该员工当天班次")]),e._v(" "),s("ul",[e._l(e.classData,function(t,a){return[s("li",{key:a+"class",staticClass:"day-class-item p-lr-20",on:{click:function(s){s.stopPropagation(),e.daySet(t)}}},[s("p",{class:["class-item",t.classColor]},[e._v(e._s(t.classesName))])])]}),e._v(" "),e._l(e.defaultData,function(t,a){return[s("li",{key:a+"defaultClass",staticClass:"day-class-item p-lr-20",on:{click:function(s){s.stopPropagation(),e.daySet(t)}}},[s("p",{class:["class-item","-1"==t.classesId?"class-rest":"class-clear"]},[e._v(e._s(t.classesName))])])]})],2)])]):e._e(),e._v(" "),2==e.activeTab?s("ul",[s("li",[e.cycleData.length?s("div",{staticClass:"day-item-title",attrs:{title:"从该天开始周期排班至月底"}},[e._v("从该天开始周期排班至月底")]):s("div",{staticClass:"day-item-title",attrs:{title:"还没有排班周期"}},[e._v("还没有排班周期"),s("br"),e._v("请去后台考勤组规则里设置")]),e._v(" "),s("ul",[e.cycleData.length?s("li",{staticClass:"day-class-item p-lr-20",on:{click:function(t){return t.stopPropagation(),e.dayWeekSet(t)}}},[s("p",{staticClass:"class-item day-tag-blue"},[e._v(e._s(e.cycleData[0].rangeName)+" "+e._s(e.cycleData[0].classesList.map(function(e){return e.classesName}).join("-")))])]):s("li",{staticClass:"day-class-item p-lr-20",on:{click:function(t){return t.stopPropagation(),e.toCycleSet(t)}}},[s("p",{staticClass:"class-item day-tag-blue"},[e._v("请设置排班周期")])])])])]):e._e()])},staticRenderFns:[]};var p=s("VU/8")(u,d,!1,function(e){s("MYe1")},"data-v-3eaa45f1",null).exports,f={name:"workTimeManage",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{peopleDayClass:p,commonDetailTop:l.a},filters:{filterDay:function(e){return new Date(e).getDate()}},data:function(){return{activeBrand:this.brandId,activeGroup:this.activeGroupId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,activeId:"2",topMenuData:[{id:"1",name:"考勤组管理",path:"/workSet?appIcon="+this.$route.query.appIcon},{id:"2",name:"编辑排班表"}],yearMonth:(new Date).getFullYear()+"-"+((new Date).getMonth()+1),currentPage:1,pageSize:20,total:0,cycleData:[],classes:[],weekData:["日","一","二","三","四","五","六"],dates:[],tableData:[]}},methods:{toSave:Object(o.a)(function(){var e=this,t=[];JSON.parse(r()(e.tableData)).forEach(function(s){s.setClassesList.forEach(function(a){t.push({attenceGroupId:e.$route.query.attenceGroupId,classesId:a.classesId,userId:s.userId,weekDay:a.weekDay})})}),e.postSave(t)},300),postSave:function(e){var t=this,s={enterpriseId:t.enterpriseId,attenceGroupId:t.$route.query.attenceGroupId,setClassesJson:r()(e)};Object(n.e)("/haoban-app-attence-web/set-classes",s).then(function(e){var t=e.data;if(1==t.errorCode)return i.a.showmsg("保存成功","success"),!1;c.a.errorMsg(t)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toReset:function(){this.dates=[],this.tableData=[],this.currentPage=1,this.getTableList(this.brandId)},changeMonth:function(){this.dates=[],this.tableData=[],this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.pageSize=e,this.getTableList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.brandId)},toWorkGroup:function(){this.$router.push("/workGroupSet?appIcon="+this.$route.query.appIcon+"&attenceGroupId="+this.$route.query.attenceGroupId)},refreshData:function(e){if(!e)return!1;var t=JSON.parse(r()(this.tableData));t.forEach(function(t){t.userId==e.userId&&(t.setClassesList=e.setClassesList)}),this.tableData=JSON.parse(r()(t)),this.$forceUpdate()},getClassifyData:function(){var e=this,t={enterpriseId:e.enterpriseId,attenceGroupId:e.$route.query.attenceGroupId};Object(n.a)("/haoban-app-attence-web/attence-classes-list",t).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(e,t){t%7==0&&(e.classColor="day-tag-blue"),t%7==1&&(e.classColor="day-tag-red"),t%7==2&&(e.classColor="day-tag-purple"),t%7==3&&(e.classColor="day-tag-orange"),t%7==4&&(e.classColor="day-tag-green"),t%7==5&&(e.classColor="day-tag-pink"),t%7==6&&(e.classColor="day-tag-cyan"),e.classessTimesJson&&(e.classessTimesJson=JSON.parse(e.classessTimesJson))}),e.classes=s.result||[],e.getCycleData(),e.getTableList(),!1;c.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getCycleData:function(){var e=this,t={enterpriseId:e.enterpriseId,attenceGroupId:e.$route.query.attenceGroupId};Object(n.a)("/haoban-app-attence-web/attence-range-list",t).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.classesList&&t.classesList.length&&t.classesList.forEach(function(t){e.classes.forEach(function(e){t.classesId==e.classesId&&(t.classColor=e.classColor)})})}),e.cycleData=s.result||[],!1;c.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(e){var t=this,s={month:t.yearMonth,enterpriseId:t.enterpriseId,attenceGroupId:t.$route.query.attenceGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.e)("/haoban-app-attence-web/set-classes-detail",s).then(function(e){var s=e.data;if(1==s.errorCode)return t.total=s.result.totalCount,t.dates=JSON.parse(r()(s.result.params.dateList)),s.result.params.userList.forEach(function(e){e.setClassesList.forEach(function(e){e.isReset=!1,e.classColor=e.classColor?e.classColor:"",t.classes.forEach(function(t){e.classesId==t.classesId&&(e.classColor=t.classColor)})})}),t.tableData=JSON.parse(r()(s.result.params.userList))||[],!1;c.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","2"),setTimeout(function(){e.getClassifyData()},1e3)}},h={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"work-time border-box"},[s("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),s("div",{staticClass:"work-time-content border-box"},[s("div",{staticClass:"classes-wrap m-b-20"},[s("span",{staticClass:"fl font-13 color-303133"},[e._v("班次说明:")]),e._v(" "),s("div",{staticClass:"class-row-tags"},[e._l(e.classes,function(t,a){return s("div",{key:a,class:["class-tag",a%7==0?"day-tag-blue":"",a%7==1?"day-tag-red":"",a%7==2?"day-tag-purple":"",a%7==3?"day-tag-orange":"",a%7==4?"day-tag-green":"",a%7==5?"day-tag-pink":"",a%7==6?"day-tag-cyan":""]},[s("span",{staticClass:"class-tag-text"},[e._v(e._s(t.classesName)+":")]),e._v(" "),e._l(t.classessTimesJson,function(t,a){return s("span",{key:a+"time"},[e._v(e._s(t.startTime)+"-"+e._s(t.endTime))])})],2)}),e._v(" "),e._m(0),e._v(" "),e._m(1)],2)]),e._v(" "),s("div",{staticClass:"range-wrap m-b-20"},[s("span",{staticClass:"fl font-13 color-303133"},[e._v("排班周期:")]),e._v(" "),s("div",{staticClass:"class-row-tags"},[e._l(e.cycleData,function(t,a){return s("div",{key:a+"cycle",staticClass:"class-tag"},[s("span",{staticClass:"ant-tag-text"},[e._v(e._s(t.rangeName)+":")]),e._v(" "),s("span",[e._v(e._s(t.classesList.map(function(e){return e.classesName}).join("-")))])])}),e._v(" "),s("el-button",{attrs:{type:"text"},on:{click:e.toWorkGroup}},[e._v("设置")])],2)]),e._v(" "),s("div",{staticClass:"work-time-opt m-b-20 flex flex-space-between",staticStyle:{width:"calc(100% - 20px)"}},[s("div",{staticClass:"work-time-opt_left"},[s("el-date-picker",{attrs:{type:"month",format:"yyyy-MM","value-format":"yyyy-MM",placeholder:"选择月"},on:{change:e.changeMonth},model:{value:e.yearMonth,callback:function(t){e.yearMonth=t},expression:"yearMonth"}}),e._v(" "),s("span",{staticClass:"p-l-10 font-12 color-606266"},[e._v("未排班时,员工可选择班次打卡")])],1),e._v(" "),s("div",{staticClass:"work-time-opt_right"},[s("el-button",{attrs:{type:"primary"},on:{click:e.toSave}},[e._v("保存")]),e._v(" "),s("el-button",{on:{click:e.toReset}},[e._v("恢复")])],1)]),e._v(" "),s("div",{staticClass:"work-time-table"},[s("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 20px)"},attrs:{border:"",data:e.tableData,"tooltip-effect":"dark"}},[s("el-table-column",{attrs:{prop:"","show-overflow-tooltip":"",fixed:"",width:"101"},scopedSlots:e._u([{key:"header",fn:function(t){return[s("div",{staticClass:"text-center",staticStyle:{width:"100%"}},[e._v("姓名")])]}},{key:"default",fn:function(t){return[s("div",{staticClass:"row-username",attrs:{title:t.row.userName}},[e._v("\n "+e._s(t.row.userName)+"\n ")])]}}])}),e._v(" "),e._l(e.dates,function(t,a){return[s("el-table-column",{key:a+"thead",attrs:{prop:"","show-overflow-tooltip":"","min-width":"38"},scopedSlots:e._u([{key:"header",fn:function(a){return[s("div",{class:["text-center","六"==t.dayOfWeek||"日"==t.dayOfWeek?"color-red":""]},[e._v("\n "+e._s(t.weekDay?parseInt(t.weekDay.split("-")[2]):"")+" "),s("br"),e._v("\n "+e._s(t.dayOfWeek)+"\n ")])]}},{key:"default",fn:function(r){return[s("div",{staticClass:"day-work"},[s("el-popover",{attrs:{placement:"bottom",width:"231",trigger:"click"}},[s("people-day-class",{attrs:{dates:e.dates,itemSchedule:r.row,weekDay:t.weekDay,classData:e.classes,cycleData:e.cycleData},on:{refreshData:e.refreshData}}),e._v(" "),s("div",{staticClass:"tool-tip-body",attrs:{slot:"reference"},slot:"reference"},[s("div",{class:["day-work-cell schedule_del_class",r.row.setClassesList[a].classColor],attrs:{title:r.row.setClassesList[a].classesName}},[r.row.setClassesList[a].classesName.length<=4?s("div",{class:["day-work-cell_text",r.row.setClassesList[a].classesName.length>2?"text-wrap-set":""]},[e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(0,2)+" ":r.row.setClassesList[a].classesName||"清空")+"\n "),r.row.setClassesList[a].classesName.length>2?s("br"):e._e(),e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(2,4)+" ":"")+"\n ")]):s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:r.row.setClassesList[a].classesName,placement:"top-start"}},[s("div",{class:["day-work-cell_text",r.row.setClassesList[a].classesName.length>2?"text-wrap-set":""]},[e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(0,2)+" ":r.row.setClassesList[a].classesName||"清空")+"\n "),r.row.setClassesList[a].classesName.length>2?s("br"):e._e(),e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(2,4)+" ":"")+"\n ")])]),e._v(" "),r.row.setClassesList[a].isReset?s("div",{staticClass:"day-work-cell_icon"}):e._e()],1)])],1)],1)]}}])})]})],2)],1),e._v(" "),0!=e.tableData.length?s("div",{staticClass:"block common-wrap__page text-right m-t-24"},[s("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"schedule-content_tag"},[t("div",{staticClass:"class-tag"},[t("span",{staticClass:"class-tag-text"},[this._v("休息: 休息")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"schedule-content_tag"},[t("div",{staticClass:"class-tag"},[t("span",{staticClass:"class-tag-text"},[this._v("清空: 休息")])])])}]};var g=s("VU/8")(f,h,!1,function(e){s("l5HL")},"data-v-581aeeb7",null);t.default=g.exports},MYe1:function(e,t){},l5HL:function(e,t){}}); webpackJsonp([34],{"/n/x":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("mvHQ"),r=s.n(a),l=s("Ke24"),n=s("P9l9"),c=s("Ch4/"),i=s("3E4D"),o=s("PI0u"),u={name:"people-day-class",props:{classData:{type:[Array,Object],default:function(){return[]}},cycleData:{type:[Array,Object],default:function(){return[]}},itemSchedule:{type:[Array,Object],default:function(){return[]}},dates:{type:[Array,Object],default:function(){return[]}},weekDay:{type:[Number,String],default:function(){return""}}},data:function(){return{activeTab:"1",translate:{width:"56px",transform:"translateX(30px)"},defaultData:[{classesId:"-1",classesName:"休息",classColor:"day-tag-grey"},{classesId:"-2",classesName:"清空",classColor:""}],itemData:{},itemCycleData:[]}},methods:{chooseTab:function(e,t){this.activeTab=t,this.translate={width:e.target.offsetWidth+"px",transform:"translateX("+e.target.offsetLeft+"px)"}},hideSet:function(){var e=document.createElement("button");document.body.appendChild(e),e.click(),document.body.removeChild(e)},daySet:function(e){var t=this,s=(new Date).getFullYear(),a=(new Date).getMonth()+1<10?(new Date).getMonth()+1:"0"+((new Date).getMonth()+1),l=(new Date).getDate()<10?(new Date).getDate():"0"+(new Date).getDate();if(new Date(t.weekDay).getTime()<new Date(String(s)+"-"+String(a)+"-"+String(l)).getTime())return i.a.showmsg("不能设置今天以前的排班","warning"),!1;t.hideSet(),t.itemData.setClassesList.map(function(e){return e.weekDay}).includes(t.weekDay)&&(t.itemData.setClassesList.forEach(function(s){s.weekDay==t.weekDay&&(s.classesName=e.classesName,s.classesId=e.classesId,s.classColor=e.classColor,s.isReset=!0)}),t.$emit("refreshData",JSON.parse(r()(t.itemData))),t.$forceUpdate())},toCycleSet:function(){this.$router.push("/workGroupSet?appIcon="+this.$route.query.appIcon+"&attenceGroupId="+this.$route.query.attenceGroupId)},dayWeekSet:function(){var e=this,t=(new Date).getFullYear(),s=(new Date).getMonth()+1>10?(new Date).getMonth()+1:"0"+((new Date).getMonth()+1),a=(new Date).getDate()>10?(new Date).getDate():"0"+(new Date).getDate();if(new Date(e.weekDay).getTime()<new Date(String(t)+"-"+String(s)+"-"+String(a)).getTime())return i.a.showmsg("不能设置今天以前的排班","warning"),!1;var l=0;e.itemData.setClassesList.forEach(function(t,s){e.weekDay==t.weekDay&&(l=s)}),e.hideSet();for(var n=e.cycleData[0].classesList.length,c=l,o=0;o<e.itemData.setClassesList.length-l;o++)e.itemData.setClassesList[c].classesName=e.cycleData[0].classesList[o%n].classesName,e.itemData.setClassesList[c].classesId=e.cycleData[0].classesList[o%n].classesId,e.itemData.setClassesList[c].classColor=e.cycleData[0].classesList[o%n].classColor,e.itemData.setClassesList[c].isReset=!0,c++;e.$emit("refreshData",JSON.parse(r()(e.itemData))),e.$forceUpdate()}},watch:{itemSchedule:function(e){this.itemData=JSON.parse(r()(e))},cycleData:function(e){this.itemCycleData=JSON.parse(r()(e))}},mounted:function(){this.itemData=JSON.parse(r()(this.itemSchedule)),this.itemCycleData=JSON.parse(r()(this.cycleData))}},d={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"day-tabs"},[s("div",{staticClass:"tablist"},[s("div",{staticClass:"right-content-top border-box"},[s("div",{staticClass:"right-top-wrap_left flex flex-pack-center"},[s("ul",{staticClass:"flex flex-row flex-pack-center "},[s("div",{staticClass:"el-tabs__active-bar is-top",style:e.translate}),e._v(" "),s("li",{class:["flex flex-align-center flex-pack-center p-lr-24",1==e.activeTab?"active-li":""],on:{click:function(t){e.chooseTab(t,"1")}}},[s("span",{staticClass:"flex flex-align-center flex-pack-center right-top-title"},[e._v("按天排班")])]),e._v(" "),s("li",{class:["flex flex-align-center flex-pack-center p-lr-24",2==e.activeTab?"active-li":""],on:{click:function(t){e.chooseTab(t,"2")}}},[s("span",{staticClass:"flex flex-align-center flex-pack-center right-top-title"},[e._v("按周期排班")])])])])])]),e._v(" "),1==e.activeTab?s("ul",[s("li",[s("div",{staticClass:"day-item-title",attrs:{title:"修改该员工当天班次"}},[e._v("修改该员工当天班次")]),e._v(" "),s("ul",[e._l(e.classData,function(t,a){return[s("li",{key:a+"class",staticClass:"day-class-item p-lr-20",on:{click:function(s){s.stopPropagation(),e.daySet(t)}}},[s("p",{class:["class-item",t.classColor]},[e._v(e._s(t.classesName))])])]}),e._v(" "),e._l(e.defaultData,function(t,a){return[s("li",{key:a+"defaultClass",staticClass:"day-class-item p-lr-20",on:{click:function(s){s.stopPropagation(),e.daySet(t)}}},[s("p",{class:["class-item","-1"==t.classesId?"class-rest":"class-clear"]},[e._v(e._s(t.classesName))])])]})],2)])]):e._e(),e._v(" "),2==e.activeTab?s("ul",[s("li",[e.cycleData.length?s("div",{staticClass:"day-item-title",attrs:{title:"从该天开始周期排班至月底"}},[e._v("从该天开始周期排班至月底")]):s("div",{staticClass:"day-item-title",attrs:{title:"还没有排班周期"}},[e._v("还没有排班周期"),s("br"),e._v("请去后台考勤组规则里设置")]),e._v(" "),s("ul",[e.cycleData.length?s("li",{staticClass:"day-class-item p-lr-20",on:{click:function(t){return t.stopPropagation(),e.dayWeekSet(t)}}},[s("p",{staticClass:"class-item day-tag-blue"},[e._v(e._s(e.cycleData[0].rangeName)+" "+e._s(e.cycleData[0].classesList.map(function(e){return e.classesName}).join("-")))])]):s("li",{staticClass:"day-class-item p-lr-20",on:{click:function(t){return t.stopPropagation(),e.toCycleSet(t)}}},[s("p",{staticClass:"class-item day-tag-blue"},[e._v("请设置排班周期")])])])])]):e._e()])},staticRenderFns:[]};var p=s("VU/8")(u,d,!1,function(e){s("MYe1")},"data-v-3eaa45f1",null).exports,f={name:"workTimeManage",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{peopleDayClass:p,commonDetailTop:l.a},filters:{filterDay:function(e){return new Date(e).getDate()}},data:function(){return{activeBrand:this.brandId,activeGroup:this.activeGroupId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,activeId:"2",topMenuData:[{id:"1",name:"考勤组管理",path:"/workSet?appIcon="+this.$route.query.appIcon},{id:"2",name:"编辑排班表"}],yearMonth:(new Date).getFullYear()+"-"+((new Date).getMonth()+1),currentPage:1,pageSize:20,total:0,cycleData:[],classes:[],weekData:["日","一","二","三","四","五","六"],dates:[],tableData:[]}},methods:{toSave:Object(o.a)(function(){var e=this,t=[];JSON.parse(r()(e.tableData)).forEach(function(s){s.setClassesList.forEach(function(a){t.push({attenceGroupId:e.$route.query.attenceGroupId,classesId:a.classesId,userId:s.userId,weekDay:a.weekDay})})}),e.postSave(t)},300),postSave:function(e){var t=this,s={enterpriseId:t.enterpriseId,attenceGroupId:t.$route.query.attenceGroupId,setClassesJson:r()(e)};Object(n.e)("/haoban-app-attence-web/set-classes",s).then(function(e){var t=e.data;if(1==t.errorCode)return i.a.showmsg("保存成功","success"),!1;c.a.errorMsg(t)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toReset:function(){this.dates=[],this.tableData=[],this.currentPage=1,this.getTableList(this.brandId)},changeMonth:function(){this.dates=[],this.tableData=[],this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.pageSize=e,this.getTableList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.brandId)},toWorkGroup:function(){this.$router.push("/workGroupSet?appIcon="+this.$route.query.appIcon+"&attenceGroupId="+this.$route.query.attenceGroupId)},refreshData:function(e){if(!e)return!1;var t=JSON.parse(r()(this.tableData));t.forEach(function(t){t.userId==e.userId&&(t.setClassesList=e.setClassesList)}),this.tableData=JSON.parse(r()(t)),this.$forceUpdate()},getClassifyData:function(){var e=this,t={enterpriseId:e.enterpriseId,attenceGroupId:e.$route.query.attenceGroupId};Object(n.a)("/haoban-app-attence-web/attence-classes-list",t).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(e,t){t%7==0&&(e.classColor="day-tag-blue"),t%7==1&&(e.classColor="day-tag-red"),t%7==2&&(e.classColor="day-tag-purple"),t%7==3&&(e.classColor="day-tag-orange"),t%7==4&&(e.classColor="day-tag-green"),t%7==5&&(e.classColor="day-tag-pink"),t%7==6&&(e.classColor="day-tag-cyan"),e.classessTimesJson&&(e.classessTimesJson=JSON.parse(e.classessTimesJson))}),e.classes=s.result||[],e.getCycleData(),e.getTableList(),!1;c.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getCycleData:function(){var e=this,t={enterpriseId:e.enterpriseId,attenceGroupId:e.$route.query.attenceGroupId};Object(n.a)("/haoban-app-attence-web/attence-range-list",t).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.classesList&&t.classesList.length&&t.classesList.forEach(function(t){e.classes.forEach(function(e){t.classesId==e.classesId&&(t.classColor=e.classColor)})})}),e.cycleData=s.result||[],!1;c.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(e){var t=this,s={month:t.yearMonth,enterpriseId:t.enterpriseId,attenceGroupId:t.$route.query.attenceGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.e)("/haoban-app-attence-web/set-classes-detail",s).then(function(e){var s=e.data;if(1==s.errorCode)return t.total=s.result.totalCount,t.dates=JSON.parse(r()(s.result.params.dateList)),s.result.params.userList.forEach(function(e){e.setClassesList.forEach(function(e){e.isReset=!1,e.classColor=e.classColor?e.classColor:"",t.classes.forEach(function(t){e.classesId==t.classesId&&(e.classColor=t.classColor)})})}),t.tableData=JSON.parse(r()(s.result.params.userList))||[],!1;c.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","2"),setTimeout(function(){e.getClassifyData()},1e3)}},h={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"work-time border-box"},[s("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),s("div",{staticClass:"work-time-content border-box"},[s("div",{staticClass:"classes-wrap m-b-20"},[s("span",{staticClass:"fl font-13 color-303133"},[e._v("班次说明:")]),e._v(" "),s("div",{staticClass:"class-row-tags"},[e._l(e.classes,function(t,a){return s("div",{key:a,class:["class-tag",a%7==0?"day-tag-blue":"",a%7==1?"day-tag-red":"",a%7==2?"day-tag-purple":"",a%7==3?"day-tag-orange":"",a%7==4?"day-tag-green":"",a%7==5?"day-tag-pink":"",a%7==6?"day-tag-cyan":""]},[s("span",{staticClass:"class-tag-text"},[e._v(e._s(t.classesName)+":")]),e._v(" "),e._l(t.classessTimesJson,function(t,a){return s("span",{key:a+"time"},[e._v(e._s(t.startTime)+"-"+e._s(t.endTime))])})],2)}),e._v(" "),e._m(0),e._v(" "),e._m(1)],2)]),e._v(" "),s("div",{staticClass:"range-wrap m-b-20"},[s("span",{staticClass:"fl font-13 color-303133"},[e._v("排班周期:")]),e._v(" "),s("div",{staticClass:"class-row-tags"},[e._l(e.cycleData,function(t,a){return s("div",{key:a+"cycle",staticClass:"class-tag"},[s("span",{staticClass:"ant-tag-text"},[e._v(e._s(t.rangeName)+":")]),e._v(" "),s("span",[e._v(e._s(t.classesList.map(function(e){return e.classesName}).join("-")))])])}),e._v(" "),s("el-button",{attrs:{type:"text"},on:{click:e.toWorkGroup}},[e._v("设置")])],2)]),e._v(" "),s("div",{staticClass:"work-time-opt m-b-20 flex flex-space-between",staticStyle:{width:"calc(100% - 20px)"}},[s("div",{staticClass:"work-time-opt_left"},[s("el-date-picker",{attrs:{type:"month",format:"yyyy-MM","value-format":"yyyy-MM",placeholder:"选择月"},on:{change:e.changeMonth},model:{value:e.yearMonth,callback:function(t){e.yearMonth=t},expression:"yearMonth"}}),e._v(" "),s("span",{staticClass:"p-l-10 font-12 color-606266"},[e._v("未排班时,员工可选择班次打卡")])],1),e._v(" "),s("div",{staticClass:"work-time-opt_right"},[s("el-button",{attrs:{type:"primary"},on:{click:e.toSave}},[e._v("保存")]),e._v(" "),s("el-button",{on:{click:e.toReset}},[e._v("恢复")])],1)]),e._v(" "),s("div",{staticClass:"work-time-table"},[s("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 20px)"},attrs:{border:"",data:e.tableData,"tooltip-effect":"dark"}},[s("el-table-column",{attrs:{prop:"","show-overflow-tooltip":"",fixed:"",width:"101"},scopedSlots:e._u([{key:"header",fn:function(t){return[s("div",{staticClass:"text-center",staticStyle:{width:"100%"}},[e._v("姓名")])]}},{key:"default",fn:function(t){return[s("div",{staticClass:"row-username",attrs:{title:t.row.userName}},[e._v("\n "+e._s(t.row.userName)+"\n ")])]}}])}),e._v(" "),e._l(e.dates,function(t,a){return[s("el-table-column",{key:a+"thead",attrs:{prop:"","show-overflow-tooltip":"","min-width":"38"},scopedSlots:e._u([{key:"header",fn:function(a){return[s("div",{class:["text-center","六"==t.dayOfWeek||"日"==t.dayOfWeek?"color-red":""]},[e._v("\n "+e._s(t.weekDay?parseInt(t.weekDay.split("-")[2]):"")+" "),s("br"),e._v("\n "+e._s(t.dayOfWeek)+"\n ")])]}},{key:"default",fn:function(r){return[s("div",{staticClass:"day-work"},[s("el-popover",{attrs:{placement:"bottom",width:"231",trigger:"click"}},[s("people-day-class",{attrs:{dates:e.dates,itemSchedule:r.row,weekDay:t.weekDay,classData:e.classes,cycleData:e.cycleData},on:{refreshData:e.refreshData}}),e._v(" "),s("div",{staticClass:"tool-tip-body",attrs:{slot:"reference"},slot:"reference"},[s("div",{class:["day-work-cell schedule_del_class",r.row.setClassesList[a].classColor],attrs:{title:r.row.setClassesList[a].classesName}},[r.row.setClassesList[a].classesName.length<=4?s("div",{class:["day-work-cell_text",r.row.setClassesList[a].classesName.length>2?"text-wrap-set":""]},[e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(0,2)+" ":r.row.setClassesList[a].classesName||"清空")+"\n "),r.row.setClassesList[a].classesName.length>2?s("br"):e._e(),e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(2,4)+" ":"")+"\n ")]):s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:r.row.setClassesList[a].classesName,placement:"top-start"}},[s("div",{class:["day-work-cell_text",r.row.setClassesList[a].classesName.length>2?"text-wrap-set":""]},[e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(0,2)+" ":r.row.setClassesList[a].classesName||"清空")+"\n "),r.row.setClassesList[a].classesName.length>2?s("br"):e._e(),e._v("\n "+e._s(r.row.setClassesList[a].classesName.length>2?r.row.setClassesList[a].classesName.slice(2,4)+" ":"")+"\n ")])]),e._v(" "),r.row.setClassesList[a].isReset?s("div",{staticClass:"day-work-cell_icon"}):e._e()],1)])],1)],1)]}}])})]})],2)],1),e._v(" "),0!=e.tableData.length?s("div",{staticClass:"block common-wrap__page text-right m-t-24"},[s("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"schedule-content_tag"},[t("div",{staticClass:"class-tag"},[t("span",{staticClass:"class-tag-text"},[this._v("休息: 休息")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"schedule-content_tag"},[t("div",{staticClass:"class-tag"},[t("span",{staticClass:"class-tag-text"},[this._v("清空: 休息")])])])}]};var g=s("VU/8")(f,h,!1,function(e){s("l5HL")},"data-v-581aeeb7",null);t.default=g.exports},MYe1:function(e,t){},l5HL:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([35],{Ujni:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),s=a.n(o),i=a("mvHQ"),n=a.n(i),r=a("P9l9"),l=a("Ch4/"),c=a("PI0u"),d={name:"daily-export",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){var e=this;return{projectName:"",activeBrand:this.brandId,activeGroup:this.activeGroupId,dailyRuleForm:{dateRange:[],storeType:"",stores:[]},templates:[],checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,o=t.minDate;e.choiceDateCopy=[o.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-7776e6,o=e.choiceDateCopy[0]+7776e6;return t.getTime()<a||t.getTime()>o||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},rules:{dateRange:[{required:!0,message:"请选择日期",trigger:"change"}],storeType:[{required:!0,message:"请选择自定义模板",trigger:"change"}],stores:[{type:"array",required:!0,message:"请选择门店",trigger:"change"}]},pageNum:1,pageSize:200}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length},changeDate:function(e){e||(this.choiceDateCopy=[],this.dailyRuleForm.dateRange=[])},changeTemplate:function(){var e=this;e.pageNum=1,e.dailyRuleForm.stores=[],e.stores=[],e.storesCopy=[],e.searchSelect="",e.checkAll=!1,e.$nextTick(function(){e.getStoreData()})},exportForm:Object(c.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;var a="";t.templates.forEach(function(e){e.storeType==t.dailyRuleForm.storeType&&(a=e.dailyReportTemplateId)}),t.postDailyExcel(a)})},500),postDailyExcel:function(e){var t=this,a={storeIds:t.dailyRuleForm.stores.join(",")||"",templateId:e,startDate:t.dailyRuleForm.dateRange[0]||"",endDate:t.dailyRuleForm.dateRange[1]||"",brandId:t.activeBrand};Object(r.b)("/haoban-app-daily-web/daily/batch-export",a).then(function(e){if(!e.data)return l.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),o=t.dailyRuleForm.dateRange[0]+"-"+t.dailyRuleForm.dateRange[1]+"日报.xls",s=document.createElement("a");s.download=o,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){t.$message.error({duration:1e3,message:e.message})})},toInput:Object(c.a)(function(e,t){if(!this.storesCopy.length)return!1;""==t&&(this.stores=JSON.parse(n()(this.storesCopy)));var a=JSON.parse(n()(this.storesCopy)).filter(function(e){return e.storeName.includes(t)});this.stores=a},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=JSON.parse(n()(this.storesCopy))},getTemplateData:function(){var e=this,t={brandId:e.brandId};Object(r.a)("/haoban-app-daily-web/daily/list-define-template",t).then(function(t){var a=t.data;1!=a.errorCode?l.a.errorMsg(a):a.result&&a.result.length&&(e.templates=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getStoreData:function(){var e=this,t={brandId:e.activeBrand,storeGroupId:e.activeGroup,showChild:1,showType:1,status:1,storeType:e.dailyRuleForm.storeType,pageNum:e.pageNum,pageSize:e.pageSize};Object(r.a)("/haoban-manage-web/store/findSimplePage",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(e){e.select=!1}),1==e.pageNum?(e.stores=JSON.parse(n()(a.result.list))||[],e.storesCopy=JSON.parse(n()(a.result.list))||[]):a.result.list.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.total&&(e.pageNum++,e.getStoreData()));l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.dailyRuleForm.storeType="",this.dailyRuleForm.stores=[],this.stores=[],this.storesCopy=[],this.searchSelect="",this.checkAll=!1,this.activeBrand=e,this.getTemplateData())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.brandId&&(this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.getTemplateData())}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-export-content"},[a("el-form",{ref:"dailyRuleForm",staticClass:"demo-dailyRuleForm",attrs:{model:e.dailyRuleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"dateRange"}},[a("p",{staticClass:"daily-form-label"},[e._v("选择时间")]),e._v(" "),a("el-date-picker",{staticClass:"search-date",attrs:{format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",editable:!1,"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.dailyRuleForm.dateRange,callback:function(t){e.$set(e.dailyRuleForm,"dateRange",t)},expression:"dailyRuleForm.dateRange"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"storeType"}},[a("p",{staticClass:"daily-form-label"},[e._v("选择自定义模板")]),e._v(" "),a("el-select",{staticClass:"w-350",attrs:{placeholder:"请选择自定义模板"},on:{change:e.changeTemplate},model:{value:e.dailyRuleForm.storeType,callback:function(t){e.$set(e.dailyRuleForm,"storeType",t)},expression:"dailyRuleForm.storeType"}},e._l(e.templates,function(e){return a("el-option",{key:e.value,attrs:{label:e.title,value:e.storeType}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"stores"}},[a("p",{staticClass:"daily-form-label"},[e._v("选择门店")]),e._v(" "),a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称"},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num w-350",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.exportForm("dailyRuleForm")}}},[e._v("导出日报")])],1)],1)],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("ugpn")},"data-v-674b24ab",null).exports,h=a("Ie7z"),m=a("Ke24"),b=a("LRn8"),f=a("3E4D"),g={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,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(e){this.selectRadio=e},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.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},delDepart:function(e,t){t.splice(e,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(e){if(this.showDialog=!1,!s()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[],o=[];t.conditionObj.storeGroup.forEach(function(e){2==e.type&&a.push(e.groupId),3==e.type&&o.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var s={search:t.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:t.multipleSelection.map(function(e){return e.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",brandId:t.activeBrand,delOptFlag:e.delOptFlag,reason:e.reason,chooseAllFlag:t.selectRadio};Object(r.e)("/haoban-app-daily-web/daily/batch-delete-brand-task",s).then(function(e){var a=e.data;if(1==a.errorCode)return f.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},exportExcel:function(){var e=this,t=[],a=[];e.conditionObj.storeGroup.forEach(function(e){2==e.type&&t.push(e.groupId),3==e.type&&a.push(e.storeId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var o={search:e.conditionObj.searchInput||"",filterStoreIds:a.join(",")||"",storeGroupIds:t.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand};Object(r.b)("/haoban-app-daily-web/daily/batch-export-brand-task",o).then(function(e){if(!e.data)return l.a.errorMsg("暂无数据"),!1;var t=new Blob([e.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="云日报记录.csv",a.style.display="none",a.href=URL.createObjectURL(t),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},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("dailyDetail?storeId="+t.storeId+"&appIcon= "+this.$route.query.appIcon)},getTableList:function(e){var t=this,a=[],o=[];t.conditionObj.storeGroup.forEach(function(e){2==e.type&&a.push(e.groupId),3==e.type&&o.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var s={search:t.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(r.a)("/haoban-app-daily-web/daily/page-brand-task",s).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{dailyExport:p,commonDetailTop:m.a,vueSelectStore:h.a,multipleDel:b.a}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"common-detail-tab"},[a("el-tabs",{staticClass:"daily-set-tab",model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"云日报记录",name:"first"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"云日报导出",name:"second"}})],1)],1),e._v(" "),"first"==e.activeName?a("div",{staticClass:"daily-set-content boder-box"},[e._m(0),e._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 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称"},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("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(t){e.showDialogLayer("store",e.conditionObj.storeGroup)}}},[e.conditionObj.storeGroup.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc"},[e._v("请选择门店分组")]),e._v(" "),e.conditionObj.storeGroup.length?a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.conditionObj.storeGroup,function(t,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name||t.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(o,e.conditionObj.storeGroup)}}})])]})],2)]):e._e()])])]),e._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeStoreType},model:{value:e.conditionObj.storeType,callback:function(t){e.$set(e.conditionObj,"storeType",t)},expression:"conditionObj.storeType"}},e._l(e.storeTypeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),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:{type:"primary"},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.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[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){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("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1):e._e(),e._v(" "),"second"==e.activeName?a("div",{staticClass:"daily-set-content boder-box"},[a("daily-export",{attrs:{brandId:e.brandId,activeGroupId:e.activeGroupId}})],1):e._e(),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1},on:{hideDialog:e.hideDialog}}),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.activeGroup,appScene:e.appScene,treeSet:e.storeTreeSet,selectType:"group",defaultList:e.defaultStoreList},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"m-b-20"},[t("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[t("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),t("div",{staticClass:"el-alert__content"},[t("span",{staticClass:"el-alert__title"},[this._v("提示:仅展示近一年数据。包含好办2.0及3.0")])])])])}]};var y=a("VU/8")(g,v,!1,function(e){a("fk8Y")},"data-v-3e13d4b1",null);t.default=y.exports},fk8Y:function(e,t){},ugpn:function(e,t){}});
\ No newline at end of file
webpackJsonp([35],{"6XGN":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("GVON")},"data-v-34b4b20b",null);L.default=C.exports},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},GVON:function(M,L){}}); webpackJsonp([36],{"6XGN":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("GVON")},"data-v-34b4b20b",null);L.default=C.exports},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},GVON:function(M,L){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([36],{JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("//Fk"),n=a.n(s),o=a("mvHQ"),i=a.n(o),c=a("P9l9"),r=a("3E4D"),l=a("Ch4/"),u={name:"custom-dialog",props:{showCustomDialog:{type:Boolean,default:!1},customType:{type:String,default:""},customTitle:{type:String,default:""}},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,customData:[],checkList:[]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm")},customConfirm:function(){if(!this.checkList.length)return this.$message.error({duration:1e3,message:"请选择操作"}),!1;this.setData(this.checkList)},customChange:function(t){},setData:function(t){var e=this,a={viewIdList:t},s="data"==e.customType?"/haoban-manage-web/home/set-display-enterprise-data":"/haoban-manage-web/home/set-display-quick-entry";Object(c.d)(s,a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("设置成功","success"),void e.$emit("customHandleConfirm");l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getCardList:function(){var t=this,e={all:!0};"data"==t.customType&&(e.fetchData=!1);var a="data"==t.customType?"/haoban-manage-web/home/find-enterprise-data":"/haoban-manage-web/home/find-quick-entry";t.checkList=[],Object(c.e)(a,e).then(function(e){var a=e.data;if(1==a.errorCode){var s=[];return a.result.forEach(function(e,a){e.homeDisplay&&("data"==t.customType?s.push(e.dataViewId):s.push(e.settingViewId))}),t.customData=a.result,void(t.checkList=s)}l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},customType:function(t,e){t&&this.getCardList()}},mounted:function(){this.customDialog=this.showCustomDialog}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"自定义"+t.customTitle,visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("\n 请选择您想在首页展示的"+t._s(t.customTitle)+",还可以再勾选"),a("span",[t._v(" "+t._s(8-t.checkList.length)+" ")]),t._v("个\n ")])]),t._v(" "),a("div",{staticClass:"custom-dialog__checkbox"},[a("el-checkbox-group",{attrs:{max:8},on:{change:t.customChange},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},["data"===t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.dataViewId,attrs:{label:e.dataViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e(),t._v(" "),"data"!=t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.settingViewId,attrs:{label:e.settingViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e()],2)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var f={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",bannerList:[],companyObj:{},dataOverview:[],entryData:[]}},methods:{changeRoute:function(t){this.$router.push(t)},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},showDialogLayer:function(t){this.showCustomDialog=!0,this.customType=t,this.customTitle="data"==t?"数据概览":"快捷操作"},customHandleConfirm:function(t){this.showCustomDialog=!1,"data"===this.customType?this.getDataOverview():this.getEntryData()},toCertify:function(t){1!=t&&this.changeRoute("/companyCertify")},getBannerData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-advertisement",{}).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.bannerList=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getEnterpriseData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.balance=Number(a.result.balance).toFixed(2),0==a.result.yesterdayUseNumber&&(a.result.yesterdayUseNumber=String(a.result.yesterdayUseNumber)),t.companyObj=a.result,void t.$nextTick(function(){t.getUserData()});l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;Object(c.a)("/haoban-manage-web/emp/get-user-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return localStorage.setItem("userInfo",i()(a.result)),void t.$nextTick(function(){t.$refs.headerMenu.getHeaderMenu()});t.$message.error({duration:1e3,message:a.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getDataOverview:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-data",{all:!1,fetchData:!0}).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.dataOverview=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getEntryData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-quick-entry",{all:!1}).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.entryData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px",n.a.all([this.getBannerData(),this.getDataOverview(),this.getEntryData(),this.getEnterpriseData()])},components:{customDialog:a("VU/8")(u,m,!1,function(t){a("mZuu")},"data-v-20cf4057",null).exports}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-company flex flex-row"},[a("div",{staticClass:"index-company-left m-r-24 border-box radius-2"},[a("div",{staticClass:"index-company-logo"},[t.companyObj.logoUrl?a("div",{staticClass:"index-company-logo_img"},[a("img",{attrs:{src:t.companyObj.logoUrl,alt:"log"}})]):a("div",{staticClass:"default-logo-bg"},[a("i",{staticClass:"iconfont icon-2zuzhijiagou default-logo"})])]),t._v(" "),a("div",{staticClass:"index-company-name color-303133"},[t._v(t._s(t.companyObj.enterpriseName))]),t._v(" "),a("ul",{staticClass:"index-company-count"},[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业人数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"企业总人数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.staffNumber||"--")+"人")])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("行政架构部门数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"企业行政架构部门总数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.departmentNumber||"--")+"个")])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("门店架构门店总数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"企业门店总数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.storeGroupNumber||"--")+"个")])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("昨日使用人数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"昨日登录好办人数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(""==t.companyObj.yesterdayUseNumber||null==t.companyObj.yesterdayUseNumber?"--":t.companyObj.yesterdayUseNumber)+"人")])])]),t._v(" "),a("ul",{staticClass:"p-t-12"},[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业编码")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.enterpriseCode||"--"))])]),t._v(" "),a("li",{staticClass:"flex flex-between",on:{click:function(e){t.toCertify(t.companyObj.authenticationStatus)}}},[a("span",[t._v("企业认证")]),a("span",{class:[1==t.companyObj.authenticationStatus?"authActive":0==t.companyObj.authenticationStatus?"unAuth":2==t.companyObj.authenticationStatus?"auth-ing":"auth-fail"]},[1==t.companyObj.authenticationStatus||0==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-renzheng p-r-6 "}):t._e(),2==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng1 p-r-6 "}):t._e(),3==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng2 p-r-6 "}):t._e(),t._v(t._s(1==t.companyObj.authenticationStatus?"已认证":0==t.companyObj.authenticationStatus?"未认证":2==t.companyObj.authenticationStatus?"认证中":"认证失败")+" ")])]),t._v(" "),t._m(0)])]),t._v(" "),a("div",{staticClass:"index-entry radius-2"},[a("div",{staticClass:"index-swiper"},[a("el-carousel",{attrs:{trigger:"click",height:"250px",arrow:"never",autoplay:!1}},t._l(t.bannerList,function(t,e){return a("el-carousel-item",{key:e},[a("a",{staticClass:"index-swiper-bg",style:{backgroundImage:"url("+t.imgUrl+")"},attrs:{href:1==t.linkType?"#"+t.linkUrl:t.linkUrl,target:"_blank",rel:"nofollow noopener noreferrer"}})])}))],1),t._v(" "),a("div",{staticClass:"bg-f5f8fa bg-space"}),t._v(" "),a("div",{staticClass:"index-entry-head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16 font-w-500"},[t._v("快捷入口")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("entry")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-entry-body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.entryData,function(e,s){return a("li",{key:s,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){t.changeRoute(e.fieldUrl)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.fieldIconBgColor}},[a("i",{class:["iconfont",e.fieldIconUrl]})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-20"},[t._v(t._s(e.fieldTitle))])])}))])])])]),t._v(" "),a("vue-gic-footer")],1),t._v(" "),a("custom-dialog",{attrs:{customTitle:t.customTitle,customType:t.customType,showCustomDialog:t.showCustomDialog},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"flex flex-between"},[e("span",[this._v("帮助手册")]),e("a",{attrs:{href:"https://report-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20190619185604/好办管理员.pdf",download:"好办帮助手册.pdf"}},[e("span",{staticClass:"color-1890ff"},[this._v("立即下载"),e("i",{staticClass:"el-icon-arrow-right"})])])])}]};var h=a("VU/8")(f,d,!1,function(t){a("LE4m")},"data-v-f9b92a44",null);e.default=h.exports},LE4m:function(t,e){},mZuu:function(t,e){}}); webpackJsonp([37],{JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("//Fk"),n=a.n(s),o=a("mvHQ"),i=a.n(o),c=a("P9l9"),r=a("3E4D"),l=a("Ch4/"),u={name:"custom-dialog",props:{showCustomDialog:{type:Boolean,default:!1},customType:{type:String,default:""},customTitle:{type:String,default:""}},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,customData:[],checkList:[]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm")},customConfirm:function(){if(!this.checkList.length)return this.$message.error({duration:1e3,message:"请选择操作"}),!1;this.setData(this.checkList)},customChange:function(t){},setData:function(t){var e=this,a={viewIdList:t},s="data"==e.customType?"/haoban-manage-web/home/set-display-enterprise-data":"/haoban-manage-web/home/set-display-quick-entry";Object(c.d)(s,a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("设置成功","success"),void e.$emit("customHandleConfirm");l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getCardList:function(){var t=this,e={all:!0};"data"==t.customType&&(e.fetchData=!1);var a="data"==t.customType?"/haoban-manage-web/home/find-enterprise-data":"/haoban-manage-web/home/find-quick-entry";t.checkList=[],Object(c.e)(a,e).then(function(e){var a=e.data;if(1==a.errorCode){var s=[];return a.result.forEach(function(e,a){e.homeDisplay&&("data"==t.customType?s.push(e.dataViewId):s.push(e.settingViewId))}),t.customData=a.result,void(t.checkList=s)}l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},customType:function(t,e){t&&this.getCardList()}},mounted:function(){this.customDialog=this.showCustomDialog}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"自定义"+t.customTitle,visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("\n 请选择您想在首页展示的"+t._s(t.customTitle)+",还可以再勾选"),a("span",[t._v(" "+t._s(8-t.checkList.length)+" ")]),t._v("个\n ")])]),t._v(" "),a("div",{staticClass:"custom-dialog__checkbox"},[a("el-checkbox-group",{attrs:{max:8},on:{change:t.customChange},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},["data"===t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.dataViewId,attrs:{label:e.dataViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e(),t._v(" "),"data"!=t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.settingViewId,attrs:{label:e.settingViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e()],2)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var f={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",bannerList:[],companyObj:{},dataOverview:[],entryData:[]}},methods:{changeRoute:function(t){this.$router.push(t)},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},showDialogLayer:function(t){this.showCustomDialog=!0,this.customType=t,this.customTitle="data"==t?"数据概览":"快捷操作"},customHandleConfirm:function(t){this.showCustomDialog=!1,"data"===this.customType?this.getDataOverview():this.getEntryData()},toCertify:function(t){1!=t&&this.changeRoute("/companyCertify")},getBannerData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-advertisement",{}).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.bannerList=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getEnterpriseData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.balance=Number(a.result.balance).toFixed(2),0==a.result.yesterdayUseNumber&&(a.result.yesterdayUseNumber=String(a.result.yesterdayUseNumber)),t.companyObj=a.result,void t.$nextTick(function(){t.getUserData()});l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;Object(c.a)("/haoban-manage-web/emp/get-user-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return localStorage.setItem("userInfo",i()(a.result)),void t.$nextTick(function(){t.$refs.headerMenu.getHeaderMenu()});t.$message.error({duration:1e3,message:a.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getDataOverview:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-data",{all:!1,fetchData:!0}).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.dataOverview=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getEntryData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-quick-entry",{all:!1}).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.entryData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px",n.a.all([this.getBannerData(),this.getDataOverview(),this.getEntryData(),this.getEnterpriseData()])},components:{customDialog:a("VU/8")(u,m,!1,function(t){a("mZuu")},"data-v-20cf4057",null).exports}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-company flex flex-row"},[a("div",{staticClass:"index-company-left m-r-24 border-box radius-2"},[a("div",{staticClass:"index-company-logo"},[t.companyObj.logoUrl?a("div",{staticClass:"index-company-logo_img"},[a("img",{attrs:{src:t.companyObj.logoUrl,alt:"log"}})]):a("div",{staticClass:"default-logo-bg"},[a("i",{staticClass:"iconfont icon-2zuzhijiagou default-logo"})])]),t._v(" "),a("div",{staticClass:"index-company-name color-303133"},[t._v(t._s(t.companyObj.enterpriseName))]),t._v(" "),a("ul",{staticClass:"index-company-count"},[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业人数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"企业总人数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.staffNumber||"--")+"人")])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("行政架构部门数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"企业行政架构部门总数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.departmentNumber||"--")+"个")])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("门店架构门店总数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"企业门店总数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.storeGroupNumber||"--")+"个")])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("昨日使用人数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"昨日登录好办人数,每日刷新一次",placement:"right"}},[a("i",{staticClass:"iconfont icon-xinxixianshi"})])],1),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(""==t.companyObj.yesterdayUseNumber||null==t.companyObj.yesterdayUseNumber?"--":t.companyObj.yesterdayUseNumber)+"人")])])]),t._v(" "),a("ul",{staticClass:"p-t-12"},[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业编码")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.enterpriseCode||"--"))])]),t._v(" "),a("li",{staticClass:"flex flex-between",on:{click:function(e){t.toCertify(t.companyObj.authenticationStatus)}}},[a("span",[t._v("企业认证")]),a("span",{class:[1==t.companyObj.authenticationStatus?"authActive":0==t.companyObj.authenticationStatus?"unAuth":2==t.companyObj.authenticationStatus?"auth-ing":"auth-fail"]},[1==t.companyObj.authenticationStatus||0==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-renzheng p-r-6 "}):t._e(),2==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng1 p-r-6 "}):t._e(),3==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng2 p-r-6 "}):t._e(),t._v(t._s(1==t.companyObj.authenticationStatus?"已认证":0==t.companyObj.authenticationStatus?"未认证":2==t.companyObj.authenticationStatus?"认证中":"认证失败")+" ")])]),t._v(" "),t._m(0)])]),t._v(" "),a("div",{staticClass:"index-entry radius-2"},[a("div",{staticClass:"index-swiper"},[a("el-carousel",{attrs:{trigger:"click",height:"250px",arrow:"never",autoplay:!1}},t._l(t.bannerList,function(t,e){return a("el-carousel-item",{key:e},[a("a",{staticClass:"index-swiper-bg",style:{backgroundImage:"url("+t.imgUrl+")"},attrs:{href:1==t.linkType?"#"+t.linkUrl:t.linkUrl,target:"_blank",rel:"nofollow noopener noreferrer"}})])}))],1),t._v(" "),a("div",{staticClass:"bg-f5f8fa bg-space"}),t._v(" "),a("div",{staticClass:"index-entry-head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16 font-w-500"},[t._v("快捷入口")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("entry")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-entry-body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.entryData,function(e,s){return a("li",{key:s,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){t.changeRoute(e.fieldUrl)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.fieldIconBgColor}},[a("i",{class:["iconfont",e.fieldIconUrl]})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-20"},[t._v(t._s(e.fieldTitle))])])}))])])])]),t._v(" "),a("vue-gic-footer")],1),t._v(" "),a("custom-dialog",{attrs:{customTitle:t.customTitle,customType:t.customType,showCustomDialog:t.showCustomDialog},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"flex flex-between"},[e("span",[this._v("帮助手册")]),e("a",{attrs:{href:"https://report-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20190619185604/好办管理员.pdf",download:"好办帮助手册.pdf"}},[e("span",{staticClass:"color-1890ff"},[this._v("立即下载"),e("i",{staticClass:"el-icon-arrow-right"})])])])}]};var h=a("VU/8")(f,d,!1,function(t){a("LE4m")},"data-v-f9b92a44",null);e.default=h.exports},LE4m:function(t,e){},mZuu:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([37],{HkK0:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),s=a.n(r),n=a("exGp"),o=a.n(n),l=a("P9l9"),c={name:"clerkTbale",components:{vueSelectStore:a("Ie7z").a},props:{store:{type:Object,required:!0},gicFlag:{type:Boolean,default:!0}},data:function(){return{currentBrand:this.store.storeGroupId,treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!0,openNextBool:!0},selectType:"store",transArr:[],selectedList:[],storeListData:{}}},methods:{goBack:function(){window.location.reload()},transClerk:function(e,t){this.transArr="single"==e?[t]:"all"==e?this.storeListData.clerks:this.selectedList,this.treeSet.dialogVisible=!0},delClerk:function(e){this.$emit("delClerk",e)},selectMember:function(e){this.selectedList=e},handleSelectedList:function(e){var t=this;if(!e.length)return!1;var a=[];t.transArr.forEach(function(e){a.push(e.employeeClerkId)});var r={ids:a.join(","),storeId:e[0].id};Object(l.e)("/haoban-manage-web/emp/batchTransfer",r).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),t.getClerkList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},getClerkList:function(){var e=this,t={departmentId:e.store.storeGroupId,storeId:e.store.storeId,showChild:1,showType:2,pageSize:200,pageNum:1,status:1,isCherk:1};Object(l.e)("/haoban-manage-web/emp/findsimplepage",t).then(function(t){1==t.data.errorCode?e.storeListData.clerks=t.data.result.list||[]:e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{store:function(e,t){this.storeListData=e||{}}},mounted:function(){this.storeListData=this.store||{}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"recycle-bin"},[a("p",{staticClass:"r-b-top-header"},[a("a",{staticClass:"a-href title",on:{click:e.goBack}},[e._v("返回")]),e._v(" "),e.gicFlag?e._e():a("el-button",{attrs:{disabled:0==e.selectedList.length},on:{click:function(t){e.transClerk("group")}}},[e._v("批量转移")]),e._v(" "),e.gicFlag?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.transClerk("all")}}},[e._v("全部转移")])],1),e._v(" "),a("el-table",{ref:"clerkTable",staticStyle:{width:"100%"},attrs:{data:e.storeListData.clerks},on:{"selection-change":e.selectMember}},[a("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),a("el-table-column",{attrs:{label:"手机号码",prop:"phoneNumber"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("86"==t.row.nationcode?t.row.phoneNumber:"+"+t.row.nationcode+"-"+t.row.phoneNumber)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"80",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.transClerk("single",t.row)}}},[a("i",{staticClass:"el-icon-sort"})]),e._v(" "),e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.delClerk(t.row)}}},[a("i",{staticClass:"el-icon-delete"})])]}}])})],1),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.currentBrand,treeSet:e.treeSet,selectType:e.selectType},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,i,!1,function(e){a("z8KK")},null,null).exports,d=a("3Xzz"),h=a("PI0u"),p=a("unF8"),g=a("Ch4/"),m={name:"recycle-bin",components:{navCrumb:d.a,clerkTable:u},data:function(){return{searchKey:"",typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],pageSize:20,pageNumber:1,recycleList:[],total:0,navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame?showRecycle=0"},{name:"门店回收站",path:""}],clerks:[],showClerks:!1,currentStore:{},brandId:"",gicFlag:!0}},methods:{toInput:Object(h.a)(function(e){this.pageNumber=1,this.getRecycleList()},300),getRecycleList:function(){var e=this,t=e.$route.query,a={storeName:e.searchKey||"",storeGroupId:t.dept,showChild:1*t.showChild,showType:2,pageSize:e.pageSize,pageNum:e.pageNumber,status:4,storeType:t.type};Object(l.a)("/haoban-manage-web/store/findSimplePage",a).then(function(t){1==t.data.errorCode?(e.total=t.data.result.total,e.recycleList=t.data.result.list||[]):(e.recycleList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},restore:function(e){var t=this;t.$confirm("确定要恢复到门店列表吗?","提示",{type:"warning"}).then(function(){var a={status:1,storeId:e.storeId};Object(l.a)("/haoban-manage-web/store/changeStatus",a).then(function(e){1==e.data.errorCode?(t.searchKey="",t.pageNumber=1,t.getRecycleList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch(function(e){})},handleSizeChange:function(e){this.pageSize=e,this.getRecycleList()},handleCurrentChange:function(e){this.pageNumber=e,this.getRecycleList()},showClerksFn:function(e){this.currentStore=e,this.clerks=null==e.clerks?[]:e.clerks,this.showClerks=!0},delClerk:function(e){var t=this.currentStore,a=this;a.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var r={ids:e.employeeClerkId};Object(l.a)("/haoban-manage-web/emp/del",r).then(function(r){1==r.data.errorCode?t.clerks.forEach(function(a){a.employeeClerkId==e.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(a),1)}):a.$message.error({duration:1e3,message:r.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGicData:function(){var e=this;return o()(s.a.mark(function t(){var a,r,n,o;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={type:1,businessId:(a=e).brandId},t.next=4,Object(p.a)(r);case 4:n=t.sent,1==(o=n.data).errorCode?a.gicFlag=o.result:g.a.errorMsg(o);case 7:case"end":return t.stop()}},t,e)}))()}},beforeMount:function(){this.getRecycleList(),this.brandId=this.$route.query.brandId,this.getGicData()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap recycle-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[e.showClerks?a("clerk-table",{attrs:{gicFlag:e.gicFlag,store:e.currentStore},on:{delClerk:e.delClerk}}):a("div",{staticClass:"recycle-bin"},[a("div",{staticClass:"r-b-top-header"},[a("div",{staticClass:"title"},[e._v(e._s(e.recycleList.length)+" 家门店")]),e._v(" "),a("el-input",{attrs:{placeholder:"请输入门店名","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}},[e._v(">")])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.recycleList}},[a("el-table-column",{attrs:{label:"门店名称",prop:"storeName"}}),e._v(" "),a("el-table-column",{attrs:{label:"代码",prop:"storeCode"}}),e._v(" "),a("el-table-column",{attrs:{label:"类型",prop:"storeType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"地址",prop:"postAddress"}}),e._v(" "),a("el-table-column",{attrs:{label:"待处理店员",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("a",{staticClass:"a-href",on:{click:function(a){e.showClerksFn(t.row)}}},[e._v("\n "+e._s(t.row.clerks.length)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.restore(t.row)}}},[e._v("恢复到门店列表")])]}}])})],1),e._v(" "),e.total?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var b=a("VU/8")(m,f,!1,function(e){a("JTIc")},null,null);t.default=b.exports},JTIc:function(e,t){},z8KK:function(e,t){}}); webpackJsonp([38],{HkK0:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),s=a.n(r),n=a("exGp"),o=a.n(n),l=a("P9l9"),c={name:"clerkTbale",components:{vueSelectStore:a("Ie7z").a},props:{store:{type:Object,required:!0},gicFlag:{type:Boolean,default:!0}},data:function(){return{currentBrand:this.store.storeGroupId,treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!0,openNextBool:!0},selectType:"store",transArr:[],selectedList:[],storeListData:{}}},methods:{goBack:function(){window.location.reload()},transClerk:function(e,t){this.transArr="single"==e?[t]:"all"==e?this.storeListData.clerks:this.selectedList,this.treeSet.dialogVisible=!0},delClerk:function(e){this.$emit("delClerk",e)},selectMember:function(e){this.selectedList=e},handleSelectedList:function(e){var t=this;if(!e.length)return!1;var a=[];t.transArr.forEach(function(e){a.push(e.employeeClerkId)});var r={ids:a.join(","),storeId:e[0].id};Object(l.e)("/haoban-manage-web/emp/batchTransfer",r).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),t.getClerkList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},getClerkList:function(){var e=this,t={departmentId:e.store.storeGroupId,storeId:e.store.storeId,showChild:1,showType:2,pageSize:200,pageNum:1,status:1,isCherk:1};Object(l.e)("/haoban-manage-web/emp/findsimplepage",t).then(function(t){1==t.data.errorCode?e.storeListData.clerks=t.data.result.list||[]:e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{store:function(e,t){this.storeListData=e||{}}},mounted:function(){this.storeListData=this.store||{}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"recycle-bin"},[a("p",{staticClass:"r-b-top-header"},[a("a",{staticClass:"a-href title",on:{click:e.goBack}},[e._v("返回")]),e._v(" "),e.gicFlag?e._e():a("el-button",{attrs:{disabled:0==e.selectedList.length},on:{click:function(t){e.transClerk("group")}}},[e._v("批量转移")]),e._v(" "),e.gicFlag?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.transClerk("all")}}},[e._v("全部转移")])],1),e._v(" "),a("el-table",{ref:"clerkTable",staticStyle:{width:"100%"},attrs:{data:e.storeListData.clerks},on:{"selection-change":e.selectMember}},[a("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),a("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),a("el-table-column",{attrs:{label:"手机号码",prop:"phoneNumber"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("86"==t.row.nationcode?t.row.phoneNumber:"+"+t.row.nationcode+"-"+t.row.phoneNumber)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"80",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.transClerk("single",t.row)}}},[a("i",{staticClass:"el-icon-sort"})]),e._v(" "),e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.delClerk(t.row)}}},[a("i",{staticClass:"el-icon-delete"})])]}}])})],1),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.currentBrand,treeSet:e.treeSet,selectType:e.selectType},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,i,!1,function(e){a("z8KK")},null,null).exports,d=a("3Xzz"),h=a("PI0u"),p=a("unF8"),g=a("Ch4/"),m={name:"recycle-bin",components:{navCrumb:d.a,clerkTable:u},data:function(){return{searchKey:"",typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],pageSize:20,pageNumber:1,recycleList:[],total:0,navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame?showRecycle=0"},{name:"门店回收站",path:""}],clerks:[],showClerks:!1,currentStore:{},brandId:"",gicFlag:!0}},methods:{toInput:Object(h.a)(function(e){this.pageNumber=1,this.getRecycleList()},300),getRecycleList:function(){var e=this,t=e.$route.query,a={storeName:e.searchKey||"",storeGroupId:t.dept,showChild:1*t.showChild,showType:2,pageSize:e.pageSize,pageNum:e.pageNumber,status:4,storeType:t.type};Object(l.a)("/haoban-manage-web/store/findSimplePage",a).then(function(t){1==t.data.errorCode?(e.total=t.data.result.total,e.recycleList=t.data.result.list||[]):(e.recycleList=[],e.$message.error({duration:1e3,message:t.data.message}))}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},restore:function(e){var t=this;t.$confirm("确定要恢复到门店列表吗?","提示",{type:"warning"}).then(function(){var a={status:1,storeId:e.storeId};Object(l.a)("/haoban-manage-web/store/changeStatus",a).then(function(e){1==e.data.errorCode?(t.searchKey="",t.pageNumber=1,t.getRecycleList()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch(function(e){})},handleSizeChange:function(e){this.pageSize=e,this.getRecycleList()},handleCurrentChange:function(e){this.pageNumber=e,this.getRecycleList()},showClerksFn:function(e){this.currentStore=e,this.clerks=null==e.clerks?[]:e.clerks,this.showClerks=!0},delClerk:function(e){var t=this.currentStore,a=this;a.$confirm("是否要删除该员工?","提示",{type:"warning"}).then(function(){var r={ids:e.employeeClerkId};Object(l.a)("/haoban-manage-web/emp/del",r).then(function(r){1==r.data.errorCode?t.clerks.forEach(function(a){a.employeeClerkId==e.employeeClerkId&&t.clerks.splice(t.clerks.indexOf(a),1)}):a.$message.error({duration:1e3,message:r.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGicData:function(){var e=this;return o()(s.a.mark(function t(){var a,r,n,o;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={type:1,businessId:(a=e).brandId},t.next=4,Object(p.a)(r);case 4:n=t.sent,1==(o=n.data).errorCode?a.gicFlag=o.result:g.a.errorMsg(o);case 7:case"end":return t.stop()}},t,e)}))()}},beforeMount:function(){this.getRecycleList(),this.brandId=this.$route.query.brandId,this.getGicData()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap recycle-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[e.showClerks?a("clerk-table",{attrs:{gicFlag:e.gicFlag,store:e.currentStore},on:{delClerk:e.delClerk}}):a("div",{staticClass:"recycle-bin"},[a("div",{staticClass:"r-b-top-header"},[a("div",{staticClass:"title"},[e._v(e._s(e.recycleList.length)+" 家门店")]),e._v(" "),a("el-input",{attrs:{placeholder:"请输入门店名","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}},[e._v(">")])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.recycleList}},[a("el-table-column",{attrs:{label:"门店名称",prop:"storeName"}}),e._v(" "),a("el-table-column",{attrs:{label:"代码",prop:"storeCode"}}),e._v(" "),a("el-table-column",{attrs:{label:"类型",prop:"storeType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.typeArr[1*t.row.storeType+1])+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"地址",prop:"postAddress"}}),e._v(" "),a("el-table-column",{attrs:{label:"待处理店员",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("a",{staticClass:"a-href",on:{click:function(a){e.showClerksFn(t.row)}}},[e._v("\n "+e._s(t.row.clerks.length)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",prop:"clerkCount"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.gicFlag?e._e():a("a",{staticClass:"a-href",on:{click:function(a){e.restore(t.row)}}},[e._v("恢复到门店列表")])]}}])})],1),e._v(" "),e.total?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.pageNumber,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var b=a("VU/8")(m,f,!1,function(e){a("JTIc")},null,null);t.default=b.exports},JTIc:function(e,t){},z8KK:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([38],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}}); webpackJsonp([39],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([39],{"2BMJ":function(t,e){},E5jH:function(t,e){},yuVF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),o=a("gBtx"),i=a.n(o),l=a("mvHQ"),r=a.n(l),n=a("c4uw"),p=a("Ie7z"),c=a("P9l9"),d=a("3E4D"),u=a("Ch4/"),f={name:"visiable-dialog",props:{showDialog:{type:Boolean,default:!1},appId:{type:String,default:""},appName:{type:String,default:""}},components:{vueSelectEmployee:n.a,vueSelectStore:p.a},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,formData:{appId:this.appId,displayType:"0",data:[],departList:[],storeList:[]},appScene:2,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0},treeData:{},defaultSelection:[],changed:"",onlyPerson:!1,selectType:"",defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0}}},beforeMount:function(){},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDialog")},showDialogLayer:function(t,e){if(this.selectType=t,this.changed=t,"store"===t)return this.defaultStoreList=e,void(this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0});this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0},"people"===t&&(this.onlyPerson=!1,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}),this.defaultSelection=e,this.treeData.hasOwnProperty("treeData")},handleSelectedList:function(t){console.log(t),"store"===this.selectType?this.formData.storeList=t:this.formData.departList=t},delDepart:function(t,e){e.splice(t,1)},customConfirm:function(){if(0!=this.formData.displayType)if(this.formData.departList.length||this.formData.storeList.length){var t=[];this.formData.departList.length&&this.formData.departList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.formData.storeList.length&&this.formData.storeList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.setData(t)}else this.$message.error({duration:1e3,message:"请选择可见人员"});else this.setData([])},setData:function(t){var e=this,a={appId:this.appId,displayType:parseInt(e.formData.displayType),data:r()(t)};Object(c.e)("/haoban-manage-web/application-right-save",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("设置成功","success"),void e.hideDialog();u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getSetData:function(){var t=this,e={appId:t.formData.appId};Object(c.e)("/haoban-manage-web/application-right-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.formData.displayType=String(a.result.displayType),t.formData.departList=[],t.formData.storeList=[],a.result.displayRelation&&a.result.displayRelation.length&&a.result.displayRelation.forEach(function(e){2===i()(e.type)&&(e.groupId=e.id),e.label=e.name,e.isStore?t.formData.storeList.push(e):t.formData.departList.push(e)}),t.defaultSelection=t.formData.departList,void(t.defaultStoreList=t.formData.storeList);u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showDialog:function(t,e){this.customDialog=t},appId:function(t,e){this.formData.appId=t,t&&this.getSetData()}},mounted:function(){this.customDialog=this.showDialog,this.appId&&this.getSetData()}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"app-dialog",attrs:{title:t.appName+"可见范围设置",visible:t.customDialog,width:"476px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"app-dialog-body"},[a("el-form",{ref:"form",attrs:{model:t.formData,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"可见范围"}},[a("div",[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("全部员工")])],1),t._v(" "),a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("部分员工")])],1)]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.formData.displayType,expression:"formData.displayType == 1"}]},[a("el-form-item",{staticClass:"m-b-0 m-t-10",attrs:{label:"行政架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(e){t.showDialogLayer("depart",t.formData.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.departList,function(e,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(s,t.formData.departList)}}})])]})],2)])])])])]),t._v(" "),a("el-form-item",{staticClass:"m-t-22",attrs:{label:"门店架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.formData.storeList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.storeList,function(e,s){return[a("span",{key:s,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){e.stopPropagation(),t.delDepart(s,t.formData.storeList)}}})])]})],2)])])])])])],1)],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)]),t._v(" "),a("vue-select-employee",{attrs:{appScene:t.appScene,defaultSelection:t.defaultSelection,onlyPerson:t.onlyPerson,treeSet:t.treeSet,changed:t.changed},on:{handleSelectedList:t.handleSelectedList}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"all",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var h=a("VU/8")(f,m,!1,function(t){a("2BMJ")},"data-v-15f990ae",null).exports,g={name:"apps",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"企业应用",path:""}],appList:[],roleCode:"",appName:"",appId:"",showDialog:!1}},computed:{},methods:{showPeople:function(t){if("master_admin"!=this.roleCode&&"admin"!=this.roleCode)return this.$message.error({duration:1e3,message:"暂无操作权限"}),!1;this.appName=t.appName,this.appId=t.appId,this.showDialog=!0},hideDialog:function(){this.appName="",this.showDialog=!1},changeSwitch:function(t){var e=this;if("master_admin"!=e.roleCode)return e.$message.error({duration:1e3,message:"暂无操作权限"}),!1;var a=1==t.status?"关闭":"开启";e.$confirm("确认"+a+"【"+t.appName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){})},postSwitch:function(t){var e=this,a={appId:t.appId,status:2==t.status?1:2};Object(c.a)("/haoban-manage-web/application-on-off",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("操作成功","success"),void(t.status=2==t.status?1:2);u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toAppDetail:function(t){if(!t.appUrl)return d.a.showmsg("无更多设置项,不可进入!","warning"),!1;0==t.appType?this.$router.push(t.appUrl+"?appId="+t.appId+"&appIcon="+t.appIcon):window.open(t.appUrl)},getAppList:function(t){var e=this;Object(c.a)("/haoban-manage-web/application-rigth-list",{}).then(function(t){var a=t.data;1!=a.errorCode?u.a.errorMsg(a):a.result&&a.result.appList&&(e.appList=a.result.appList,e.roleCode=a.result.roleCode)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getAppList()},components:{navCrumb:s.a,visiableDialog:h}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"apps-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"apps-content"},[a("div",{staticClass:"apps-content-title"},[t._v("基础应用")]),t._v(" "),a("div",{staticClass:"apps-content-body m-t-24"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.appList,function(e,s){return a("li",{key:e.appId+s,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){if(a.target!==a.currentTarget)return null;t.toAppDetail(e)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.appBackgroudColor},on:{click:function(a){a.stopPropagation(),t.toAppDetail(e)}}},[a("img",{class:[1==e.status?"":"filter-grayscale"],attrs:{src:e.appIcon,alt:""}})]),t._v(" "),a("div",{staticClass:"color-303133 font-16 p-l-8",on:{click:function(a){a.stopPropagation(),t.toAppDetail(e)}}},[a("div",[t._v(t._s(e.appName))]),t._v(" "),e.appUrl?t._e():a("div",{staticClass:"font-12 color-909399 m-t-5"},[t._v("里面什么也没有~")])]),t._v(" "),a("div",{staticClass:"cell-arrow-down"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right color-909399",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.showPeople(e)}}},[t._v("可见人群")])]),t._v(" "),a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.status?"停用":"启用"))])])],1)],1)],1)])}))])])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("visiableDialog",{attrs:{appId:t.appId,appName:t.appName,showDialog:t.showDialog},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var D=a("VU/8")(g,v,!1,function(t){a("E5jH")},"data-v-ac486fa2",null);e.default=D.exports}}); webpackJsonp([40],{"2BMJ":function(t,e){},E5jH:function(t,e){},yuVF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3Xzz"),o=a("gBtx"),i=a.n(o),l=a("mvHQ"),r=a.n(l),n=a("c4uw"),p=a("Ie7z"),c=a("P9l9"),d=a("3E4D"),u=a("Ch4/"),f={name:"visiable-dialog",props:{showDialog:{type:Boolean,default:!1},appId:{type:String,default:""},appName:{type:String,default:""}},components:{vueSelectEmployee:n.a,vueSelectStore:p.a},data:function(){return{repProjectName:"haoban-manage-web",customDialog:!1,formData:{appId:this.appId,displayType:"0",data:[],departList:[],storeList:[]},appScene:2,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0},treeData:{},defaultSelection:[],changed:"",onlyPerson:!1,selectType:"",defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1,openNextBool:!0}}},beforeMount:function(){},methods:{handleClose:function(t){t(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDialog")},showDialogLayer:function(t,e){if(this.selectType=t,this.changed=t,"store"===t)return this.defaultStoreList=e,void(this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0});this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0,openNextBool:!0},"people"===t&&(this.onlyPerson=!1,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}),this.defaultSelection=e,this.treeData.hasOwnProperty("treeData")},handleSelectedList:function(t){console.log(t),"store"===this.selectType?this.formData.storeList=t:this.formData.departList=t},delDepart:function(t,e){e.splice(t,1)},customConfirm:function(){if(0!=this.formData.displayType)if(this.formData.departList.length||this.formData.storeList.length){var t=[];this.formData.departList.length&&this.formData.departList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.formData.storeList.length&&this.formData.storeList.forEach(function(e){t.push({id:e.id,type:e.hasOwnProperty("employeeClerkId")?1:e.hasOwnProperty("groupId")?2:3})}),this.setData(t)}else this.$message.error({duration:1e3,message:"请选择可见人员"});else this.setData([])},setData:function(t){var e=this,a={appId:this.appId,displayType:parseInt(e.formData.displayType),data:r()(t)};Object(c.e)("/haoban-manage-web/application-right-save",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("设置成功","success"),void e.hideDialog();u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getSetData:function(){var t=this,e={appId:t.formData.appId};Object(c.e)("/haoban-manage-web/application-right-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.formData.displayType=String(a.result.displayType),t.formData.departList=[],t.formData.storeList=[],a.result.displayRelation&&a.result.displayRelation.length&&a.result.displayRelation.forEach(function(e){2===i()(e.type)&&(e.groupId=e.id),e.label=e.name,e.isStore?t.formData.storeList.push(e):t.formData.departList.push(e)}),t.defaultSelection=t.formData.departList,void(t.defaultStoreList=t.formData.storeList);u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{showDialog:function(t,e){this.customDialog=t},appId:function(t,e){this.formData.appId=t,t&&this.getSetData()}},mounted:function(){this.customDialog=this.showDialog,this.appId&&this.getSetData()}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"show",rawName:"v-show",value:t.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"app-dialog",attrs:{title:t.appName+"可见范围设置",visible:t.customDialog,width:"476px","before-close":t.handleClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"app-dialog-body"},[a("el-form",{ref:"form",attrs:{model:t.formData,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"可见范围"}},[a("div",[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("全部员工")])],1),t._v(" "),a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.formData.displayType,callback:function(e){t.$set(t.formData,"displayType",e)},expression:"formData.displayType"}},[t._v("部分员工")])],1)]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.formData.displayType,expression:"formData.displayType == 1"}]},[a("el-form-item",{staticClass:"m-b-0 m-t-10",attrs:{label:"行政架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(e){t.showDialogLayer("depart",t.formData.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.departList,function(e,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(s,t.formData.departList)}}})])]})],2)])])])])]),t._v(" "),a("el-form-item",{staticClass:"m-t-22",attrs:{label:"门店架构",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.formData.storeList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.formData.storeList,function(e,s){return[a("span",{key:s,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){e.stopPropagation(),t.delDepart(s,t.formData.storeList)}}})])]})],2)])])])])])],1)],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)]),t._v(" "),a("vue-select-employee",{attrs:{appScene:t.appScene,defaultSelection:t.defaultSelection,onlyPerson:t.onlyPerson,treeSet:t.treeSet,changed:t.changed},on:{handleSelectedList:t.handleSelectedList}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"all",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var h=a("VU/8")(f,m,!1,function(t){a("2BMJ")},"data-v-15f990ae",null).exports,g={name:"apps",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"企业应用",path:""}],appList:[],roleCode:"",appName:"",appId:"",showDialog:!1}},computed:{},methods:{showPeople:function(t){if("master_admin"!=this.roleCode&&"admin"!=this.roleCode)return this.$message.error({duration:1e3,message:"暂无操作权限"}),!1;this.appName=t.appName,this.appId=t.appId,this.showDialog=!0},hideDialog:function(){this.appName="",this.showDialog=!1},changeSwitch:function(t){var e=this;if("master_admin"!=e.roleCode)return e.$message.error({duration:1e3,message:"暂无操作权限"}),!1;var a=1==t.status?"关闭":"开启";e.$confirm("确认"+a+"【"+t.appName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){})},postSwitch:function(t){var e=this,a={appId:t.appId,status:2==t.status?1:2};Object(c.a)("/haoban-manage-web/application-on-off",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("操作成功","success"),void(t.status=2==t.status?1:2);u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toAppDetail:function(t){if(!t.appUrl)return d.a.showmsg("无更多设置项,不可进入!","warning"),!1;0==t.appType?this.$router.push(t.appUrl+"?appId="+t.appId+"&appIcon="+t.appIcon):window.open(t.appUrl)},getAppList:function(t){var e=this;Object(c.a)("/haoban-manage-web/application-rigth-list",{}).then(function(t){var a=t.data;1!=a.errorCode?u.a.errorMsg(a):a.result&&a.result.appList&&(e.appList=a.result.appList,e.roleCode=a.result.roleCode)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getAppList()},components:{navCrumb:s.a,visiableDialog:h}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"apps-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"apps-content"},[a("div",{staticClass:"apps-content-title"},[t._v("基础应用")]),t._v(" "),a("div",{staticClass:"apps-content-body m-t-24"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.appList,function(e,s){return a("li",{key:e.appId+s,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){if(a.target!==a.currentTarget)return null;t.toAppDetail(e)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.appBackgroudColor},on:{click:function(a){a.stopPropagation(),t.toAppDetail(e)}}},[a("img",{class:[1==e.status?"":"filter-grayscale"],attrs:{src:e.appIcon,alt:""}})]),t._v(" "),a("div",{staticClass:"color-303133 font-16 p-l-8",on:{click:function(a){a.stopPropagation(),t.toAppDetail(e)}}},[a("div",[t._v(t._s(e.appName))]),t._v(" "),e.appUrl?t._e():a("div",{staticClass:"font-12 color-909399 m-t-5"},[t._v("里面什么也没有~")])]),t._v(" "),a("div",{staticClass:"cell-arrow-down"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right color-909399",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.showPeople(e)}}},[t._v("可见人群")])]),t._v(" "),a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.status?"停用":"启用"))])])],1)],1)],1)])}))])])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("visiableDialog",{attrs:{appId:t.appId,appName:t.appName,showDialog:t.showDialog},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var D=a("VU/8")(g,v,!1,function(t){a("E5jH")},"data-v-ac486fa2",null);e.default=D.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([41],{ReHu:function(e,t){},Ujni:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),s=a.n(o),n=a("mvHQ"),i=a.n(n),r=a("P9l9"),l=a("Ch4/"),c=a("PI0u"),d={name:"daily-export",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){var e=this;return{projectName:"",activeBrand:this.brandId,activeGroup:this.activeGroupId,dailyRuleForm:{dateRange:[],storeType:"",stores:[]},templates:[],checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,o=t.minDate;e.choiceDateCopy=[o.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-7776e6,o=e.choiceDateCopy[0]+7776e6;return t.getTime()<a||t.getTime()>o||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},rules:{dateRange:[{required:!0,message:"请选择日期",trigger:"change"}],storeType:[{required:!0,message:"请选择自定义模板",trigger:"change"}],stores:[{type:"array",required:!0,message:"请选择门店",trigger:"change"}]},pageNum:1,pageSize:200}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length},changeDate:function(e){e||(this.choiceDateCopy=[],this.dailyRuleForm.dateRange=[])},changeTemplate:function(){var e=this;e.pageNum=1,e.dailyRuleForm.stores=[],e.stores=[],e.storesCopy=[],e.searchSelect="",e.checkAll=!1,e.$nextTick(function(){e.getStoreData()})},exportForm:Object(c.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;var a="";t.templates.forEach(function(e){e.storeType==t.dailyRuleForm.storeType&&(a=e.dailyReportTemplateId)}),t.postDailyExcel(a)})},500),postDailyExcel:function(e){var t=this,a={storeIds:t.dailyRuleForm.stores.join(",")||"",templateId:e,startDate:t.dailyRuleForm.dateRange[0]||"",endDate:t.dailyRuleForm.dateRange[1]||"",brandId:t.activeBrand};Object(r.b)("/haoban-app-daily-web/daily/batch-export",a).then(function(e){if(!e.data)return l.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),o=t.dailyRuleForm.dateRange[0]+"-"+t.dailyRuleForm.dateRange[1]+"日报.xls",s=document.createElement("a");s.download=o,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){t.$message.error({duration:1e3,message:e.message})})},toInput:Object(c.a)(function(e,t){if(!this.storesCopy.length)return!1;""==t&&(this.stores=JSON.parse(i()(this.storesCopy)));var a=JSON.parse(i()(this.storesCopy)).filter(function(e){return e.storeName.includes(t)});this.stores=a},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=JSON.parse(i()(this.storesCopy))},getTemplateData:function(){var e=this,t={brandId:e.brandId};Object(r.a)("/haoban-app-daily-web/daily/list-define-template",t).then(function(t){var a=t.data;1!=a.errorCode?l.a.errorMsg(a):a.result&&a.result.length&&(e.templates=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getStoreData:function(){var e=this,t={brandId:e.activeBrand,storeGroupId:e.activeGroup,showChild:1,showType:1,status:1,storeType:e.dailyRuleForm.storeType,pageNum:e.pageNum,pageSize:e.pageSize};Object(r.a)("/haoban-manage-web/store/findSimplePage",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(e){e.select=!1}),1==e.pageNum?(e.stores=JSON.parse(i()(a.result.list))||[],e.storesCopy=JSON.parse(i()(a.result.list))||[]):a.result.list.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.total&&(e.pageNum++,e.getStoreData()));l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.dailyRuleForm.storeType="",this.dailyRuleForm.stores=[],this.stores=[],this.storesCopy=[],this.searchSelect="",this.checkAll=!1,this.activeBrand=e,this.getTemplateData())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.brandId&&(this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.getTemplateData())}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-export-content"},[a("el-form",{ref:"dailyRuleForm",staticClass:"demo-dailyRuleForm",attrs:{model:e.dailyRuleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"dateRange"}},[a("p",{staticClass:"daily-form-label"},[e._v("选择时间")]),e._v(" "),a("el-date-picker",{staticClass:"search-date",attrs:{format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",editable:!1,"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.dailyRuleForm.dateRange,callback:function(t){e.$set(e.dailyRuleForm,"dateRange",t)},expression:"dailyRuleForm.dateRange"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"storeType"}},[a("p",{staticClass:"daily-form-label"},[e._v("选择自定义模板")]),e._v(" "),a("el-select",{staticClass:"w-350",attrs:{placeholder:"请选择自定义模板"},on:{change:e.changeTemplate},model:{value:e.dailyRuleForm.storeType,callback:function(t){e.$set(e.dailyRuleForm,"storeType",t)},expression:"dailyRuleForm.storeType"}},e._l(e.templates,function(e){return a("el-option",{key:e.value,attrs:{label:e.title,value:e.storeType}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"stores"}},[a("p",{staticClass:"daily-form-label"},[e._v("选择门店")]),e._v(" "),a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称"},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num w-350",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.exportForm("dailyRuleForm")}}},[e._v("导出日报")])],1)],1)],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("ugpn")},"data-v-674b24ab",null).exports,h=a("Ie7z"),m=a("Ke24"),g=a("LRn8"),b=a("3E4D"),f={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,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(e){this.selectRadio=e},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.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},delDepart:function(e,t){t.splice(e,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(e){if(this.showDialog=!1,!s()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a=[],o=[];t.conditionObj.storeGroup.forEach(function(e){2==e.type&&a.push(e.groupId),3==e.type&&o.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var s={search:t.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:t.multipleSelection.map(function(e){return e.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",brandId:t.activeBrand,delOptFlag:e.delOptFlag,reason:e.reason,chooseAllFlag:t.selectRadio};Object(r.e)("/haoban-app-daily-web/daily/batch-delete-brand-task",s).then(function(e){var a=e.data;if(1==a.errorCode)return b.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},exportExcel:function(){var e=this,t=[],a=[];e.conditionObj.storeGroup.forEach(function(e){2==e.type&&t.push(e.groupId),3==e.type&&a.push(e.storeId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var o={search:e.conditionObj.searchInput||"",filterStoreIds:a.join(",")||"",storeGroupIds:t.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand};Object(r.b)("/haoban-app-daily-web/daily/batch-export-brand-task",o).then(function(e){if(!e.data)return l.a.errorMsg("暂无数据"),!1;var t=new Blob([e.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="云日报记录.csv",a.style.display="none",a.href=URL.createObjectURL(t),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},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("dailyDetail?storeId="+t.storeId+"&appIcon= "+this.$route.query.appIcon)},getTableList:function(e){var t=this,a=[],o=[];t.conditionObj.storeGroup.forEach(function(e){2==e.type&&a.push(e.groupId),3==e.type&&o.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var s={search:t.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",currentPage:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand};Object(r.a)("/haoban-app-daily-web/daily/page-brand-task",s).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,!1;l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{dailyExport:p,commonDetailTop:m.a,vueSelectStore:h.a,multipleDel:g.a}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"common-detail-tab"},[a("el-tabs",{staticClass:"daily-set-tab",model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"云日报记录",name:"first"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"云日报导出",name:"second"}})],1)],1),e._v(" "),"first"==e.activeName?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:"请输入门店名称"},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("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(t){e.showDialogLayer("store",e.conditionObj.storeGroup)}}},[e.conditionObj.storeGroup.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc"},[e._v("请选择门店分组")]),e._v(" "),e.conditionObj.storeGroup.length?a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.conditionObj.storeGroup,function(t,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name||t.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(o,e.conditionObj.storeGroup)}}})])]})],2)]):e._e()])])]),e._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeStoreType},model:{value:e.conditionObj.storeType,callback:function(t){e.$set(e.conditionObj,"storeType",t)},expression:"conditionObj.storeType"}},e._l(e.storeTypeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),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:{type:"primary"},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"35"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#1890ff":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.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[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){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("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1):e._e(),e._v(" "),"second"==e.activeName?a("div",{staticClass:"daily-set-content boder-box"},[a("daily-export",{attrs:{brandId:e.brandId,activeGroupId:e.activeGroupId}})],1):e._e(),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1},on:{hideDialog:e.hideDialog}}),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:e.activeGroup,appScene:e.appScene,treeSet:e.storeTreeSet,selectType:"group",defaultList:e.defaultStoreList},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var y=a("VU/8")(f,v,!1,function(e){a("ReHu")},"data-v-017e360a",null);t.default=y.exports},ugpn:function(e,t){}});
\ No newline at end of file
webpackJsonp([40],{Gikn:function(e,t){},Jfvj:function(e,t){},gncU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("Ke24"),n=a("mvHQ"),o=a.n(n),r=a("P9l9"),s=a("3E4D"),l=a("Ch4/"),c={name:"custom-dialog",props:{showDayDialog:{type:Boolean,default:!1},customType:{type:String,default:""},customTitle:{type:String,default:"自定义列表字段"}},data:function(){return{repProjectName:"haoban-manage-web",enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,userId:JSON.parse(localStorage.getItem("userInfo")).userId,customDialog:!1,customData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("hideDayDialog")},customConfirm:function(){this.setFieldList()},setFieldList:function(){var e=this,t=[];e.customData.forEach(function(a){a.fieldList.forEach(function(a){t.push({enterpriseId:e.enterpriseId,showType:1,userId:e.userId,relateId:a.relateId,selectFlag:a.selectFlag?1:0})})});var a={fieldJson:o()(t),enterpriseId:e.enterpriseId,showType:1,userId:e.userId};Object(r.e)("/haoban-app-attence-web/attence-field-save",a).then(function(t){var a=t.data;if(1==a.errorCode)return s.a.showmsg("报表有新的设置项,点击按钮更新报表内容","success"),void e.$emit("hideDayDialog");l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getFieldList:function(){var e=this,t={enterpriseId:e.enterpriseId,userId:e.userId,showType:1};Object(r.e)("/haoban-app-attence-web/attence-show-field-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.forEach(function(e){e.fieldList&&e.fieldList.forEach(function(e){e.selectFlag=1==e.selectFlag,e.editFlag=1==e.editFlag})}),void(e.customData=a.result);l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{showDayDialog:function(e,t){this.customDialog=e,this.getFieldList()},customType:function(e,t){e&&this.getCardList()}},mounted:function(){this.customDialog=this.showDayDialog,this.getFieldList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:e.customTitle,visible:e.customDialog,width:"761px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"custom-dialog__checkbox"},[a("el-form",{ref:"form",attrs:{"label-width":"110px"}},e._l(e.customData,function(t,i){return a("el-form-item",{key:i+"cate",attrs:{label:t.categoryName+":"}},[t.fieldList&&t.fieldList.length?e._l(t.fieldList,function(t){return a("el-checkbox",{key:t.fieldId,attrs:{disabled:t.editFlag,name:"type"},model:{value:t.selectFlag,callback:function(a){e.$set(t,"selectFlag",a)},expression:"item.selectFlag"}},[e._v(e._s(t.fieldName))])}):e._e()],2)}))],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.customCancel}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.customConfirm}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("Gikn")},"data-v-10201916",null).exports,p=a("PI0u"),f={name:"app-detail",components:{commonDetailTop:i.a,dayFieldSelect:u},props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){var e=this;return{projectName:"",activeBrand:this.brandId,activeGroup:this.activeGroupId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,userId:JSON.parse(localStorage.getItem("userInfo")).userId,activeId:"1",topMenuData:[{id:"1",name:"每日统计"}],conditionObj:{attenceGroupName:"",choiceDate:""},tableHeader:[],tableData:[{}],currentPage:1,pageSize:20,total:0,showDayDialog:!1,choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,i=t.minDate;e.choiceDateCopy=[i.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-2592e6,i=e.choiceDateCopy[0]+2592e6;return t.getTime()<a||t.getTime()>i||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}}}},methods:{changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.choiceDate=[]),this.currentPage=1,this.getTableList()},toTableSet:function(){this.showDayDialog=!0},hideDayDialog:function(){this.showDayDialog=!1},toInput:Object(p.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getTableList(this.brandId)},getDayFields:function(e){var t=this,a={brandId:e||t.activeBrand,enterpriseId:t.enterpriseId,userId:t.userId,showType:1};Object(r.e)("/haoban-app-attence-web/attence-show-field-list",a).then(function(e){var a=e.data;if(1==a.errorCode){var i=[];return a.result.forEach(function(e){i.push({categoryCode:e.categoryCode,categoryName:e.categoryName,fieldList:e.fieldList?e.fieldList.filter(function(e){return 1==e.selectFlag}):[]})}),t.tableHeader=i||[],void t.getTableList()}l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.brandId)},toUpdateSet:function(){this.currentPage=1,this.getDayFields(this.brandId)},getTableList:function(e){var t=this;t.conditionObj.choiceDate||(t.conditionObj.choiceDate=[]);var a={brandId:e||t.activeBrand,enterpriseId:t.enterpriseId,userName:t.conditionObj.attenceGroupName,startDate:t.conditionObj.choiceDate[0],endDate:t.conditionObj.choiceDate[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(r.e)("/haoban-app-attence-web/attence-total-day",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.list&&a.result.list.length&&a.result.list.forEach(function(e){e.clockLL=e.clockLL?JSON.parse(e.clockLL):[],e.endClock=e.endClock?JSON.parse(e.endClock):[],e.startClock=e.startClock?JSON.parse(e.startClock):[]}),t.tableData=a.result.list||[],t.total=a.result.total,void console.log(t.tableData);l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e)},activeGroupId:function(e,t){e&&(this.activeGroup=e)},tabType:function(e,t){}},mounted:function(){this.$emit("showTab","11"),this.brandId&&1!=this.brandId&&(this.activeBrand=this.brandId),this.getDayFields(this.brandId)}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20",style:{width:"calc(100% - 20px)"}},[a("div",{staticClass:"switch-wrap"},[a("div",{staticClass:"flex flex-space-between"},[a("div",{staticClass:"flex"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入考勤组/人员名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.attenceGroupName);var a}},model:{value:e.conditionObj.attenceGroupName,callback:function(t){e.$set(e.conditionObj,"attenceGroupName",t)},expression:"conditionObj.attenceGroupName"}}),e._v(" "),a("el-date-picker",{staticClass:"search-date m-l-10",attrs:{format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",editable:!1,"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.conditionObj.choiceDate,callback:function(t){e.$set(e.conditionObj,"choiceDate",t)},expression:"conditionObj.choiceDate"}})],1),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.toTableSet}},[e._v("设置报表")]),a("el-button",{staticClass:"p-l-10",attrs:{type:"primary"},on:{click:e.toUpdateSet}},[e._v("更新报表")])],1)])])]),e._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"calc(100% - 20px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[e._l(e.tableHeader,function(t,i){return[t.fieldList.length?a("el-table-column",{key:i+"cate",attrs:{fixed:"基本信息"==t.categoryName,label:t.categoryName,"min-width":"112"}},[e._l(t.fieldList,function(t,i){return["clockAddress"!=t.relateId&&"endClock"!=t.relateId&&"startClock"!=t.relateId&&"clockLL"!=t.relateId&&"attenceType"!=t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"}}):e._e(),e._v(" "),"startClock"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.startClock,function(t,i){return a("span",{key:i+"clcok"},[e._v(e._s(t.clockStartTime||"--")+" "),a("br")])})}}])}):e._e(),e._v(" "),"endClock"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.endClock,function(t,i){return a("span",{key:i+"clcok"},[e._v(e._s(t.clockEndTime||"--")+" "),a("br")])})}}])}):e._e(),e._v(" "),"clockLL"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.clockLL,function(t,i){return a("span",{key:i+"clcok"},[e._v(" "+e._s(0==i?"上班:":"下班:")+e._s(t.longitude?t.longitude:"-")+e._s(t.latitude?t.latitude:"-")),a("br")])})}}])}):e._e(),e._v(" "),"clockAddress"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.clockAddress,function(t,i){return a("span",{key:i+"address"},[e._v(" "+e._s(t||"--")),a("br")])})}}])}):e._e(),e._v(" "),"attenceType"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.attenceType?"固定班制":"排班制")+"\n ")]}}])}):e._e()]})],2):e._e()]})],2),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])],1),e._v(" "),a("day-field-select",{attrs:{showDayDialog:e.showDayDialog},on:{hideDayDialog:e.hideDayDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(f,h,!1,function(e){a("Jfvj")},"data-v-2b07a68e",null);t.default=g.exports}}); webpackJsonp([41],{Gikn:function(e,t){},Jfvj:function(e,t){},gncU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("Ke24"),n=a("mvHQ"),o=a.n(n),r=a("P9l9"),s=a("3E4D"),l=a("Ch4/"),c={name:"custom-dialog",props:{showDayDialog:{type:Boolean,default:!1},customType:{type:String,default:""},customTitle:{type:String,default:"自定义列表字段"}},data:function(){return{repProjectName:"haoban-manage-web",enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,userId:JSON.parse(localStorage.getItem("userInfo")).userId,customDialog:!1,customData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("hideDayDialog")},customConfirm:function(){this.setFieldList()},setFieldList:function(){var e=this,t=[];e.customData.forEach(function(a){a.fieldList.forEach(function(a){t.push({enterpriseId:e.enterpriseId,showType:1,userId:e.userId,relateId:a.relateId,selectFlag:a.selectFlag?1:0})})});var a={fieldJson:o()(t),enterpriseId:e.enterpriseId,showType:1,userId:e.userId};Object(r.e)("/haoban-app-attence-web/attence-field-save",a).then(function(t){var a=t.data;if(1==a.errorCode)return s.a.showmsg("报表有新的设置项,点击按钮更新报表内容","success"),void e.$emit("hideDayDialog");l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getFieldList:function(){var e=this,t={enterpriseId:e.enterpriseId,userId:e.userId,showType:1};Object(r.e)("/haoban-app-attence-web/attence-show-field-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.forEach(function(e){e.fieldList&&e.fieldList.forEach(function(e){e.selectFlag=1==e.selectFlag,e.editFlag=1==e.editFlag})}),void(e.customData=a.result);l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{showDayDialog:function(e,t){this.customDialog=e,this.getFieldList()},customType:function(e,t){e&&this.getCardList()}},mounted:function(){this.customDialog=this.showDayDialog,this.getFieldList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:e.customTitle,visible:e.customDialog,width:"761px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"custom-dialog__checkbox"},[a("el-form",{ref:"form",attrs:{"label-width":"110px"}},e._l(e.customData,function(t,i){return a("el-form-item",{key:i+"cate",attrs:{label:t.categoryName+":"}},[t.fieldList&&t.fieldList.length?e._l(t.fieldList,function(t){return a("el-checkbox",{key:t.fieldId,attrs:{disabled:t.editFlag,name:"type"},model:{value:t.selectFlag,callback:function(a){e.$set(t,"selectFlag",a)},expression:"item.selectFlag"}},[e._v(e._s(t.fieldName))])}):e._e()],2)}))],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.customCancel}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.customConfirm}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("Gikn")},"data-v-10201916",null).exports,p=a("PI0u"),f={name:"app-detail",components:{commonDetailTop:i.a,dayFieldSelect:u},props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){var e=this;return{projectName:"",activeBrand:this.brandId,activeGroup:this.activeGroupId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,userId:JSON.parse(localStorage.getItem("userInfo")).userId,activeId:"1",topMenuData:[{id:"1",name:"每日统计"}],conditionObj:{attenceGroupName:"",choiceDate:""},tableHeader:[],tableData:[{}],currentPage:1,pageSize:20,total:0,showDayDialog:!1,choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,i=t.minDate;e.choiceDateCopy=[i.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-2592e6,i=e.choiceDateCopy[0]+2592e6;return t.getTime()<a||t.getTime()>i||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}}}},methods:{changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.choiceDate=[]),this.currentPage=1,this.getTableList()},toTableSet:function(){this.showDayDialog=!0},hideDayDialog:function(){this.showDayDialog=!1},toInput:Object(p.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getTableList(this.brandId)},getDayFields:function(e){var t=this,a={brandId:e||t.activeBrand,enterpriseId:t.enterpriseId,userId:t.userId,showType:1};Object(r.e)("/haoban-app-attence-web/attence-show-field-list",a).then(function(e){var a=e.data;if(1==a.errorCode){var i=[];return a.result.forEach(function(e){i.push({categoryCode:e.categoryCode,categoryName:e.categoryName,fieldList:e.fieldList?e.fieldList.filter(function(e){return 1==e.selectFlag}):[]})}),t.tableHeader=i||[],void t.getTableList()}l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.brandId)},toUpdateSet:function(){this.currentPage=1,this.getDayFields(this.brandId)},getTableList:function(e){var t=this;t.conditionObj.choiceDate||(t.conditionObj.choiceDate=[]);var a={brandId:e||t.activeBrand,enterpriseId:t.enterpriseId,userName:t.conditionObj.attenceGroupName,startDate:t.conditionObj.choiceDate[0],endDate:t.conditionObj.choiceDate[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(r.e)("/haoban-app-attence-web/attence-total-day",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.list&&a.result.list.length&&a.result.list.forEach(function(e){e.clockLL=e.clockLL?JSON.parse(e.clockLL):[],e.endClock=e.endClock?JSON.parse(e.endClock):[],e.startClock=e.startClock?JSON.parse(e.startClock):[]}),t.tableData=a.result.list||[],t.total=a.result.total,void console.log(t.tableData);l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e)},activeGroupId:function(e,t){e&&(this.activeGroup=e)},tabType:function(e,t){}},mounted:function(){this.$emit("showTab","11"),this.brandId&&1!=this.brandId&&(this.activeBrand=this.brandId),this.getDayFields(this.brandId)}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20",style:{width:"calc(100% - 20px)"}},[a("div",{staticClass:"switch-wrap"},[a("div",{staticClass:"flex flex-space-between"},[a("div",{staticClass:"flex"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入考勤组/人员名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.attenceGroupName);var a}},model:{value:e.conditionObj.attenceGroupName,callback:function(t){e.$set(e.conditionObj,"attenceGroupName",t)},expression:"conditionObj.attenceGroupName"}}),e._v(" "),a("el-date-picker",{staticClass:"search-date m-l-10",attrs:{format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",editable:!1,"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.conditionObj.choiceDate,callback:function(t){e.$set(e.conditionObj,"choiceDate",t)},expression:"conditionObj.choiceDate"}})],1),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.toTableSet}},[e._v("设置报表")]),a("el-button",{staticClass:"p-l-10",attrs:{type:"primary"},on:{click:e.toUpdateSet}},[e._v("更新报表")])],1)])])]),e._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"calc(100% - 20px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[e._l(e.tableHeader,function(t,i){return[t.fieldList.length?a("el-table-column",{key:i+"cate",attrs:{fixed:"基本信息"==t.categoryName,label:t.categoryName,"min-width":"112"}},[e._l(t.fieldList,function(t,i){return["clockAddress"!=t.relateId&&"endClock"!=t.relateId&&"startClock"!=t.relateId&&"clockLL"!=t.relateId&&"attenceType"!=t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"}}):e._e(),e._v(" "),"startClock"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.startClock,function(t,i){return a("span",{key:i+"clcok"},[e._v(e._s(t.clockStartTime||"--")+" "),a("br")])})}}])}):e._e(),e._v(" "),"endClock"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.endClock,function(t,i){return a("span",{key:i+"clcok"},[e._v(e._s(t.clockEndTime||"--")+" "),a("br")])})}}])}):e._e(),e._v(" "),"clockLL"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.clockLL,function(t,i){return a("span",{key:i+"clcok"},[e._v(" "+e._s(0==i?"上班:":"下班:")+e._s(t.longitude?t.longitude:"-")+e._s(t.latitude?t.latitude:"-")),a("br")])})}}])}):e._e(),e._v(" "),"clockAddress"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.clockAddress,function(t,i){return a("span",{key:i+"address"},[e._v(" "+e._s(t||"--")),a("br")])})}}])}):e._e(),e._v(" "),"attenceType"==t.relateId?a("el-table-column",{key:i+"field",attrs:{label:t.fieldName,prop:t.relateId,"min-width":"112"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.attenceType?"固定班制":"排班制")+"\n ")]}}])}):e._e()]})],2):e._e()]})],2),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])],1),e._v(" "),a("day-field-select",{attrs:{showDayDialog:e.showDayDialog},on:{hideDayDialog:e.hideDayDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(f,h,!1,function(e){a("Jfvj")},"data-v-2b07a68e",null);t.default=g.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([101],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),r=n.n(a),o=n("fZjL"),p=n.n(o),i=(n("j1ja"),n("hKoQ")),s=n.n(i),c={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 m=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("/NA0")},null,null).exports,d=n("lRwf"),u=n.n(d),l=n("pRNm"),h=n.n(l),v=n("5tgt"),g=n.n(v);u.a.use(h.a);var A=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,y=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:g()("login","index")},{path:"/download",name:"下载",component:g()("download","index")},{path:"/index",name:"index",component:g()("index","index")},{path:"/sign",name:"index",component:g()("sign","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:g()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:g()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:g()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:g()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:g()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:g()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:g()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:g()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:g()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:g()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:g()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:g()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:g()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:g()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:g()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:g()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:g()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:g()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:g()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:g()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客的",redirect:"/memeberBaseSet",component:g()("enterpriseApp/myCustomer","index"),children:[{path:"/memeberBaseSet",name:"会员基础设置",component:g()("enterpriseApp/myCustomer","memeberBaseSet")},{path:"/onlineChatSet",name:"在线沟通设置",component:g()("enterpriseApp/myCustomer","onlineChatSet")},{path:"/chatRecord",name:"聊天记录",component:g()("enterpriseApp/myCustomer","chatRecord")},{path:"/sendRecord",name:"发送记录",component:g()("enterpriseApp/myCustomer","sendRecord")},{path:"/newCard",name:"新建卡券",component:g()("enterpriseApp/myCustomer","newCard")},{path:"/cardSendRecord",name:"卡券发送记录",component:g()("enterpriseApp/myCustomer","cardSendRecord")},{path:"/cardGetRecord",name:"卡券领取卡券",component:g()("enterpriseApp/myCustomer","cardGetRecord")}]},{path:"/marketing",name:"营销素材",redirect:"/imageText",component:g()("enterpriseApp/marketingMaterial","index"),children:[{path:"/imageText",name:"图文素材",component:g()("enterpriseApp/marketingMaterial","imageText")},{path:"/newImageText",name:"选择图文",component:g()("enterpriseApp/marketingMaterial","newImageText")},{path:"/enjoyMaterial",name:"纷享素材",component:g()("enterpriseApp/marketingMaterial","enjoyMaterial")},{path:"/newEnjoy",name:"新建素材",component:g()("enterpriseApp/marketingMaterial","newEnjoy")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:g()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:g()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:g()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:g()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:g()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:g()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:g()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:g()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:g()("enterpriseApp/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:g()("enterpriseApp/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:g()("enterpriseApp/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:g()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:g()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:g()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:g()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:g()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:g()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:g()("enterpriseApp/badEvaluate","badEvaluateDetail")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:g()("enterpriseApp/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:g()("enterpriseApp/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:g()("enterpriseApp/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:g()("enterpriseApp/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:g()("enterpriseApp/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:g()("enterpriseApp/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:g()("enterpriseApp/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/signList",name:"企业公告",redirect:"/signList",component:g()("enterpriseApp/signApp","index"),children:[{path:"/signList",name:"企业公告列表",component:g()("enterpriseApp/signApp","signList")}]},{path:"/clockin",name:"考勤打卡",redirect:"/dayStatistics",component:g()("enterpriseApp/dailyAttendance","index"),children:[{path:"/dayStatistics",name:"日统计",component:g()("enterpriseApp/dailyAttendance","dayStatistics")},{path:"/workSet",name:"考勤设置",component:g()("enterpriseApp/dailyAttendance","workSet")},{path:"/workGroupSet",name:"考勤设置",component:g()("enterpriseApp/dailyAttendance","workGroupSet")},{path:"/workTimeManage",name:"排班管理",component:g()("enterpriseApp/dailyAttendance","workTimeManage")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:g()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:g()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:g()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:g()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:g()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:g()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:g()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:g()("setting","storePermission")},{path:"/contactPermission",name:"通讯录控制",component:g()("setting","contactPermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:g()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:g()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:g()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:g()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:g()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:g()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:g()("enterpriseApp/cloudDaily","template")},{path:"/gic-error",name:"gic跳转失败页",component:g()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:A},{path:"/404",name:"error404",component:A},{path:"/500",name:"error500",component:A},{path:"*",redirect:"/404",hidden:!0}],k=new h.a({routes:y,scrollBehavior:function(){return{y:0}}}),w=n("zL8q"),D=n.n(w),x=n("Rf8U"),S=n.n(x),R=n("mtWM"),C=n.n(R),T=n("bOdI"),M=n.n(T),b=n("SJI6"),E=n.n(b);u.a.use(E.a);var I=new E.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(f={},M()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),M()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),M()(f,"title",function(e,t){e.title=t}),M()(f,"show",function(e,t){e.show=t}),f)}),j=(n("4qCZ"),n("uKUT"),n("Xcu2"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),a={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+r+"-"+a+" "+o+":"+p+":"+i}},timeStampToYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return t.getFullYear()+"-"+r+"-"+a}},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),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+r+"."+a+" "+o+":"+p+":"+i}}}),V=n("TUaa"),q=n.n(V),P=n("tyqE"),G=n.n(P),H=n("pRVe"),L=n.n(H),F=n("XsK6"),O=n.n(F),N=n("QRL9"),z=n.n(N),Y=n("2Pnh"),J=n.n(Y),K=n("l9mu"),B=n.n(K),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;J()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,r=n/592.28*841.89,o=a,p=0,i=592.28/n*a,s=t.toDataURL("image/jpeg",1),c=new B.a("","pt","a4");if(o<r)c.addImage(s,"JPEG",0,0,595.28,i);else for(;o>0;)c.addImage(s,"JPEG",0,p,595.28,i),p-=841.89,(o-=r)>0&&c.addPage();c.save(e+".pdf")})}}},X=n("/IwO"),Q=n.n(X);s.a.polyfill(),Vue.use(Q.a),Q.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(U),Vue.use(O.a),Vue.use(z.a),Vue.use(L.a),Vue.use(G.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(D.a,{size:"large"}),Vue.use(S.a,C.a),Vue.axios.defaults.withCredentials=!0,p()(j).forEach(function(e){Vue.filter(e,j[e])}),k.beforeEach(function(e,t,n){var a=void 0,o=window.location.origin;a=-1!=o.indexOf("localhost")?"http://www.gicdev.com":o,localStorage.getItem("userInfo")||C.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",r()(t.result))}).catch(function(e){w.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:k,store:I,components:{App:m},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,23],"./contacts/addDepartment.vue":["HHRu",0,21],"./contacts/addEmployee.vue":["00Sv",64],"./contacts/addGroup.vue":["mPjx",0,72],"./contacts/administrativeFrame.vue":["kLcy",0,4],"./contacts/employee.vue":["AdJp",0,62],"./contacts/employeeIo.vue":["Rwbg",0,83],"./contacts/employeeRecord.vue":["zGJY",0,9],"./contacts/fileSet.vue":["CSjr",0,11],"./contacts/index.vue":["41Rh",0,71],"./contacts/recordInfo.vue":["67iC",0,17],"./contacts/recordIo.vue":["738z",0,25],"./contacts/recycle.vue":["HkK0",0,37],"./contacts/shareAddDepartment.vue":["q5Ri",0,20],"./contacts/shareCode.vue":["JsWW",0,43],"./contacts/shareContact.vue":["Gfms",0,3],"./contacts/staffRecordsTemplate.vue":["lFAe",0,59],"./contacts/storeFrame.vue":["7SJI",0,6],"./contacts/storeInfo.vue":["h/6A",0,60],"./contacts/storeIo.vue":["RHxA",0,89],"./contacts/unemployee.vue":["TGrv",0,19],"./download/index.vue":["ASGJ",0,8],"./enterpriseApp/appcenter.vue":["yuVF",0,39],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,61],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,53],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,73],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,51],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,87],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,70],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,41],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,82],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,42],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,7],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,84],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,5],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",55],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",97],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",66],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",75],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",81],"./enterpriseApp/dailyAttendance/dayStatistics.vue":["gncU",0,40],"./enterpriseApp/dailyAttendance/index.vue":["vgwM",0,88],"./enterpriseApp/dailyAttendance/monthStatistics.vue":["z8Gq",99],"./enterpriseApp/dailyAttendance/workGroupSet.vue":["estW",0,14],"./enterpriseApp/dailyAttendance/workSet.vue":["A/XQ",0,31],"./enterpriseApp/dailyAttendance/workTimeManage.vue":["/n/x",0,33],"./enterpriseApp/index.vue":["da9f",52],"./enterpriseApp/marketingMaterial/enjoyMaterial.vue":["SB6x",0,26],"./enterpriseApp/marketingMaterial/imageText.vue":["0qiV",0,24],"./enterpriseApp/marketingMaterial/index.vue":["m0O4",0,45],"./enterpriseApp/marketingMaterial/newEnjoy.vue":["7fkC",0,18],"./enterpriseApp/marketingMaterial/newImageText.vue":["NajC",0,15],"./enterpriseApp/myCustomer/cardGetRecord.vue":["YqmZ",0,78],"./enterpriseApp/myCustomer/cardSendRecord.vue":["+Q5U",0,96],"./enterpriseApp/myCustomer/chatRecord.vue":["gjw3",0,58],"./enterpriseApp/myCustomer/index.vue":["/rje",0,74],"./enterpriseApp/myCustomer/memeberBaseSet.vue":["N+Or",0,93],"./enterpriseApp/myCustomer/newCard.vue":["G/J9",0,95],"./enterpriseApp/myCustomer/onlineChatSet.vue":["ahzF",0,27],"./enterpriseApp/myCustomer/sendRecord.vue":["8msp",0,86],"./enterpriseApp/mycustomer.vue":["cuIN",0,49],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,2],"./enterpriseApp/notice/index.vue":["av/3",0,67],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,12],"./enterpriseApp/quota/companyDaySet.vue":["xk7v",0,47],"./enterpriseApp/quota/index.vue":["FB5x",0,63],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,57],"./enterpriseApp/quota/monthTask.vue":["cK0D",0,85],"./enterpriseApp/quota/monthTaskDetail.vue":["jMbb",0,79],"./enterpriseApp/quota/salerMonthDetail.vue":["IKv2",0,68],"./enterpriseApp/quota/storeMonthTask.vue":["kF1j",0,46],"./enterpriseApp/signApp/index.vue":["Gk4o",0,48],"./enterpriseApp/signApp/signList.vue":["kCy7",0,69],"./enterpriseApp/trafficTask/index.vue":["e88N",0,98],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,50],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,34],"./enterpriseApp/trafficTask/taskViewDetail.vue":["Akas",0,77],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,65],"./errorPage/403.vue":["6XGN",35],"./errorPage/404.vue":["AejC",38],"./errorPage/500.vue":["FskK",29],"./errorPage/gic-error.vue":["Q3j/",32],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,36],"./login/index.vue":["T+/8",0,10],"./reviewCenter/index.vue":["+lem",91],"./reviewCenter/reviewed.vue":["CLYF",0,22],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,56],"./setting/addAdminRole.vue":["fZsz",0,80],"./setting/companyAddress.vue":["SKyE",0,54],"./setting/companyCertify.vue":["3zYh",0,16],"./setting/contactPermission.vue":["6zFj",0,76],"./setting/index.vue":["VlR1",44],"./setting/replaceAdmin.vue":["ys9I",0,90],"./setting/setChildAdmin.vue":["VqB7",0,92],"./setting/staffDetails.vue":["Zyzf",0,30],"./setting/storePermission.vue":["Xwfy",0,28],"./sign/index.vue":["RQuk",0,94]};function r(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(a)},r.id="Opzk",e.exports=r},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]); webpackJsonp([101],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),r=n.n(a),o=n("fZjL"),p=n.n(o),i=(n("j1ja"),n("hKoQ")),s=n.n(i),c={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 m=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("/NA0")},null,null).exports,d=n("lRwf"),u=n.n(d),l=n("pRNm"),h=n.n(l),v=n("5tgt"),g=n.n(v);u.a.use(h.a);var A=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,y=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:g()("login","index")},{path:"/download",name:"下载",component:g()("download","index")},{path:"/index",name:"index",component:g()("index","index")},{path:"/sign",name:"index",component:g()("sign","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:g()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:g()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:g()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:g()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:g()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:g()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:g()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:g()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:g()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:g()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:g()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:g()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:g()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:g()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:g()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:g()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:g()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:g()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:g()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:g()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客的",redirect:"/memeberBaseSet",component:g()("enterpriseApp/myCustomer","index"),children:[{path:"/memeberBaseSet",name:"会员基础设置",component:g()("enterpriseApp/myCustomer","memeberBaseSet")},{path:"/onlineChatSet",name:"在线沟通设置",component:g()("enterpriseApp/myCustomer","onlineChatSet")},{path:"/chatRecord",name:"聊天记录",component:g()("enterpriseApp/myCustomer","chatRecord")},{path:"/sendRecord",name:"发送记录",component:g()("enterpriseApp/myCustomer","sendRecord")},{path:"/newCard",name:"新建卡券",component:g()("enterpriseApp/myCustomer","newCard")},{path:"/cardSendRecord",name:"卡券发送记录",component:g()("enterpriseApp/myCustomer","cardSendRecord")},{path:"/cardGetRecord",name:"卡券领取卡券",component:g()("enterpriseApp/myCustomer","cardGetRecord")}]},{path:"/marketing",name:"营销素材",redirect:"/imageText",component:g()("enterpriseApp/marketingMaterial","index"),children:[{path:"/imageText",name:"图文素材",component:g()("enterpriseApp/marketingMaterial","imageText")},{path:"/newImageText",name:"选择图文",component:g()("enterpriseApp/marketingMaterial","newImageText")},{path:"/enjoyMaterial",name:"纷享素材",component:g()("enterpriseApp/marketingMaterial","enjoyMaterial")},{path:"/newEnjoy",name:"新建素材",component:g()("enterpriseApp/marketingMaterial","newEnjoy")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:g()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:g()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:g()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:g()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:g()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:g()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:g()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:g()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:g()("enterpriseApp/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:g()("enterpriseApp/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:g()("enterpriseApp/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:g()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:g()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:g()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:g()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:g()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:g()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:g()("enterpriseApp/badEvaluate","badEvaluateDetail")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:g()("enterpriseApp/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:g()("enterpriseApp/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:g()("enterpriseApp/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:g()("enterpriseApp/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:g()("enterpriseApp/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:g()("enterpriseApp/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:g()("enterpriseApp/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/signList",name:"企业公告",redirect:"/signList",component:g()("enterpriseApp/signApp","index"),children:[{path:"/signList",name:"企业公告列表",component:g()("enterpriseApp/signApp","signList")}]},{path:"/clockin",name:"考勤打卡",redirect:"/dayStatistics",component:g()("enterpriseApp/dailyAttendance","index"),children:[{path:"/dayStatistics",name:"日统计",component:g()("enterpriseApp/dailyAttendance","dayStatistics")},{path:"/workSet",name:"考勤设置",component:g()("enterpriseApp/dailyAttendance","workSet")},{path:"/workGroupSet",name:"考勤设置",component:g()("enterpriseApp/dailyAttendance","workGroupSet")},{path:"/workTimeManage",name:"排班管理",component:g()("enterpriseApp/dailyAttendance","workTimeManage")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:g()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:g()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:g()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:g()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:g()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:g()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:g()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:g()("setting","storePermission")},{path:"/contactPermission",name:"通讯录控制",component:g()("setting","contactPermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:g()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:g()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:g()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:g()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:g()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:g()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:g()("enterpriseApp/cloudDaily","template")},{path:"/gic-error",name:"gic跳转失败页",component:g()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:A},{path:"/404",name:"error404",component:A},{path:"/500",name:"error500",component:A},{path:"*",redirect:"/404",hidden:!0}],k=new h.a({routes:y,scrollBehavior:function(){return{y:0}}}),w=n("zL8q"),D=n.n(w),x=n("Rf8U"),S=n.n(x),R=n("mtWM"),C=n.n(R),T=n("bOdI"),M=n.n(T),b=n("SJI6"),E=n.n(b);u.a.use(E.a);var I=new E.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(f={},M()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),M()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),M()(f,"title",function(e,t){e.title=t}),M()(f,"show",function(e,t){e.show=t}),f)}),j=(n("4qCZ"),n("uKUT"),n("Xcu2"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),a={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+r+"-"+a+" "+o+":"+p+":"+i}},timeStampToYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return t.getFullYear()+"-"+r+"-"+a}},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),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+r+"."+a+" "+o+":"+p+":"+i}}}),V=n("TUaa"),q=n.n(V),P=n("tyqE"),G=n.n(P),H=n("pRVe"),L=n.n(H),F=n("XsK6"),O=n.n(F),N=n("QRL9"),z=n.n(N),Y=n("2Pnh"),J=n.n(Y),K=n("l9mu"),B=n.n(K),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;J()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,r=n/592.28*841.89,o=a,p=0,i=592.28/n*a,s=t.toDataURL("image/jpeg",1),c=new B.a("","pt","a4");if(o<r)c.addImage(s,"JPEG",0,0,595.28,i);else for(;o>0;)c.addImage(s,"JPEG",0,p,595.28,i),p-=841.89,(o-=r)>0&&c.addPage();c.save(e+".pdf")})}}},X=n("/IwO"),Q=n.n(X);s.a.polyfill(),Vue.use(Q.a),Q.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(U),Vue.use(O.a),Vue.use(z.a),Vue.use(L.a),Vue.use(G.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(D.a,{size:"large"}),Vue.use(S.a,C.a),Vue.axios.defaults.withCredentials=!0,p()(j).forEach(function(e){Vue.filter(e,j[e])}),k.beforeEach(function(e,t,n){var a=void 0,o=window.location.origin;a=-1!=o.indexOf("localhost")?"http://www.gicdev.com":o,localStorage.getItem("userInfo")||C.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",r()(t.result))}).catch(function(e){w.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:k,store:I,components:{App:m},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,23],"./contacts/addDepartment.vue":["HHRu",0,21],"./contacts/addEmployee.vue":["00Sv",64],"./contacts/addGroup.vue":["mPjx",0,72],"./contacts/administrativeFrame.vue":["kLcy",0,4],"./contacts/employee.vue":["AdJp",0,62],"./contacts/employeeIo.vue":["Rwbg",0,83],"./contacts/employeeRecord.vue":["zGJY",0,9],"./contacts/fileSet.vue":["CSjr",0,11],"./contacts/index.vue":["41Rh",0,71],"./contacts/recordInfo.vue":["67iC",0,17],"./contacts/recordIo.vue":["738z",0,25],"./contacts/recycle.vue":["HkK0",0,38],"./contacts/shareAddDepartment.vue":["q5Ri",0,20],"./contacts/shareCode.vue":["JsWW",0,43],"./contacts/shareContact.vue":["Gfms",0,3],"./contacts/staffRecordsTemplate.vue":["lFAe",0,59],"./contacts/storeFrame.vue":["7SJI",0,6],"./contacts/storeInfo.vue":["h/6A",0,60],"./contacts/storeIo.vue":["RHxA",0,89],"./contacts/unemployee.vue":["TGrv",0,19],"./download/index.vue":["ASGJ",0,8],"./enterpriseApp/appcenter.vue":["yuVF",0,40],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,61],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,53],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,73],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,51],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,87],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,70],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,35],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,82],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,42],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,7],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,84],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,5],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",55],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",97],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",66],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",75],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",81],"./enterpriseApp/dailyAttendance/dayStatistics.vue":["gncU",0,41],"./enterpriseApp/dailyAttendance/index.vue":["vgwM",0,88],"./enterpriseApp/dailyAttendance/monthStatistics.vue":["z8Gq",99],"./enterpriseApp/dailyAttendance/workGroupSet.vue":["estW",0,14],"./enterpriseApp/dailyAttendance/workSet.vue":["A/XQ",0,31],"./enterpriseApp/dailyAttendance/workTimeManage.vue":["/n/x",0,34],"./enterpriseApp/index.vue":["da9f",52],"./enterpriseApp/marketingMaterial/enjoyMaterial.vue":["SB6x",0,26],"./enterpriseApp/marketingMaterial/imageText.vue":["0qiV",0,24],"./enterpriseApp/marketingMaterial/index.vue":["m0O4",0,45],"./enterpriseApp/marketingMaterial/newEnjoy.vue":["7fkC",0,18],"./enterpriseApp/marketingMaterial/newImageText.vue":["NajC",0,15],"./enterpriseApp/myCustomer/cardGetRecord.vue":["YqmZ",0,78],"./enterpriseApp/myCustomer/cardSendRecord.vue":["+Q5U",0,96],"./enterpriseApp/myCustomer/chatRecord.vue":["gjw3",0,58],"./enterpriseApp/myCustomer/index.vue":["/rje",0,74],"./enterpriseApp/myCustomer/memeberBaseSet.vue":["N+Or",0,93],"./enterpriseApp/myCustomer/newCard.vue":["G/J9",0,95],"./enterpriseApp/myCustomer/onlineChatSet.vue":["ahzF",0,27],"./enterpriseApp/myCustomer/sendRecord.vue":["8msp",0,86],"./enterpriseApp/mycustomer.vue":["cuIN",0,49],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,2],"./enterpriseApp/notice/index.vue":["av/3",0,67],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,12],"./enterpriseApp/quota/companyDaySet.vue":["xk7v",0,47],"./enterpriseApp/quota/index.vue":["FB5x",0,63],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,57],"./enterpriseApp/quota/monthTask.vue":["cK0D",0,85],"./enterpriseApp/quota/monthTaskDetail.vue":["jMbb",0,79],"./enterpriseApp/quota/salerMonthDetail.vue":["IKv2",0,68],"./enterpriseApp/quota/storeMonthTask.vue":["kF1j",0,46],"./enterpriseApp/signApp/index.vue":["Gk4o",0,48],"./enterpriseApp/signApp/signList.vue":["kCy7",0,69],"./enterpriseApp/trafficTask/index.vue":["e88N",0,98],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,50],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,33],"./enterpriseApp/trafficTask/taskViewDetail.vue":["Akas",0,77],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,65],"./errorPage/403.vue":["6XGN",36],"./errorPage/404.vue":["AejC",39],"./errorPage/500.vue":["FskK",29],"./errorPage/gic-error.vue":["Q3j/",32],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,37],"./login/index.vue":["T+/8",0,10],"./reviewCenter/index.vue":["+lem",91],"./reviewCenter/reviewed.vue":["CLYF",0,22],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,56],"./setting/addAdminRole.vue":["fZsz",0,80],"./setting/companyAddress.vue":["SKyE",0,54],"./setting/companyCertify.vue":["3zYh",0,16],"./setting/contactPermission.vue":["6zFj",0,76],"./setting/index.vue":["VlR1",44],"./setting/replaceAdmin.vue":["ys9I",0,90],"./setting/setChildAdmin.vue":["VqB7",0,92],"./setting/staffDetails.vue":["Zyzf",0,30],"./setting/storePermission.vue":["Xwfy",0,28],"./sign/index.vue":["RQuk",0,94]};function r(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}r.keys=function(){return Object.keys(a)},r.id="Opzk",e.exports=r},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT: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(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={103:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"16f150bfd92bb71d0f6a",1:"fe9dec1f31b04053fd7e",2:"b4cd547e4cd1c85c02dd",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"992fbbfa5966c95375ae",6:"b80bb3bc5186fd89e390",7:"b545128585c9ed62a709",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"06ac195b892351e84380",13:"af9e622e6dccfa4c8da2",14:"4fca81a28867daa95602",15:"d251e8a6c8d22c33bf8f",16:"f483f95dbac654c7de5a",17:"ff6edf624b982c354977",18:"d2d67b4f5729ae6df7c6",19:"d7d09ae4564d64842009",20:"455fd80bd8af15457c57",21:"c1b5e15e28768af52654",22:"2a873e819c6c369d5cd1",23:"d2380bf3c276e741313b",24:"76cb3025ebe21689d252",25:"d3508ee6e53c11c834a8",26:"a4696a3d8f883d26cbba",27:"a264e84b7db8077c055c",28:"1930caedb40404ba3c53",29:"c5bb15e8e1bd17cdc0f7",30:"ea05d43b99177823fbdc",31:"3c60579eb96d87cceb08",32:"0c7863fa05e5c75053c3",33:"fe239972086d90fd74ac",34:"1caa0ccb68b3c0286d52",35:"d8abf87eeb477b4bc1f3",36:"2cadbd4ded3457625f52",37:"8dc3e1f0f3e416135406",38:"9f4a46d2ce3c9477a06b",39:"b33ea830129fb895dd77",40:"ad473a8b167e7f71e8af",41:"0dc1ed22d89c304b797a",42:"54f2f4850c109391114a",43:"fb46c0bad10552e7ef89",44:"3d32c7e1954754671303",45:"a9716608f3af52ee74c5",46:"84083eac0c5c5b14a99f",47:"5fba8d62f07fd68c7875",48:"3d2a2f4e5dca20f701e8",49:"c0c90eb73e8637aa4caf",50:"d121c16edea8a23b184c",51:"aa5454e0664f02f5f5f6",52:"906057051eeca0acab78",53:"ad34897b3043dc2ba8c4",54:"6d6fb15946a63d0c8b8a",55:"b43dde027408aa464eec",56:"6832c3f53087f9be96f5",57:"1b38513e926d99c9a5cf",58:"c88fe58752788c30d808",59:"eb86cb17b78ab558ad58",60:"f5022ecb9fdbdd4f43c7",61:"d591ce152461dfb3a63c",62:"123750c66202ba673c34",63:"0dc959e55244f121f914",64:"dbe66f6cdec81545653c",65:"efbf8d97795f3130cf2a",66:"ee588b2e7cc90c1990d4",67:"dba142827d793ce3c03c",68:"1fa9254f23908356844f",69:"da63bdfde8b85b8101a0",70:"86604494d6befb3b7fe1",71:"c31161658f3f378b6d48",72:"5d421834f52ef801a2b6",73:"965c68191fa7d46bd0fa",74:"4f9487c75611c4f24957",75:"ae3378ba5883737ee93e",76:"5251f571273c5b8a282c",77:"400573827121945ff6ec",78:"4e1aa8a9d072352195d3",79:"538d5c8bcccf2e7791b5",80:"d63547dbc4122065934a",81:"dc300d9df998b44e6232",82:"144114e508b0964b3a4a",83:"8f8eee29795665b74226",84:"ae9e016eb15a5ec99e7f",85:"bfae8273934cbb68d34c",86:"62d40f9d4fac7cd847c0",87:"0fb42cff2a7382428597",88:"4baa99b5ba65f517e6b4",89:"56ead064ee0a4d3c0039",90:"f965c0ab799d944946de",91:"432e6232fb6d5ad3498c",92:"40e90149e575b118d77b",93:"73872f7004775a9a313f",94:"bb99ea1902902ef80241",95:"daeac6e999523760ef39",96:"2efbe74c26dcfb77650f",97:"ac2cf8e5e0e144c3b742",98:"e0fd2c832397fdb94924",99:"58cc1884c4f80303999a",102:"2629d20834840d0da10e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]); !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={103: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:"129caf163abfe2429ea4",1:"fe9dec1f31b04053fd7e",2:"b4cd547e4cd1c85c02dd",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"992fbbfa5966c95375ae",6:"b80bb3bc5186fd89e390",7:"b545128585c9ed62a709",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"06ac195b892351e84380",13:"bc52bf775945fbeea217",14:"4fca81a28867daa95602",15:"d251e8a6c8d22c33bf8f",16:"f483f95dbac654c7de5a",17:"ff6edf624b982c354977",18:"d2d67b4f5729ae6df7c6",19:"d7d09ae4564d64842009",20:"455fd80bd8af15457c57",21:"c1b5e15e28768af52654",22:"2a873e819c6c369d5cd1",23:"d2380bf3c276e741313b",24:"76cb3025ebe21689d252",25:"d3508ee6e53c11c834a8",26:"a4696a3d8f883d26cbba",27:"a264e84b7db8077c055c",28:"1930caedb40404ba3c53",29:"c5bb15e8e1bd17cdc0f7",30:"ea05d43b99177823fbdc",31:"3c60579eb96d87cceb08",32:"0c7863fa05e5c75053c3",33:"d13b47f123806d0a1d78",34:"1f17a11ca62f8d3747fc",35:"b6d335447f6e8e690b1e",36:"afbe204dbc41d7c5c89b",37:"4871f1bc03003253497b",38:"b38b04eff6b00a23650d",39:"66cef0827526e8ede05b",40:"a79be724c9e18f8dd17d",41:"8091d9c715151eadc03e",42:"54f2f4850c109391114a",43:"fb46c0bad10552e7ef89",44:"3d32c7e1954754671303",45:"a9716608f3af52ee74c5",46:"84083eac0c5c5b14a99f",47:"5fba8d62f07fd68c7875",48:"3d2a2f4e5dca20f701e8",49:"c0c90eb73e8637aa4caf",50:"d121c16edea8a23b184c",51:"aa5454e0664f02f5f5f6",52:"906057051eeca0acab78",53:"ad34897b3043dc2ba8c4",54:"6d6fb15946a63d0c8b8a",55:"b43dde027408aa464eec",56:"6832c3f53087f9be96f5",57:"1b38513e926d99c9a5cf",58:"c88fe58752788c30d808",59:"eb86cb17b78ab558ad58",60:"f5022ecb9fdbdd4f43c7",61:"d591ce152461dfb3a63c",62:"123750c66202ba673c34",63:"0dc959e55244f121f914",64:"dbe66f6cdec81545653c",65:"efbf8d97795f3130cf2a",66:"ee588b2e7cc90c1990d4",67:"dba142827d793ce3c03c",68:"1fa9254f23908356844f",69:"da63bdfde8b85b8101a0",70:"86604494d6befb3b7fe1",71:"c31161658f3f378b6d48",72:"5d421834f52ef801a2b6",73:"965c68191fa7d46bd0fa",74:"4f9487c75611c4f24957",75:"ae3378ba5883737ee93e",76:"5251f571273c5b8a282c",77:"400573827121945ff6ec",78:"4e1aa8a9d072352195d3",79:"538d5c8bcccf2e7791b5",80:"d63547dbc4122065934a",81:"dc300d9df998b44e6232",82:"144114e508b0964b3a4a",83:"8f8eee29795665b74226",84:"ae9e016eb15a5ec99e7f",85:"bfae8273934cbb68d34c",86:"62d40f9d4fac7cd847c0",87:"0fb42cff2a7382428597",88:"4baa99b5ba65f517e6b4",89:"56ead064ee0a4d3c0039",90:"f965c0ab799d944946de",91:"432e6232fb6d5ad3498c",92:"40e90149e575b118d77b",93:"73872f7004775a9a313f",94:"bb99ea1902902ef80241",95:"daeac6e999523760ef39",96:"2efbe74c26dcfb77650f",97:"ac2cf8e5e0e144c3b742",98:"e0fd2c832397fdb94924",99:"58cc1884c4f80303999a",102:"2c7e1d628bd2f4ac709c"}[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
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
"less": "^3.0.4", "less": "^3.0.4",
"less-loader": "^4.1.0", "less-loader": "^4.1.0",
"node-notifier": "^5.1.2", "node-notifier": "^5.1.2",
"node-sass": "^4.9.0", "node-sass": "^4.14.1",
"onchange": "^5.2.0", "onchange": "^5.2.0",
"optimize-css-assets-webpack-plugin": "^3.2.0", "optimize-css-assets-webpack-plugin": "^3.2.0",
"ora": "^1.2.0", "ora": "^1.2.0",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-11-08 03:54:57 * @LastEditTime: 2020-11-10 15:34:54
--> -->
<!-- <!--
<taskView :brandId="brandId" activeGroupId></taskView> <taskView :brandId="brandId" activeGroupId></taskView>
...@@ -13,6 +13,18 @@ ...@@ -13,6 +13,18 @@
<template> <template>
<div> <div>
<div class="daily-set-content boder-box"> <div class="daily-set-content boder-box">
<div class="m-b-20">
<div role="alert" class="el-alert el-alert--info flex flex-align-start">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<span class="el-alert__title">
1.话务任务仅统计近一年数据;<br />
2.话务任务统计数据每日刷新一次;<br />
3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况
</span>
</div>
</div>
</div>
<div class="table-condition flex flex-space-between m-b-20"> <div class="table-condition flex flex-space-between m-b-20">
<div class="table-condition-left"> <div class="table-condition-left">
<el-input placeholder="请输入话务任务名称" v-model="conditionObj.searchInput" class="w-264" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input> <el-input placeholder="请输入话务任务名称" v-model="conditionObj.searchInput" class="w-264" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
...@@ -484,6 +496,21 @@ export default { ...@@ -484,6 +496,21 @@ export default {
}; };
</script> </script>
<style type="text/scss" lang="scss" scoped> <style type="text/scss" lang="scss" scoped>
.el-alert--info {
width: 100%;
font-size: 14px;
color: #606266;
border-radius: 2px;
background: #e6f7ff;
border: 1px solid #91d5ff;
.el-icon-info {
width: 12px;
font-size: 12px;
color: #1890ff;
align-self: flex-start;
padding-top: 3px;
}
}
.color-c0c4cc { .color-c0c4cc {
display: inline-block; display: inline-block;
line-height: 34px; line-height: 34px;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-03-20 14:36:37 * @LastEditTime: 2020-11-10 15:28:10
--> -->
<template> <template>
<div class="daily-set-wrap "> <div class="daily-set-wrap ">
...@@ -16,6 +16,14 @@ ...@@ -16,6 +16,14 @@
</el-tabs> </el-tabs>
</div> </div>
<div class="daily-set-content boder-box" v-if="activeName == 'first'"> <div class="daily-set-content boder-box" v-if="activeName == 'first'">
<div class="m-b-20">
<div role="alert" class="el-alert el-alert--info">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<span class="el-alert__title">提示:仅展示近一年数据。包含好办2.0及3.0</span>
</div>
</div>
</div>
<div class="table-condition flex flex-space-between m-b-23"> <div class="table-condition flex flex-space-between m-b-23">
<div class="table-condition-left"> <div class="table-condition-left">
<el-input placeholder="请输入门店名称" v-model="conditionObj.searchInput" class="w-264 m-l-10" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input> <el-input placeholder="请输入门店名称" v-model="conditionObj.searchInput" class="w-264 m-l-10" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
...@@ -532,6 +540,18 @@ export default { ...@@ -532,6 +540,18 @@ export default {
}; };
</script> </script>
<style type="text/scss" lang="scss" scoped> <style type="text/scss" lang="scss" scoped>
.el-alert--info {
width: 400px;
font-size: 14px;
color: #606266;
background: #e6f7ff;
border: 1px solid #91d5ff;
.el-icon-info {
width: 12px;
font-size: 12px;
color: #1890ff;
}
}
.color-c0c4cc { .color-c0c4cc {
display: inline-block; display: inline-block;
line-height: 34px; line-height: 34px;
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors : 无尘 * @LastEditors: 无尘
* @LastEditTime : 2020-01-03 14:13:42 * @LastEditTime: 2020-11-10 15:33:07
--> -->
<template> <template>
<div class="daily-set-wrap "> <div class="daily-set-wrap ">
...@@ -16,6 +16,18 @@ ...@@ -16,6 +16,18 @@
</el-tabs> </el-tabs>
</div> </div>
<div v-if="conditionObj.tableType == 1" class="daily-set-content boder-box"> <div v-if="conditionObj.tableType == 1" class="daily-set-content boder-box">
<div class="m-b-20">
<div role="alert" class="el-alert el-alert--info flex flex-align-start">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<span class="el-alert__title">
1.话务任务仅统计近一年数据;<br />
2.因任务数据量过大,门店视图统计数据改为每日刷新一次;<br />
3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况
</span>
</div>
</div>
</div>
<div class="table-condition flex flex-space-between m-b-20"> <div class="table-condition flex flex-space-between m-b-20">
<div class="table-condition-left"> <div class="table-condition-left">
<el-input placeholder="请输入门店名称" v-model="conditionObj.searchInput" class="w-264" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input> <el-input placeholder="请输入门店名称" v-model="conditionObj.searchInput" class="w-264" style="width: 264px;" @keyup.native="value => toInput(value, conditionObj.searchInput)"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
...@@ -565,6 +577,21 @@ export default { ...@@ -565,6 +577,21 @@ export default {
}; };
</script> </script>
<style type="text/scss" lang="scss" scoped> <style type="text/scss" lang="scss" scoped>
.el-alert--info {
width: 100%;
font-size: 14px;
color: #606266;
border-radius: 2px;
background: #e6f7ff;
border: 1px solid #91d5ff;
.el-icon-info {
width: 12px;
font-size: 12px;
color: #1890ff;
align-self: flex-start;
padding-top: 3px;
}
}
.color-c0c4cc { .color-c0c4cc {
display: inline-block; display: inline-block;
line-height: 34px; line-height: 34px;
......
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