Commit 4fa43480 by 无尘

feat: 增加预览素材

parent cf261703
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.cb1f4627ef4545aecc3d2b8b930c77e9.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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.418b1335b89931f8fdeb.js></script><script type=text/javascript src=./static/js/vendor.0000e68e65e4a9dc3840.js></script><script type=text/javascript src=./static/js/app.7dc421267e801f6aad2f.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.b7ece48861175492dcfcab4246d172ab.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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.17966c8336226273efd0.js></script><script type=text/javascript src=./static/js/vendor.0000e68e65e4a9dc3840.js></script><script type=text/javascript src=./static/js/app.5aec6800411971a9711e.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([39],{"8ZCz":function(e,t){},gncU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("Ke24"),o=a("mvHQ"),n=a.n(o),s=a("P9l9"),r=a("3E4D"),c=a("Ch4/"),l={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:[{categoryCode:1,categoryName:"基本信息",fieldList:[{relateId:"",fieldName:"姓名",selectFlag:!1,editFlag:!1}]}]}},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(e){},setFieldList:function(){var e=this,t=[];resData.result.forEach(function(e){e.fieldList.forEach(function(e){t.push({relatedId:e.relatedId,statusFlag:e.statusFlag?1:0})})});var a={fieldJson:n()(t),enterpriseId:e.enterpriseId,showType:1,userId:e.userId};Object(s.e)("/haoban-app-attence-web/attence-show-field-list",a).then(function(e){var t=e.data;1!=t.errorCode?c.a.errorMsg(t):r.a.showmsg("报表有新的设置项,点击按钮更新报表内容","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getFieldList:function(){var e=this,t={enterpriseId:e.enterpriseId,showType:1};Object(s.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.forEach(function(e){e.selectFlag,e.editFlag})}),void(e.customData=a.result);c.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}},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__title"},[a("p",{staticClass:"custom-dialog__p"},[e._v("\n 请选择您想在首页展示的"+e._s(e.customTitle)+",还可以再勾选"),a("span",[e._v(" "+e._s(8-e.checkList.length)+" ")]),e._v("个\n ")])]),e._v(" "),a("div",{staticClass:"custom-dialog__checkbox"},[a("el-checkbox-group",{attrs:{max:8},on:{change:e.customChange},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},["data"===e.customType?e._l(e.customData,function(t){return a("el-checkbox",{key:t.dataViewId,attrs:{label:t.dataViewId,name:"type"}},[e._v(e._s(t.fieldTitle))])}):e._e(),e._v(" "),"data"!=e.customType?e._l(e.customData,function(t){return a("el-checkbox",{key:t.settingViewId,attrs:{label:t.settingViewId,name:"type"}},[e._v(e._s(t.fieldTitle))])}):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")(l,d,!1,function(e){a("rE+0")},"data-v-a6e01cec",null).exports,p=a("PI0u"),h={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,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,this.currentPage=1,this.getTableList(this.brandId)},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,showType:1};Object(s.e)("/haoban-app-attence-web/attence-show-field-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableHeader=a.result||[],void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getTableList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getTableList(this.brandId)},toUpdateSet:function(){this.currentPage=1,this.getTableList(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(s.e)("/haoban-app-attence-web/attence-total-day",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tabletData=a.result||[],void(t.total=a.result.total);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e)},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)}},g={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"},[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:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"考勤组名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.attenceGroupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"人数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.personCount))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.attenceType?"固定排班":2==t.row.attenceType?"排班制":"自由排班"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"考勤时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近更新时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])})],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)])],1),e._v(" "),a("day-field-select",{attrs:{showDayDialog:e.showDayDialog},on:{hideDayDialog:e.hideDayDialog}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(e){a("8ZCz")},"data-v-16d998bc",null);t.default=f.exports},"rE+0":function(e,t){}});
\ No newline at end of file
webpackJsonp([41],{PF61:function(t,e){},Y8F9:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),s=a("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId+"&appIcon="+this.$route.query.appIcon)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=a("VU/8")(i,o,!1,function(t){a("PF61")},"data-v-feaa4d20",null);e.default=d.exports}}); webpackJsonp([42],{PF61:function(t,e){},Y8F9:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),s=a("Ke24"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeBrandId:this.brandId,topMenuData:[{id:"1",name:"系统报表"}],activeId:"1"}},computed:{},methods:{toEdit:function(){this.$router.push("/systemReportSet?brandId="+this.activeBrandId+"&appIcon="+this.$route.query.appIcon)}},watch:{brandId:function(t,e){this.activeBrandId=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","211"),this.activeBrandId=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonDetailTop:s.a}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"system-set-wrap"},[e("common-detail-top",{attrs:{topMenuData:this.topMenuData,activeId:this.activeId}}),this._v(" "),e("div",{staticClass:"system-set-content boder-box"},[e("div",{staticClass:"system-set-cell"},[e("div",{staticClass:"font-14 color-606266"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中")]),this._v(" "),e("div",{staticClass:"m-t-30"},[e("el-button",{attrs:{type:"primary"},on:{click:this.toEdit}},[this._v("编辑模板")])],1)])])],1)},staticRenderFns:[]};var d=a("VU/8")(i,o,!1,function(t){a("PF61")},"data-v-feaa4d20",null);e.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([42],{IMwM:function(e,t){},JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),n=a("P9l9"),r=a("MJLE"),i=a.n(r),o={name:"shareCode",components:{navCrumb:s.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"共享通讯录",path:""}],regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},methods:{getCode:function(){var e=this,t={regenerate:arguments.length>0&&void 0!==arguments[0]&&arguments[0]};Object(n.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",t).then(function(t){1==t.data.errorCode?e.qrcode(t.data.result.qrCodeContent):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new i.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},getShareRelation:function(){var e=this;Object(n.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){1==t.data.errorCode?(e.shares=t.data.result||[],e.shares.length>0&&(e.myEnterprise=t.data.result[0].exportEnterpriseName)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(n.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.downloadCode}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),e.shares.length>0?a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(o,c,!1,function(e){a("IMwM")},null,null);t.default=d.exports}}); webpackJsonp([43],{IMwM:function(e,t){},JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),n=a("P9l9"),r=a("MJLE"),i=a.n(r),o={name:"shareCode",components:{navCrumb:s.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/administrativeFrame"},{name:"共享通讯录",path:""}],regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},methods:{getCode:function(){var e=this,t={regenerate:arguments.length>0&&void 0!==arguments[0]&&arguments[0]};Object(n.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",t).then(function(t){1==t.data.errorCode?e.qrcode(t.data.result.qrCodeContent):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new i.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},getShareRelation:function(){var e=this;Object(n.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){1==t.data.errorCode?(e.shares=t.data.result||[],e.shares.length>0&&(e.myEnterprise=t.data.result[0].exportEnterpriseName)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(n.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.downloadCode}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),e.shares.length>0?a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(o,c,!1,function(e){a("IMwM")},null,null);t.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([43],{"8Yx5":function(t,e){},VlR1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"setting-wrap"},[n("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:t.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("8Yx5")},null,null);e.default=i.exports}}); webpackJsonp([44],{"8Yx5":function(t,e){},VlR1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"setting-wrap"},[n("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:t.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(t){n("8Yx5")},null,null);e.default=i.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([47],{"9Od8":function(t,a){},cuIN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("fvdr"),o=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"},{tabId:"3",tabName:"聊天记录",icon:"icon-liaotianjilu"}],activeBrand:"1",activeGroup:""}},computed:{},methods:{selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){this.activeTab=t.tabId}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:o.a}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box"},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("app-detail",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab}})],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var d=e("VU/8")(c,s,!1,function(t){e("9Od8")},"data-v-bf45edd6",null);a.default=d.exports}}); webpackJsonp([48],{"9Od8":function(t,a){},cuIN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("fvdr"),o=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"},{tabId:"3",tabName:"聊天记录",icon:"icon-liaotianjilu"}],activeBrand:"1",activeGroup:""}},computed:{},methods:{selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){this.activeTab=t.tabId}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:o.a}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box"},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("app-detail",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab}})],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var d=e("VU/8")(c,s,!1,function(t){e("9Od8")},"data-v-bf45edd6",null);a.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([49],{CqVe:function(t,e){},W0k8:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("CqVe")},"data-v-b841b8f6",null);e.default=r.exports}}); webpackJsonp([50],{CqVe:function(t,e){},W0k8:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("CqVe")},"data-v-b841b8f6",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([50],{ISJj:function(t,e){},da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("ISJj")},"data-v-b62832ae",null);e.default=o.exports}}); webpackJsonp([51],{ISJj:function(t,e){},da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("ISJj")},"data-v-b62832ae",null);e.default=o.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([52],{SKyE:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3Xzz"),n=e("PI0u"),r={name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(a,e,s){t.ruleForm.switch&&""==e.replace(/\s/g)?s(new Error("请输入地址")):s()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){this.ruleForm=[]}},components:{navCrumb:s.a}},i={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"companyAddress-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:this.$store.state.bgHeight}},[a("h2",{staticClass:"font-w-500"},[this._v("企业地址设置")]),this._v(" "),a("p",{staticClass:"m-t-24"},[this._v("暂时无法设置")])])]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=e("VU/8")(r,i,!1,function(t){e("Xsa6")},"data-v-a6a97268",null);a.default=o.exports},Xsa6:function(t,a){}}); webpackJsonp([53],{SKyE:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3Xzz"),n=e("PI0u"),r={name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(a,e,s){t.ruleForm.switch&&""==e.replace(/\s/g)?s(new Error("请输入地址")):s()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){this.ruleForm=[]}},components:{navCrumb:s.a}},i={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"companyAddress-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{height:this.$store.state.bgHeight}},[a("h2",{staticClass:"font-w-500"},[this._v("企业地址设置")]),this._v(" "),a("p",{staticClass:"m-t-24"},[this._v("暂时无法设置")])])]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=e("VU/8")(r,i,!1,function(t){e("Xsa6")},"data-v-a6a97268",null);a.default=o.exports},Xsa6:function(t,a){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([53],{"1NWy":function(t,e){},PAYw:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("1NWy")},"data-v-97f6d394",null);e.default=a.exports}}); webpackJsonp([54],{"1NWy":function(t,e){},PAYw:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("1NWy")},"data-v-97f6d394",null);e.default=a.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([58],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),c=t("P9l9"),d={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(d,p,!1,function(e){t("XqOc")},null,null);a.default=u.exports},XqOc:function(e,a){}}); webpackJsonp([59],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),c=t("P9l9"),d={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(d,p,!1,function(e){t("XqOc")},null,null);a.default=u.exports},XqOc:function(e,a){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([59],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}}); webpackJsonp([60],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([60],{FdYP:function(t,e){},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("FdYP")},"data-v-6c75d59f",null);e.default=c.exports}}); webpackJsonp([61],{FdYP:function(t,e){},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("FdYP")},"data-v-6c75d59f",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([64],{"53ku":function(t,e){},"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("53ku")},"data-v-63612582",null);e.default=s.exports}}); webpackJsonp([65],{"53ku":function(t,e){},"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("53ku")},"data-v-63612582",null);e.default=s.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([65],{"41Rh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"contact",components:{topNav:a("3Xzz").a},data:function(){return{rightH:(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){},computed:{}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"contact-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"contact-wrap__body",style:{height:t.rightH}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),a("div",{staticClass:"contact-wrap__right",style:{height:t.rightH}},[a("div",{staticClass:"contact-wrap__right__body"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(o,n,!1,function(t){a("P4oC")},null,null);e.default=c.exports},P4oC:function(t,e){}}); webpackJsonp([66],{"41Rh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"contact",components:{topNav:a("3Xzz").a},data:function(){return{rightH:(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){},computed:{}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"contact-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"contact-wrap__body",style:{height:t.rightH}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),a("div",{staticClass:"contact-wrap__right",style:{height:t.rightH}},[a("div",{staticClass:"contact-wrap__right__body"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(o,n,!1,function(t){a("P4oC")},null,null);e.default=c.exports},P4oC:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([66],{GqD7:function(t,e){},m0O4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"营销素材",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"图文素材",icon:"icon-tuwen"},{tabId:"2",tabName:"纷享素材",icon:"icon-fenxiang"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("imageText?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("enjoyMaterial?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("GqD7")},"data-v-62341f07",null);e.default=r.exports}}); webpackJsonp([67],{GqD7:function(t,e){},m0O4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"营销素材",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"图文素材",icon:"icon-tuwen"},{tabId:"2",tabName:"纷享素材",icon:"icon-fenxiang"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("imageText?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("enjoyMaterial?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("GqD7")},"data-v-62341f07",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([67],{"5Os6":function(t,e){},e88N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"话务任务",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"话务任务记录",icon:"icon-tonghuahuawuliang",onlyIconActive:!1},{tabId:"2",tabName:"话务任务设置",icon:"icon-huawujinengzupeizhi",onlyIconActive:!1},{tabId:"3",tabName:"不良评价回访设置",icon:"icon-ribaoshezhi",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("taskRecord?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("trafficTaskSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("badEvaluateSet?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("5Os6")},"data-v-5d5dbd63",null);e.default=r.exports}}); webpackJsonp([68],{"5Os6":function(t,e){},e88N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),i=a("fvdr"),c=a("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"话务任务",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"话务任务记录",icon:"icon-tonghuahuawuliang",onlyIconActive:!1},{tabId:"2",tabName:"话务任务设置",icon:"icon-huawujinengzupeizhi",onlyIconActive:!1},{tabId:"3",tabName:"不良评价回访设置",icon:"icon-ribaoshezhi",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("taskRecord?appIcon="+this.$route.query.appIcon);break;case"2":this.changeRoute("trafficTaskSet?appIcon="+this.$route.query.appIcon);break;case"3":this.changeRoute("badEvaluateSet?appIcon="+this.$route.query.appIcon)}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:i.a,commonDetailLeft:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("5Os6")},"data-v-5d5dbd63",null);e.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([69],{FT0U:function(t,e){},Gk4o:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"签到",appIcon:"",activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("FT0U")},"data-v-59c4a073",null);e.default=s.exports}}); webpackJsonp([70],{FT0U:function(t,e){},Gk4o:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"签到",appIcon:"",activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("FT0U")},"data-v-59c4a073",null);e.default=s.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([70],{gncU:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ke24"),o=a("Ch4/"),i=a("PI0u"),r=a("P9l9"),c={name:"app-detail",components:{commonDetailTop:n.a},props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){var t=this;return{projectName:"",activeBrand:this.brandId,activeGroup:this.activeGroupId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId,activeId:"1",topMenuData:[{id:"1",name:"每日统计"}],conditionObj:{attenceGroupName:"",choiceDate:""},tableData:[],currentPage:1,pageSize:20,total:0,workClassShow:!1,classesId:"",choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,n=e.minDate;t.choiceDateCopy=[n.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-2592e6,n=t.choiceDateCopy[0]+2592e6;return e.getTime()<a||e.getTime()>n||e.getTime()>Date.now()-864e4}return e.getTime()>Date.now()-864e4}}}},methods:{changeDate:function(t){t||(this.choiceDateCopy=[],this.conditionObj.choiceDate=[]),this.currentPage=1,this.getTableList()},toWorkGroupSet:function(){this.$router.push("/workGroupSet?appIcon="+this.$route.query.appIcon)},toEditWorkTime:function(t,e){this.$router.push("/workTimeManage?appIcon="+this.$route.query.appIcon+"&attenceGroupId="+e.attenceGroupId)},toTableSet:function(){this.workClassShow=!0,this.classesId=row.classesId},hideSetDialog:function(){this.workClassShow=!1,this.classesId="",this.currentPage=1,this.getTableList(this.brandId)},toInput:Object(i.a)(function(t,e){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(t){var e=this;e.conditionObj.choiceDate||(e.conditionObj.choiceDate=[]);var a={brandId:t||e.activeBrand,enterpriseId:e.enterpriseId,userName:e.conditionObj.attenceGroupName,startDate:e.conditionObj.choiceDate[0],endDate:e.conditionObj.choiceDate[1],pageNum:e.currentPage,pageSize:e.pageSize};Object(r.e)("/haoban-app-attence-web/attence-total-day",a).then(function(t){var a=t.data;if(1==a.errorCode)return console.log(a.result.list),e.tabletData=a.result.list||[],void(e.total=a.result.total);o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(t){this.pageSize=t,this.getTableList(this.brandId)},handleCurrentChange:function(t){this.currentPage=t,this.getTableList(this.brandId)},toUpdateSet:function(){this.currentPage=1,this.getTableList(this.brandId)},getTableList:function(t){var e=this;e.conditionObj.choiceDate||(e.conditionObj.choiceDate=[]);var a={brandId:t||e.activeBrand,enterpriseId:e.enterpriseId,userName:e.conditionObj.attenceGroupName,startDate:e.conditionObj.choiceDate[0],endDate:e.conditionObj.choiceDate[1],pageNum:e.currentPage,pageSize:e.pageSize};Object(r.e)("/haoban-app-attence-web/attence-total-day",a).then(function(t){var a=t.data;if(1==a.errorCode)return console.log(a.result.list),e.tabletData=a.result.list||[],void(e.total=a.result.total);o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)},tabType:function(t,e){}},mounted:function(){this.$emit("showTab","11"),this.brandId&&1!=this.brandId&&(this.activeBrand=this.brandId),this.getTableList(this.brandId)}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[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:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.attenceGroupName);var a}},model:{value:t.conditionObj.attenceGroupName,callback:function(e){t.$set(t.conditionObj,"attenceGroupName",e)},expression:"conditionObj.attenceGroupName"}}),t._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":t.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.choiceDate,callback:function(e){t.$set(t.conditionObj,"choiceDate",e)},expression:"conditionObj.choiceDate"}})],1),t._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:t.toTableSet}},[t._v("设置报表")]),a("el-button",{staticClass:"p-l-10",attrs:{type:"primary"},on:{click:t.toUpdateSet}},[t._v("更新报表")])],1)])])]),t._v(" "),a("div",[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[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.attenceGroupName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"人数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.personCount))]}}])}),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(1==e.row.attenceType?"固定排班":2==e.row.attenceType?"排班制":"自由排班"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"考勤时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[2!=e.row.attenceType||e.row.personCount?t._e():a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toEditWorkTime(e.$index,e.row)}}},[t._v("编辑排班")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toEditGroup(e.$index,e.row)}}},[t._v("修改规则")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])],1)])},staticRenderFns:[]};var l=a("VU/8")(c,s,!1,function(t){a("x33c")},"data-v-57facd1a",null);e.default=l.exports},x33c:function(t,e){}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,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 d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},f={103:0};function b(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,b),f.l=!0,f.exports}b.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,b){c=f[e]=[a,b]});c[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"ab616832b6f6019a8690",1:"fe9dec1f31b04053fd7e",2:"54aabab28c7735d34c10",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"b5e24a58d047a2ec70f5",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"879536ae7ce46f0c54ec",13:"57e51fc1b6342003f25d",14:"9cf830eb000e3ac61f70",15:"8af6142c39019489292a",16:"f483f95dbac654c7de5a",17:"ff6edf624b982c354977",18:"447fe4adcec70a86ea14",19:"d7d09ae4564d64842009",20:"455fd80bd8af15457c57",21:"c1b5e15e28768af52654",22:"2a873e819c6c369d5cd1",23:"d2380bf3c276e741313b",24:"c3c8797fe7e9c079e5b6",25:"d3508ee6e53c11c834a8",26:"2a9f825a5856b483326c",27:"e449e36ce4ea4c5b280d",28:"70cb3f87bd69723dbd41",29:"c5bb15e8e1bd17cdc0f7",30:"ea05d43b99177823fbdc",31:"b8b827be7489c76082e9",32:"5e1383bc5cac66f2999a",33:"61635e97ee430e22a19b",34:"14f59a71b9bce3f1b3e8",35:"e56b3a9926cb9c9250c8",36:"2cadbd4ded3457625f52",37:"8dc3e1f0f3e416135406",38:"9f4a46d2ce3c9477a06b",39:"793d0755b439c87f719f",40:"a79be724c9e18f8dd17d",41:"17121c9227dddf24b37d",42:"54f2f4850c109391114a",43:"fb46c0bad10552e7ef89",44:"3d32c7e1954754671303",45:"c0accd45711184d0044d",46:"785c8076b8d217da747e",47:"b477848570e876912bdb",48:"32a6d29de6b93cd9201c",49:"1a7182d9cdf2e08ff7f0",50:"4235ecfe09e1fc4e1ca4",51:"2f363aaad04264e9f159",52:"d56e883ddcbef7c6b221",53:"ec91f2b143d0b1e708b5",54:"31eed9c38748896262d1",55:"4f96191ae2c44c6f18f7",56:"99063bd3b07926595af4",57:"ba6530916d934b70d218",58:"2241679269f18e7f14c3",59:"5c336f6f4d119300c1d8",60:"d43c13d5c29feb45e864",61:"0806aac37bd2b86e8bc2",62:"8ef5c75f77376ecd8873",63:"bbe4da77ef31a0aa9150",64:"f26939887c305ec6f7fc",65:"069ccaf5f8e5b5f3c59d",66:"5f0382c9cb76b57ba778",67:"745b9621e5297c575b33",68:"aaaa125fb978b59c2cbf",69:"bb6a8bab41cac9f11bd4",70:"a226d330de7ebb2a4c5f",71:"9551ae81326c57064dec",72:"cb1b3985b92be4556fc1",73:"b6b1fb51b601c0fafcda",74:"6206c00744e77bc84fec",75:"93eb5a61daaa3a1df425",76:"78e5a422e9fecbbd255a",77:"b3f7cf4d2b54d306c522",78:"1fc3472c5f95a0a66979",79:"69811ba75d1fceae9737",80:"12442b543aff65f2c05d",81:"00a94b58ac2affb758dc",82:"1fa56152d6bdcfd4ec14",83:"976088a6ee120b8caa17",84:"45dae077c86a1a0050ff",85:"0c7635a15cceae31d981",86:"d0d0607a424156f2d88d",87:"aee44c25b8d252c44b6e",88:"6583c4b0dc7a8f908fa2",89:"efe4f1f2709c6221cd8e",90:"f965c0ab799d944946de",91:"432e6232fb6d5ad3498c",92:"40e90149e575b118d77b",93:"96b6ac9b6398b7d7360f",94:"3b3320da6662e7e5c1cb",95:"04507f6fadd31b01a746",96:"d4a4beef007fa347bd93",97:"8b0f08b3974b32d7bc2a",98:"69c8efc82743796dc255",99:"58cc1884c4f80303999a",102:"2c7e1d628bd2f4ac709c"}[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,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(e[r]=f[r]);for(c&&c(a,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},b={103:0};function d(c){if(a[c])return a[c].exports;var b=a[c]={i:c,l:!1,exports:{}};return e[c].call(b.exports,b,b.exports,d),b.l=!0,b.exports}d.e=function(e){var c=b[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=b[e]=[a,d]});c[2]=a;var f=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:"ab616832b6f6019a8690",1:"fe9dec1f31b04053fd7e",2:"54aabab28c7735d34c10",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"ceb9a6b8f809b344b078",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"879536ae7ce46f0c54ec",13:"57e51fc1b6342003f25d",14:"9cf830eb000e3ac61f70",15:"8af6142c39019489292a",16:"f483f95dbac654c7de5a",17:"ff6edf624b982c354977",18:"447fe4adcec70a86ea14",19:"d7d09ae4564d64842009",20:"455fd80bd8af15457c57",21:"c1b5e15e28768af52654",22:"2a873e819c6c369d5cd1",23:"d2380bf3c276e741313b",24:"b1832faa7c26cd1e9d72",25:"550aafc88ac4d0c8a14f",26:"e0ba8ad05ad14e4c0abc",27:"80efeaa8fe902850d85c",28:"70cb3f87bd69723dbd41",29:"c5bb15e8e1bd17cdc0f7",30:"ea05d43b99177823fbdc",31:"b8b827be7489c76082e9",32:"5e1383bc5cac66f2999a",33:"61635e97ee430e22a19b",34:"14f59a71b9bce3f1b3e8",35:"e56b3a9926cb9c9250c8",36:"2cadbd4ded3457625f52",37:"8dc3e1f0f3e416135406",38:"9f4a46d2ce3c9477a06b",39:"b33ea830129fb895dd77",40:"52567857be12ee835446",41:"7264f33d2c3cf44d63a5",42:"9cacb9b0dc2a83864afe",43:"2324b3155ba3e3fe67b2",44:"a899f81af77b5d1b6daf",45:"d4e2ecd5b9efc4c430de",46:"03ae66bfca82c8ffa033",47:"393792502b1faedfd75b",48:"e413bb6ddbf0598e75ed",49:"8be0d341bf9560ab91d8",50:"edc711153403cc5a63ed",51:"5996349b24bab60188ec",52:"8e0bba68aa5e71955d4a",53:"86bbf67dd9e404acbe4f",54:"ddb7223a0928a1e1f4ce",55:"ef82ecd8807c80c07283",56:"52e6d99e9c54ec107c38",57:"04c21ade68e092912ad8",58:"ee398ad1c913c4c2ab6c",59:"582b016b4eda170bb861",60:"34b991ba5a199b8e4040",61:"f2dbd6d166f5018e7367",62:"2b352c28006429462f15",63:"ab01ba664ebbda2847d1",64:"b74592601e7caef1de9e",65:"515774c23255d836ad26",66:"023f892322dbb28f128e",67:"071cd1e7b61c5772738f",68:"1dd1e3d4d03e947443e2",69:"743ce24f263c6fd8f2ac",70:"fc31890c98eea0486566",71:"9551ae81326c57064dec",72:"cb1b3985b92be4556fc1",73:"b6b1fb51b601c0fafcda",74:"6206c00744e77bc84fec",75:"93eb5a61daaa3a1df425",76:"78e5a422e9fecbbd255a",77:"b3f7cf4d2b54d306c522",78:"1fc3472c5f95a0a66979",79:"69811ba75d1fceae9737",80:"12442b543aff65f2c05d",81:"00a94b58ac2affb758dc",82:"1fa56152d6bdcfd4ec14",83:"976088a6ee120b8caa17",84:"45dae077c86a1a0050ff",85:"0c7635a15cceae31d981",86:"d0d0607a424156f2d88d",87:"aee44c25b8d252c44b6e",88:"6583c4b0dc7a8f908fa2",89:"efe4f1f2709c6221cd8e",90:"f965c0ab799d944946de",91:"432e6232fb6d5ad3498c",92:"40e90149e575b118d77b",93:"96b6ac9b6398b7d7360f",94:"3b3320da6662e7e5c1cb",95:"04507f6fadd31b01a746",96:"d4a4beef007fa347bd93",97:"8b0f08b3974b32d7bc2a",98:"69c8efc82743796dc255",99:"58cc1884c4f80303999a",102:"2c7e1d628bd2f4ac709c"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=b[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,f.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -4,8 +4,20 @@ ...@@ -4,8 +4,20 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2019-12-21 15:48:30 * @LastEditTime : 2019-12-23 10:09:23
--> -->
<!--
<day-field-select
:showDayDialog="showDayDialog"
:attenceGroupData="attenceGroupData"
:attenceGroupId="attenceGroupId"
@hideCycleDialog="hideCycleDialog">
</day-field-select>
import dayFieldSelect from '@/components/app/dailyAttendance/day-field-select.vue'
-->
<template> <template>
<div class="custom-dialog-wrap"> <div class="custom-dialog-wrap">
<el-dialog :title="'自定义' + customTitle" :visible.sync="customDialog" width="761px" :before-close="handleCardClose"> <el-dialog :title="'自定义' + customTitle" :visible.sync="customDialog" width="761px" :before-close="handleCardClose">
...@@ -32,13 +44,13 @@ ...@@ -32,13 +44,13 @@
</div> </div>
</template> </template>
<script> <script>
import { postRequest, postJson } from '@/api/api'; import { postRequest } from '@/api/api';
import showMsg from '@/common/js/showmsg'; import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
export default { export default {
name: 'custom-dialog', name: 'custom-dialog',
props: { props: {
showCustomDialog: { showDayDialog: {
type: Boolean, type: Boolean,
default: false default: false
}, },
...@@ -54,16 +66,24 @@ export default { ...@@ -54,16 +66,24 @@ export default {
data() { data() {
return { return {
repProjectName: 'haoban-manage-web', // 项目名 repProjectName: 'haoban-manage-web', // 项目名
enterpriseId: JSON.parse(localStorage.getItem('userInfo')).enterpriseId,
userId: JSON.parse(localStorage.getItem('userInfo')).userId,
customDialog: false, // 弹框显示 customDialog: false, // 弹框显示
// 复选框数据 // 复选框数据
customData: [ customData: [
/*{ {
dataViewId: 1, categoryCode: 1,
fieldTitle: "通讯录行政架构", categoryName: '基本信息',
homeDisplay: true fieldList: [
}*/ {
], relateId: '',
checkList: [] //已选数据 fieldName: '姓名',
selectFlag: false,
editFlag: false
}
]
}
]
}; };
}, },
/* eslint-disable */ /* eslint-disable */
...@@ -108,21 +128,32 @@ export default { ...@@ -108,21 +128,32 @@ export default {
customChange(value) { customChange(value) {
}, },
/** /**
* 设置首页数据概览显示项 * 设置字段
*/ */
setData(list) { setFieldList() {
const that = this; const that = this;
let fieldJson = []
resData.result.forEach(ele => {
ele.fieldList.forEach(child => {
fieldJson.push({
relatedId: child.relatedId,
statusFlag: child.statusFlag ? 1 : 0
})
})
})
let para = { let para = {
viewIdList: list fieldJson: JSON.stringify(fieldJson),
enterpriseId: that.enterpriseId,
showType: 1,
userId: that.userId
}; };
let url = that.customType == 'data' ? '/haoban-manage-web/home/set-display-enterprise-data' : '/haoban-manage-web/home/set-display-quick-entry'; postRequest('/haoban-app-attence-web/attence-show-field-list', para)
postJson(url, para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
showMsg.showmsg('设置成功', 'success'); showMsg.showmsg('报表有新的设置项,点击按钮更新报表内容', 'success');
that.$emit('customHandleConfirm');
return; return;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
...@@ -136,29 +167,26 @@ export default { ...@@ -136,29 +167,26 @@ export default {
}, },
/** /**
* 获取 设置首页数据概览显示项 * 获取字段
*/ */
getCardList() { getFieldList() {
const that = this; const that = this;
let para = { let para = {
all: true enterpriseId: that.enterpriseId,
showType: 1
}; };
that.customType == 'data' ? (para.fetchData = false) : '';
// 判断企业数据概览 postRequest('/haoban-app-attence-web/attence-show-field-list', para)
let url = that.customType == 'data' ? '/haoban-manage-web/home/find-enterprise-data' : '/haoban-manage-web/home/find-quick-entry';
that.checkList = [];
postRequest(url, para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
let selList = []; resData.result.forEach(ele => {
resData.result.forEach(function(ele, index) { ele.fieldList.forEach(child => {
if (!!ele.homeDisplay) { child.selectFlag == 1? true : false;
that.customType == 'data' ? selList.push(ele.dataViewId) : selList.push(ele.settingViewId); child.editFlag == 1? true : false;
} })
}); })
that.customData = resData.result; that.customData = resData.result;
that.checkList = selList;
return; return;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
...@@ -172,9 +200,10 @@ export default { ...@@ -172,9 +200,10 @@ export default {
} }
}, },
watch: { watch: {
showCustomDialog: function(newData, oldData) { showDayDialog: function(newData, oldData) {
const that = this; const that = this;
that.customDialog = newData; that.customDialog = newData;
that.getFieldList();
}, },
customType: function(newData, oldData) { customType: function(newData, oldData) {
const that = this; const that = this;
...@@ -187,7 +216,7 @@ export default { ...@@ -187,7 +216,7 @@ export default {
/* 接收数据 */ /* 接收数据 */
mounted() { mounted() {
const that = this; const that = this;
that.customDialog = that.showCustomDialog; that.customDialog = that.showDayDialog;
} }
}; };
</script> </script>
......
...@@ -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-12-21 15:44:45 * @LastEditTime : 2019-12-23 09:47:16
--> -->
<!-- <!--
...@@ -48,13 +48,6 @@ ...@@ -48,13 +48,6 @@
<div>{{ scope.row.updateTime | timeStampToHms }}</div> <div>{{ scope.row.updateTime | timeStampToHms }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button v-if="scope.row.attenceType == 2 && !scope.row.personCount" type="text" size="small" @click="toEditWorkTime(scope.$index, scope.row)">编辑排班</el-button>
<el-button type="text" size="small" @click="toEditGroup(scope.$index, scope.row)">修改规则</el-button>
<el-button type="text" size="small" @click="toDel(scope.$index, scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table> </el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0"> <div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination> <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination>
...@@ -62,17 +55,22 @@ ...@@ -62,17 +55,22 @@
</div> </div>
</div> </div>
</div> </div>
<day-field-select :showDayDialog="showDayDialog" @hideDayDialog="hideDayDialog"> </day-field-select>
</div> </div>
</template> </template>
<script> <script>
import commonDetailTop from '@/components/app/common-detail-top.vue'; import commonDetailTop from '@/components/app/common-detail-top.vue';
import dayFieldSelect from '@/components/app/dailyAttendance/day-field-select.vue';
// import showMsg from '@/common/js/showmsg'; // import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
import { _debounce } from '@/common/js/public'; import { _debounce } from '@/common/js/public';
import { postRequest } from '@/api/api'; import { postRequest } from '@/api/api';
export default { export default {
name: 'app-detail', name: 'app-detail',
components: { commonDetailTop }, components: {
commonDetailTop,
dayFieldSelect
},
props: { props: {
brandId: { brandId: {
type: String, type: String,
...@@ -110,13 +108,13 @@ export default { ...@@ -110,13 +108,13 @@ export default {
attenceGroupName: '', attenceGroupName: '',
choiceDate: '' choiceDate: ''
}, },
tableHeader: [],
tableData: [], // 列表数据 tableData: [], // 列表数据
currentPage: 1, currentPage: 1,
pageSize: 20, pageSize: 20,
total: 0, total: 0,
// 新建班次 // 新建班次
workClassShow: false, showDayDialog: false,
classesId: '',
choiceDateCopy: [], choiceDateCopy: [],
pickerOptions: { pickerOptions: {
onPick: ({ maxDate, minDate }) => { onPick: ({ maxDate, minDate }) => {
...@@ -150,36 +148,20 @@ export default { ...@@ -150,36 +148,20 @@ export default {
that.currentPage = 1; that.currentPage = 1;
that.getTableList(); that.getTableList();
}, },
/**
* 新建考勤组
*/
toWorkGroupSet() {
const that = this;
that.$router.push(`/workGroupSet?appIcon=${that.$route.query.appIcon}`)
},
/**
* 编辑排班
*/
toEditWorkTime(index, row) {
const that = this;
that.$router.push(`/workTimeManage?appIcon=${that.$route.query.appIcon}&attenceGroupId=${row.attenceGroupId}`);
},
/** /**
* 编辑字段 * 编辑字段
*/ */
toTableSet() { toTableSet() {
const that = this; const that = this;
that.workClassShow = true; that.showDayDialog = true;
that.classesId = row.classesId;
}, },
/* /*
* *
*/ */
hideSetDialog() { hideDayDialog() {
const that = this; const that = this;
that.workClassShow = false; that.showDayDialog = false;
that.classesId = '';
that.currentPage = 1; that.currentPage = 1;
that.getTableList(that.brandId); that.getTableList(that.brandId);
}, },
...@@ -208,26 +190,17 @@ export default { ...@@ -208,26 +190,17 @@ export default {
*/ */
getDayFields(brandId) { getDayFields(brandId) {
const that = this; const that = this;
if (!that.conditionObj.choiceDate) {
that.conditionObj.choiceDate = []
}
let para = { let para = {
brandId: brandId || that.activeBrand, brandId: brandId || that.activeBrand,
enterpriseId: that.enterpriseId, enterpriseId: that.enterpriseId,
userName: that.conditionObj.attenceGroupName, showType: 1
startDate: that.conditionObj.choiceDate[0],
endDate: that.conditionObj.choiceDate[1],
pageNum: that.currentPage,
pageSize: that.pageSize
}; };
postRequest('/haoban-app-attence-web/attence-total-day', para) postRequest('/haoban-app-attence-web/attence-show-field-list', para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableHeader = resData.result || [];
console.log(resData.result.list) that.getTableList();
that.tabletData = resData.result.list || [];
that.total = resData.result.total;
return; return;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
...@@ -288,9 +261,7 @@ export default { ...@@ -288,9 +261,7 @@ export default {
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tabletData = resData.result || [];
console.log(resData.result.list)
that.tabletData = resData.result.list || [];
that.total = resData.result.total; that.total = resData.result.total;
return; return;
} }
...@@ -328,7 +299,7 @@ export default { ...@@ -328,7 +299,7 @@ export default {
if(that.brandId && that.brandId != 1) { if(that.brandId && that.brandId != 1) {
that.activeBrand = that.brandId; that.activeBrand = that.brandId;
} }
that.getTableList(that.brandId); that.getDayFields(that.brandId);
}, },
}; };
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-09-18 15:25:12 * @Date: 2019-09-18 15:25:12
* @LastEditors: 无尘 * @LastEditors : 无尘
* @LastEditTime: 2019-12-17 20:54:07 * @LastEditTime : 2019-12-23 10:29:35
--> -->
<!-- <!--
...@@ -35,7 +35,14 @@ components: { ...@@ -35,7 +35,14 @@ components: {
</el-table-column> </el-table-column>
<el-table-column prop="" label="图片"> <el-table-column prop="" label="图片">
<template slot-scope="scope"> <template slot-scope="scope">
<img class="table-img" v-for="(item, i) in scope.row.imgList" :key="i + 'img'" :src="item.imgUrl" alt="" /> <template v-for="(item, i) in scope.row.imgList">
<el-popover :key="i + 'img'" popper-class="notice-img-popover" placement="right" width="400" trigger="hover">
<div class="img-preview flex flex-align-center flex-pack-center">
<img :src="item.imgUrl" alt="" style="max-width: 400px;" />
</div>
<img class="table-img" slot="reference" :src="item.imgUrl" alt="" />
</el-popover>
</template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="点赞数" show-overflow-tooltip> <el-table-column prop="" label="点赞数" show-overflow-tooltip>
......
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