Commit eebab912 by 无尘

update: 更新插件增加信息

parent a425e98b
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.bc421f326f3c620ea1c4e17234f4b540.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.6577a87d2886d1a3d228.js></script><script type=text/javascript src=./static/js/vendor.f141b9123c3951cf8c85.js></script><script type=text/javascript src=./static/js/app.8338cd0b815915673414.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.727569ff20be6f1a6bfaf8940f530ff2.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.03efb5b0085c9520ad72.js></script><script type=text/javascript src=./static/js/vendor.4348b3feba111c23d380.js></script><script type=text/javascript src=./static/js/app.d6864ac0715417d52091.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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([16],{EItT:function(e,t){},Y7wY:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgIC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J/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},iyhK:function(e,t){},lFAe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("//Fk"),s=i.n(n),a=i("gBtx"),l=i.n(a),d=i("mvHQ"),o=i.n(d),r=i("DAYN"),c=i.n(r),f=i("Mk6G"),u={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t,i="";i=f.a.getByteVal(e.target.value,this.limitLength);return this.itemValue=i.trim(),this.inputNum=f.a.getZhLen(this.itemValue),this.childFlag?((t={}).child=this.childFlag,t.value=this.itemValue,"title"==this.titleFlag&&(t.title=this.titleFlag),"k303"==this.c3Flag&&(t.c3Index=this.c3Index,t.flag=this.c3Flag),void this.$emit("itemInput",t)):"title"==this.titleFlag?((t={}).value=this.itemValue,t.title=this.titleFlag,void this.$emit("itemInput",t)):"k303"==this.c3Flag?((t={}).value=this.itemValue,t.flag=this.c3Flag,t.c3Index=this.c3Index,void this.$emit("itemInput",t)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=f.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=f.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},p={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var m=i("VU/8")(u,p,!1,function(e){i("EItT")},"data-v-3078de00",null).exports,g=i("l46T"),h=i("MJLE"),v=i.n(h),C=[{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单行输入框",systemFlag:!1,fieldEdited:!0,fieldType:"0",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多行输入框",systemFlag:!1,fieldEdited:!0,fieldType:"1",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单选框",systemFlag:!1,fieldEdited:!0,fieldType:"2",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"radio",name:"选项1"},{type:"radio",name:"选项2"},{type:"radio",name:"选项3"}]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多选框",systemFlag:!1,fieldEdited:!0,fieldType:"3",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"checkbox",name:"选项1"},{type:"checkbox",name:"选项2"},{type:"checkbox",name:"选项3"}]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期",systemFlag:!1,fieldEdited:!0,fieldType:"4",fixed:!1,fieldDescription:"请选择",fieldOperations:{typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期区间",systemFlag:!1,fieldEdited:!0,fieldType:"5",fixed:!1,fieldOperations:{startName:"开始时间",endName:"结束时间",startDescription:"请选择开始时间",endDescription:"请选择结束时间",typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"数字输入框",systemFlag:!1,fieldType:"6",fieldEdited:!0,fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[],unit:"元"},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"图片",systemFlag:!1,fieldType:"7",fieldEdited:!0,fixed:!1,fieldDescription:"最多上传9张图片",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:[]}],I=function(){return C},y=i("3E4D"),x=i("Ch4/"),b=(i("PI0u"),i("P9l9")),_={name:"staffRecordsTemplate",data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},selectKey:"",baseInfo:[],jobInfo:[],selfInfo:[],eduInfo:[],contractInfo:[],contactInfo:[],personalInfo:[],defineInfo:I(),currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"baseInfo",fieldName:"基本信息",fieldEdited:!1,fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"jobInfo",fieldName:"工作信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"selfInfo",fieldName:"个人信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"eduInfo",fieldName:"学历信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contractInfo",fieldName:"合同信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contactInfo",fieldName:"紧急联系人",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"personalInfo",fieldName:"个人资料",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""}],fieldParent:{baseInfo:{},jobInfo:{},selfInfo:{},eduInfo:{},contractInfo:{},contactInfo:{},personalInfo:{}},staffRecordsOptions:[{id:"staffVisible",name:"对员工可见"},{id:"staffUnvisible",name:"对员工不可见"},{id:"staffMod",name:"对员工可修改"},{id:"staffUnmod",name:"对员工不可修改"}],setList:[],qrcodeCase:"",qrcodeNum:""}},created:function(){},methods:{baseInfoClone:function(){},clickItem:function(e){console.log(e),this.tempaletDataList.map(function(e){return e.fieldCode}).includes(e.parentCode)||"defineInfo"===e.parentCode||(this.tempaletDataList.push(this.fieldParent[e.parentCode]),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)))},checkMove:function(e){var t=!0;return"baseInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("baseInfo")||(t=!1),"jobInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("jobInfo")||(t=!1),"selfInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("selfInfo")||(t=!1),"eduInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("eduInfo")||(t=!1),"contractInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contractInfo")||(t=!1),"contactInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contactInfo")||(t=!1),"personalInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("personalInfo")||(t=!1),t},onMove:function(e){console.log("move:"),console.log(e.draggedContext,e.dragged,e.to);if(!this.checkMove(e))return!1;e.relatedContext.element;var t=e.draggedContext.element;return console.log(t.fixed),!t.fixed},onChildMove:function(e){return console.log("onChildMove:",e,e.to.className),-1!=e.dragged.className.indexOf("block-class")&&e.to.className.indexOf("block-wrap"),console.log(!0),!0},itemMoveEnd:function(e){var t=this;t.isDragging=!1,console.log(" move end:",e,e.clone.dataset.type),t.selectKey="",t.selectKey=e.clone.dataset.type,t.tempaletDataList.forEach(function(e,i){e.children.forEach(function(e,i){var n;e.systemFlag&&e.fieldCode==t.selectKey&&(n=e.parentCode,t[n].forEach(function(e,i){e.fieldCode==t.selectKey&&(e.fixed=!0)}))})}),t.selectKey="",t.tempaletDataList=JSON.parse(o()(t.tempaletDataList)),t.$forceUpdate()},cloneDefine:function(e){console.log("clone>>>>",e)},selectItem:function(e,t){console.log(e,t),this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t){console.log(e,t),this.tempaletDataList.splice(t,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,t){e.fixed=!1}),console.log(this.currentIndex,this.tempaletDataList)},addItem:function(e){},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,n){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,n,s){this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].fieldCode,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),this[s.parentCode].forEach(function(t,i){t.fieldCode===e&&(t.fixed=!1)})},checkedChange:function(e,t){console.log(e,t)},delChildItem:function(e,t,i){i.fieldOperations.fieldContent.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){var n="radio";i.systemFlag||3!==parseInt(i.fieldType)||(n="checkbox"),i.fieldOperations.fieldContent.push({type:n,name:"请输入选项"});var s=i.fieldOperations.fieldContent.map(function(e){return e.name});this.isRepeat(s)&&(i.fieldOperations.fieldContent.splice(i.fieldOperations.fieldContent.length-1,1),s.splice(i.fieldOperations.fieldContent.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeRadio:function(e,t,i){console.log(e,t,i)},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e,n){if(""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;e.children.length&&e.children.forEach(function(e,n){if(e.systemFlag&&""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;i.push(e.fieldName)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:function(e){var t=JSON.parse(o()(this.tempaletDataList)),i=this.checkTag(t);i.filedFlag?i.filedRepeat?this.$message.error({duration:1e3,message:"字段标题不能重复"}):(t.forEach(function(e,t){e.sort=t,e.fixed=!0===e.fixed?1:0,e.isMust=!0===e.isMust?1:0,e.fieldEdited=!0===e.fieldEdited?1:0,e.systemFlag=!0===e.systemFlag?1:0,e.parentFieldTemplateId=e.parentFieldTemplateId?e.parentFieldTemplateId:-1,e.fieldTemplateId=e.fieldTemplateId?e.fieldTemplateId:-1,e.children.forEach(function(t,i){t.sort=i,t.fixed=!0===t.fixed?1:0,t.isMust=!0===t.isMust?1:0,t.fieldEdited=!0===t.fieldEdited?1:0,t.systemFlag=!0===t.systemFlag?1:0,2!==parseInt(t.fieldType)&&3!==parseInt(t.fieldType)||t.fieldOperations.fieldContent.forEach(function(e,t){e.hasOwnProperty(t)||""!=e.key||(e.key=e.name)}),t.systemFlag||(t.parentCode=e.fieldCode),t.fieldTemplateId=t.fieldTemplateId?t.fieldTemplateId:-1,t.parentFieldTemplateId=e.fieldTemplateId})}),"save"===e?this.saveAllData(t):this.postPreview(t)):this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"})},saveAllData:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-save.json",i).then(function(e){var t=e.data;1!=t.errorCode?x.a.errorMsg(t):y.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-preview.json",i).then(function(e){var i=e.data;if(1==i.errorCode){var n=window.location.origin+"/office-mobile/#/staffRecordsTemplate?enterpriseId="+i.result;return t.qrcode(n),void(t.dialogVisible=!0)}x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},qrcode:function(e){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear());var t={type:"record",data:e};this.qrcodeCase=new v.a("qrcode",{width:210,height:210,text:o()(t)})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(t){var i=t.data;1!=i.errorCode?x.a.errorMsg(i):e.handleAllFields(i.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e,i){t.hasOwnProperty(e.parentCode)&&(e.fixed=1===parseInt(e.fixed),e.isMust=1===parseInt(e.isMust),e.fieldEdited=1===parseInt(e.fieldEdited),e.systemFlag=!0,e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],t[e.parentCode].push(e)),t.fieldParent.hasOwnProperty(e.fieldCode)&&(e.children=[],t.fieldParent[e.fieldCode]=e,e.systemFlag=!0)})},getInfo:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],void(i.result&&i.result.length&&e.handleGetInfo(i.result));x.a.errorMsg(i)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(o()(e));t.setParent=[],i.forEach(function(e,i){e.fixed=1===l()(e.fixed),e.isMust=1===l()(e.isMust),e.fieldEdited=1===l()(e.fieldEdited),e.systemFlag=1===l()(e.systemFlag),e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],e.systemFlag&&0==e.parentCode&&t.setParent.push(e.fieldCode),e.systemFlag&&0!=e.parentCode&&t.setList.push(e.fieldCode)}),t.tempaletDataList=t.treeData(i),setTimeout(function(){t.setFixed()},10)},setFixed:function(){var e=this;e.setParent.forEach(function(t,i){e[t].forEach(function(t,i){e.setList.includes(t.fieldCode)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})}},components:{draggable:c.a,AddInput:m,limitInput:g.a},mounted:function(){s.a.all([this.getAllFields(),this.getInfo()]),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}}},N={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-wrap",style:{height:e.bodyHeight}},[n("div",{staticClass:"template-contain"},[n("div",{staticClass:"template-head"},[e._m(0),e._v(" "),n("div",{staticClass:"template-btns flex-1 flex-r"},[n("el-button",{attrs:{plain:""},on:{click:function(t){e.saveAndBack("preview")}}},[e._v("预览")]),e._v(" "),n("el-button",{attrs:{plain:""},on:{click:function(t){e.changeRoute("/fileSet")}}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),n("div",{staticClass:"template-body"},[n("div",{staticClass:"template-cell template-cell-l"},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[n("div",{staticClass:"filed-item-title"},[e._v("基本信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.baseInfo,options:e.leftOption,move:e.onMove},on:{clone:e.baseInfoClone,start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.baseInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode,"aria-hidden":"true"},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("工作信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.jobInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.jobInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.selfInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.selfInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("学历信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.eduInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.eduInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("合同信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contractInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contractInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("紧急联系人")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contactInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contactInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人材料")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.personalInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personalInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[n("div",{staticClass:"filed-item-title"}),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd,clone:e.cloneDefine}},e._l(e.defineInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[t.systemFlag||0!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||0!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-one"}),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-two"}),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-three"}),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-four"}),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-five"}),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-six"}),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-seven"}),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-eight"})])}))],1)])],1)],1),e._v(" "),n("div",{staticClass:"template-cell template-cell-m"},[n("div",{staticClass:"phone-view"},[n("div",{staticClass:"phone-show-content"},[n("div",{staticClass:"drag-show-content"},[n("div",{staticClass:"view-container"},[n("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[n("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),n("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!1},sort:!0}},on:{add:e.addItem},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return n("li",{class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(n){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?n("span",{staticClass:"item-close p-item-close",on:{click:function(n){n.stopPropagation(),e.deleteItem(t.fieldCode,i)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),[n("div",{staticClass:"block"},[n("div",{staticClass:"block-head"},[n("div",{class:["opencard-item-title",t.fieldName.length>6?"block-pre-wrap":""]},[e._v(e._s(t.fieldName))])]),e._v(" "),n("ul",{staticClass:"view-content"},[n("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,a){return n("li",{class:["filed-item","child-filed-item",e.currentChildKey==s.fieldCode&&e.currentChildIndex==a?"active-item":""],on:{click:function(n){n.stopPropagation(),e.selectChildItem(s.fieldCode,i,a,t.children)}}},["clerkPhone"!=s.fieldCode?n("span",{staticClass:"item-close child-item-close",on:{click:function(n){n.stopPropagation(),e.deleteChildItem(s.fieldCode,i,a,t.children,s)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),2==s.fieldType||3==s.fieldType||4==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldDescription)+" "),n("i",{staticClass:"el-icon-arrow-right"})])])]):e._e(),e._v(" "),5==s.fieldType?n("div",[n("div",[n("div",{class:["opencard-item-title",s.fieldOperations.startName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.startName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.startDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),n("div",{staticClass:"b-t-1"},[n("div",{class:["opencard-item-title",s.fieldOperations.endName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.endName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.endDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])])]):e._e(),e._v(" "),7==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[n("i",{staticClass:"iconfont icon-icon"})])])]):e._e(),e._v(" "),0==s.fieldType||1==s.fieldType||6==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag"},[e._v(e._s(s.fieldDescription))])])]):e._e()])}))],1)])]],2)}))],2)])])])])]),e._v(" "),n("div",{staticClass:"template-cell template-cell-r"},[n("el-tabs",{model:{value:e.rightName,callback:function(t){e.rightName=t},expression:"rightName"}},[n("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[n("div",{attrs:{id:"edit-box"}},[n("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex==i&&"0"==t.parentCode?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title edit-title-padding"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:!0,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}})],1)]:e._e(),e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(s,a){return[e.currentChildIndex==a?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldName,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"fieldName",t)}}}),e._v(" "),7==s.fieldType?n("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v(e._s(s.fieldDescription))]):e._e()],1)]:e._e(),e._v(" "),e.currentChildIndex==a&&5!=s.fieldType&&7!=s.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s,"fieldDescription",t)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==a&&5==s.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 开始时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.startName,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"startName",t)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.startDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"startDescription",t)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 结束时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.endName,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"endName",t)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.endDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"endDescription",t)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==a&&6==s.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("单位")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"unit",t)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex!=a||4!=s.fieldType&&5!=s.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),e._l(s.fieldOperations.ruleContent,function(t,i){return[n("el-radio",{attrs:{label:t.key},on:{change:function(t){e.changeRadio(t,i,s)}},model:{value:s.fieldOperations.typeValue,callback:function(t){e.$set(s.fieldOperations,"typeValue",t)},expression:"childItem.fieldOperations.typeValue"}},[e._v("\n "+e._s(t.name)+"\n ")])]})],2)],e._v(" "),e.currentChildIndex!=a||"2"!=s.fieldType&&"3"!=s.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("选项 "),n("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(s.fieldOperations.fieldContent,function(t,a){return[n("div",{staticClass:"margin-t-15 limit-w-340",style:0==a?"margin-top: 0":""},[n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.name,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"name",i)}}}),e._v(" "),!s.systemFlag&&s.fieldOperations.fieldContent.length>1?n("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(t){e.delChildItem(i,a,s)}}}):e._e(),e._v(" "),!s.systemFlag&&a<19?[a==s.fieldOperations.fieldContent.length-1?n("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(t){e.addChildItem(i,a,s)}}}):e._e()]:e._e()],2)]})],2)],e._v(" "),e.currentChildIndex==a?[n("div",{staticClass:"edit-item"},[n("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),n("el-checkbox",{model:{value:s.isMust,callback:function(t){e.$set(s,"isMust",t)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex==a?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("员工档案中")]),e._v(" "),n("el-checkbox-group",{staticClass:"staffRecords-limit",on:{change:function(i){e.checkedChange(i,t)}},model:{value:s.staffRecordsIds,callback:function(t){e.$set(s,"staffRecordsIds",t)},expression:"childItem.staffRecordsIds"}},[e._l(e.staffRecordsOptions,function(t,i){return[n("div",{staticClass:"checkbox-cell"},[n("el-checkbox",{key:t.id,attrs:{label:t.id}},[e._v(e._s(t.name))])],1)]})],2)],1)]:e._e()]})]:e._e()]})],2)])])],1)],1)])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogVisible,expression:"dialogVisible"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[n("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),n("div",{staticClass:"qr-dialog"},[n("div",{staticClass:"qr-dialog__hd"},[n("strong",{staticClass:"qr-dialog__title"},[e._v("预览")]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"qr--dialog__ft"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"template-title flex-1"},[t("img",{attrs:{src:"static/img/card-mould-logo.png",alt:"logo"}}),this._v(" "),t("span",{staticClass:"template-title-span"},[this._v("员工档案设置")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qr-dialog__bd"},[t("div",{attrs:{id:"qrcode"}}),this._v(" "),t("div",{staticClass:"qr-dialog__p"},[this._v("请使用好办 APP 扫一扫预览")])])}]};var O=i("VU/8")(_,N,!1,function(e){i("iyhK")},"data-v-134fd328",null);t.default=O.exports}}); webpackJsonp([16],{EItT:function(e,t){},Y7wY:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw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qhVcPJKOp6eHGxrW2a+7OE3UUQlhiu/jQN1zSkNB6e2NhInIl+ZPKqvVwqxO5pIJCE7l+/etdVWPXsGqor/Wd5KsMi8ZXtjt3bKfmDlSeUMVaMtoYNN6Uzi+sCcLw83JssJD+yle+hOWErmtSOUnucp3um65+s61XmMTpd2ym4Xp7exusRRr9IsEeVrkWxJ4S2+4SZln8uf14V5ZxHtJ/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},jMb0:function(e,t){},lFAe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("//Fk"),s=i.n(n),a=i("gBtx"),l=i.n(a),d=i("mvHQ"),o=i.n(d),r=i("DAYN"),c=i.n(r),f=i("Mk6G"),u={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t,i="";i=f.a.getByteVal(e.target.value,this.limitLength);return this.itemValue=i.trim(),this.inputNum=f.a.getZhLen(this.itemValue),this.childFlag?((t={}).child=this.childFlag,t.value=this.itemValue,"title"==this.titleFlag&&(t.title=this.titleFlag),"k303"==this.c3Flag&&(t.c3Index=this.c3Index,t.flag=this.c3Flag),void this.$emit("itemInput",t)):"title"==this.titleFlag?((t={}).value=this.itemValue,t.title=this.titleFlag,void this.$emit("itemInput",t)):"k303"==this.c3Flag?((t={}).value=this.itemValue,t.flag=this.c3Flag,t.c3Index=this.c3Index,void this.$emit("itemInput",t)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=f.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=f.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},p={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var m=i("VU/8")(u,p,!1,function(e){i("EItT")},"data-v-3078de00",null).exports,g=i("l46T"),h=i("MJLE"),v=i.n(h),C=[{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单行输入框",systemFlag:!1,fieldEdited:!0,fieldType:"0",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多行输入框",systemFlag:!1,fieldEdited:!0,fieldType:"1",fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"单选框",systemFlag:!1,fieldEdited:!0,fieldType:"2",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"radio",name:"选项1"},{type:"radio",name:"选项2"},{type:"radio",name:"选项3"}]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"多选框",systemFlag:!1,fieldEdited:!0,fieldType:"3",fixed:!1,fieldDescription:"请选择",fieldOperations:{ruleContent:[],fieldContent:[{type:"checkbox",name:"选项1"},{type:"checkbox",name:"选项2"},{type:"checkbox",name:"选项3"}]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期",systemFlag:!1,fieldEdited:!0,fieldType:"4",fixed:!1,fieldDescription:"请选择",fieldOperations:{typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"日期区间",systemFlag:!1,fieldEdited:!0,fieldType:"5",fixed:!1,fieldOperations:{startName:"开始时间",endName:"结束时间",startDescription:"请选择开始时间",endDescription:"请选择结束时间",typeValue:"yyyy-MM-dd",ruleContent:[{type:"radio",name:"年-月-日",key:"yyyy-MM-dd",isEdit:1},{type:"radio",name:"年-月",key:"yyyy-MM",isEdit:1}],fieldContent:[]},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"数字输入框",systemFlag:!1,fieldType:"6",fieldEdited:!0,fixed:!1,fieldDescription:"请输入",fieldOperations:{ruleContent:[],fieldContent:[],unit:"元"},isMust:!1,staffRecordsIds:[]},{parentCode:"defineInfo",fieldCode:"-1",fieldName:"图片",systemFlag:!1,fieldType:"7",fieldEdited:!0,fixed:!1,fieldDescription:"最多上传9张图片",fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,staffRecordsIds:[]}],I=function(){return C},y=i("3E4D"),x=i("Ch4/"),b=(i("PI0u"),i("P9l9")),_={name:"staffRecordsTemplate",data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},selectKey:"",baseInfo:[],jobInfo:[],selfInfo:[],eduInfo:[],contractInfo:[],contactInfo:[],personalInfo:[],defineInfo:I(),currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"baseInfo",fieldName:"基本信息",fieldEdited:!1,fieldOperations:{ruleContent:[],fieldContent:[]},isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"jobInfo",fieldName:"工作信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"selfInfo",fieldName:"个人信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"eduInfo",fieldName:"学历信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contractInfo",fieldName:"合同信息",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"contactInfo",fieldName:"紧急联系人",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""},{parentCode:"0",fieldTemplateId:"",parentFieldTemplateId:"0",minCount:10,maxCount:20,fieldCode:"personalInfo",fieldName:"个人资料",fieldEdited:!1,isMust:!1,fieldDescription:"",children:[],fieldType:"",staffRecordsIds:[],status:""}],fieldParent:{baseInfo:{},jobInfo:{},selfInfo:{},eduInfo:{},contractInfo:{},contactInfo:{},personalInfo:{}},staffRecordsOptions:[{id:"staffVisible",name:"对员工可见"},{id:"staffUnvisible",name:"对员工不可见"},{id:"staffMod",name:"对员工可修改"},{id:"staffUnmod",name:"对员工不可修改"}],setList:[],qrcodeCase:"",qrcodeNum:""}},created:function(){},methods:{baseInfoClone:function(){},clickItem:function(e){console.log(e),this.tempaletDataList.map(function(e){return e.fieldCode}).includes(e.parentCode)||"defineInfo"===e.parentCode||(this.tempaletDataList.push(this.fieldParent[e.parentCode]),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)))},checkMove:function(e){var t=!0;return"baseInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("baseInfo")||(t=!1),"jobInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("jobInfo")||(t=!1),"selfInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("selfInfo")||(t=!1),"eduInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("eduInfo")||(t=!1),"contractInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contractInfo")||(t=!1),"contactInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("contactInfo")||(t=!1),"personalInfo"!=e.draggedContext.element.parentCode||e.to.className.includes("personalInfo")||(t=!1),t},onMove:function(e){console.log("move:"),console.log(e.draggedContext,e.dragged,e.to);if(!this.checkMove(e))return!1;e.relatedContext.element;var t=e.draggedContext.element;return console.log(t.fixed),!t.fixed},onChildMove:function(e){return console.log("onChildMove:",e,e.to.className),-1!=e.dragged.className.indexOf("block-class")&&e.to.className.indexOf("block-wrap"),console.log(!0),!0},itemMoveEnd:function(e){var t=this;t.isDragging=!1,console.log(" move end:",e,e.clone.dataset.type),t.selectKey="",t.selectKey=e.clone.dataset.type,t.tempaletDataList.forEach(function(e,i){e.children.forEach(function(e,i){var n;e.systemFlag&&e.fieldCode==t.selectKey&&(n=e.parentCode,t[n].forEach(function(e,i){e.fieldCode==t.selectKey&&(e.fixed=!0)}))})}),t.selectKey="",t.tempaletDataList=JSON.parse(o()(t.tempaletDataList)),t.$forceUpdate()},cloneDefine:function(e){console.log("clone>>>>",e)},selectItem:function(e,t){console.log(e,t),this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t){console.log(e,t),this.tempaletDataList.splice(t,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,t){e.fixed=!1}),console.log(this.currentIndex,this.tempaletDataList)},addItem:function(e){},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,n){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,n,s){this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].fieldCode,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(o()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),this[s.parentCode].forEach(function(t,i){t.fieldCode===e&&(t.fixed=!1)})},checkedChange:function(e,t){console.log(e,t)},delChildItem:function(e,t,i){i.fieldOperations.fieldContent.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){var n="radio";i.systemFlag||3!==parseInt(i.fieldType)||(n="checkbox"),i.fieldOperations.fieldContent.push({type:n,name:"请输入选项"});var s=i.fieldOperations.fieldContent.map(function(e){return e.name});this.isRepeat(s)&&(i.fieldOperations.fieldContent.splice(i.fieldOperations.fieldContent.length-1,1),s.splice(i.fieldOperations.fieldContent.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeRadio:function(e,t,i){console.log(e,t,i)},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e,n){if(""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;e.children.length&&e.children.forEach(function(e,n){if(e.systemFlag&&""==e.fieldName)return t.filedFlag=!1,t.name=e.fieldName||"",!1;i.push(e.fieldName)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:function(e){var t=JSON.parse(o()(this.tempaletDataList)),i=this.checkTag(t);i.filedFlag?i.filedRepeat?this.$message.error({duration:1e3,message:"字段标题不能重复"}):(t.forEach(function(e,t){e.sort=t,e.fixed=!0===e.fixed?1:0,e.isMust=!0===e.isMust?1:0,e.fieldEdited=!0===e.fieldEdited?1:0,e.systemFlag=!0===e.systemFlag?1:0,e.parentFieldTemplateId=e.parentFieldTemplateId?e.parentFieldTemplateId:-1,e.fieldTemplateId=e.fieldTemplateId?e.fieldTemplateId:-1,e.children.forEach(function(t,i){t.sort=i,t.fixed=!0===t.fixed?1:0,t.isMust=!0===t.isMust?1:0,t.fieldEdited=!0===t.fieldEdited?1:0,t.systemFlag=!0===t.systemFlag?1:0,2!==parseInt(t.fieldType)&&3!==parseInt(t.fieldType)||t.fieldOperations.fieldContent.forEach(function(e,t){e.hasOwnProperty(t)||""!=e.key||(e.key=e.name)}),t.systemFlag||(t.parentCode=e.fieldCode),t.fieldTemplateId=t.fieldTemplateId?t.fieldTemplateId:-1,t.parentFieldTemplateId=e.fieldTemplateId})}),"save"===e?this.saveAllData(t):this.postPreview(t)):this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"})},saveAllData:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-save.json",i).then(function(e){var i=e.data;if(1==i.errorCode)return y.a.showmsg("保存成功","success"),void t.changeRoute("/memberCardSet");x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateContent:o()(e)};Object(b.c)("/haoban-manage-web/record/record-template-preview.json",i).then(function(e){var i=e.data;if(1==i.errorCode){var n=window.location.origin+"/office-mobile/#/staffRecordsTemplate?enterpriseId="+i.result;return t.qrcode(n),void(t.dialogVisible=!0)}x.a.errorMsg(i)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},qrcode:function(e){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear());var t={type:"record",data:e};this.qrcodeCase=new v.a("qrcode",{width:210,height:210,text:o()(t)})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(t){var i=t.data;1!=i.errorCode?x.a.errorMsg(i):e.handleAllFields(i.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e,i){t.hasOwnProperty(e.parentCode)&&(e.fixed=1===parseInt(e.fixed),e.isMust=1===parseInt(e.isMust),e.fieldEdited=1===parseInt(e.fieldEdited),e.systemFlag=!0,e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],t[e.parentCode].push(e)),t.fieldParent.hasOwnProperty(e.fieldCode)&&(e.children=[],t.fieldParent[e.fieldCode]=e,e.systemFlag=!0)})},getInfo:function(){var e=this;Object(b.c)("/haoban-manage-web/record/employee-find-template.json",{}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],void(i.result&&i.result.length&&e.handleGetInfo(i.result));x.a.errorMsg(i)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(o()(e));t.setParent=[],i.forEach(function(e,i){e.fixed=1===l()(e.fixed),e.isMust=1===l()(e.isMust),e.fieldEdited=1===l()(e.fieldEdited),e.systemFlag=1===l()(e.systemFlag),e.fieldOperations=e.fieldOperations?JSON.parse(e.fieldOperations):{},e.staffRecordsIds=e.staffRecordsIds?JSON.parse(e.staffRecordsIds):[],e.systemFlag&&0==e.parentCode&&t.setParent.push(e.fieldCode),e.systemFlag&&0!=e.parentCode&&t.setList.push(e.fieldCode)}),t.tempaletDataList=t.treeData(i),setTimeout(function(){t.setFixed()},10)},setFixed:function(){var e=this;e.setParent.forEach(function(t,i){e[t].forEach(function(t,i){e.setList.includes(t.fieldCode)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})}},components:{draggable:c.a,AddInput:m,limitInput:g.a},mounted:function(){s.a.all([this.getAllFields(),this.getInfo()]),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}}},N={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-wrap",style:{height:e.bodyHeight}},[n("div",{staticClass:"template-contain"},[n("div",{staticClass:"template-head"},[e._m(0),e._v(" "),n("div",{staticClass:"template-btns flex-1 flex-r"},[n("el-button",{attrs:{plain:""},on:{click:function(t){e.saveAndBack("preview")}}},[e._v("预览")]),e._v(" "),n("el-button",{attrs:{plain:""},on:{click:function(t){e.changeRoute("/fileSet")}}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),n("div",{staticClass:"template-body"},[n("div",{staticClass:"template-cell template-cell-l"},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"系统字段",name:"first"}},[n("div",{staticClass:"filed-item-title"},[e._v("基本信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.baseInfo,options:e.leftOption,move:e.onMove},on:{clone:e.baseInfoClone,start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.baseInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode,"aria-hidden":"true"},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("工作信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.jobInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.jobInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.selfInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.selfInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("学历信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.eduInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.eduInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("合同信息")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contractInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contractInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("紧急联系人")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.contactInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.contactInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1),e._v(" "),n("div",{staticClass:"filed-item-title"},[e._v("个人材料")]),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.personalInfo,options:e.leftOption,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personalInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[n("span",[e._v(e._s(t.fieldName))])])}))],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"自定义字段",name:"second"}},[n("div",{staticClass:"filed-item-title"}),e._v(" "),n("ul",[n("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd,clone:e.cloneDefine}},e._l(e.defineInfo,function(t,i){return n("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-type":t.fieldCode},on:{mousedown:function(i){e.clickItem(t)}}},[t.systemFlag||0!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("span",[e._v(e._s(t.fieldName))]),e._v(" "),t.systemFlag||0!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-one"}),e._v(" "),t.systemFlag||1!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-two"}),e._v(" "),t.systemFlag||2!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-three"}),e._v(" "),t.systemFlag||3!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-four"}),e._v(" "),t.systemFlag||4!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-five"}),e._v(" "),t.systemFlag||5!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-six"}),e._v(" "),t.systemFlag||6!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-seven"}),e._v(" "),t.systemFlag||7!=t.fieldType?e._e():n("i",{staticClass:"bg-icon bg-icon-eight"})])}))],1)])],1)],1),e._v(" "),n("div",{staticClass:"template-cell template-cell-m"},[n("div",{staticClass:"phone-view"},[n("div",{staticClass:"phone-show-content"},[n("div",{staticClass:"drag-show-content"},[n("div",{staticClass:"view-container"},[n("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[n("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),n("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!1},sort:!0}},on:{add:e.addItem},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return n("li",{class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(n){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?n("span",{staticClass:"item-close p-item-close",on:{click:function(n){n.stopPropagation(),e.deleteItem(t.fieldCode,i)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),[n("div",{staticClass:"block"},[n("div",{staticClass:"block-head"},[n("div",{class:["opencard-item-title",t.fieldName.length>6?"block-pre-wrap":""]},[e._v(e._s(t.fieldName))])]),e._v(" "),n("ul",{staticClass:"view-content"},[n("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,a){return n("li",{class:["filed-item","child-filed-item",e.currentChildKey==s.fieldCode&&e.currentChildIndex==a?"active-item":""],on:{click:function(n){n.stopPropagation(),e.selectChildItem(s.fieldCode,i,a,t.children)}}},["clerkPhone"!=s.fieldCode?n("span",{staticClass:"item-close child-item-close",on:{click:function(n){n.stopPropagation(),e.deleteChildItem(s.fieldCode,i,a,t.children,s)}}},[n("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),2==s.fieldType||3==s.fieldType||4==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldDescription)+" "),n("i",{staticClass:"el-icon-arrow-right"})])])]):e._e(),e._v(" "),5==s.fieldType?n("div",[n("div",[n("div",{class:["opencard-item-title",s.fieldOperations.startName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.startName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.startDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),n("div",{staticClass:"b-t-1"},[n("div",{class:["opencard-item-title",s.fieldOperations.endName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldOperations.endName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(s.fieldOperations.endDescription)),n("i",{staticClass:"el-icon-arrow-right"})])])])]):e._e(),e._v(" "),7==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[n("i",{staticClass:"iconfont icon-icon"})])])]):e._e(),e._v(" "),0==s.fieldType||1==s.fieldType||6==s.fieldType?n("div",[n("div",{class:["opencard-item-title",s.fieldName.length>6?"title-pre-wrap":""]},[e._v(e._s(s.fieldName))]),e._v(" "),n("div",{staticClass:"draged-item-show"},[n("span",{staticClass:"show-warm-text show-warm-text-flag"},[e._v(e._s(s.fieldDescription))])])]):e._e()])}))],1)])]],2)}))],2)])])])])]),e._v(" "),n("div",{staticClass:"template-cell template-cell-r"},[n("el-tabs",{model:{value:e.rightName,callback:function(t){e.rightName=t},expression:"rightName"}},[n("el-tab-pane",{attrs:{label:"控件设置",name:"first"}},[n("div",{attrs:{id:"edit-box"}},[n("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex==i&&"0"==t.parentCode?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title edit-title-padding"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.fieldName,holder:"",disflag:!0,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"fieldName",i)}}})],1)]:e._e(),e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(s,a){return[e.currentChildIndex==a?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 标题 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldName,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"fieldName",t)}}}),e._v(" "),7==s.fieldType?n("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v(e._s(s.fieldDescription))]):e._e()],1)]:e._e(),e._v(" "),e.currentChildIndex==a&&5!=s.fieldType&&7!=s.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s,"fieldDescription",t)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==a&&5==s.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 开始时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.startName,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"startName",t)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.startDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"startDescription",t)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v(" 结束时间 ")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.endName,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"endName",t)}}})],1),e._v(" "),n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("提示文字")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.endDescription,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"endDescription",t)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex==a&&6==s.fieldType?[n("div",{staticClass:"edit-item test-title limit-w-340"},[n("div",{staticClass:"edit-item-title"},[e._v("单位")]),e._v(" "),n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:s.fieldOperations.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(s.fieldOperations,"unit",t)}}})],1)]:e._e(),e._v(" "),e.currentChildIndex!=a||4!=s.fieldType&&5!=s.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),e._l(s.fieldOperations.ruleContent,function(t,i){return[n("el-radio",{attrs:{label:t.key},on:{change:function(t){e.changeRadio(t,i,s)}},model:{value:s.fieldOperations.typeValue,callback:function(t){e.$set(s.fieldOperations,"typeValue",t)},expression:"childItem.fieldOperations.typeValue"}},[e._v("\n "+e._s(t.name)+"\n ")])]})],2)],e._v(" "),e.currentChildIndex!=a||"2"!=s.fieldType&&"3"!=s.fieldType?e._e():[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("选项 "),n("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(s.fieldOperations.fieldContent,function(t,a){return[n("div",{staticClass:"margin-t-15 limit-w-340",style:0==a?"margin-top: 0":""},[n("limitInput",{attrs:{inputWidth:340,limitClass:"limit-color",inputValue:t.name,holder:"",disflag:!s.fieldEdited,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"name",i)}}}),e._v(" "),!s.systemFlag&&s.fieldOperations.fieldContent.length>1?n("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(t){e.delChildItem(i,a,s)}}}):e._e(),e._v(" "),!s.systemFlag&&a<19?[a==s.fieldOperations.fieldContent.length-1?n("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(t){e.addChildItem(i,a,s)}}}):e._e()]:e._e()],2)]})],2)],e._v(" "),e.currentChildIndex==a?[n("div",{staticClass:"edit-item"},[n("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),n("el-checkbox",{model:{value:s.isMust,callback:function(t){e.$set(s,"isMust",t)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex==a?[n("div",{staticClass:"edit-item "},[n("div",{staticClass:"edit-item-title"},[e._v("员工档案中")]),e._v(" "),n("el-checkbox-group",{staticClass:"staffRecords-limit",on:{change:function(i){e.checkedChange(i,t)}},model:{value:s.staffRecordsIds,callback:function(t){e.$set(s,"staffRecordsIds",t)},expression:"childItem.staffRecordsIds"}},[e._l(e.staffRecordsOptions,function(t,i){return[n("div",{staticClass:"checkbox-cell"},[n("el-checkbox",{key:t.id,attrs:{label:t.id}},[e._v(e._s(t.name))])],1)]})],2)],1)]:e._e()]})]:e._e()]})],2)])])],1)],1)])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogVisible,expression:"dialogVisible"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[n("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),n("div",{staticClass:"qr-dialog"},[n("div",{staticClass:"qr-dialog__hd"},[n("strong",{staticClass:"qr-dialog__title"},[e._v("预览")]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"qr--dialog__ft"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"template-title flex-1"},[t("img",{attrs:{src:"static/img/card-mould-logo.png",alt:"logo"}}),this._v(" "),t("span",{staticClass:"template-title-span"},[this._v("员工档案设置")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qr-dialog__bd"},[t("div",{attrs:{id:"qrcode"}}),this._v(" "),t("div",{staticClass:"qr-dialog__p"},[this._v("请使用好办 APP 扫一扫预览")])])}]};var M=i("VU/8")(_,N,!1,function(e){i("jMb0")},"data-v-5a3fec3c",null);t.default=M.exports}});
//# sourceMappingURL=16.fb041706a9ca68bce7ea.js.map //# sourceMappingURL=16.1dfd39be99146e0ffb30.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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([42],{"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("7+uW"),a={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 c=n("VU/8")({name:"App",data:function(){return{}}},a,!1,function(e){n("6jtR")},null,null).exports,r=n("/ocq"),s=n("5tgt"),i=n.n(s);o.default.use(r.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,p=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:i()("login","index")},{path:"/index",name:"index",component:i()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:i()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:i()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:i()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:i()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:i()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:i()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:i()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:i()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:i()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:i()("contacts","recycle")},{path:"/employee",name:"在职员工",component:i()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:i()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:i()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:i()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:i()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:i()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:i()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:i()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:i()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:i()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:i()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:i()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:i()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:i()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:i()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:i()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:i()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:i()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:i()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:i()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:i()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:i()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:m},{path:"/404",name:"error404",component:m},{path:"/500",name:"error500",component:m},{path:"*",redirect:"/404",hidden:!0}],u=new r.a({routes:p,scrollBehavior:function(){return{y:0}}}),l=n("zL8q"),f=n.n(l),h=n("Rf8U"),v=n.n(h),g=n("mtWM"),y=n.n(g),w=n("bOdI"),C=n.n(w),A=n("NYxO");o.default.use(A.a);var x=new A.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(d={},C()(d,"login",function(e,t){sessionStorage.token=t,e.token=t}),C()(d,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),C()(d,"title",function(e,t){e.title=t}),C()(d,"show",function(e,t){e.show=t}),d)}),I=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),R=n.n(I),k=n("tyqE"),P=n.n(k),S=n("pRVe"),j=n.n(S),T=n("SE7k"),D=n.n(T),F=n("XsK6"),O=n.n(F),z=n("QRL9"),E=n.n(z),G=n("2Pnh"),b=n.n(G),q=n("l9mu"),J=n.n(q),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;b()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,c=o,r=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new J.a("","pt","a4");if(c<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;c>0;)m.addImage(i,"JPEG",0,r,595.28,s),r-=841.89,(c-=a)>0&&m.addPage();m.save(e+".pdf")})}}};o.default.use(X),o.default.use(O.a),o.default.use(E.a),o.default.use(D.a),o.default.use(j.a),o.default.use(P.a),o.default.use(R.a),o.default.config.productionTip=!1,o.default.use(f.a,{size:"large"}),o.default.use(v.a,y.a),o.default.axios.defaults.withCredentials=!0,u.beforeEach(function(e,t,n){"/"==e.path?n({path:"/login"}):n()}),new o.default({el:"#app",router:u,store:x,components:{App:c},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,14],"./contacts/addDepartment.vue":["HHRu",0,10],"./contacts/addEmployee.vue":["00Sv",40],"./contacts/addGroup.vue":["mPjx",0,32],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,33],"./contacts/employeeIo.vue":["Rwbg",0,31],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,27],"./contacts/recordInfo.vue":["67iC",0,25],"./contacts/recordIo.vue":["738z",0,17],"./contacts/recycle.vue":["HkK0",0,21],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,38],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,16],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,26],"./contacts/storeIo.vue":["RHxA",0,35],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/index.vue":["da9f",29],"./errorPage/403.vue":["6XGN",19],"./errorPage/404.vue":["AejC",24],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,18],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",30],"./reviewCenter/reviewed.vue":["CLYF",0,13],"./reviewCenter/unreview.vue":["xCEU",0,11],"./setting/addAdmin.vue":["rs/A",0,34],"./setting/addAdminRole.vue":["fZsz",0,22],"./setting/companyAddress.vue":["SKyE",0,36],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",39],"./setting/replaceAdmin.vue":["ys9I",0,37],"./setting/setChildAdmin.vue":["VqB7",0,28],"./setting/staffDetails.vue":["Zyzf",0,23],"./setting/storePermission.vue":["Xwfy",0,15]};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.8338cd0b815915673414.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,kICCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,IAAIC,KAiBR,IAAMC,EAAY,SAACtB,GACjBC,EAAAsB,EAAA,GAAArB,KAAAD,EAAAuB,KAAA,cAAoCtB,KAAK,SAACN,GACxCI,EAAEJ,MAIF6B,OAAOC,eAAeC,QAAQ,UAChCC,MAAMC,OAAOC,MAAMC,MAAON,OAAOC,eAAeC,QAAQ,UAEnD,MAAMK,IAETC,KAAM,IACNrB,KAAM,IACNsB,SAAU,UAGVD,KAAM,SACNrB,KAAM,KACNuB,UAAWC,IAAQ,QAAQ,WAG3BH,KAAM,SACNrB,KAAM,QACNuB,UAAWC,IAAQ,QAAQ,WAG3BH,KAAM,YACNrB,KAAM,MACNsB,SAAU,sBACVC,UAAWC,IAAQ,WAAW,SAC9BC,WAGIJ,KAAM,uBACNrB,KAAM,OACNuB,UAAWC,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BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,2BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,qCACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAAvG,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAkJ,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAAtI,GAAA,OACAf,EAAAC,QAAAoJ","file":"static/js/app.8338cd0b815915673414.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],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-d8072086\",\"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/App.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-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.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!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8072086\\\",\\\"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!./App.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/App.vue\n// module id = null\n// module chunks = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport _import from './_import.js'\r\nVue.use(Router);\r\n\r\n// const error403 = (r) => {\r\n// import('views/errorPage/403.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error404 = (r) => {\r\n// import('views/errorPage/404.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error500 = (r) => {\r\n// import('views/errorPage/500.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\nconst errorPage = (r) => {\r\n import('views/errorPage/index.vue').then((module) => {\r\n r(module)\r\n })\r\n};\r\n// 页面刷新时,重新赋值token\r\nif (window.sessionStorage.getItem('token')) {\r\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\r\n}\r\nexport const constantRouterMap = [\r\n {\r\n path: '/',\r\n name: '/',\r\n redirect: 'login',\r\n },\r\n {\r\n path: '/login',\r\n name: '登录',\r\n component: _import('login','index')\r\n },\r\n {\r\n path: '/index',\r\n name: 'index',\r\n component: _import('index','index'),\r\n },\r\n {\r\n path: '/contacts',\r\n name: '通讯录',\r\n redirect: 'administrativeFrame',\r\n component: _import('contacts','index'),\r\n children: [\r\n // 通讯录\r\n {\r\n path: '/administrativeFrame',\r\n name: '行政架构',\r\n component: _import('contacts','administrativeFrame')\r\n },\r\n {\r\n path: \"/employeeIo\",\r\n name: \"批量导入/导出\",\r\n component: _import('contacts','employeeIo')\r\n },\r\n {\r\n path: '/addDepartment',\r\n name: '添加部门',\r\n component: _import('contacts','addDepartment')\r\n },\r\n {\r\n path: '/addClerk',\r\n name: '添加店员',\r\n component: _import('contacts','addClerk')\r\n },\r\n {\r\n path: '/storeFrame',\r\n name: '门店架构',\r\n component: _import('contacts','storeFrame')\r\n },\r\n {\r\n path: '/addGroup',\r\n name: '添加子分组',\r\n component: _import('contacts','addGroup')\r\n },\r\n {\r\n path: '/storeIo',\r\n name: '门店导入/导出',\r\n component: _import('contacts','storeIo')\r\n },\r\n {\r\n path: '/storeInfo',\r\n name: '编辑门店',\r\n component: _import('contacts','storeInfo')\r\n },\r\n {\r\n path: \"/recycle\",\r\n name: \"门店回收站\",\r\n component: _import('contacts','recycle')\r\n },\r\n {\r\n path: '/employee',\r\n name: '在职员工',\r\n component: _import('contacts','employee')\r\n },\r\n {\r\n path: '/unemployee',\r\n name: '离职员工',\r\n component: _import('contacts','unemployee')\r\n },\r\n {\r\n path: '/fileSet',\r\n name: '档案设置',\r\n component: _import('contacts','fileSet')\r\n },\r\n {\r\n path: '/recordInfo',\r\n name: '编辑员工信息',\r\n component: _import('contacts','recordInfo')\r\n },\r\n {\r\n path: '/recordIo',\r\n name: '导入导出员工档案',\r\n component: _import('contacts','recordIo')\r\n },\r\n {\r\n path: '/shareContact',\r\n name: '共享通讯录',\r\n component: _import('contacts','shareContact')\r\n },\r\n {\r\n path: \"/shareCode\",\r\n name: '共享通讯录二维码',\r\n component: _import('contacts','shareCode')\r\n },\r\n {\r\n path: \"/employeeRecord\",\r\n name: '在职员工',\r\n component: _import('contacts','employeeRecord')\r\n }\r\n ]\r\n },\r\n {\r\n // 企业应用\r\n path: '/enterpriseApp',\r\n name: '企业应用',\r\n component: _import('enterpriseApp','index'),\r\n },\r\n {\r\n // 审核中心\r\n path: '/reviewCenter',\r\n name: '审核中心',\r\n redirect: 'unreview',\r\n component: _import('reviewCenter','index'),\r\n children: [\r\n {\r\n path: '/reviewed',\r\n name: '已审核',\r\n component: _import('reviewCenter','reviewed')\r\n },\r\n {\r\n path: '/unreview',\r\n name: '未审核',\r\n component: _import('reviewCenter','unreview')\r\n },\r\n ]\r\n },\r\n {\r\n // 设置模块\r\n path: '/setCenter',\r\n name: '设置',\r\n redirect: 'companyAddress',\r\n component: _import('setting','index'),\r\n children: [\r\n {\r\n path: '/companyAddress',\r\n name: '企业地址',\r\n component: _import('setting','companyAddress')\r\n },\r\n {\r\n path: '/companyCertify',\r\n name: '企业认证',\r\n component: _import('setting','companyCertify')\r\n },\r\n {\r\n path: '/staffDetails',\r\n name: '员工详情字段',\r\n component: _import('setting','staffDetails')\r\n },\r\n {\r\n path: '/storePermission',\r\n name: '门店权限设置',\r\n component: _import('setting','storePermission')\r\n },\r\n {\r\n path: '/replaceAdmin',\r\n name: '更换超级管理员',\r\n component: _import('setting','replaceAdmin')\r\n },\r\n {\r\n path: '/setChildAdmin',\r\n name: '设置子管理员',\r\n component: _import('setting','setChildAdmin')\r\n },\r\n {\r\n path: '/addAdmin',\r\n name: '添加管理员',\r\n component: _import('setting','addAdmin')\r\n },\r\n {\r\n path: '/addAdminRole',\r\n name: '添加管理员角色',\r\n component: _import('setting','addAdminRole')\r\n }\r\n ]\r\n },\r\n {\r\n path: '/staffRecordsTemplate',\r\n name: '员工档案设置',\r\n component: _import('contacts','staffRecordsTemplate')\r\n },\r\n {\r\n path: '/403',\r\n name: '无权访问',\r\n component: errorPage\r\n },\r\n {\r\n path: '/404',\r\n name: 'error404',\r\n component: errorPage\r\n },\r\n {\r\n path: '/500',\r\n name: 'error500',\r\n component: errorPage\r\n },\r\n { path: '*', redirect: '/404', hidden: true },\r\n];\r\nexport default new Router({\r\n // mode:'history',\r\n routes: constantRouterMap,\r\n scrollBehavior: () => ({ y: 0 }),\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\r\nimport Vue from 'vue'\r\nimport * as types from './types'\r\n\r\nVue.use(Vuex);\r\nexport default new Vuex.Store({\r\n state: {\r\n user: {},\r\n token: null,\r\n title: '',\r\n show: false\r\n },\r\n mutations: {\r\n [types.LOGIN]: (state, data) => {\r\n sessionStorage.token = data;\r\n state.token = data;\r\n },\r\n [types.LOGOUT]: (state) => {\r\n sessionStorage.removeItem('token');\r\n state.token = null\r\n },\r\n [types.TITLE]: (state, data) => {\r\n state.title = data;\r\n },\r\n [types.SHOW]: (state,data) => {\r\n state.show = data;\r\n }\r\n }\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t10\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t40\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t33\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t31\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t25\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t17\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t21\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t38\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t26\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t35\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t12\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t29\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t19\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t24\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t20\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t18\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t30\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t13\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t11\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t34\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t22\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t36\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t39\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t37\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t28\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t23\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t15\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([42],{"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("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("6jtR")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=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 u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"在职员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),j=n.n(S),O=n("pRVe"),T=n.n(O),D=n("SE7k"),F=n.n(D),b=n("XsK6"),z=n.n(b),E=n("QRL9"),G=n.n(E),q=n("2Pnh"),J=n.n(q),X=n("l9mu"),H=n.n(X),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;J()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new H.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(U),r.default.use(z.a),r.default.use(G.a),r.default.use(F.a),r.default.use(T.a),r.default.use(j.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,14],"./contacts/addDepartment.vue":["HHRu",0,10],"./contacts/addEmployee.vue":["00Sv",40],"./contacts/addGroup.vue":["mPjx",0,32],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,33],"./contacts/employeeIo.vue":["Rwbg",0,31],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,27],"./contacts/recordInfo.vue":["67iC",0,25],"./contacts/recordIo.vue":["738z",0,17],"./contacts/recycle.vue":["HkK0",0,21],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,38],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,16],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,26],"./contacts/storeIo.vue":["RHxA",0,35],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/index.vue":["da9f",29],"./errorPage/403.vue":["6XGN",19],"./errorPage/404.vue":["AejC",24],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,18],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",30],"./reviewCenter/reviewed.vue":["CLYF",0,13],"./reviewCenter/unreview.vue":["xCEU",0,11],"./setting/addAdmin.vue":["rs/A",0,34],"./setting/addAdminRole.vue":["fZsz",0,22],"./setting/companyAddress.vue":["SKyE",0,36],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",39],"./setting/replaceAdmin.vue":["ys9I",0,37],"./setting/setChildAdmin.vue":["VqB7",0,28],"./setting/staffDetails.vue":["Zyzf",0,23],"./setting/storePermission.vue":["Xwfy",0,15]};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.d6864ac0715417d52091.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,uJCCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,IAAIC,KAiBR,IAAMC,EAAY,SAACtB,GACjBC,EAAAsB,EAAA,GAAArB,KAAAD,EAAAuB,KAAA,cAAoCtB,KAAK,SAACN,GACxCI,EAAEJ,MAIF6B,OAAOC,eAAeC,QAAQ,UAChCC,MAAMC,OAAOC,MAAMC,MAAON,OAAOC,eAAeC,QAAQ,UAE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C,EAAKG,QAAQ,aACL,wBAEAH,EAEPI,aAAa9E,QAAQ,aACxBkE,IAAMa,IAAON,EAAb,2CACClG,KAAK,SAACyG,GACL,IAAIC,EAAUD,EAAI1F,KACO,GAArB2F,EAAQC,UAIbC,UAAQC,OACLC,SAAU,IACVC,QAASL,EAAQK,UALjBR,aAAaS,QAAQ,WAAWC,IAAeP,EAAQQ,WAQ1DC,MAAM,SAAUN,GAChBD,UAAQC,OACLC,SAAU,IACVC,QAASF,EAAME,YAIN,KAAXhB,EAAGhE,KACLkE,GAAOlE,KAAM,WAEbkE,MAKJ,IAAIhF,WACFmG,GAAI,OACJ/E,SACAX,QACA2F,YAAcC,OACdC,SAAU,iCChFZ,IAAAC,GACAC,2BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,8BACA,OACA,IAEAC,2BACA,OACA,EACA,IAEAC,sCACA,OACA,EACA,GAEAC,2BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,GAEAC,0BACA,OACA,EACA,GAEAC,wBACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,2BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,qCACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAAzH,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAoK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAAxJ,GAAA,OACAf,EAAAC,QAAAsK","file":"static/js/app.d6864ac0715417d52091.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],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-d8072086\",\"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/App.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-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.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!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8072086\\\",\\\"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!./App.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/App.vue\n// module id = null\n// module chunks = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport _import from './_import.js'\r\nVue.use(Router);\r\n\r\n// const error403 = (r) => {\r\n// import('views/errorPage/403.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error404 = (r) => {\r\n// import('views/errorPage/404.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error500 = (r) => {\r\n// import('views/errorPage/500.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\nconst errorPage = (r) => {\r\n import('views/errorPage/index.vue').then((module) => {\r\n r(module)\r\n })\r\n};\r\n// 页面刷新时,重新赋值token\r\nif (window.sessionStorage.getItem('token')) {\r\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\r\n}\r\nexport const constantRouterMap = [\r\n {\r\n path: '/',\r\n name: '/',\r\n redirect: 'login',\r\n },\r\n {\r\n path: '/login',\r\n name: '登录',\r\n component: _import('login','index')\r\n },\r\n {\r\n path: '/index',\r\n name: 'index',\r\n component: _import('index','index'),\r\n },\r\n {\r\n path: '/contacts',\r\n name: '通讯录',\r\n redirect: 'administrativeFrame',\r\n component: _import('contacts','index'),\r\n children: [\r\n // 通讯录\r\n {\r\n path: '/administrativeFrame',\r\n name: '行政架构',\r\n component: _import('contacts','administrativeFrame')\r\n },\r\n {\r\n path: \"/employeeIo\",\r\n name: \"批量导入/导出\",\r\n component: _import('contacts','employeeIo')\r\n },\r\n {\r\n path: '/addDepartment',\r\n name: '添加部门',\r\n component: _import('contacts','addDepartment')\r\n },\r\n {\r\n path: '/addClerk',\r\n name: '添加店员',\r\n component: _import('contacts','addClerk')\r\n },\r\n {\r\n path: '/storeFrame',\r\n name: '门店架构',\r\n component: _import('contacts','storeFrame')\r\n },\r\n {\r\n path: '/addGroup',\r\n name: '添加子分组',\r\n component: _import('contacts','addGroup')\r\n },\r\n {\r\n path: '/storeIo',\r\n name: '门店导入/导出',\r\n component: _import('contacts','storeIo')\r\n },\r\n {\r\n path: '/storeInfo',\r\n name: '编辑门店',\r\n component: _import('contacts','storeInfo')\r\n },\r\n {\r\n path: \"/recycle\",\r\n name: \"门店回收站\",\r\n component: _import('contacts','recycle')\r\n },\r\n {\r\n path: '/employee',\r\n name: '在职员工',\r\n component: _import('contacts','employee')\r\n },\r\n {\r\n path: '/unemployee',\r\n name: '离职员工',\r\n component: _import('contacts','unemployee')\r\n },\r\n {\r\n path: '/fileSet',\r\n name: '档案设置',\r\n component: _import('contacts','fileSet')\r\n },\r\n {\r\n path: '/recordInfo',\r\n name: '编辑员工信息',\r\n component: _import('contacts','recordInfo')\r\n },\r\n {\r\n path: '/recordIo',\r\n name: '导入导出员工档案',\r\n component: _import('contacts','recordIo')\r\n },\r\n {\r\n path: '/shareContact',\r\n name: '共享通讯录',\r\n component: _import('contacts','shareContact')\r\n },\r\n {\r\n path: \"/shareCode\",\r\n name: '共享通讯录二维码',\r\n component: _import('contacts','shareCode')\r\n },\r\n {\r\n path: \"/employeeRecord\",\r\n name: '在职员工',\r\n component: _import('contacts','employeeRecord')\r\n }\r\n ]\r\n },\r\n {\r\n // 企业应用\r\n path: '/enterpriseApp',\r\n name: '企业应用',\r\n component: _import('enterpriseApp','index'),\r\n },\r\n {\r\n // 审核中心\r\n path: '/reviewCenter',\r\n name: '审核中心',\r\n redirect: 'unreview',\r\n component: _import('reviewCenter','index'),\r\n children: [\r\n {\r\n path: '/reviewed',\r\n name: '已审核',\r\n component: _import('reviewCenter','reviewed')\r\n },\r\n {\r\n path: '/unreview',\r\n name: '未审核',\r\n component: _import('reviewCenter','unreview')\r\n },\r\n ]\r\n },\r\n {\r\n // 设置模块\r\n path: '/setCenter',\r\n name: '设置',\r\n redirect: 'companyAddress',\r\n component: _import('setting','index'),\r\n children: [\r\n {\r\n path: '/companyAddress',\r\n name: '企业地址',\r\n component: _import('setting','companyAddress')\r\n },\r\n {\r\n path: '/companyCertify',\r\n name: '企业认证',\r\n component: _import('setting','companyCertify')\r\n },\r\n {\r\n path: '/staffDetails',\r\n name: '员工详情字段',\r\n component: _import('setting','staffDetails')\r\n },\r\n {\r\n path: '/storePermission',\r\n name: '门店权限设置',\r\n component: _import('setting','storePermission')\r\n },\r\n {\r\n path: '/replaceAdmin',\r\n name: '更换超级管理员',\r\n component: _import('setting','replaceAdmin')\r\n },\r\n {\r\n path: '/setChildAdmin',\r\n name: '设置子管理员',\r\n component: _import('setting','setChildAdmin')\r\n },\r\n {\r\n path: '/addAdmin',\r\n name: '添加管理员',\r\n component: _import('setting','addAdmin')\r\n },\r\n {\r\n path: '/addAdminRole',\r\n name: '添加管理员角色',\r\n component: _import('setting','addAdminRole')\r\n }\r\n ]\r\n },\r\n {\r\n path: '/staffRecordsTemplate',\r\n name: '员工档案设置',\r\n component: _import('contacts','staffRecordsTemplate')\r\n },\r\n {\r\n path: '/403',\r\n name: '无权访问',\r\n component: errorPage\r\n },\r\n {\r\n path: '/404',\r\n name: 'error404',\r\n component: errorPage\r\n },\r\n {\r\n path: '/500',\r\n name: 'error500',\r\n component: errorPage\r\n },\r\n { path: '*', redirect: '/404', hidden: true },\r\n];\r\nexport default new Router({\r\n // mode:'history',\r\n routes: constantRouterMap,\r\n scrollBehavior: () => ({ y: 0 }),\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\r\nimport Vue from 'vue'\r\nimport * as types from './types'\r\n\r\nVue.use(Vuex);\r\nexport default new Vuex.Store({\r\n state: {\r\n user: {},\r\n token: null,\r\n title: '',\r\n show: false\r\n },\r\n mutations: {\r\n [types.LOGIN]: (state, data) => {\r\n sessionStorage.token = data;\r\n state.token = data;\r\n },\r\n [types.LOGOUT]: (state) => {\r\n sessionStorage.removeItem('token');\r\n state.token = null\r\n },\r\n [types.TITLE]: (state, data) => {\r\n state.title = data;\r\n },\r\n [types.SHOW]: (state,data) => {\r\n state.show = data;\r\n }\r\n }\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t10\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t40\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t33\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t31\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t25\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t17\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t21\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t38\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t26\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t35\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t12\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t29\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t19\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t24\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t20\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t18\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t30\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t13\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t11\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t34\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t22\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t36\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t39\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t37\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t28\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t23\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t15\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var d,o,b,i=0,u=[];i<a.length;i++)o=a[i],f[o]&&u.push(f[o][0]),f[o]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var a={},f={44:0};function n(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=f[e]=[a,n]});c[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"873078fdea4842444148",1:"26fc7c6e9b4ccca95f46",2:"c921b784cd9866fc2119",3:"9675edf3a07aab339cae",4:"9e34466fef2ef248ca0c",5:"ff31b00aa273cf73ccca",6:"2a30db3008d356a25668",7:"5d79b1f23fcd3645f4f0",8:"bd1db87f0f7dbf7f63f1",9:"9ea1a6cc13ca1eaffde0",10:"5ab181a900890bf96b9d",11:"145699dbfd30358854dc",12:"79da425f48d203477382",13:"c34acd28eca3f5688cba",14:"f9ca5521ae28f1a6133c",15:"f1c170ecb1ba3d64a91a",16:"fb041706a9ca68bce7ea",17:"b02da0a0ea84450f769e",18:"a4bd9646fc679c9774bc",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"02ca463f69f7571bd2ec",22:"e9f283fb70f609999dae",23:"8bdcbf73d437071cd6c1",24:"a65971a02be425cfe7d7",25:"ca4f5247b270231f1f0c",26:"24e1c6d1d016facb2bc0",27:"5fedb7ca55c6e210ba23",28:"833c6093425eaeb79525",29:"9436a9efb4180f8f231d",30:"8089ec173e42af49abac",31:"821d1bcbee4a6ebc8462",32:"d12eaa7e0a0829789f2d",33:"f0b23dd69cd8df4d2405",34:"35cfc2f64553b24d3d6b",35:"c2accf3d4c6981f6a00f",36:"80a95208011f15226f06",37:"a4391565ec03823fa4ad",38:"6a77bf5ade5eb4e69051",39:"a7707fb27996325fd455",40:"8b30395e010f2bebad13",43:"13848f214bb993c20004"}[e]+".js";var d=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(d);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=o,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var b,d,o,i=0,u=[];i<a.length;i++)d=a[i],f[d]&&u.push(f[d][0]),f[d]=0;for(b in r)Object.prototype.hasOwnProperty.call(r,b)&&(e[b]=r[b]);for(c&&c(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var a={},f={44:0};function n(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=f[e]=[a,n]});c[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"5c78babfc792a9ebba2a",1:"26fc7c6e9b4ccca95f46",2:"c921b784cd9866fc2119",3:"9675edf3a07aab339cae",4:"9e34466fef2ef248ca0c",5:"ff31b00aa273cf73ccca",6:"2a30db3008d356a25668",7:"605434407b819cb4eee7",8:"bd1db87f0f7dbf7f63f1",9:"9ea1a6cc13ca1eaffde0",10:"5ab181a900890bf96b9d",11:"145699dbfd30358854dc",12:"79da425f48d203477382",13:"c34acd28eca3f5688cba",14:"f9ca5521ae28f1a6133c",15:"f1c170ecb1ba3d64a91a",16:"1dfd39be99146e0ffb30",17:"b02da0a0ea84450f769e",18:"a4bd9646fc679c9774bc",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"02ca463f69f7571bd2ec",22:"e9f283fb70f609999dae",23:"8bdcbf73d437071cd6c1",24:"a65971a02be425cfe7d7",25:"ca4f5247b270231f1f0c",26:"24e1c6d1d016facb2bc0",27:"5fedb7ca55c6e210ba23",28:"833c6093425eaeb79525",29:"9436a9efb4180f8f231d",30:"8089ec173e42af49abac",31:"821d1bcbee4a6ebc8462",32:"d12eaa7e0a0829789f2d",33:"f0b23dd69cd8df4d2405",34:"35cfc2f64553b24d3d6b",35:"c2accf3d4c6981f6a00f",36:"80a95208011f15226f06",37:"a4391565ec03823fa4ad",38:"6a77bf5ade5eb4e69051",39:"a7707fb27996325fd455",40:"8b30395e010f2bebad13",43:"13848f214bb993c20004"}[e]+".js";var b=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(b);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.6577a87d2886d1a3d228.js.map //# sourceMappingURL=manifest.03efb5b0085c9520ad72.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap ddfe3f2f70646edb27c7"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","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","36","37","38","39","40","43","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,Y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A+C,WAAAC,EAAA,MAEA,SAAAA,IAEArD,EAAAsD,QAAAtD,EAAAuD,OAAA,KACAC,aAAAnD,GACA,IAAAoD,EAAAjF,EAAAL,GACA,IAAAsF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAvF,EAAA,aAEAK,EAAAL,QAAAwF,GAKA,OAfA3D,EAAAsD,QAAAtD,EAAAuD,OAAAF,EAaAxD,EAAA+D,YAAA5D,GAEAL,GAIAX,EAAA6E,EAAA/E,EAGAE,EAAA8E,EAAA5E,EAGAF,EAAA+E,EAAA,SAAA3E,EAAA4E,EAAAC,GACAjF,EAAAkF,EAAA9E,EAAA4E,IACAtF,OAAAyF,eAAA/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.6577a87d2886d1a3d228.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\t44: 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\":\"873078fdea4842444148\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"c921b784cd9866fc2119\",\"3\":\"9675edf3a07aab339cae\",\"4\":\"9e34466fef2ef248ca0c\",\"5\":\"ff31b00aa273cf73ccca\",\"6\":\"2a30db3008d356a25668\",\"7\":\"5d79b1f23fcd3645f4f0\",\"8\":\"bd1db87f0f7dbf7f63f1\",\"9\":\"9ea1a6cc13ca1eaffde0\",\"10\":\"5ab181a900890bf96b9d\",\"11\":\"145699dbfd30358854dc\",\"12\":\"79da425f48d203477382\",\"13\":\"c34acd28eca3f5688cba\",\"14\":\"f9ca5521ae28f1a6133c\",\"15\":\"f1c170ecb1ba3d64a91a\",\"16\":\"fb041706a9ca68bce7ea\",\"17\":\"b02da0a0ea84450f769e\",\"18\":\"a4bd9646fc679c9774bc\",\"19\":\"39879d07beb4c6b71c52\",\"20\":\"48c7dac836dc8f07b246\",\"21\":\"02ca463f69f7571bd2ec\",\"22\":\"e9f283fb70f609999dae\",\"23\":\"8bdcbf73d437071cd6c1\",\"24\":\"a65971a02be425cfe7d7\",\"25\":\"ca4f5247b270231f1f0c\",\"26\":\"24e1c6d1d016facb2bc0\",\"27\":\"5fedb7ca55c6e210ba23\",\"28\":\"833c6093425eaeb79525\",\"29\":\"9436a9efb4180f8f231d\",\"30\":\"8089ec173e42af49abac\",\"31\":\"821d1bcbee4a6ebc8462\",\"32\":\"d12eaa7e0a0829789f2d\",\"33\":\"f0b23dd69cd8df4d2405\",\"34\":\"35cfc2f64553b24d3d6b\",\"35\":\"c2accf3d4c6981f6a00f\",\"36\":\"80a95208011f15226f06\",\"37\":\"a4391565ec03823fa4ad\",\"38\":\"6a77bf5ade5eb4e69051\",\"39\":\"a7707fb27996325fd455\",\"40\":\"8b30395e010f2bebad13\",\"43\":\"13848f214bb993c20004\"}[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 ddfe3f2f70646edb27c7"],"sourceRoot":""} {"version":3,"sources":["webpack:///webpack/bootstrap 73d4a9a5f77c5016bd42"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","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","36","37","38","39","40","43","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,GA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A,SAAAA,IAEArD,EAAAsD,QAAAtD,EAAAuD,OAAA,KACAC,aAAAnD,GACA,IAAAoD,EAAAjF,EAAAL,GACA,IAAAsF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAvF,EAAA,aAEAK,EAAAL,QAAAwF,GAKA,OAfA3D,EAAAsD,QAAAtD,EAAAuD,OAAAF,EAaAxD,EAAA+D,YAAA5D,GAEAL,GAIAX,EAAA6E,EAAA/E,EAGAE,EAAA8E,EAAA5E,EAGAF,EAAA+E,EAAA,SAAA3E,EAAA4E,EAAAC,GACAjF,EAAAkF,EAAA9E,EAAA4E,IACAtF,OAAAyF,eAAA/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.03efb5b0085c9520ad72.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\t44: 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\":\"5c78babfc792a9ebba2a\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"c921b784cd9866fc2119\",\"3\":\"9675edf3a07aab339cae\",\"4\":\"9e34466fef2ef248ca0c\",\"5\":\"ff31b00aa273cf73ccca\",\"6\":\"2a30db3008d356a25668\",\"7\":\"605434407b819cb4eee7\",\"8\":\"bd1db87f0f7dbf7f63f1\",\"9\":\"9ea1a6cc13ca1eaffde0\",\"10\":\"5ab181a900890bf96b9d\",\"11\":\"145699dbfd30358854dc\",\"12\":\"79da425f48d203477382\",\"13\":\"c34acd28eca3f5688cba\",\"14\":\"f9ca5521ae28f1a6133c\",\"15\":\"f1c170ecb1ba3d64a91a\",\"16\":\"1dfd39be99146e0ffb30\",\"17\":\"b02da0a0ea84450f769e\",\"18\":\"a4bd9646fc679c9774bc\",\"19\":\"39879d07beb4c6b71c52\",\"20\":\"48c7dac836dc8f07b246\",\"21\":\"02ca463f69f7571bd2ec\",\"22\":\"e9f283fb70f609999dae\",\"23\":\"8bdcbf73d437071cd6c1\",\"24\":\"a65971a02be425cfe7d7\",\"25\":\"ca4f5247b270231f1f0c\",\"26\":\"24e1c6d1d016facb2bc0\",\"27\":\"5fedb7ca55c6e210ba23\",\"28\":\"833c6093425eaeb79525\",\"29\":\"9436a9efb4180f8f231d\",\"30\":\"8089ec173e42af49abac\",\"31\":\"821d1bcbee4a6ebc8462\",\"32\":\"d12eaa7e0a0829789f2d\",\"33\":\"f0b23dd69cd8df4d2405\",\"34\":\"35cfc2f64553b24d3d6b\",\"35\":\"c2accf3d4c6981f6a00f\",\"36\":\"80a95208011f15226f06\",\"37\":\"a4391565ec03823fa4ad\",\"38\":\"6a77bf5ade5eb4e69051\",\"39\":\"a7707fb27996325fd455\",\"40\":\"8b30395e010f2bebad13\",\"43\":\"13848f214bb993c20004\"}[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 73d4a9a5f77c5016bd42"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -38,6 +38,33 @@ Vue.axios.defaults.withCredentials = true ;// 跨域cookie访问 ...@@ -38,6 +38,33 @@ Vue.axios.defaults.withCredentials = true ;// 跨域cookie访问
* 路由守护 * 路由守护
*/ */
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
let baseUrl;
let host = window.location.origin;
if (host.indexOf('localhost') != '-1') {
baseUrl = 'http://www.gicdev.com';
}else {
baseUrl = host;
}
if (!localStorage.getItem('userInfo')) {
axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})
.then((res) => {
let resData = res.data;
if (resData.errorCode == 1) {
localStorage.setItem('userInfo',JSON.stringify(resData.result));
return;
}
Message.error({
duration: 1000,
message: resData.message
})
})
.catch(function (error) {
Message.error({
duration: 1000,
message: error.message
})
});
}
if (to.path == '/') { if (to.path == '/') {
next({ path: '/login' }) next({ path: '/login' })
} else { } else {
......
...@@ -1199,25 +1199,21 @@ export default { ...@@ -1199,25 +1199,21 @@ export default {
* 保存---api * 保存---api
*/ */
saveAllData(data) { saveAllData(data) {
const that = this const that = this;
let para = { let para = {
templateContent: JSON.stringify(data) templateContent: JSON.stringify(data)
} }
postRequest('/haoban-manage-web/record/record-template-save.json',para) postRequest('/haoban-manage-web/record/record-template-save.json',para)
.then((res) => { .then((res) => {
// console.log( res.data) let resData = res.data;
var resData = res.data
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
showMsg.showmsg('保存成功','success') showMsg.showmsg('保存成功','success');
// that.changeRoute('/memberCardSet') that.changeRoute('/memberCardSet');
return; return;
} }
errMsg.errorMsg(resData) errMsg.errorMsg(resData);
}) })
.catch(function (error) { .catch(function (error) {
// console.log(error);
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<div class="login-wrap-inner__block" v-if="canSelectFlag"> <div class="login-wrap-inner__block" v-if="canSelectFlag">
<div class="login-wrap-inner__head">选择已有企业</div> <div class="login-wrap-inner__head">选择已有企业</div>
<div class="login-wrap-inner__selectBody"> <div class="login-wrap-inner__selectBody">
<div class="login-wrap-inner__swiper"> <div class="login-wrap-inner__swiper" title="">
<!-- swiper --> <!-- swiper -->
<swiper :options="swiperOption"> <swiper :options="swiperOption">
<!-- <div class="login-wrap-inner__swiperWrap"> --> <!-- <div class="login-wrap-inner__swiperWrap"> -->
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
<div class="img-bg"><img class="swiper-slide__img" :src="item.logoUrl" alt="src" /></div> <div class="img-bg"><img class="swiper-slide__img" :src="item.logoUrl" alt="src" /></div>
<p class="swiper-slide__p">{{item.enterpriseName}}</p> <p class="swiper-slide__p">{{item.enterpriseName}}</p>
</a> </a>
</swiper-slide> </swiper-slide>
<!-- </div> --> <!-- </div> -->
<!-- <div class="swiper-pagination" slot="pagination"></div> --> <!-- <div class="swiper-pagination" slot="pagination"></div> -->
...@@ -127,7 +126,6 @@ export default { ...@@ -127,7 +126,6 @@ export default {
*/ */
collapseTag(val){ collapseTag(val){
const that = this; const that = this;
console.log(val);
that.collapseFlag = val that.collapseFlag = val
}, },
...@@ -136,7 +134,6 @@ export default { ...@@ -136,7 +134,6 @@ export default {
*/ */
selectEnterprise(id) { selectEnterprise(id) {
const that = this; const that = this;
console.log(id)
that.enterpriseId = id; that.enterpriseId = id;
}, },
...@@ -159,7 +156,6 @@ export default { ...@@ -159,7 +156,6 @@ export default {
//foreground: '#ff0' //foreground: '#ff0'
} }
) )
console.log(that.qrcodeCase)
}, },
/** /**
...@@ -169,7 +165,7 @@ export default { ...@@ -169,7 +165,7 @@ export default {
const that = this; const that = this;
document.getElementById("qrcode").innerHTML = ''; document.getElementById("qrcode").innerHTML = '';
that.qrcodeCase.clear(); // 先清除原有的 that.qrcodeCase.clear(); // 先清除原有的
that.getQrcode() that.getQrcode();
that.expiredFlag = false; //隐藏过期遮罩层 that.expiredFlag = false; //隐藏过期遮罩层
}, },
...@@ -200,13 +196,13 @@ export default { ...@@ -200,13 +196,13 @@ export default {
} }
postRequest('/haoban-manage-web/login',para) postRequest('/haoban-manage-web/login',para)
.then((res) => { .then((res) => {
let resData = res.data let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
localStorage.setItem('userInfo',JSON.stringify(resData.result)); localStorage.setItem('userInfo',JSON.stringify(resData.result));
that.$router.push('/index') that.$router.push('/index')
return; return;
} }
errMsg.errorMsg(resData) errMsg.errorMsg(resData);
}) })
.catch(function (error) { .catch(function (error) {
that.$message.error({ that.$message.error({
...@@ -270,7 +266,7 @@ export default { ...@@ -270,7 +266,7 @@ export default {
const that = this; const that = this;
postRequest('/haoban-manage-web/login-qrcode',{}) postRequest('/haoban-manage-web/login-qrcode',{})
.then((res) => { .then((res) => {
var resData = res.data let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.qrcodeNum = resData.result; that.qrcodeNum = resData.result;
that.qrcode(that.qrcodeNum) that.qrcode(that.qrcodeNum)
......
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