Commit 9ca12d8b by xiaohai

build for test

parent d1220ac9
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.8347aab6e37b1fa87c6d5f284ec1fde2.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.965828a8a168ebf8f052.js></script><script type=text/javascript src=./static/js/vendor.1fbc044ace04b52ad75d.js></script><script type=text/javascript src=./static/js/app.c0bfd5b39bb0121b0c58.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.a846298c3f6f886b4aac4726f945123e.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.97426f7052959ac9c8ea.js></script><script type=text/javascript src=./static/js/vendor.8db0e36d5f27c5533158.js></script><script type=text/javascript src=./static/js/app.1d051d7054a4d2178a1e.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([10],{I3G8:function(e,t){},IE32:function(e,t){},n7j5:function(e,t,a){"use strict";a("0xDb");var i={name:"select-area",components:{vueSelectEmployee:a("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}},butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{delCurrent:function(e,t){var a=this[t];console.log(a.indexOf(e)),a.splice(a.indexOf(e),1)},handleSelectedList:function(e){console.log(e),this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}},watch:{treeData:function(e){}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"select-area"},[a("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),a("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,i){return[t.employeeClerkId?a("li",{key:i+"_"+t.employeeClerkId,staticClass:"item person-item"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"butList")}}})]):a("li",{key:i+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"butList")}}})])]}),e._v(" "),a("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[a("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),a("div",{staticClass:"setting-name"},[e._v("\n 允许指定部门/人员可见\n ")]),e._v(" "),a("ul",{staticClass:"particular-list"},[e._l(e.specialList,function(t,i){return[t.employeeClerkId?a("li",{key:i+"_"+t.employeeClerkId,staticClass:"item person-item"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"specialList")}}})]):a("li",{key:i+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"specialList")}}})])]}),e._v(" "),a("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("special",e.specialList)}}},[a("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[]};var s={name:"permissionSetting",components:{selectArea:a("VU/8")(i,n,!1,function(e){a("oc7k")},null,null).exports},props:{butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}},selfButList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}},departInfo:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!0,visibleSelf:!1}},methods:{switchPermission:function(e,t,a){e&&(this[a]=!e),this.visibleSelf?this.departInfo.type=2:this.visibleThere?this.departInfo.type=1:this.departInfo.type=""},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},mounted:function(){console.log(this.departInfo);var e=this.departInfo.type;this.visibleThere=1==!!e,this.visibleSelf=2==!!e}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"jurisdiction-setting"},[a("div",{staticClass:"only-visivble-there permission-div"},[e._v("\n 本部门员工仅可见本部门员工\n "),a("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}}),e._v(" "),e.visibleThere?a("div",{staticClass:"particular-setting"},[a("select-area",{attrs:{treeData:e.treeData,butList:e.butList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"only-visivble-self permission-div"},[e._v("\n 本部门员工仅可见自己\n "),a("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}}),e._v(" "),e.visibleSelf?a("div",{staticClass:"particular-setting"},[a("select-area",{attrs:{treeData:e.treeData,butList:e.selfButList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()],1)])},staticRenderFns:[]};var l=a("VU/8")(s,r,!1,function(e){a("IE32")},null,null);t.a=l.exports},oc7k:function(e,t){},q5Ri:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("n7j5"),n=a("c4uw"),s=a("P9l9"),r={name:"addDepartment",components:{permissionSetting:i.a,vueSelectEmployee:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(s.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var a=t.data.result.chainName.split("/"),i=a.length;e.departInfo.parentName=1==i?"":a[i-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],console.log(this.$route.query.departmentId),this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e),this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var i=e,n={parentId:i.departInfo.parentId,name:i.departInfo.name};Object(s.a)("/haoban-manage-web/dept/insert",n).then(function(e){console.log(e),1==e.data.errorCode?(i.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(i.departInfo={name:"",parentName:"",parentId:""},i.disabled=!0,i.getGroupData()):window.history.go(-1)):i.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(s.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var a=[],i=[];1==t.data.errorCode&&(a=t.data.result.departmentList||[],i=t.data.result.searchList||[]),e.treeData={treeData:a,personData:i},e.disabled=!1}).catch(function(e){console.log(e,"error")})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell depart-info"},[a("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),a("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=a("VU/8")(r,l,!1,function(e){a("I3G8")},null,null);t.default=o.exports}});
//# sourceMappingURL=10.2ab72fd3172795e93e23.js.map
\ No newline at end of file
webpackJsonp([11],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},Bb8h:function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(console.log(t),!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("Bb8h")},"data-v-72608135",null);e.default=u.exports},IyOB:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),i=n.getMonth()+1,l=n.getDate();return s+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(n,s,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports}});
//# sourceMappingURL=11.8402660b7db9b7aecaa4.js.map
\ No newline at end of file
webpackJsonp([15],{CbCS:function(e,t){},Xvo8:function(e,t){},fZsz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),i=r.n(n),a=r("3Xzz"),l=r("l46T"),o=r("Mk6G"),u={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t="";"word"==this.getByType?(t=o.a.getByteVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getZhLen(this.itemValue)):(t=o.a.getCharVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getByteLen(this.itemValue)),this.$emit("update:inputValue",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=o.a.getZhLen(this.itemValue)}},mounted:function(){this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=o.a.getZhLen(this.inputValue)}},h={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"input-line-cell",style:{width:e.inputWidth+"px"}},[r("el-input",{style:{width:e.inputWidth+"px"},attrs:{placeholder:e.holder,type:"textarea",rows:3},on:{focus:function(t){e.inputFocus()}},nativeOn:{keyup:function(t){return r=t,e.toInput(r);var r}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),r("span",{staticClass:"tip"},[r("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var s=r("VU/8")(u,h,!1,function(e){r("CbCS")},"data-v-61f16316",null).exports,c=r("3E4D"),m=r("Ch4/"),d=r("PI0u"),f=r("P9l9"),g={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员角色",path:""}],showFlag:!1,ruleForm:{roleId:"",roleName:"企业管理员",remark:"角色说明",leftChecked:[],left:[],rightChecked:[],right:[],leftCheckedApp:[],leftApp:[],rightCheckedApp:[],rightApp:[]},rules:{roleName:[{required:!0,message:"请填写角色名称",trigger:"change"}],remark:[{required:!0,message:"请填写角色说明",trigger:"change"}],leftChecked:[{required:!0,message:"请选择菜单权限",trigger:"change"}]}}},computed:{},methods:{submitForm:Object(d.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e),!e)return!1;var r=[];t.ruleForm.left.forEach(function(e,t){e.check&&(r.push({rightId:e.rightId}),e.children&&e.children.length&&e.children.forEach(function(e,t){e.check&&r.push({rightId:e.rightId})}))}),console.log(t.ruleForm.left,r),t.postSave(r)})},500),postSave:function(e){var t=this,r={data:i()(e),roleId:t.ruleForm.roleId,roleName:t.ruleForm.roleName,remark:t.ruleForm.remark};Object(f.c)("/haoban-manage-web/save-role",r).then(function(e){var r=e.data;if(1==r.errorCode)return c.a.showmsg("操作成功","success"),void t.$router.push("/setChildAdmin");m.a.errorMsg(r)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getMenuList:function(){var e=this;Object(f.c)("/haoban-manage-web/menu-list",{}).then(function(t){var r=t.data;if(1==r.errorCode)return r.result?(e.ruleForm.left=e.treeData(r.result),e.ruleForm.left.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1})}),e.ruleForm.right=e.ruleForm.left[0].children?e.ruleForm.left[0].children:[],void(e.ruleForm.roleId&&e.getRoleDetail(e.ruleForm.roleId))):void e.$message.error({message:"菜单列表为空"});m.a.errorMsg(r)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){return e.filter(function(t){var r=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return r.length>0&&(t.children=r),-1==t.parentRightId})},getRoleDetail:function(e){var t=this,r={roleId:e};Object(f.c)("/haoban-manage-web/role-detail",r).then(function(e){var r=e.data;if(1!=r.errorCode)m.a.errorMsg(r);else{if(t.ruleForm.roleId=r.result.role.roleId,t.ruleForm.roleName=r.result.role.roleName,t.ruleForm.roleCode=r.result.role.roleCode,t.ruleForm.remark=r.result.role.remark,t.ruleForm.right.length){var n=t.ruleForm.right.map(function(e){return e.rightId}),i=[];r.result.menuRightList.forEach(function(e,t){n.includes(e.rightId)&&i.push(e.rightId)}),t.ruleForm.rightChecked=i}var a=t.treeData(r.result.menuRightList);t.ruleForm.leftChecked=a.map(function(e){return e.rightId});var l=r.result.menuRightList.map(function(e){return e.rightId});t.ruleForm.left.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1})})}}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},leftChange:function(e,t){var r=this;r.ruleForm.leftChecked=e;var n=e.includes(t[0]);function i(){r.ruleForm.right=[],r.ruleForm.left.forEach(function(e,i){e.rightId.includes(t[0])&&(e.check=!!n,e.children&&e.children.length&&e.children.forEach(function(e,t){r.ruleForm.right.push(e)}))})}e.includes(t[0]),i(),r.ruleForm.rightChecked=r.ruleForm.right.map(function(e){if(!0===e.check)return e.rightId})},rightChange:function(e,t){console.log(e,t);var r=e.includes(t[0]);this.ruleForm.rightChecked=e,this.ruleForm.left.forEach(function(e,n){e.children&&e.children.length&&e.children.forEach(function(e,n){e.rightId.includes(t[0])&&(e.check=!!r)})})},leftChangeApp:function(e,t){console.log(e,t)},rightChangeApp:function(e,t){console.log(e,t)}},mounted:function(){console.log(this.$route.query),this.getMenuList(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId,this.navpath[3].name="管理员角色","show"===this.$route.query.type&&(this.showFlag=!0))},components:{navCrumb:a.a,limitInput:l.a,limitTextarea:s}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.roleName,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"roleName",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"角色说明",prop:"remark"}},[r("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.remark,holder:"请输入角色说明",maxLength:50},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"remark",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"菜单权限",prop:"leftChecked"}},[r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["一级权限","二级权限"],"left-default-checked":e.ruleForm.leftChecked,data:e.ruleForm.left},on:{"left-check-change":e.leftChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])}),e._v(" "),r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["二级权限","二级权限"],"left-default-checked":e.ruleForm.rightChecked,data:e.ruleForm.right},on:{"left-check-change":e.rightChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{disabled:!!e.showFlag,type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var v=r("VU/8")(g,p,!1,function(e){r("Xvo8")},"data-v-c9425250",null);t.default=v.exports}});
//# sourceMappingURL=15.53fc9a407542551e68bd.js.map
\ No newline at end of file
webpackJsonp([20],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("dqqc")},"data-v-12e12bd8",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},dqqc:function(t,s){}});
//# sourceMappingURL=20.40894375e4d76d9512aa.js.map
\ No newline at end of file
webpackJsonp([18],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("dqqc")},"data-v-12e12bd8",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},dqqc:function(t,s){}});
//# sourceMappingURL=18.a87143acf8d0b6c99ed2.js.map
\ No newline at end of file
webpackJsonp([19],{"3zYh":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=r("l46T"),i=r("//Fk"),l=r.n(i),s=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=r("PI0u"),u=(r("P9l9"),{name:"single-upload",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return console.log("当前host:",e),t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage-web/upload-img",console.log(this.upUrl),this.upUrl},handleAvatarSuccess:function(e,t,r){console.log("上传成功回调:",e,r),0==e.errorCode?this.$emit("update:imgSrc",e.result[0].qcloudImageUrl):s.a.errorMsg(e)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type||"image/gif"===e.type||"image/bmg"===e.type,r=e.size/1024/1024<this.uploadLimit;return t||this.$message.error("上传头像图片只能是 JPG 格式!"),r||this.$message.error("上传头像图片大小不能超过 "+this.uploadLimit+"MB!"),t&&r&&new l.a(function(t,r){var a=new FileReader;a.onload=function(e){var r=new Image;r.onload=function(){var e=this.width,r=this.height;console.log(e,r),t()},r.src=e.target.result,console.log("上传成功:",e.target.result)},a.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}},mounted:function(){}}),m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"single-upload-wrap"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?r("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):r("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),"businessCard"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("上传营业执照复印件加盖公章,手写“仅用于好办认证”字样;照片搜索信息要求清晰可见,内容真实有效,不得做任何修改;支持jpp、jpeg、bmg、gif、png格式,大小不超过8M。")]):e._e(),e._v(" "),"idPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),"authPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("点击可以"),r("a",{staticClass:"color-1890ff",attrs:{href:"#/"}},[e._v("下载授权书")]),e._v("模板,支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),r("vue-gic-img-preview",{attrs:{imgUrl:e.imgUrl,imgShowFlag:e.imgShowFlag},on:{hideImage:e.hideImage}})],1)},staticRenderFns:[]};var c=r("VU/8")(u,m,!1,function(e){r("jUj7")},"data-v-0c127da0",null).exports,d={name:"companyCertify",data:function(){return{projectName:"",postUrl:"/api-admin/dict-district-list",navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{name:"",region:"",addressDetail:"",registNum:"",cardType:"0",qcloudImageUrl:"",idPhoto:"",authPhoto:"",status:0},rules:{name:[{required:!0,message:"请输入企业名称",trigger:"blur"}],addressDetail:[{required:!0,message:"请输入详细地址",trigger:"blur"}],registNum:[{required:!0,message:"请输入营业执照注册号",trigger:"blur"}],region:[{required:!0,message:"请选择地区",trigger:"blur"}],cardType:[{required:!0,message:"请选择证件类型",trigger:"blur"}],qcloudImageUrl:[{required:!0,message:"请上传营业执照",trigger:"blur"}],idPhoto:[{required:!0,message:"请上传照片",trigger:"blur"}],authPhoto:[{required:!0,message:"请上传授权书",trigger:"blur"}]},areaOptions:{provinceName:"",provinceId:"",cityName:"",cityId:"",countryName:"",countyId:""},upUrl:"upload-img",baseUrl:""}},computed:{},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e,this.upUrl=this.baseUrl+"/api-plug/upload-img?wxFlag=1"},methods:{selected:function(e){console.log(e);e.country?(this.ruleForm.region=e,console.log(e.areaId),this.ruleForm.areaId=e.areaId):this.ruleForm.region=""},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm),!e)return!1})},500),postSave:function(){},submitReview:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postReview:function(){}},mounted:function(){},components:{navCrumb:a.a,limitInput:o.a,singleUpload:c}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyCertify-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"企业名称",prop:"name"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入企业名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"city-area",attrs:{label:"所在地区",prop:"region"}},[r("vue-office-area",{attrs:{projectName:e.projectName,postUrl:e.postUrl,areaOptions:e.areaOptions},on:{selected:e.selected}})],1),e._v(" "),r("el-form-item",{attrs:{label:"详细地址",prop:"addressDetail"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.addressDetail,holder:"请输入详细地址",maxLength:40},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"addressDetail",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"营业执照注册号",prop:"registNum"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.registNum,holder:"请输入营业执照注册号",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"registNum",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"证件类型",prop:"cardType"}},[r("div",[r("el-radio",{attrs:{label:"0"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("多证合一营业执照(原“注册号”字样,调整为18位的“统一社会信用代码”)")])],1),e._v(" "),r("div",[r("el-radio",{attrs:{label:"1"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("普通营业执照(仍然标识为15位的“注册号”)")])],1)]),e._v(" "),r("el-form-item",{attrs:{label:"营业执照",prop:"qcloudImageUrl"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.qcloudImageUrl,uploadLimit:8,field:"businessCard"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"qcloudImageUrl",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手持证件照片",prop:"idPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.idPhoto,field:"idPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"idPhoto",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"授权书",prop:"authPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.authPhoto,field:"authPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"authPhoto",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"status-item",attrs:{label:"状态",prop:"status"}},[0==e.ruleForm.status?r("el-tag",{attrs:{type:"danger"}},[r("i",{staticClass:"el-icon-error"}),e._v("审核失败")]):e._e(),e._v(" "),1==e.ruleForm.status?r("el-tag",{attrs:{type:"success"}},[r("i",{staticClass:"el-icon-success"}),e._v("审核成功")]):e._e(),e._v(" "),2==e.ruleForm.status?r("el-tag",[r("i",{}),e._v("审核中")]):e._e()],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitReview("ruleForm")}}},[e._v("提交审核")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var g=r("VU/8")(d,p,!1,function(e){r("hZUM")},"data-v-78c744e0",null);t.default=g.exports},hZUM:function(e,t){},jUj7:function(e,t){}});
//# sourceMappingURL=19.5bc2eb2cc7e39b34f5b3.js.map
\ No newline at end of file
webpackJsonp([19],{"+YHa":function(e,t){},"3zYh":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=r("l46T"),i=r("//Fk"),l=r.n(i),s=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=r("PI0u"),u=(r("P9l9"),{name:"single-upload",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return console.log("当前host:",e),t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage-web/upload-img",console.log(this.upUrl),this.upUrl},handleAvatarSuccess:function(e,t,r){console.log("上传成功回调:",e,r),0==e.errorCode?this.$emit("update:imgSrc",e.result[0].qcloudImageUrl):s.a.errorMsg(e)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type||"image/gif"===e.type||"image/bmg"===e.type,r=e.size/1024/1024<this.uploadLimit;return t||this.$message.error("上传头像图片只能是 JPG 格式!"),r||this.$message.error("上传头像图片大小不能超过 "+this.uploadLimit+"MB!"),t&&r&&new l.a(function(t,r){var a=new FileReader;a.onload=function(e){var r=new Image;r.onload=function(){var e=this.width,r=this.height;console.log(e,r),t()},r.src=e.target.result,console.log("上传成功:",e.target.result)},a.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}},mounted:function(){}}),m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"single-upload-wrap"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?r("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):r("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),"businessCard"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("上传营业执照复印件加盖公章,手写“仅用于好办认证”字样;照片搜索信息要求清晰可见,内容真实有效,不得做任何修改;支持jpp、jpeg、bmg、gif、png格式,大小不超过8M。")]):e._e(),e._v(" "),"idPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),"authPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("点击可以"),r("a",{staticClass:"color-1890ff",attrs:{href:"#/"}},[e._v("下载授权书")]),e._v("模板,支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),r("vue-gic-img-preview",{attrs:{imgUrl:e.imgUrl,imgShowFlag:e.imgShowFlag},on:{hideImage:e.hideImage}})],1)},staticRenderFns:[]};var c=r("VU/8")(u,m,!1,function(e){r("5BzU")},"data-v-2e25d91c",null).exports,d={name:"companyCertify",data:function(){return{projectName:"",postUrl:"/api-admin/dict-district-list",navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{name:"",region:"",addressDetail:"",registNum:"",cardType:"0",qcloudImageUrl:"",idPhoto:"",authPhoto:"",status:0},rules:{name:[{required:!0,message:"请输入企业名称",trigger:"blur"}],addressDetail:[{required:!0,message:"请输入详细地址",trigger:"blur"}],registNum:[{required:!0,message:"请输入营业执照注册号",trigger:"blur"}],region:[{required:!0,message:"请选择地区",trigger:"blur"}],cardType:[{required:!0,message:"请选择证件类型",trigger:"blur"}],qcloudImageUrl:[{required:!0,message:"请上传营业执照",trigger:"blur"}],idPhoto:[{required:!0,message:"请上传照片",trigger:"blur"}],authPhoto:[{required:!0,message:"请上传授权书",trigger:"blur"}]},areaOptions:{provinceName:"",provinceId:"",cityName:"",cityId:"",countryName:"",countyId:""},upUrl:"upload-img",baseUrl:""}},computed:{},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e,this.upUrl=this.baseUrl+"/api-plug/upload-img?wxFlag=1"},methods:{selected:function(e){console.log(e);e.country?(this.ruleForm.region=e,console.log(e.areaId),this.ruleForm.areaId=e.areaId):this.ruleForm.region=""},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm),!e)return!1})},500),postSave:function(){},submitReview:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postReview:function(){}},mounted:function(){},components:{navCrumb:a.a,limitInput:o.a,singleUpload:c}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyCertify-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"企业名称",prop:"name"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入企业名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"city-area",attrs:{label:"所在地区",prop:"region"}},[r("vue-office-area",{attrs:{projectName:e.projectName,postUrl:e.postUrl,areaOptions:e.areaOptions},on:{selected:e.selected}})],1),e._v(" "),r("el-form-item",{attrs:{label:"详细地址",prop:"addressDetail"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.addressDetail,holder:"请输入详细地址",maxLength:40},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"addressDetail",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"营业执照注册号",prop:"registNum"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.registNum,holder:"请输入营业执照注册号",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"registNum",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"证件类型",prop:"cardType"}},[r("div",[r("el-radio",{attrs:{label:"0"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("多证合一营业执照(原“注册号”字样,调整为18位的“统一社会信用代码”)")])],1),e._v(" "),r("div",[r("el-radio",{attrs:{label:"1"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("普通营业执照(仍然标识为15位的“注册号”)")])],1)]),e._v(" "),r("el-form-item",{attrs:{label:"营业执照",prop:"qcloudImageUrl"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.qcloudImageUrl,uploadLimit:8,field:"businessCard"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"qcloudImageUrl",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手持证件照片",prop:"idPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.idPhoto,field:"idPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"idPhoto",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"授权书",prop:"authPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.authPhoto,field:"authPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"authPhoto",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"status-item",attrs:{label:"状态",prop:"status"}},[0==e.ruleForm.status?r("el-tag",{attrs:{type:"danger"}},[r("i",{staticClass:"el-icon-error"}),e._v("审核失败")]):e._e(),e._v(" "),1==e.ruleForm.status?r("el-tag",{attrs:{type:"success"}},[r("i",{staticClass:"el-icon-success"}),e._v("审核成功")]):e._e(),e._v(" "),2==e.ruleForm.status?r("el-tag",[r("i",{}),e._v("审核中")]):e._e()],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitReview("ruleForm")}}},[e._v("提交审核")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var g=r("VU/8")(d,p,!1,function(e){r("+YHa")},"data-v-71c16732",null);t.default=g.exports},"5BzU":function(e,t){}});
//# sourceMappingURL=19.9492a07b2e42f4406a39.js.map
\ No newline at end of file
webpackJsonp([20],{CbCS:function(e,t){},fZsz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),i=r.n(n),a=r("3Xzz"),l=r("l46T"),o=r("Mk6G"),u={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t="";"word"==this.getByType?(t=o.a.getByteVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getZhLen(this.itemValue)):(t=o.a.getCharVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getByteLen(this.itemValue)),this.$emit("update:inputValue",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=o.a.getZhLen(this.itemValue)}},mounted:function(){this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=o.a.getZhLen(this.inputValue)}},h={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"input-line-cell",style:{width:e.inputWidth+"px"}},[r("el-input",{style:{width:e.inputWidth+"px"},attrs:{placeholder:e.holder,type:"textarea",rows:3},on:{focus:function(t){e.inputFocus()}},nativeOn:{keyup:function(t){return r=t,e.toInput(r);var r}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),r("span",{staticClass:"tip"},[r("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var s=r("VU/8")(u,h,!1,function(e){r("CbCS")},"data-v-61f16316",null).exports,c=r("3E4D"),m=r("Ch4/"),d=r("PI0u"),f=r("P9l9"),g={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员角色",path:""}],showFlag:!1,ruleForm:{roleId:"",roleName:"企业管理员",remark:"角色说明",leftChecked:[],left:[],rightChecked:[],right:[],leftCheckedApp:[],leftApp:[],rightCheckedApp:[],rightApp:[]},rules:{roleName:[{required:!0,message:"请填写角色名称",trigger:"change"}],remark:[{required:!0,message:"请填写角色说明",trigger:"change"}],leftChecked:[{required:!0,message:"请选择菜单权限",trigger:"change"}]}}},computed:{},methods:{submitForm:Object(d.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e),!e)return!1;var r=[];t.ruleForm.left.forEach(function(e,t){e.check&&(r.push({rightId:e.rightId}),e.children&&e.children.length&&e.children.forEach(function(e,t){e.check&&r.push({rightId:e.rightId})}))}),console.log(t.ruleForm.left,r),t.postSave(r)})},500),postSave:function(e){var t=this,r={data:i()(e),roleId:t.ruleForm.roleId,roleName:t.ruleForm.roleName,remark:t.ruleForm.remark};Object(f.c)("/haoban-manage-web/save-role",r).then(function(e){var r=e.data;if(1==r.errorCode)return c.a.showmsg("操作成功","success"),void t.$router.push("/setChildAdmin");m.a.errorMsg(r)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getMenuList:function(){var e=this;Object(f.c)("/haoban-manage-web/menu-list",{}).then(function(t){var r=t.data;if(1==r.errorCode)return r.result?(e.ruleForm.left=e.treeData(r.result),e.ruleForm.left.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1})}),e.ruleForm.right=e.ruleForm.left[0].children?e.ruleForm.left[0].children:[],void(e.ruleForm.roleId&&e.getRoleDetail(e.ruleForm.roleId))):void e.$message.error({message:"菜单列表为空"});m.a.errorMsg(r)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){return e.filter(function(t){var r=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return r.length>0&&(t.children=r),-1==t.parentRightId})},getRoleDetail:function(e){var t=this,r={roleId:e};Object(f.c)("/haoban-manage-web/role-detail",r).then(function(e){var r=e.data;if(1!=r.errorCode)m.a.errorMsg(r);else{if(t.ruleForm.roleId=r.result.role.roleId,t.ruleForm.roleName=r.result.role.roleName,t.ruleForm.roleCode=r.result.role.roleCode,t.ruleForm.remark=r.result.role.remark,t.ruleForm.right.length){var n=t.ruleForm.right.map(function(e){return e.rightId}),i=[];r.result.menuRightList.forEach(function(e,t){n.includes(e.rightId)&&i.push(e.rightId)}),t.ruleForm.rightChecked=i}var a=t.treeData(r.result.menuRightList);t.ruleForm.leftChecked=a.map(function(e){return e.rightId});var l=r.result.menuRightList.map(function(e){return e.rightId});t.ruleForm.left.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1})})}}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},leftChange:function(e,t){var r=this;r.ruleForm.leftChecked=e;var n=e.includes(t[0]);function i(){r.ruleForm.right=[],r.ruleForm.left.forEach(function(e,i){e.rightId.includes(t[0])&&(e.check=!!n,e.children&&e.children.length&&e.children.forEach(function(e,t){r.ruleForm.right.push(e)}))})}e.includes(t[0]),i(),r.ruleForm.rightChecked=r.ruleForm.right.map(function(e){if(!0===e.check)return e.rightId})},rightChange:function(e,t){console.log(e,t);var r=e.includes(t[0]);this.ruleForm.rightChecked=e,this.ruleForm.left.forEach(function(e,n){e.children&&e.children.length&&e.children.forEach(function(e,n){e.rightId.includes(t[0])&&(e.check=!!r)})})},leftChangeApp:function(e,t){console.log(e,t)},rightChangeApp:function(e,t){console.log(e,t)}},mounted:function(){console.log(this.$route.query),this.getMenuList(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId,this.navpath[3].name="管理员角色","show"===this.$route.query.type&&(this.showFlag=!0))},components:{navCrumb:a.a,limitInput:l.a,limitTextarea:s}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.roleName,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"roleName",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"角色说明",prop:"remark"}},[r("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.remark,holder:"请输入角色说明",maxLength:50},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"remark",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"菜单权限",prop:"leftChecked"}},[r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["一级权限","二级权限"],"left-default-checked":e.ruleForm.leftChecked,data:e.ruleForm.left},on:{"left-check-change":e.leftChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])}),e._v(" "),r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["二级权限","二级权限"],"left-default-checked":e.ruleForm.rightChecked,data:e.ruleForm.right},on:{"left-check-change":e.rightChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{disabled:!!e.showFlag,type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var v=r("VU/8")(g,p,!1,function(e){r("vLzq")},"data-v-088c8c73",null);t.default=v.exports},vLzq:function(e,t){}});
//# sourceMappingURL=20.01b051aa7d821165490c.js.map
\ No newline at end of file
webpackJsonp([21],{DN0r:function(e,t){},da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var r=a("VU/8")(o,n,!1,function(e){a("DN0r")},"data-v-dce5fb1e",null);t.default=r.exports}});
//# sourceMappingURL=21.3a82c19435c147f0a714.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/enterpriseApp/index.vue","webpack:///./src/views/enterpriseApp/index.vue?a382","webpack:///./src/views/enterpriseApp/index.vue"],"names":["enterpriseApp","name","data","projectName","collapseFlag","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","views_enterpriseApp","render","_h","$createElement","_c","_self","staticClass","attrs","on","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"2HAUA,IAAAA,GACAC,KAAA,aACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,IAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAP,aAAAI,IAGAQ,QAlCA,cCPeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbR,KAAaS,eAA0BC,EAAvCV,KAAuCW,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,qBAA0BG,OAAOrB,YAA/IQ,KAA+IR,aAA8BsB,IAAKV,YAAlLJ,KAAkLI,YAAAR,aAAlLI,KAAkLJ,gBAAlLI,KAAiPe,GAAA,KAAAL,EAAA,OAAwBE,YAAA,2BAAoC,IAEtTI,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE9B,EACAiB,GATF,EAVA,SAAAc,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/21.3a82c19435c147f0a714.js","sourcesContent":["<template>\n <div class=\"enterprise-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"enterprise-wrap__body\">\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"enterprise\",\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n }\n },\n computed: {\n\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n\n },\n}\n\n</script>\n<style lang=\"less\" scoped>\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/enterpriseApp/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"enterprise-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"enterprise-wrap__body\"})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-dce5fb1e\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-dce5fb1e\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-dce5fb1e\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-dce5fb1e\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([22],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),r=a("MJLE"),n=a.n(r),o={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:""}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new n.a("qrcode",{width:245,height:245,text:e})},getShareBrands:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/get-all-shared-enterprise",{}).then(function(t){console.log(t,"shares"),1==t.data.errorCode?e.shares=t.data.result||[]:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],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){console.log(e)}},beforeMount:function(){this.getShareRelation(),this.getShareBrands(),this.getCode()}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return 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"}},[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(" "),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.importEnterpriseId)}}},[e._v("取消共享")])])])}))])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(e){a("hh5o")},null,null);t.default=c.exports},hh5o:function(e,t){}});
//# sourceMappingURL=22.56ba8a3fec56999ef614.js.map
\ No newline at end of file
webpackJsonp([21],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),r=a("MJLE"),n=a.n(r),o={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:""}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new n.a("qrcode",{width:245,height:245,text:e})},getShareBrands:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/get-all-shared-enterprise",{}).then(function(t){console.log(t,"shares"),1==t.data.errorCode?e.shares=t.data.result||[]:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],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){console.log(e)}},beforeMount:function(){this.getShareRelation(),this.getShareBrands(),this.getCode()}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return 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"}},[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(" "),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.importEnterpriseId)}}},[e._v("取消共享")])])])}))])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(e){a("hh5o")},null,null);t.default=c.exports},hh5o:function(e,t){}});
//# sourceMappingURL=21.dfc52277a8d638888299.js.map
\ No newline at end of file
webpackJsonp([23],{CSjr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fileSet-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"fileSet",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("FV89")},"data-v-b11b7d9a",null);t.default=r.exports},FV89:function(e,t){}});
//# sourceMappingURL=23.04fc6fb0fe4f062d2918.js.map
\ No newline at end of file
webpackJsonp([22],{CSjr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fileSet-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"fileSet",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("FV89")},"data-v-b11b7d9a",null);t.default=r.exports},FV89:function(e,t){}});
//# sourceMappingURL=22.90db595bb5b087918aea.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/23.04fc6fb0fe4f062d2918.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/22.90db595bb5b087918aea.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([25],{J1Mm:function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),s=(a("PI0u"),a("P9l9")),l={name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",isAddAdmin:"",activeId:1,adminRole:[],roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:""},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminrole?roleId="+this.activeId+"&type="+e)},selectRole:function(e){this.activeId=e.roleId,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(){this.changeRoute("/addAdmin?roleId="+this.activeId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,pageSize:e.pageSize,pageNum:e.currentPage};Object(s.c)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.$message.error({duration:1e3,message:"暂无数据"}),!1);o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(s.c)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap 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:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},[e.isAddAdmin?a("div",{staticClass:"text-center"},[a("el-button",{on:{click:function(t){e.changeRoute("/addAdminrole")}}},[e._v("新增管理员角色")])],1):e._e(),e._v(" "),e._l(e.roleListData,function(t,i){return a("div",{key:i,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head"},[e._v(e._s(t.brandName))]),e._v(" "),a("ul",e._l(t.roleList,function(t,i){return a("li",{key:i,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])})],2),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between"},[a("span",{staticClass:"font-20 color-303133"},[e._v(e._s(e.roleRightObj.roleName))]),e.roleRightObj.isEdit?e._e():a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v("查看权限")]),e.roleRightObj.isEdit?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("编辑权限")]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"child_admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip m-t-27 m-b-25"},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),a("div",{staticClass:"role-add"},[a("el-button",{attrs:{type:"primary"},on:{click:e.toAddRole}},[e._v("添加成员")])],1),e._v(" "),a("div",{staticClass:"role-table "},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clerkPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var n=a("VU/8")(l,r,!1,function(e){a("J1Mm")},"data-v-6447645c",null);t.default=n.exports}});
//# sourceMappingURL=25.1a4566cd47f922a5e908.js.map
\ No newline at end of file
webpackJsonp([26],{"S+aF":function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),s=(a("PI0u"),a("P9l9")),l={name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",isAddAdmin:"",activeId:1,adminRole:[],roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:""},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminrole?roleId="+this.activeId+"&type="+e)},selectRole:function(e){this.activeId=e.roleId,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(){this.changeRoute("/addAdmin?roleId="+this.activeId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,pageSize:e.pageSize,pageNum:e.currentPage};Object(s.c)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.$message.error({duration:1e3,message:"暂无数据"}),!1);o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(s.c)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap 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:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},[e.isAddAdmin?a("div",{staticClass:"text-center"},[a("el-button",{on:{click:function(t){e.changeRoute("/addAdminrole")}}},[e._v("新增管理员角色")])],1):e._e(),e._v(" "),e._l(e.roleListData,function(t,i){return a("div",{key:i,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head"},[e._v(e._s(t.brandName))]),e._v(" "),a("ul",e._l(t.roleList,function(t,i){return a("li",{key:i,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])})],2),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between"},[a("span",{staticClass:"font-20 color-303133"},[e._v(e._s(e.roleRightObj.roleName))]),e.roleRightObj.isEdit?e._e():a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v("查看权限")]),e.roleRightObj.isEdit?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("编辑权限")]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"child_admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip m-t-27 m-b-25"},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),a("div",{staticClass:"role-add"},[a("el-button",{attrs:{type:"primary"},on:{click:e.toAddRole}},[e._v("添加成员")])],1),e._v(" "),a("div",{staticClass:"role-table "},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clerkPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var n=a("VU/8")(l,r,!1,function(e){a("S+aF")},"data-v-5ed77c0d",null);t.default=n.exports}});
//# sourceMappingURL=26.55548f3f34a0c208b03d.js.map
\ No newline at end of file
webpackJsonp([27],{"+lem":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"review-wrap"},[o("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var c=o("VU/8")(n,a,!1,function(e){o("hSCc")},null,null);t.default=c.exports},hSCc:function(e,t){}});
//# sourceMappingURL=27.eb4d664e0b20b7b85902.js.map
\ No newline at end of file
webpackJsonp([26],{"+lem":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"review-wrap"},[o("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(n,a,!1,function(e){o("ukWR")},null,null);t.default=i.exports},ukWR:function(e,t){}});
//# sourceMappingURL=26.eb24bf2dc9f017af9ff3.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/reviewCenter/index.vue","webpack:///./src/views/reviewCenter/index.vue?afd0","webpack:///./src/views/reviewCenter/index.vue"],"names":["reviewCenter","name","data","projectName","collapseFlag","contentHeight","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","document","documentElement","clientHeight","body","views_reviewCenter","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAuBA,IAAAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,EACAC,cAAA,QAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAQ,QAnCA,WAoCAL,KACAP,eAAAa,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UCzDeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,gBAA0BF,EAAA,qBAA0BG,OAAO3B,YAAAqB,EAAArB,aAA8B4B,IAAKf,YAAAQ,EAAAR,YAAAR,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,oBAAyBS,IAAA,YAAAN,OAAuB3B,YAAAqB,EAAArB,YAAAC,aAAAoB,EAAApB,iBAA+D,GAAAoB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAO7B,KAAA,OAAAoC,KAAA,YAA+BV,EAAA,gCAEnrBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzC,EACAsB,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/26.eb24bf2dc9f017af9ff3.js","sourcesContent":["<template>\r\n <div class=\"review-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"setting-wrap__body\">\r\n <div id=\"content\" class=\"content\">\r\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\r\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\r\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\r\n </div>\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <!-- 缓存已经填好内容的页面 -->\r\n <!-- <keep-alive include=\"editGroupGrade\"> -->\r\n <router-view></router-view>\r\n <!-- </keep-alive > -->\r\n </transition>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"reviewed\",\r\n data() {\r\n return {\r\n projectName: 'haoban-manage-web', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n contentHeight: '0px', //页面内容高度\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n const that = this\r\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px';\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" >\r\n.setting-wrap__body{\r\n .content{\r\n padding-top: 64px;\r\n /* height: calc(100% - 64px);\r\n overflow-y: auto;*/\r\n min-width: 1400px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n\r\n .content-body {\r\n display: flex;\r\n overflow: hidden;\r\n\r\n .common-set-wrap {\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n overflow-y: auto;\r\n\r\n .right-content {\r\n /*width: 100%;*/\r\n padding: 24px;\r\n min-height: calc(100% - 240px);\r\n\r\n .right-box {\r\n background: #fff;\r\n padding: 24px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.el-table__empty-block {\r\n height: 256px;\r\n}\r\n\r\n.el-table__empty-text{\r\n width: auto;\r\n margin-bottom:80px;\r\n &::before{\r\n content: ' ';\r\n display: block;\r\n width: 60px;\r\n height: 60px;\r\n background: url(../../assets/no-data_icon.png) no-repeat center;\r\n margin: 0px auto 22px auto;\r\n }\r\n}\r\n\r\n.el-table__empty-text {\r\n margin-bottom: 0;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"review-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"setting-wrap__body\"},[_c('div',{staticClass:\"content\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"content-body\",style:({height: _vm.contentHeight})},[_c('div',{staticClass:\"left-menu\",style:({height: _vm.contentHeight})},[_c('vue-office-aside',{ref:\"asideMenu\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}})],1),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5810de7c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5810de7c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5810de7c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([33],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("gRxx")},null,null);a.default=c.exports},gRxx:function(t,a){}});
//# sourceMappingURL=33.863d074eda57e65ac81f.js.map
\ No newline at end of file
webpackJsonp([27],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("vXWo")},null,null);a.default=c.exports},vXWo:function(t,a){}});
//# sourceMappingURL=27.9b37a8f371081b825db9.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/index.vue","webpack:///./src/views/contacts/index.vue?a378","webpack:///./src/views/contacts/index.vue"],"names":["contacts","name","components","topNav","data","projectName","collapseFlag","navpath","path","methods","toRouterView","val","console","log","this","$router","push","collapseTag","mounted","computed","views_contacts","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"4GAqBAA,GACAC,KAAA,UACAC,YACAC,iBAAA,GAEAC,KALA,WAMA,OACAC,YAAA,oBACAC,cAAA,EAEAC,UAEAN,KAAA,KACAO,KAAA,MAGAP,KAAA,MACAO,KAAA,KAGAP,KAAA,UAGAA,KAAA,WAKAQ,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAR,KAAAG,EAAAH,QAKAS,YAjBA,SAiBAN,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAO,QAnDA,aAsDAC,aCxEeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAR,KAAaS,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOvB,YAAAiB,EAAAjB,aAA8BwB,IAAKZ,YAAAK,EAAAL,YAAAP,aAAAY,EAAAZ,gBAA+DY,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,oBAAyBM,IAAA,YAAAH,OAAuBvB,YAAAiB,EAAAjB,YAAAC,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,wBAAkCF,EAAA,UAAeG,OAAOrB,QAAAe,EAAAf,WAAuBe,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,8BAAwCF,EAAA,cAAmBG,OAAO3B,KAAA,OAAA+B,KAAA,YAA+BP,EAAA,oCAE/nBQ,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpC,EACAoB,GATF,EAVA,SAAAiB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/27.9b37a8f371081b825db9.js","sourcesContent":["<template>\r\n <div class=\"contact-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"contact-wrap__body\">\r\n <!-- 公共左侧菜单插件 -->\r\n <vue-office-aside ref=\"leftMenus\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\r\n <!-- 右侧 body -->\r\n <div class=\"contact-wrap__right\">\r\n <topNav :navpath=\"navpath\"></topNav>\r\n <div class=\"contact-wrap__right__body\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport topNav from 'components/nav/nav'\r\nexport default {\r\n name: \"contact\",\r\n components: {\r\n topNav\r\n },\r\n data() {\r\n return {\r\n projectName: 'haoban-manage-web', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n // 面包屑导航数据\r\n navpath: [\r\n {\r\n name: '首页',\r\n path: '/'\r\n },\r\n {\r\n name: '通讯录',\r\n path: ''\r\n },\r\n {\r\n name: \"企业通讯录\"\r\n },\r\n {\r\n name: \"行政架构\"\r\n }\r\n ],\r\n }\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n\r\n },\r\n computed: {\r\n\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"less\">\r\n .contact-wrap {\r\n position: relative;\r\n\r\n &__body {\r\n display: -ms-flexbox;\r\n display: flex;\r\n width: 100%;\r\n overflow: hidden;\r\n padding-top: 64px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n overflow: auto;\r\n min-width: 1400px;\r\n background: #f5f7fa;\r\n }\r\n\r\n &__right {\r\n -ms-flex: 1;\r\n flex: 1;\r\n overflow: auto;\r\n width: 100%;\r\n\r\n &__body {\r\n padding: 24px;\r\n\r\n }\r\n }\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__body\"},[_c('vue-office-aside',{ref:\"leftMenus\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right\"},[_c('topNav',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right__body\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-55e67ae1\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-55e67ae1\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-55e67ae1\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/reviewCenter/index.vue","webpack:///./src/views/reviewCenter/index.vue?640a","webpack:///./src/views/reviewCenter/index.vue"],"names":["reviewCenter","name","data","projectName","collapseFlag","contentHeight","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","document","documentElement","clientHeight","body","views_reviewCenter","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAuBA,IAAAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,EACAC,cAAA,QAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAQ,QAnCA,WAoCAL,KACAP,eAAAa,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UCzDeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,gBAA0BF,EAAA,qBAA0BG,OAAO3B,YAAAqB,EAAArB,aAA8B4B,IAAKf,YAAAQ,EAAAR,YAAAR,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,oBAAyBS,IAAA,YAAAN,OAAuB3B,YAAAqB,EAAArB,YAAAC,aAAAoB,EAAApB,iBAA+D,GAAAoB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAO7B,KAAA,OAAAoC,KAAA,YAA+BV,EAAA,gCAEnrBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzC,EACAsB,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/27.eb4d664e0b20b7b85902.js","sourcesContent":["<template>\n <div class=\"review-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"setting-wrap__body\">\n <div id=\"content\" class=\"content\">\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n </div>\n <transition name=\"fade\" mode=\"out-in\">\n <!-- 缓存已经填好内容的页面 -->\n <!-- <keep-alive include=\"editGroupGrade\"> -->\n <router-view></router-view>\n <!-- </keep-alive > -->\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"reviewed\",\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n contentHeight: '0px', //页面内容高度\n }\n },\n computed: {\n\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n const that = this\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px';\n },\n}\n\n</script>\n<style lang=\"less\" >\n.setting-wrap__body{\n .content{\n padding-top: 64px;\n /* height: calc(100% - 64px);\n overflow-y: auto;*/\n min-width: 1400px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .content-body {\n display: flex;\n overflow: hidden;\n\n .common-set-wrap {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n\n .right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n background: #fff;\n padding: 24px;\n }\n }\n }\n }\n }\n}\n\n.el-table__empty-block {\n height: 256px;\n}\n\n.el-table__empty-text{\n width: auto;\n margin-bottom:80px;\n &::before{\n content: ' ';\n display: block;\n width: 60px;\n height: 60px;\n background: url(../../assets/no-data_icon.png) no-repeat center;\n margin: 0px auto 22px auto;\n }\n}\n\n.el-table__empty-text {\n margin-bottom: 0;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"review-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"setting-wrap__body\"},[_c('div',{staticClass:\"content\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"content-body\",style:({height: _vm.contentHeight})},[_c('div',{staticClass:\"left-menu\",style:({height: _vm.contentHeight})},[_c('vue-office-aside',{ref:\"asideMenu\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}})],1),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-50ca1dc8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-50ca1dc8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-50ca1dc8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([32],{"7Q11":function(e,t){},da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(e){a("7Q11")},"data-v-16c9a8fa",null);t.default=s.exports}});
//# sourceMappingURL=32.c9b3dbb7b389829119b8.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/enterpriseApp/index.vue","webpack:///./src/views/enterpriseApp/index.vue?b850","webpack:///./src/views/enterpriseApp/index.vue"],"names":["enterpriseApp","name","data","projectName","collapseFlag","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","views_enterpriseApp","render","_h","$createElement","_c","_self","staticClass","attrs","on","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"6HAUA,IAAAA,GACAC,KAAA,aACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,IAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAP,aAAAI,IAGAQ,QAlCA,cCPeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbR,KAAaS,eAA0BC,EAAvCV,KAAuCW,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,qBAA0BG,OAAOrB,YAA/IQ,KAA+IR,aAA8BsB,IAAKV,YAAlLJ,KAAkLI,YAAAR,aAAlLI,KAAkLJ,gBAAlLI,KAAiPe,GAAA,KAAAL,EAAA,OAAwBE,YAAA,2BAAoC,IAEtTI,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE9B,EACAiB,GATF,EAVA,SAAAc,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/32.c9b3dbb7b389829119b8.js","sourcesContent":["<template>\r\n <div class=\"enterprise-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"enterprise-wrap__body\">\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"enterprise\",\r\n data() {\r\n return {\r\n projectName: 'haoban-manage-web', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/enterpriseApp/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"enterprise-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"enterprise-wrap__body\"})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-16c9a8fa\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-16c9a8fa\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-16c9a8fa\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-16c9a8fa\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/index.vue","webpack:///./src/views/contacts/index.vue?fb97","webpack:///./src/views/contacts/index.vue"],"names":["contacts","name","components","topNav","data","projectName","collapseFlag","navpath","path","methods","toRouterView","val","console","log","this","$router","push","collapseTag","mounted","computed","views_contacts","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"4GAqBAA,GACAC,KAAA,UACAC,YACAC,iBAAA,GAEAC,KALA,WAMA,OACAC,YAAA,oBACAC,cAAA,EAEAC,UAEAN,KAAA,KACAO,KAAA,MAGAP,KAAA,MACAO,KAAA,KAGAP,KAAA,UAGAA,KAAA,WAKAQ,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAR,KAAAG,EAAAH,QAKAS,YAjBA,SAiBAN,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAO,QAnDA,aAsDAC,aCxEeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAR,KAAaS,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOvB,YAAAiB,EAAAjB,aAA8BwB,IAAKZ,YAAAK,EAAAL,YAAAP,aAAAY,EAAAZ,gBAA+DY,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,oBAAyBM,IAAA,YAAAH,OAAuBvB,YAAAiB,EAAAjB,YAAAC,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,wBAAkCF,EAAA,UAAeG,OAAOrB,QAAAe,EAAAf,WAAuBe,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,8BAAwCF,EAAA,cAAmBG,OAAO3B,KAAA,OAAA+B,KAAA,YAA+BP,EAAA,oCAE/nBQ,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpC,EACAoB,GATF,EAVA,SAAAiB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/33.863d074eda57e65ac81f.js","sourcesContent":["<template>\n <div class=\"contact-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"contact-wrap__body\">\n <!-- 公共左侧菜单插件 -->\n <vue-office-aside ref=\"leftMenus\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n <!-- 右侧 body -->\n <div class=\"contact-wrap__right\">\n <topNav :navpath=\"navpath\"></topNav>\n <div class=\"contact-wrap__right__body\">\n <transition name=\"fade\" mode=\"out-in\">\n <router-view></router-view>\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport topNav from 'components/nav/nav'\nexport default {\n name: \"contact\",\n components: {\n topNav\n },\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n // 面包屑导航数据\n navpath: [\n {\n name: '首页',\n path: '/'\n },\n {\n name: '通讯录',\n path: ''\n },\n {\n name: \"企业通讯录\"\n },\n {\n name: \"行政架构\"\n }\n ],\n }\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n\n },\n computed: {\n\n }\n}\n\n</script>\n<style lang=\"less\">\n .contact-wrap {\n position: relative;\n\n &__body {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n overflow: hidden;\n padding-top: 64px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow: auto;\n min-width: 1400px;\n background: #f5f7fa;\n }\n\n &__right {\n -ms-flex: 1;\n flex: 1;\n overflow: auto;\n width: 100%;\n\n &__body {\n padding: 24px;\n\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__body\"},[_c('vue-office-aside',{ref:\"leftMenus\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right\"},[_c('topNav',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right__body\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-0a45e2c2\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0a45e2c2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0a45e2c2\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([32],{VlR1:function(t,e,o){"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){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t,e),this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var s=o("VU/8")(a,n,!1,function(t){o("bogK")},"data-v-143e65ea",null);e.default=s.exports},bogK:function(t,e){}});
//# sourceMappingURL=32.3d2dbbb6d97710cb1c4c.js.map
\ No newline at end of file
webpackJsonp([33],{VlR1:function(t,e,o){"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){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t,e),this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var s=o("VU/8")(a,n,!1,function(t){o("bogK")},"data-v-143e65ea",null);e.default=s.exports},bogK:function(t,e){}});
//# sourceMappingURL=33.a2b17a461e7611ae873e.js.map
\ 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.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([5],{"7pZf":function(t,e){},"8sHD":function(t,e,a){var i=a("kM2E"),s=a("KpO7");i(i.S+i.F*(Number.parseInt!=s),"Number",{parseInt:s})},KpO7:function(t,e,a){var i=a("7KvD").parseInt,s=a("mnVu").trim,n=a("hyta"),o=/^[-+]?0[xX]/;t.exports=8!==i(n+"08")||22!==i(n+"0x16")?function(t,e){var a=s(String(t),3);return i(a,e>>>0||(o.test(a)?16:10))}:i},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),n=a("gBtx"),o=a.n(n),l=a("3Xzz"),c=a("P9l9"),r=a("3E4D"),d=a("Ch4/"),u=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");d.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(c.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?d.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"员工个人详情页展示字段设置",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=a("VU/8")(u,f,!1,function(t){a("7pZf")},"data-v-42af9dfc",null).exports,h=(a("Mk6G"),a("PI0u"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(n){n.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,n={fields:t,type:e};Object(c.c)("/haoban-manage-web/record/employee-show-field-delete.json",n).then(function(t){var e=t.data;if(1==e.errorCode)return r.a.showmsg("删除成功","success"),void a.splice(i,1);d.a.errorMsg(e)}).catch(function(t){console.log(t),s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?d.a.errorMsg(i):i.result.forEach(function(a,i){1===o()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:m}}),p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var v=a("VU/8")(h,p,!1,function(t){a("wCe+")},"data-v-d18cb370",null);e.default=v.exports},gBtx:function(t,e,a){t.exports={default:a("qrpI"),__esModule:!0}},hyta:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},mnVu:function(t,e,a){var i=a("kM2E"),s=a("52gC"),n=a("S82l"),o=a("hyta"),l="["+o+"]",c=RegExp("^"+l+l+"*"),r=RegExp(l+l+"*$"),d=function(t,e,a){var s={},l=n(function(){return!!o[t]()||"​…"!="​…"[t]()}),c=s[t]=l?e(u):o[t];a&&(s[a]=c),i(i.P+i.F*l,"String",s)},u=d.trim=function(t,e){return t=String(s(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(r,"")),t};t.exports=d},qrpI:function(t,e,a){a("8sHD"),t.exports=a("FeBl").Number.parseInt},"wCe+":function(t,e){}});
//# sourceMappingURL=5.f1f65bbf64972c1d755c.js.map
\ No newline at end of file
webpackJsonp([5],{"7pZf":function(t,e){},"8sHD":function(t,e,a){var i=a("kM2E"),s=a("KpO7");i(i.S+i.F*(Number.parseInt!=s),"Number",{parseInt:s})},KpO7:function(t,e,a){var i=a("7KvD").parseInt,s=a("mnVu").trim,n=a("hyta"),o=/^[-+]?0[xX]/;t.exports=8!==i(n+"08")||22!==i(n+"0x16")?function(t,e){var a=s(String(t),3);return i(a,e>>>0||(o.test(a)?16:10))}:i},ZwM5:function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),n=a("gBtx"),o=a.n(n),l=a("3Xzz"),c=a("P9l9"),r=a("3E4D"),d=a("Ch4/"),u=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");d.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(c.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?d.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"员工个人详情页展示字段设置",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=a("VU/8")(u,f,!1,function(t){a("7pZf")},"data-v-42af9dfc",null).exports,h=(a("Mk6G"),a("PI0u"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(n){n.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,n={fields:t,type:e};Object(c.c)("/haoban-manage-web/record/employee-show-field-delete.json",n).then(function(t){var e=t.data;if(1==e.errorCode)return r.a.showmsg("删除成功","success"),void a.splice(i,1);d.a.errorMsg(e)}).catch(function(t){console.log(t),s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?d.a.errorMsg(i):i.result.forEach(function(a,i){1===o()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:m}}),p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var v=a("VU/8")(h,p,!1,function(t){a("ZwM5")},"data-v-0a2f80b2",null);e.default=v.exports},gBtx:function(t,e,a){t.exports={default:a("qrpI"),__esModule:!0}},hyta:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},mnVu:function(t,e,a){var i=a("kM2E"),s=a("52gC"),n=a("S82l"),o=a("hyta"),l="["+o+"]",c=RegExp("^"+l+l+"*"),r=RegExp(l+l+"*$"),d=function(t,e,a){var s={},l=n(function(){return!!o[t]()||"​…"!="​…"[t]()}),c=s[t]=l?e(u):o[t];a&&(s[a]=c),i(i.P+i.F*l,"String",s)},u=d.trim=function(t,e){return t=String(s(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(r,"")),t};t.exports=d},qrpI:function(t,e,a){a("8sHD"),t.exports=a("FeBl").Number.parseInt}});
//# sourceMappingURL=5.fe508fbc393b9b72017c.js.map
\ 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.
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.
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([9],{I3G8:function(e,t){},IE32:function(e,t){},n7j5:function(e,t,a){"use strict";a("0xDb");var i={name:"select-area",components:{vueSelectEmployee:a("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}},butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{delCurrent:function(e,t){var a=this[t];console.log(a.indexOf(e)),a.splice(a.indexOf(e),1)},handleSelectedList:function(e){console.log(e),this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}},watch:{treeData:function(e){}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"select-area"},[a("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),a("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,i){return[t.employeeClerkId?a("li",{key:i+"_"+t.employeeClerkId,staticClass:"item person-item"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"butList")}}})]):a("li",{key:i+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"butList")}}})])]}),e._v(" "),a("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[a("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),a("div",{staticClass:"setting-name"},[e._v("\n 允许指定部门/人员可见\n ")]),e._v(" "),a("ul",{staticClass:"particular-list"},[e._l(e.specialList,function(t,i){return[t.employeeClerkId?a("li",{key:i+"_"+t.employeeClerkId,staticClass:"item person-item"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"specialList")}}})]):a("li",{key:i+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"specialList")}}})])]}),e._v(" "),a("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("special",e.specialList)}}},[a("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[]};var s={name:"permissionSetting",components:{selectArea:a("VU/8")(i,n,!1,function(e){a("oc7k")},null,null).exports},props:{butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}},selfButList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}},departInfo:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!0,visibleSelf:!1}},methods:{switchPermission:function(e,t,a){e&&(this[a]=!e),this.visibleSelf?this.departInfo.type=2:this.visibleThere?this.departInfo.type=1:this.departInfo.type=""},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},mounted:function(){console.log(this.departInfo);var e=this.departInfo.type;this.visibleThere=1==!!e,this.visibleSelf=2==!!e}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"jurisdiction-setting"},[a("div",{staticClass:"only-visivble-there permission-div"},[e._v("\n 本部门员工仅可见本部门员工\n "),a("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}}),e._v(" "),e.visibleThere?a("div",{staticClass:"particular-setting"},[a("select-area",{attrs:{treeData:e.treeData,butList:e.butList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"only-visivble-self permission-div"},[e._v("\n 本部门员工仅可见自己\n "),a("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}}),e._v(" "),e.visibleSelf?a("div",{staticClass:"particular-setting"},[a("select-area",{attrs:{treeData:e.treeData,butList:e.selfButList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()],1)])},staticRenderFns:[]};var l=a("VU/8")(s,r,!1,function(e){a("IE32")},null,null);t.a=l.exports},oc7k:function(e,t){},q5Ri:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("n7j5"),n=a("c4uw"),s=a("P9l9"),r={name:"addDepartment",components:{permissionSetting:i.a,vueSelectEmployee:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(s.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var a=t.data.result.chainName.split("/"),i=a.length;e.departInfo.parentName=1==i?"":a[i-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],console.log(this.$route.query.departmentId),this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e),this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var i=e,n={parentId:i.departInfo.parentId,name:i.departInfo.name};Object(s.a)("/haoban-manage-web/dept/insert",n).then(function(e){console.log(e),1==e.data.errorCode?(i.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(i.departInfo={name:"",parentName:"",parentId:""},i.disabled=!0,i.getGroupData()):window.history.go(-1)):i.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(s.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var a=[],i=[];1==t.data.errorCode&&(a=t.data.result.departmentList||[],i=t.data.result.searchList||[]),e.treeData={treeData:a,personData:i},e.disabled=!1}).catch(function(e){console.log(e,"error")})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell depart-info"},[a("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),a("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=a("VU/8")(r,l,!1,function(e){a("I3G8")},null,null);t.default=o.exports}});
//# sourceMappingURL=9.350b877eb0951a658483.js.map
\ No newline at end of file
webpackJsonp([9],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},Bb8h:function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(console.log(t),!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("Bb8h")},"data-v-72608135",null);e.default=u.exports},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),i=n.getMonth()+1,l=n.getDate();return s+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(n,s,!1,function(t){a("zq2K")},"data-v-458dae70",null);e.a=i.exports},zq2K:function(t,e){}});
//# sourceMappingURL=9.82a7e79e3828246f7066.js.map
\ No newline at end of file
webpackJsonp([37],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("//Fk"),a=n.n(o),r=n("7+uW"),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("6jtR")},null,null).exports,c=n("/ocq"),u=n("5tgt"),p=n.n(u);r.default.use(c.a);var m=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var d,l=[{path:"/login",name:"登录",component:p()("login","index")},{path:"/index",name:"index",component:p()("index","index")},{path:"/contacts",name:"通讯录",component:p()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:p()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:p()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:p()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:p()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:p()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:p()("contacts","addGroup")},{path:"/storeInfo",name:"编辑门店",component:p()("contacts","storeInfo")},{path:"/employee",name:"在职员工",component:p()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:p()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:p()("contacts","fileSet")},{path:"/shareContact",name:"共享通讯录",component:p()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录",component:p()("contacts","shareCode")}]},{path:"/enterpriseApp",name:"企业应用",component:p()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:p()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:p()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:p()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:p()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:p()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:p()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:p()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:p()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:p()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:p()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:p()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:p()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:p()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:m},{path:"/404",name:"error404",component:m},{path:"/500",name:"error500",component:m},{path:"*",redirect:"/404",hidden:!0}],f=new c.a({routes:l,scrollBehavior:function(){return{y:0}}}),v=n("zL8q"),h=n.n(v),g=n("Rf8U"),C=n.n(g),w=n("mtWM"),y=n.n(w),A=n("bOdI"),x=n.n(A),k=n("NYxO");r.default.use(k.a);var R=new k.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(d={},x()(d,"login",function(e,t){sessionStorage.token=t,e.token=t}),x()(d,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),x()(d,"title",function(e,t){e.title=t}),x()(d,"show",function(e,t){e.show=t}),d)}),I=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),S=n.n(I),j=n("tyqE"),F=n.n(j),P=n("pRVe"),O=n.n(P),T=n("SE7k"),q=n.n(T),D=n("XsK6"),z=n.n(D),E=n("/mr8"),X=n.n(E);r.default.use(z.a),r.default.use(X.a),r.default.use(q.a),r.default.use(O.a),r.default.use(F.a),r.default.use(S.a),r.default.config.productionTip=!1,r.default.use(h.a,{size:"large"}),r.default.use(C.a,y.a),r.default.axios.defaults.withCredentials=!0,r.default.axios.interceptors.request.use(function(e){return e},function(e){return console.log("requesterr"+e),a.a.reject(e)}),r.default.axios.interceptors.response.use(function(e){return console.log("main:",e),200==e.status&&1==e.data.errorCode&&console.log("main:",e),e},function(e){if(console.log(e),e.response)switch(e.response.status){case 401:case 500:v.Message.error("服务器500")}return a.a.reject(e.response.data)}),f.beforeEach(function(e,t,n){"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:i},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,13],"./contacts/addDepartment.vue":["HHRu",0,10],"./contacts/addEmployee.vue":["00Sv",31],"./contacts/addGroup.vue":["mPjx",0,30],"./contacts/administrativeFrame.vue":["kLcy",0,2],"./contacts/employee.vue":["AdJp",0,29],"./contacts/employeeIo.vue":["Rwbg",0,4],"./contacts/fileSet.vue":["CSjr",23],"./contacts/index.vue":["41Rh",0,33],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,22],"./contacts/shareContact.vue":["Gfms",0,3],"./contacts/staffRecordsTemplate.vue":["lFAe",0,7],"./contacts/storeFrame.vue":["7SJI",0,6],"./contacts/storeInfo.vue":["h/6A",0,24],"./contacts/unemployee.vue":["TGrv",28],"./enterpriseApp/index.vue":["da9f",21],"./errorPage/403.vue":["6XGN",16],"./errorPage/404.vue":["AejC",20],"./errorPage/500.vue":["FskK",17],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,18],"./login/index.vue":["T+/8",0,8],"./reviewCenter/index.vue":["+lem",27],"./reviewCenter/reviewed.vue":["CLYF",0,11],"./reviewCenter/unreview.vue":["xCEU",0,12],"./setting/addAdmin.vue":["rs/A",0,25],"./setting/addAdminRole.vue":["fZsz",0,15],"./setting/companyAddress.vue":["SKyE",0,35],"./setting/companyCertify.vue":["3zYh",0,19],"./setting/index.vue":["VlR1",32],"./setting/replaceAdmin.vue":["ys9I",0,34],"./setting/setChildAdmin.vue":["VqB7",0,26],"./setting/staffDetails.vue":["Zyzf",0,5],"./setting/storePermission.vue":["Xwfy",0,14]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.c0bfd5b39bb0121b0c58.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,f){for(var d,o,b,i=0,u=[];i<a.length;i++)o=a[i],n[o]&&u.push(n[o][0]),n[o]=0;for(d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d]);for(c&&c(a,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=r(r.s=f[i]);return b};var a={},n={39:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"d34ced85430f27b10ef6",1:"26fc7c6e9b4ccca95f46",2:"faf312b9ad2305132499",3:"cec5685499e6e5f2fcd3",4:"59efdb19a328f51cd6c7",5:"fe508fbc393b9b72017c",6:"8c27cddc488decf36e16",7:"dcf230b4c9c9d6a0de8b",8:"2a69a9de5eb0569de2d1",9:"350b877eb0951a658483",10:"10e3ab386d226dc821ab",11:"8402660b7db9b7aecaa4",12:"e6d7674b2806fe734293",13:"abf93dee15b9b810c8cd",14:"035476c86b22d02e86d6",15:"53fc9a407542551e68bd",16:"13357cabfa4e535d9723",17:"38a512ac0d01e5a2ff77",18:"81a41a7f27d6071c01a6",19:"9492a07b2e42f4406a39",20:"40894375e4d76d9512aa",21:"3a82c19435c147f0a714",22:"56ba8a3fec56999ef614",23:"04fc6fb0fe4f062d2918",24:"6bb0d3dbe39e1ed752f9",25:"a45c47c08ce03151f195",26:"55548f3f34a0c208b03d",27:"eb4d664e0b20b7b85902",28:"5d9e038c8c6ccec42433",29:"770ec01193745f4f3bba",30:"9b7e058d1b284068e1a9",31:"b34bc0f972c0ba37db53",32:"3d2dbbb6d97710cb1c4c",33:"863d074eda57e65ac81f",34:"575d470f8edba6478562",35:"258a67d96ee038e18880",38:"65c10fd40ae38587bca7"}[e]+".js";var d=setTimeout(o,12e4);function o(){f.onerror=f.onload=null,clearTimeout(d);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return f.onerror=f.onload=o,t.appendChild(f),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.965828a8a168ebf8f052.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap fb554054eca8c5ce2bca"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","39","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","38","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EACAJ,EAAAK,QAAA,KAEArB,EAAAsB,IACAN,EAAAO,aAAA,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAAkgC3E,GAAA,MAC1kC,IAAAkC,EAAA0C,WAAAC,EAAA,MAEA,SAAAA,IAEAhD,EAAAiD,QAAAjD,EAAAkD,OAAA,KACAC,aAAA9C,GACA,IAAA+C,EAAA5E,EAAAL,GACA,IAAAiF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAlF,EAAA,aAEAK,EAAAL,QAAAmF,GAKA,OAfAtD,EAAAiD,QAAAjD,EAAAkD,OAAAF,EAaAnD,EAAA0D,YAAAvD,GAEAL,GAIAX,EAAAwE,EAAA1E,EAGAE,EAAAyE,EAAAvE,EAGAF,EAAA0E,EAAA,SAAAtE,EAAAuE,EAAAC,GACA5E,EAAA6E,EAAAzE,EAAAuE,IACAjF,OAAAoF,eAAA1E,EAAAuE,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA5E,EAAAkF,EAAA,SAAA7E,GACA,IAAAuE,EAAAvE,KAAA8E,WACA,WAA2B,OAAA9E,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA0E,EAAAE,EAAA,IAAAA,GACAA,GAIA5E,EAAA6E,EAAA,SAAAO,EAAAC,GAAsD,OAAA3F,OAAAC,UAAAC,eAAAC,KAAAuF,EAAAC,IAGtDrF,EAAAyB,EAAA,KAGAzB,EAAAsF,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.965828a8a168ebf8f052.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t39: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"d34ced85430f27b10ef6\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"faf312b9ad2305132499\",\"3\":\"cec5685499e6e5f2fcd3\",\"4\":\"59efdb19a328f51cd6c7\",\"5\":\"fe508fbc393b9b72017c\",\"6\":\"8c27cddc488decf36e16\",\"7\":\"dcf230b4c9c9d6a0de8b\",\"8\":\"2a69a9de5eb0569de2d1\",\"9\":\"350b877eb0951a658483\",\"10\":\"10e3ab386d226dc821ab\",\"11\":\"8402660b7db9b7aecaa4\",\"12\":\"e6d7674b2806fe734293\",\"13\":\"abf93dee15b9b810c8cd\",\"14\":\"035476c86b22d02e86d6\",\"15\":\"53fc9a407542551e68bd\",\"16\":\"13357cabfa4e535d9723\",\"17\":\"38a512ac0d01e5a2ff77\",\"18\":\"81a41a7f27d6071c01a6\",\"19\":\"9492a07b2e42f4406a39\",\"20\":\"40894375e4d76d9512aa\",\"21\":\"3a82c19435c147f0a714\",\"22\":\"56ba8a3fec56999ef614\",\"23\":\"04fc6fb0fe4f062d2918\",\"24\":\"6bb0d3dbe39e1ed752f9\",\"25\":\"a45c47c08ce03151f195\",\"26\":\"55548f3f34a0c208b03d\",\"27\":\"eb4d664e0b20b7b85902\",\"28\":\"5d9e038c8c6ccec42433\",\"29\":\"770ec01193745f4f3bba\",\"30\":\"9b7e058d1b284068e1a9\",\"31\":\"b34bc0f972c0ba37db53\",\"32\":\"3d2dbbb6d97710cb1c4c\",\"33\":\"863d074eda57e65ac81f\",\"34\":\"575d470f8edba6478562\",\"35\":\"258a67d96ee038e18880\",\"38\":\"65c10fd40ae38587bca7\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap fb554054eca8c5ce2bca"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var b,o,d,i=0,u=[];i<a.length;i++)o=a[i],n[o]&&u.push(n[o][0]),n[o]=0;for(b in f)Object.prototype.hasOwnProperty.call(f,b)&&(e[b]=f[b]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=r(r.s=t[i]);return d};var a={},n={39:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"14a08cbd0f94340b8999",1:"26fc7c6e9b4ccca95f46",2:"f0f5aad99079e1bff44b",3:"f266c3b848d41bca75e7",4:"ee3b1e11c84c7086b1a9",5:"f1f65bbf64972c1d755c",6:"8c27cddc488decf36e16",7:"a3c3b315783ce7f7a825",8:"819c914ef9380f090c90",9:"82a7e79e3828246f7066",10:"2ab72fd3172795e93e23",11:"7bcb1b22e9e5cdcd830f",12:"b36ac0c6ccad6cfed0eb",13:"abf93dee15b9b810c8cd",14:"035476c86b22d02e86d6",15:"a388a69fcd6fa580c175",16:"13357cabfa4e535d9723",17:"38a512ac0d01e5a2ff77",18:"a87143acf8d0b6c99ed2",19:"5bc2eb2cc7e39b34f5b3",20:"01b051aa7d821165490c",21:"dfc52277a8d638888299",22:"90db595bb5b087918aea",23:"16053d5d0a2441d7eb54",24:"745e26ccd982cf8f87ca",25:"1a4566cd47f922a5e908",26:"eb24bf2dc9f017af9ff3",27:"9b37a8f371081b825db9",28:"5d9e038c8c6ccec42433",29:"770ec01193745f4f3bba",30:"9b7e058d1b284068e1a9",31:"b34bc0f972c0ba37db53",32:"c9b3dbb7b389829119b8",33:"a2b17a461e7611ae873e",34:"575d470f8edba6478562",35:"258a67d96ee038e18880",38:"28fd0e3287c530f9d886"}[e]+".js";var b=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(b);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=o,f.appendChild(t),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.97426f7052959ac9c8ea.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,a,d){for(var t,o,b,i=0,u=[];i<f.length;i++)o=f[i],n[o]&&u.push(n[o][0]),n[o]=0;for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t]);for(c&&c(f,a,d);u.length;)u.shift()();if(d)for(i=0;i<d.length;i++)b=r(r.s=d[i]);return b};var f={},n={39:0};function r(c){if(f[c])return f[c].exports;var n=f[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,r){c=n[e]=[f,r]});c[2]=f;var a=document.getElementsByTagName("head")[0],d=document.createElement("script");d.type="text/javascript",d.charset="utf-8",d.async=!0,d.timeout=12e4,r.nc&&d.setAttribute("nonce",r.nc),d.src=r.p+"static/js/"+e+"."+{0:"14a08cbd0f94340b8999",1:"26fc7c6e9b4ccca95f46",2:"f0f5aad99079e1bff44b",3:"f266c3b848d41bca75e7",4:"ee3b1e11c84c7086b1a9",5:"f1f65bbf64972c1d755c",6:"8c27cddc488decf36e16",7:"a3c3b315783ce7f7a825",8:"819c914ef9380f090c90",9:"82a7e79e3828246f7066",10:"2ab72fd3172795e93e23",11:"7bcb1b22e9e5cdcd830f",12:"b36ac0c6ccad6cfed0eb",13:"abf93dee15b9b810c8cd",14:"035476c86b22d02e86d6",15:"e5dfd86e41100dd837e6",16:"db6227c6cf2c2d48d7c4",17:"67dd1babb9349b060475",18:"d1abc56a68773870c55e",19:"17a52a422912ae92f236",20:"01b051aa7d821165490c",21:"dfc52277a8d638888299",22:"90db595bb5b087918aea",23:"16053d5d0a2441d7eb54",24:"745e26ccd982cf8f87ca",25:"27d078fb88f77616f64f",26:"d4009226205dc1bafbe3",27:"174e2ff2b42fd752fd7d",28:"85e583b8bbedd49e5849",29:"084b68bd50ee5df0283c",30:"5c3baf1b5c4e15c42acf",31:"c5a44ed34c78fb4fd15e",32:"ac08444493d3f5224184",33:"c514c9bb2685dfef71ca",34:"575d470f8edba6478562",35:"258a67d96ee038e18880",38:"28fd0e3287c530f9d886"}[e]+".js";var t=setTimeout(o,12e4);function o(){d.onerror=d.onload=null,clearTimeout(t);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return d.onerror=d.onload=o,a.appendChild(d),f},r.m=e,r.c=f,r.d=function(e,c,f){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.b26bff17d683a2125796.js.map
\ 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.
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.
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