Commit 372db4a7 by 无尘

add: 添加成员增加插件

parent 3b7b30f3
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.64c0b59b194a3f3dd6c8acf82f6af0d9.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.a24a7f491c7632b44c13.js></script><script type=text/javascript src=./static/js/vendor.cf10e9899b18d3222cd3.js></script><script type=text/javascript src=./static/js/app.317ff48347b7c2b6188e.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.7797e3d3ae85959abdb91990dc3bd661.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.ab4656f021060e91e4f7.js></script><script type=text/javascript src=./static/js/vendor.dde55690dc883dcd880c.js></script><script type=text/javascript src=./static/js/app.2cde10f4206394a8f2b1.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.
...@@ -32,3 +32,194 @@ ...@@ -32,3 +32,194 @@
}*/ }*/
} }
.store-estrutura-container {
display: flex;
.sf-right-container {
height: 690px;
background: #fff;
flex: 1;
padding: 0 24px;
.sf-right-header {
height: 70px;
line-height: 70px;
font-weight: 400;
font-size: 14px;
color: #606266;
.title-span {
color: #303133;
font-size: 20px;
}
.handle-area {
float: right;
.hurdle {
width:1px;
height:16px;
display: inline-block;
background: #DCDFE6;
margin: 0 10px;
vertical-align: sub;
}
}
}
.tab-div {
margin-bottom: 20px;
}
.sf-right-button-box {
padding: 8px 15px;
background: #EBEEF5;
font-size: 0;
.el-select--small {
width: 120px;
margin-right: 10px;
}
.el-button {
margin-right: 10px;
}
}
.pagination {
margin-top: 30px;
text-align: right;
}
.diy-table {
.diy-header {
display: flex;
.name {
width: 130px;
}
.phone, .position {
width: 125px;
}
.status {
width: 100px;
}
}
.clerk-obj-li {
display: flex;
padding: 10px 0;
margin-bottom: 25px;
line-height: 32px;
&:last-child {
margin-bottom: 0;
}
.clerk-name {
width: 130px;
.manager {
display: inline-block;
width: 30px;
height: 15px;
line-height: 16px;
vertical-align: middle;
text-align: center;
background:rgba(247,203,39,1);
border-radius:2px;
color: #fff;
font-size: 10px;
}
}
.clerk-phone, .clerk-position {
width: 125px;
}
.clerk-status {
width: 100px;
.status-icon {
width: 34px;
height: 32px;
line-height: 32px;
text-align: center;
background: #ECF5FF;
border: 1px solid #D9ECFF;
border-radius: 4px;
&.is-active {
color: #409EFF;
}
}
}
}
}
}
}
.store-info {
flex: 1;
height: 690px;
overflow: auto;
.info-cell {
margin-bottom: 24px;
background: #fff;
padding-bottom: 24px;
>.title {
line-height: 55px;
text-indent: 32px;
border-bottom: 1px solid #E4E7ED;
}
.info-form {
padding: 24px 60px 0;
.el-form-item:last-child {
margin-bottom: 0;
}
.el-input, .el-textarea, .counter {
width: 500px;
&.el-date-editor {
width: 150px;
}
}
.area-container {
.el-select {
width: 163px;
}
.el-input {
width: 160px;
}
}
.img-list {
display: flex;
flex-wrap: wrap;
width: 500px;
.img-li {
width:148px;
height:148px;
border-radius:6px;
margin-right: 12px;
margin-bottom: 10px;
position: relative;
&.J_add-img {
text-align: center;
line-height: 150px;
border:1px solid rgba(192,204,218,1);
font-size: 23px;
color: #909399;
.tip {
position: absolute;
font-size: 13px;
bottom: -23px;
height: 13px;
line-height: 13px;
text-align: center;
width: 100%;
}
}
.J_del-img {
position: absolute;
font-size: 20px;
color: #808995;
top: -10px;
right: -10px;
cursor: pointer;
}
img {
width: 100%;
height: 100%;
border-radius:6px;
}
}
}
}
}
.handle-area {
background:rgba(255,255,255,1);
height: 57px;
line-height: 57px;
text-align: center;
}
}
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([12],{"27o1":function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={name:"add-clerk-page",components:{clerkInfo:n("oncj").a},data:function(){return{}}},o={render:function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"add-clerk-page"},[r("clerk-info")],1)},staticRenderFns:[]};var l=n("VU/8")(t,o,!1,function(e){n("8nhi")},null,null);r.default=l.exports},"8nhi":function(e,r){},ame2:function(e,r){},oncj:function(e,r,n){"use strict";var t={name:"clerk-info-form",props:{clerkInfo:{type:Object,default:function(){return{}}}},data:function(){return{rules:{name:[{required:!0,message:"请输入店员姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(e,r,n){if(!r)return n(new Error("请输入手机号"));return/^1[34578]\d{9}$/.test(r)?void 0:n(new Error("手机号格式不正确"))},trigger:"blur"}],code:[{required:!0,message:"请输入code",trigger:"blur"},{min:2,max:20,message:"长度在 2 到 20 个字符",trigger:"blur"}],positionName:[{required:!0,message:"请输入店员职位",trigger:"blur"}]}}},methods:{save:function(e){this.$refs.clerk_info.validate(function(e){console.log(e,"valid")})}}},o={render:function(){var e=this,r=e.$createElement,n=e._self._c||r;return n("div",{staticClass:"form-container bdr-box"},[n("el-form",{ref:"clerk_info",staticClass:"add-clerk-form",attrs:{model:e.clerkInfo,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"姓名",prop:"name"}},[n("el-input",{model:{value:e.clerkInfo.name,callback:function(r){e.$set(e.clerkInfo,"name",r)},expression:"clerkInfo.name"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"手机号",prop:"phoneNumber"}},[n("el-input",{model:{value:e.clerkInfo.phoneNumber,callback:function(r){e.$set(e.clerkInfo,"phoneNumber",r)},expression:"clerkInfo.phoneNumber"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"门店"}},[n("el-input",{model:{value:e.clerkInfo.storeName,callback:function(r){e.$set(e.clerkInfo,"storeName",r)},expression:"clerkInfo.storeName"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"code",prop:"code"}},[n("el-input",{model:{value:e.clerkInfo.code,callback:function(r){e.$set(e.clerkInfo,"code",r)},expression:"clerkInfo.code"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"职位",prop:"positionName"}},[n("el-input",{model:{value:e.clerkInfo.positionName,callback:function(r){e.$set(e.clerkInfo,"positionName",r)},expression:"clerkInfo.positionName"}})],1)],1),e._v(" "),n("div",{staticClass:"btn-box"},[n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(r){e.save(!0)}}},[e._v("保存并继续添加")]),e._v(" "),n("el-button",[e._v("取消")])],1)],1)},staticRenderFns:[]};var l=n("VU/8")(t,o,!1,function(e){n("ame2")},null,null);r.a=l.exports}});
//# sourceMappingURL=12.3e35015a33afea0a9e23.js.map
\ No newline at end of file
webpackJsonp([12],{"27o1":function(e,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={name:"add-clerk-page",components:{clerkInfo:o("oncj").a},data:function(){return{}}},t={render:function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"add-clerk-page"},[r("clerk-info")],1)},staticRenderFns:[]};var a=o("VU/8")(n,t,!1,function(e){o("8nhi")},null,null);r.default=a.exports},"8nhi":function(e,r){},m1Jk:function(e,r){},oncj:function(e,r,o){"use strict";var n=o("Ie7z"),t=o("P9l9"),a={name:"clerk-info-form",components:{vueSelectStore:n.a},data:function(){return{rules:{name:[{required:!0,message:"请输入店员姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(e,r,o){if(!r)return o(new Error("请输入手机号"));return/^1[34578]\d{9}$/.test(r)?void 0:o(new Error("手机号格式不正确"))},trigger:"blur"}],storeName:[{required:!0,message:"请选择门店",trigger:"blur"}],code:[{required:!0,message:"请输入code",trigger:"blur"},{min:2,max:20,message:"长度在 2 到 20 个字符",trigger:"blur"}],positionName:[{required:!0,message:"请输入店员职位",trigger:"blur"}]},clerkInfo:{storeName:"",storeId:"",managerMode:!1}}},methods:{saveFn:function(e){var r=!0;this.$refs.clerk_info.validate(function(e){e||(r=!1)}),r&&this.addEmployee(this.clerkInfo,e)},callSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.clerkInfo.storeName=e[0].label,this.clerkInfo.storeId=e[0].id},addEmployee:function(e,r){var o=this,n={name:e.name,isClerk:1,phoneNumber:e.phoneNumber,positionName:e.positionName,storeId:e.storeId,managerMode:1*e.managerMode,code:e.code};console.log(e,n),Object(t.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(o.$message.success({message:"操作成功"}),1==r?o.clerkInfo={name:"",isClerk:1,phoneNumber:"",positionName:"",storeId:"",managerMode:!1,code:""}:window.history.go(-1)):o.$message.error({message:e.data.message})}).catch(function(e){o.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}}},l={render:function(){var e=this,r=e.$createElement,o=e._self._c||r;return o("div",{staticClass:"form-container bdr-box"},[o("el-form",{ref:"clerk_info",staticClass:"add-clerk-form",attrs:{model:e.clerkInfo,rules:e.rules,"label-width":"80px"}},[o("el-form-item",{attrs:{label:"姓名",prop:"name"}},[o("el-input",{model:{value:e.clerkInfo.name,callback:function(r){e.$set(e.clerkInfo,"name",r)},expression:"clerkInfo.name"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"手机号",prop:"phoneNumber"}},[o("el-input",{model:{value:e.clerkInfo.phoneNumber,callback:function(r){e.$set(e.clerkInfo,"phoneNumber",r)},expression:"clerkInfo.phoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"门店",prop:"storeName"}},[o("el-input",{on:{focus:e.callSelector},model:{value:e.clerkInfo.storeName,callback:function(r){e.$set(e.clerkInfo,"storeName",r)},expression:"clerkInfo.storeName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"code",prop:"code"}},[o("el-input",{model:{value:e.clerkInfo.code,callback:function(r){e.$set(e.clerkInfo,"code",r)},expression:"clerkInfo.code"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"职位",prop:"positionName"}},[o("el-input",{model:{value:e.clerkInfo.positionName,callback:function(r){e.$set(e.clerkInfo,"positionName",r)},expression:"clerkInfo.positionName"}})],1)],1),e._v(" "),o("div",{staticClass:"btn-box"},[o("el-button",{attrs:{type:"primary"},on:{click:e.saveFn}},[e._v("保存")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(r){e.saveFn(1)}}},[e._v("保存并继续添加")]),e._v(" "),o("el-button",{on:{click:e.cancel}},[e._v("取消")])],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var s=o("VU/8")(a,l,!1,function(e){o("m1Jk")},null,null);r.a=s.exports}});
//# sourceMappingURL=12.6956507aaf7fbb079e1c.js.map
\ No newline at end of file
webpackJsonp([13],{"0OOK":function(t,e){},"6p23":function(t,e){},Xwfy:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),s=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),l=(a("P9l9"),{name:"",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2},permTitle:{type:String}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",ruleForm:{radio:"0",visibleAll:[{id:"1",type:"people",name:"张三",img:"http://thirdwx.qlogo.cn/mmopen/j7nX4OeBsXRNyvh6micCywssVEYCaWiaicUZq5Vn2zWktWLAyRvEAH7icQmUhLze8rrQYpM5ptwZ2RL7cX0icyBbiavhYFNTIZhibKu/0"},{id:"1",type:"store",name:"张三"}],storeVisibleAll:[],storeOwnBrand:[],storeOwnStore:[]}}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(console.log(t),!t)return!1})},500)},mounted:function(){}}),r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"permiss-wrap"},[a("el-form",{attrs:{"label-width":"110px",model:t.ruleForm}},[a("el-form-item",{attrs:{label:t.permTitle+"可见权限"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("可见所有品牌门店架构和行政架构")])],1),t._v(" "),a("div",{staticClass:"permiss-child-cell"},[a("p",[t._v("允许指定部门/人员可见:")])]),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"1"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("可见所在品牌门店架构和行政架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"2"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("门店仅可见所有品牌门店架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"3"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v(" 门店仅可见自己品牌门店架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"4"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("门店仅可见自己门店")])],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保存")])],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(l,r,!1,function(t){a("6p23")},"data-v-fd073cb6",null).exports,n={name:"storePermission",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"门店权限设置",path:""}],activeName:"a",brandList:[{id:"a",name:"A 品牌"},{id:"b",name:"B 品牌"},{id:"c",name:"C 品牌"},{id:"d",name:"D 品牌"}],switchList:{addName:"新增门店成员",addStatus:!1,delName:"删除门店成员",delStatus:!1,modName:"门店信息变更",modStatus:!1}}},computed:{},methods:{handleClick:function(t,e){console.log(t,e)},saveSwitch:function(){console.log(this.switchList)}},mounted:function(){},components:{navCrumb:i.a,setPermiss:o}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"storePermission-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t._l(t.brandList,function(e,i){return[a("el-tab-pane",{attrs:{label:e.name,name:e.id}},[a("set-permiss",{attrs:{permTitle:"店员"}}),t._v(" "),a("set-permiss",{attrs:{permTitle:"店长"}})],1)]})],2),t._v(" "),a("div",{staticClass:"storePermission-wrap-switch m-t-24"},[a("div",{staticClass:"storePermission-switch-title"},[t._v("\n 门店信息变更是否需要审核\n ")]),t._v(" "),a("div",{staticClass:"storePermission-switch-body"},[a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.addName},model:{value:t.switchList.addStatus,callback:function(e){t.$set(t.switchList,"addStatus",e)},expression:"switchList.addStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.delName},model:{value:t.switchList.delStatus,callback:function(e){t.$set(t.switchList,"delStatus",e)},expression:"switchList.delStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.modName},model:{value:t.switchList.modStatus,callback:function(e){t.$set(t.switchList,"modStatus",e)},expression:"switchList.modStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell p-l-94"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSwitch}},[t._v("保存")])],1)])])],1)]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var m=a("VU/8")(n,c,!1,function(t){a("0OOK")},"data-v-ec10556a",null);e.default=m.exports}});
//# sourceMappingURL=13.0ad074de5ec9ba9e3027.js.map
\ No newline at end of file
webpackJsonp([16],{"4N6W":function(t,e){},Xwfy:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),s=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),l=(a("P9l9"),{name:"",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",ruleForm:{radio:"0",visibleAll:[{id:"1",type:"people",name:"张三",img:"http://thirdwx.qlogo.cn/mmopen/j7nX4OeBsXRNyvh6micCywssVEYCaWiaicUZq5Vn2zWktWLAyRvEAH7icQmUhLze8rrQYpM5ptwZ2RL7cX0icyBbiavhYFNTIZhibKu/0"},{id:"1",type:"store",name:"张三"}],storeVisibleAll:[],storeOwnBrand:[],storeOwnStore:[]}}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(console.log(t),!t)return!1})},500)},mounted:function(){}}),r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"permiss-wrap"},[a("el-form",{attrs:{"label-width":"110px",model:t.ruleForm}},[a("el-form-item",{attrs:{label:"店员可见权限"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("可见所有品牌门店架构和行政架构")])],1),t._v(" "),a("div",{staticClass:"permiss-child-cell"},[a("p",[t._v("允许指定部门/人员可见:")])]),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"1"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("可见所在品牌门店架构和行政架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"2"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("门店仅可见所有品牌门店架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"3"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v(" 门店仅可见自己品牌门店架构")])],1),t._v(" "),a("el-form-item",{attrs:{label:" "}},[a("el-radio",{attrs:{label:"4"},model:{value:t.ruleForm.radio,callback:function(e){t.$set(t.ruleForm,"radio",e)},expression:"ruleForm.radio"}},[t._v("门店仅可见自己门店")])],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保存")])],1)],1)],1)},staticRenderFns:[]};var o=a("VU/8")(l,r,!1,function(t){a("4N6W")},"data-v-44d0531d",null).exports,n={name:"storePermission",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"门店权限设置",path:""}],activeName:"a",brandList:[{id:"a",name:"A 品牌"},{id:"b",name:"B 品牌"},{id:"c",name:"C 品牌"},{id:"d",name:"D 品牌"}],switchList:{addName:"新增门店成员",addStatus:!1,delName:"删除门店成员",delStatus:!1,modName:"门店信息变更",modStatus:!1}}},computed:{},methods:{handleClick:function(t,e){console.log(t,e)},saveSwitch:function(){console.log(this.switchList)}},mounted:function(){},components:{navCrumb:i.a,setPermiss:o}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"storePermission-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t._l(t.brandList,function(e,i){return[a("el-tab-pane",{attrs:{label:e.name,name:e.id}},[t._v("\n "+t._s(e.name)+"\n "),a("set-permiss")],1)]})],2),t._v(" "),a("div",{staticClass:"storePermission-wrap-switch m-t-24"},[a("div",{staticClass:"storePermission-switch-title"},[t._v("\n 门店信息变更是否需要审核\n ")]),t._v(" "),a("div",{staticClass:"storePermission-switch-body"},[a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.addName},model:{value:t.switchList.addStatus,callback:function(e){t.$set(t.switchList,"addStatus",e)},expression:"switchList.addStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.delName},model:{value:t.switchList.delStatus,callback:function(e){t.$set(t.switchList,"delStatus",e)},expression:"switchList.delStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell"},[a("el-switch",{attrs:{"inactive-text":t.switchList.modName},model:{value:t.switchList.modStatus,callback:function(e){t.$set(t.switchList,"modStatus",e)},expression:"switchList.modStatus"}})],1),t._v(" "),a("div",{staticClass:"switch-cell p-l-94"},[a("el-button",{attrs:{type:"primary"},on:{click:t.saveSwitch}},[t._v("保存")])],1)])])],1)]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var d=a("VU/8")(n,c,!1,function(t){a("alq2")},"data-v-32112f96",null);e.default=d.exports},alq2:function(t,e){}});
//# sourceMappingURL=16.6058c431e3f901d06525.js.map
\ No newline at end of file
webpackJsonp([15],{"/4Tr":function(t,s){},"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("2X9c"),a=i.n(e),n={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("/4Tr")},"data-v-4bf06e19",null);s.default=c.exports}}); webpackJsonp([16],{"/4Tr":function(t,s){},"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("2X9c"),a=i.n(e),n={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("/4Tr")},"data-v-4bf06e19",null);s.default=c.exports}});
//# sourceMappingURL=15.5e7bf91cd5cac25ecade.js.map //# sourceMappingURL=16.db6227c6cf2c2d48d7c4.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([20],{I9Q3:function(e,t){},mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Ie7z"),r=a("P9l9"),o={name:"store-view-group-info",components:{vueSelectStore:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},disabled:!0,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{handleSelectedList:function(e){var t=e[0];console.log(t),this.departInfo.parentId=t?t.id:"",this.departInfo.parentName=t?t.label:""},callGroupSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var n=e,o={parentId:n.departInfo.parentId,name:n.departInfo.name},s=n.isAddNew?"/haoban-manage-web/dept/insert":"/haoban-manage-web/department/update";Object(r.a)(s,o).then(function(e){console.log(e),1==e.data.errorCode?(n.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(n.departInfo={name:"",parentName:"",parentId:""},n.disabled=!0,n.getGroupData()):window.history.go(-1)):n.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})},getGroupInfo:function(){var e=this,t={groupId:e.$route.query.groupId};Object(r.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){1==t.data.errorCode?e.departInfo={name:t.data.result.name,parentName:t.data.result.chainName,parentId:t.data.result.parentId}:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}},beforeMount:function(){this.isAddNew||this.getGroupInfo()},mounted:function(){this.disabled=!1},watch:{treeData:function(){this.disabled=!1}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell"},[a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"setting-cell"},[a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]),e._v(" "),a("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),a("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var i=a("VU/8")(o,s,!1,function(e){a("I9Q3")},null,null);t.default=i.exports}});
//# sourceMappingURL=20.6629d2bd685aa8db01db.js.map
\ No newline at end of file
webpackJsonp([20],{VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("3Xzz"),l=(a("Mk6G"),a("3E4D"),a("Ch4/")),i=(a("PI0u"),a("P9l9")),n={name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",activeId:1,adminRole:[],roleListData:[{roleParentName:"集团",children:[{roleId:"1",roleName:"超级管理员"},{roleId:"2",roleName:"企业管理员"}]},{roleParentName:"集团",children:[{roleId:"3",roleName:"超级管理员"},{roleId:"4",roleName:"企业管理员"}]}],roleRightObj:{name:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",auth:1},tableData:[{id:1,name:"张三",phone:"13333333333",depart:"技术部"}],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(){this.changeRoute("/addAdminrole?roleId="+this.activeId)},selectRole:function(e){this.activeId=e,this.getRoleUsers()},toAddRole:function(){this.changeRoute("/addAdmin?roleId="+this.activeId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,pageSize:e.pageSize,pageNum:e.currentPage};Object(i.b)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.$message.error({duration:1e3,message:"暂无数据"}),!1);l.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(i.b)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.adminRole=a.result,void(a.result&&a.result.length&&(e.activeId=e.adminRole[0].roleId,e.getRoleUsers()));l.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:o.a}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},[a("div",{staticClass:"text-center"},[a("el-button",{on:{click:function(t){e.changeRoute("/addAdminrole")}}},[e._v("新增管理员角色")])],1),e._v(" "),e._l(e.roleListData,function(t,o){return a("div",{key:o,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head"},[e._v(e._s(t.roleParentName))]),e._v(" "),a("ul",e._l(t.children,function(t,o){return a("li",{key:o,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t.roleId)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])})],2),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between"},[a("span",{staticClass:"font-20 color-303133"},[e._v(e._s(e.roleRightObj.name))]),0==e.roleRightObj.auth?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:e.toRoleDetail}},[e._v("查看权限")]):e._e(),1==e.roleRightObj.auth?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:e.toRoleDetail}},[e._v("编辑权限")]):e._e()]),e._v(" "),a("div",{staticClass:"role-tip m-t-27 m-b-25"},[a("el-alert",{attrs:{title:e.roleRightObj.tip,type:"info",closable:!1,"show-icon":""}})],1),e._v(" "),a("div",{staticClass:"role-add"},[a("el-button",{attrs:{type:"primary"},on:{click:e.toAddRole}},[e._v("添加成员")])],1),e._v(" "),a("div",{staticClass:"role-table "},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"name",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"depart",label:"部门"}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(n,r,!1,function(e){a("tBJT")},"data-v-e5fc6bf0",null);t.default=s.exports},tBJT:function(e,t){}}); webpackJsonp([21],{VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("3Xzz"),l=(a("Mk6G"),a("3E4D"),a("Ch4/")),i=(a("PI0u"),a("P9l9")),n={name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",activeId:1,adminRole:[],roleListData:[{roleParentName:"集团",children:[{roleId:"1",roleName:"超级管理员"},{roleId:"2",roleName:"企业管理员"}]},{roleParentName:"集团",children:[{roleId:"3",roleName:"超级管理员"},{roleId:"4",roleName:"企业管理员"}]}],roleRightObj:{name:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",auth:1},tableData:[{id:1,name:"张三",phone:"13333333333",depart:"技术部"}],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(){this.changeRoute("/addAdminrole?roleId="+this.activeId)},selectRole:function(e){this.activeId=e,this.getRoleUsers()},toAddRole:function(){this.changeRoute("/addAdmin?roleId="+this.activeId)},handleSizeChange:function(e){this.pageSize=e,this.getRoleUsers()},handleCurrentChange:function(e){this.currentPage=e,this.getRoleUsers()},getRoleUsers:function(){var e=this,t={roleId:e.activeId,pageSize:e.pageSize,pageNum:e.currentPage};Object(i.b)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.$message.error({duration:1e3,message:"暂无数据"}),!1);l.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(i.b)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.adminRole=a.result,void(a.result&&a.result.length&&(e.activeId=e.adminRole[0].roleId,e.getRoleUsers()));l.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:o.a}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},[a("div",{staticClass:"text-center"},[a("el-button",{on:{click:function(t){e.changeRoute("/addAdminrole")}}},[e._v("新增管理员角色")])],1),e._v(" "),e._l(e.roleListData,function(t,o){return a("div",{key:o,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head"},[e._v(e._s(t.roleParentName))]),e._v(" "),a("ul",e._l(t.children,function(t,o){return a("li",{key:o,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t.roleId)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])})],2),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between"},[a("span",{staticClass:"font-20 color-303133"},[e._v(e._s(e.roleRightObj.name))]),0==e.roleRightObj.auth?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:e.toRoleDetail}},[e._v("查看权限")]):e._e(),1==e.roleRightObj.auth?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:e.toRoleDetail}},[e._v("编辑权限")]):e._e()]),e._v(" "),a("div",{staticClass:"role-tip m-t-27 m-b-25"},[a("el-alert",{attrs:{title:e.roleRightObj.tip,type:"info",closable:!1,"show-icon":""}})],1),e._v(" "),a("div",{staticClass:"role-add"},[a("el-button",{attrs:{type:"primary"},on:{click:e.toAddRole}},[e._v("添加成员")])],1),e._v(" "),a("div",{staticClass:"role-table "},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"name",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"depart",label:"部门"}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(n,r,!1,function(e){a("tBJT")},"data-v-e5fc6bf0",null);t.default=s.exports},tBJT:function(e,t){}});
//# sourceMappingURL=20.150b78b26829fcbd5305.js.map //# sourceMappingURL=21.4efe66c720c2923ee89d.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([22],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),r=a("MJLE"),n=a.n(r),o={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:""}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new n.a("qrcode",{width:245,height:245,text:e})},getShareBrands:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/get-all-shared-enterprise",{}).then(function(t){console.log(t,"shares"),1==t.data.errorCode?e.shares=t.data.result||[]:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],e.myEnterprise=t.data.result[0].exportEnterpriseName):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){console.log(e)}},beforeMount:function(){this.getShareRelation(),this.getShareBrands(),this.getCode()}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t.importEnterpriseId)}}},[e._v("取消共享")])])])}))])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(e){a("hh5o")},null,null);t.default=c.exports},hh5o:function(e,t){}});
//# sourceMappingURL=22.2c0ad5fe99b18d9bbd5f.js.map
\ No newline at end of file
webpackJsonp([23],{AdJp:function(e,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=n("WSbm"),a=n("P9l9"),l={name:"employeeDetail",components:{employeeInfo:t.a},data:function(){return{info:{},managerMode:!1}},methods:{getEmployInfo:function(){var e=this,o={id:e.$route.query.employeeClerkId};Object(a.a)("/haoban-manage-web/emp/findOne",o).then(function(o){console.log(o,"employeeDetail"),e.info=o.data.result,e.info.managerMode=!!o.data.result.managerMode}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(){var e=this.info,o={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,employeeClerkId:e.employeeClerkId,managerMode:1*e.managerMode};console.log(e,o),Object(a.a)("/haoban-manage-web/emp/update",o).then(function(e){console.log(e,"update result")}).catch(function(e){console.log(e,"error")})}},beforeMount:function(){this.getEmployInfo()}},r={render:function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"employee-detail"},[n("employee-info",{attrs:{info:e.info}}),e._v(" "),n("div",{staticClass:"btn-box"},[n("el-button",{attrs:{type:"primary"},on:{click:e.saveEmployeeInfo}},[e._v("保存")]),e._v(" "),n("el-button",{attrs:{type:"primary"}},[e._v("保存并继续添加")]),e._v(" "),n("el-button",[e._v("取消")])],1)],1)},staticRenderFns:[]};var i=n("VU/8")(l,r,!1,function(e){n("VfAF")},null,null);o.default=i.exports},VfAF:function(e,o){}});
//# sourceMappingURL=23.006e1d4c66f8ed5a7f45.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/employee.vue","webpack:///./src/views/contacts/employee.vue?da4d","webpack:///./src/views/contacts/employee.vue"],"names":["employee","name","components","employeeInfo","data","info","managerMode","methods","getEmployInfo","that","this","params","id","$route","query","employeeClerkId","Object","api","then","res","console","log","result","catch","e","saveEmployeeInfo","phoneNumber","positionName","beforeMount","contacts_employee","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","type","on","click","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kIAaAA,GACAC,KAAA,iBACAC,YACAC,eAAA,GAEAC,KALA,WAMA,OACAC,QACAC,aAAA,IAGAC,SACAC,cADA,WAEA,IAAAC,EAAAC,KACAC,GACAC,GAAAH,EAAAI,OAAAC,MAAAC,iBAEYC,OAAAC,EAAA,EAAAD,CAAZ,iCAAAL,GACAO,KAAA,SAAAC,GACAC,QAAAC,IAAAF,EAAA,kBACAV,EAAAJ,KAAAc,EAAAf,KAAAkB,OACAb,EAAAJ,KAAAC,cAAAa,EAAAf,KAAAkB,OAAAhB,cAEAiB,MAAA,SAAAC,GACAJ,QAAAC,IAAAG,EAAA,YAGAC,iBAhBA,WAiBA,IACApB,EADAK,KACAL,KACAM,GACAV,KAAAI,EAAAJ,KACAyB,YAAArB,EAAAqB,YACAC,aAAAtB,EAAAsB,aACAZ,gBAAAV,EAAAU,gBACAT,YAAA,EAAAD,EAAAC,aAEAc,QAAAC,IAAAhB,EAAAM,GACYK,OAAAC,EAAA,EAAAD,CAAZ,gCAAAL,GACAO,KAAA,SAAAC,GACAC,QAAAC,IAAAF,EAAA,mBAEAI,MAAA,SAAAC,GACAJ,QAAAC,IAAAG,EAAA,aAIAI,YA/CA,WAgDAlB,KAAAF,kBC1DeqB,GADEC,OAFjB,WAA0B,IAAAC,EAAArB,KAAasB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,iBAAsBG,OAAOhC,KAAA0B,EAAA1B,QAAiB0B,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,YAAsBF,EAAA,aAAkBG,OAAOE,KAAA,WAAiBC,IAAKC,MAAAV,EAAAN,oBAA8BM,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAJ,EAAA,aAA6CG,OAAOE,KAAA,aAAkBR,EAAAO,GAAA,aAAAP,EAAAO,GAAA,KAAAJ,EAAA,aAAAH,EAAAO,GAAA,iBAEtWI,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE7C,EACA6B,GATF,EAVA,SAAAiB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/23.006e1d4c66f8ed5a7f45.js","sourcesContent":["<template>\r\n <div class=\"employee-detail\">\r\n <employee-info :info=\"info\"></employee-info>\r\n <div class=\"btn-box\">\r\n <el-button @click=\"saveEmployeeInfo\" type=\"primary\">保存</el-button>\r\n <el-button type=\"primary\">保存并继续添加</el-button>\r\n <el-button>取消</el-button>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport employeeInfo from \"components/contacts/employeeInfo\";\r\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\r\nexport default {\r\n name: \"employeeDetail\",\r\n components: {\r\n employeeInfo\r\n },\r\n data() {\r\n return {\r\n info: {},\r\n managerMode: false\r\n };\r\n },\r\n methods: {\r\n getEmployInfo() {\r\n let that = this;\r\n let params = {\r\n id: that.$route.query.employeeClerkId\r\n };\r\n getRequest(\"/haoban-manage-web/emp/findOne\", params)\r\n .then(res => {\r\n console.log(res, \"employeeDetail\");\r\n that.info = res.data.result;\r\n that.info.managerMode = !!res.data.result.managerMode;\r\n })\r\n .catch(e => {\r\n console.log(e, \"error\");\r\n });\r\n },\r\n saveEmployeeInfo() {\r\n let that = this;\r\n let info = that.info;\r\n let params = {\r\n name: info.name,\r\n phoneNumber: info.phoneNumber,\r\n positionName: info.positionName,\r\n employeeClerkId: info.employeeClerkId,\r\n managerMode: info.managerMode * 1\r\n };\r\n console.log(info, params);\r\n getRequest(\"/haoban-manage-web/emp/update\", params)\r\n .then(res => {\r\n console.log(res, \"update result\");\r\n })\r\n .catch(e => {\r\n console.log(e, \"error\");\r\n });\r\n }\r\n },\r\n beforeMount() {\r\n this.getEmployInfo();\r\n }\r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n.employee-detail {\r\n overflow: auto;\r\n height: 460px;\r\n .btn-box {\r\n width: calc(100% - 200px);\r\n padding: 12px 0;\r\n background: #fff;\r\n position: fixed;\r\n bottom: 0;\r\n right: 0;\r\n text-align: center;\r\n }\r\n}\r\n</style>\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/employee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"employee-detail\"},[_c('employee-info',{attrs:{\"info\":_vm.info}}),_vm._v(\" \"),_c('div',{staticClass:\"btn-box\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveEmployeeInfo}},[_vm._v(\"保存\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"保存并继续添加\")]),_vm._v(\" \"),_c('el-button',[_vm._v(\"取消\")])],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-7b1caa95\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/employee.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-7b1caa95\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employee.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!./employee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7b1caa95\\\",\\\"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!./employee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/employee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([21],{CSjr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fileSet-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"fileSet",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("FV89")},"data-v-b11b7d9a",null);t.default=r.exports},FV89:function(e,t){}}); webpackJsonp([23],{CSjr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fileSet-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"fileSet",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("FV89")},"data-v-b11b7d9a",null);t.default=r.exports},FV89:function(e,t){}});
//# sourceMappingURL=21.e7a45043de1251231fa1.js.map //# sourceMappingURL=23.04fc6fb0fe4f062d2918.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/21.e7a45043de1251231fa1.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""} {"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/23.04fc6fb0fe4f062d2918.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
webpackJsonp([22],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"reviewed",data:function(){return{projectName:"gic-clique",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(o,a,!1,function(e){n("nLwK")},null,null);t.default=i.exports},nLwK:function(e,t){}}); webpackJsonp([24],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"reviewed",data:function(){return{projectName:"gic-clique",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(o,a,!1,function(e){n("nLwK")},null,null);t.default=i.exports},nLwK:function(e,t){}});
//# sourceMappingURL=22.b77da1ae0203574a8bc7.js.map //# sourceMappingURL=24.833cd7c921488b0474a3.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([24],{JsWW:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("P9l9"),n={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{}}},methods:{getCode:function(){var t=this,a={regenerate:t.regenerate};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?t.qrCodeContent=JSON.parse(a.data.result.qrCodeContent):t.$message.error({message:a.data.message})}).catch(function(a){t.$message.error({message:a.message})})},getShareBrands:function(){var t=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{}).then(function(t){console.log(t,"shares")}).catch(function(a){t.$message.error({message:a.message})})}},beforeMount:function(){this.getShareBrands(),this.getCode()}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"share-code-div"},[e("p",{staticClass:"company-name"},[t._v("中国达摩")]),t._v(" "),e("p",{staticClass:"word"},[t._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),t._v(" "),e("p",{staticClass:"time-tip"},[t._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),t._v(" "),e("img",{staticClass:"code-img",attrs:{src:t.qrCodeContent.data}}),t._v(" "),e("div",{staticClass:"btn-area"},[e("el-button",{attrs:{type:"primary"}},[t._v("下载"),e("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),t._v(" "),e("el-button",[t._v("重新生成")])],1),t._v(" "),e("p",{staticClass:"company-name"},[t._v("已建立的共享企业")]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"share-table"},[e("div",{staticClass:"company"},[t._v("达摩克里斯之剑")]),t._v(" "),e("ul",{staticClass:"list"},[e("li",{staticClass:"li"},[e("div",{staticClass:"name"},[t._v("达摩克里斯之剑")]),t._v(" "),e("div",{staticClass:"cancel-btn"},[e("a",{staticClass:"a-href",attrs:{href:""}},[t._v("取消共享")])])]),t._v(" "),e("li",{staticClass:"li"},[e("div",{staticClass:"name"},[t._v("达摩克里斯之剑")]),t._v(" "),e("div",{staticClass:"cancel-btn"},[e("a",{staticClass:"a-href",attrs:{href:""}},[t._v("取消共享")])])]),t._v(" "),e("li",{staticClass:"li"},[e("div",{staticClass:"name"},[t._v("达摩克里斯之剑")]),t._v(" "),e("div",{staticClass:"cancel-btn"},[e("a",{staticClass:"a-href",attrs:{href:""}},[t._v("取消共享")])])])])])}]};var r=e("VU/8")(n,i,!1,function(t){e("plTg")},null,null);a.default=r.exports},plTg:function(t,a){}});
//# sourceMappingURL=24.fab36942fa1404cc67a5.js.map
\ No newline at end of file
webpackJsonp([25],{Rwbg:function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={render:function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"io-container"},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",model:{value:t.type,callback:function(i){t.type=i},expression:"type"}},[a("el-radio-button",{attrs:{label:"import"}},[t._v("导入通讯录")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出/修改通讯录")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),a("div",{staticClass:"handle-area import"},[a("el-steps",{staticStyle:{height:"200px"},attrs:{direction:"vertical",active:2}},[a("el-step",[a("template",{slot:"title"},[a("div",[t._v("\n 下载员工通讯录模板,统一收集员工信息"),a("span",{staticClass:"download-btn"},[t._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})])])]),t._v(" "),a("el-button",{attrs:{type:"primary"}},[t._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})])],2),t._v(" "),a("el-step",[a("template",{slot:"title"},[a("div",[t._v("\n 上传收集完毕的员工信息表\n "),a("div",{staticStyle:{display:"inline-block","vertical-align":"middle"}},[a("span",{staticClass:"download-btn"},[t._v("选择文件")]),t._v(" "),a("p",{staticClass:"warming"},[t._v("文件格式必须为xls或xlsx格式")])])])])],2)],1),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary"}},[t._v("上传")])],1)],1)],1)},staticRenderFns:[function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("ul",{staticClass:"tip-area"},[a("li",{staticClass:"tip"},[t._v("由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"),a("a",{staticClass:"a-href"},[t._v("企业认证")])]),t._v(" "),a("li",{staticClass:"tip"},[t._v("如需更新已存在的员工,可逐个进行修改,或请先导出通讯录,在导出表格里进行修改")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("行政架构通讯录的导入规则和门店架构通讯录的导入规则有些区别,详细请看导入的表格说明")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("姓名必须和好办企业通讯录中的员工姓名保持一致,手机号必须为员工注册好办的手机号")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("员工档案导入时,直接以手机号去做匹配,通讯录中不存在的将无法导入(模板中配置的部门、职位、code,这些字段信息请保持与企业通讯录中一致,这几个字段的信息将不会修改通讯录的信息,直接取该成员对应的通讯录的字段信息)")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("如果想要新增字段,可在后台档案设置中增加,再导入模板")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("字段类型为图片上传、多选的字段无法导入、导出")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("确保导入的表头字段和后台配置表头字段的名称一致(模板下载时间不可修改)")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入")])])}]};var l=a("VU/8")({name:"employee-io",data:function(){return{type:"import"}}},s,!1,function(t){a("dXsr")},null,null);i.default=l.exports},dXsr:function(t,i){}});
//# sourceMappingURL=25.91a26c3fb1886545f153.js.map
\ No newline at end of file
webpackJsonp([25],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"gic-clique",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("5bfn")},null,null);a.default=c.exports},"5bfn":function(t,a){}}); webpackJsonp([26],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"gic-clique",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("5bfn")},null,null);a.default=c.exports},"5bfn":function(t,a){}});
//# sourceMappingURL=25.2b457a4de98cffdb6eeb.js.map //# sourceMappingURL=26.391a12fdf8ee7a127fe9.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([26],{"9kiM":function(e,t){},da9f:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"gic-clique",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var i=o("VU/8")(a,s,!1,function(e){o("9kiM")},"data-v-4a40684e",null);t.default=i.exports}}); webpackJsonp([27],{"9kiM":function(e,t){},da9f:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"gic-clique",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var i=o("VU/8")(a,s,!1,function(e){o("9kiM")},"data-v-4a40684e",null);t.default=i.exports}});
//# sourceMappingURL=26.5e1fbc9266cec8001e3b.js.map //# sourceMappingURL=27.f165e74351dfed61353c.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([28],{"Ld+4":function(e,t){},"h/6A":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o("P9l9"),a={name:"store-info",components:{vueSelectStore:o("Ie7z").a},data:function(){return{storeInfo:{groupChainName:""},areaChainName:"",location:""}},methods:{callSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},handleSelectedList:function(e){console.log(e),this.storeInfo.groupChainName=e[0].label,this.storeInfo.storeGroupId=e[0].id},selected:function(e){console.log(e);this.areaChainName=e.provinceName+"/"+e.cityName+"/"+e.countryName},getStoreInfo:function(){var e=this,t={storeId:e.$route.query.storeId};Object(s.a)("/haoban-manage-web/store/findStoreById",t).then(function(t){1==t.data.errorCode?(e.storeInfo=t.data.result,e.showEmployee="store"):e.$message.error({message:t.data.message})})},uploadOnSuccess:function(){},sortImg:function(){},deleteImage:function(){},save:function(){var e=this,t=e.location.split(",");e.storeInfo.longitude=t[0],e.storeInfo.latitude=2!==t.length?"":t[1],e.storeInfo.postAddress=e.areaOptions.postAddress,e.storeInfo.managerPhone=e.storeInfo.managerPhoneNumber,e.storeInfo.areaChainName=e.areaChainName;var o=e.storeInfo;console.log(o,"params");var a=e.isNew?"/haoban-manage-web/store/add":"/haoban-manage-web/store/update";Object(s.a)(a,o).then(function(t){1==t.data.errorCode?(e.$message.success({message:t.data.message}),window.history.go(-1)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isNew:function(){return!this.$route.query.storeId},areaOptions:function(){var e=(this.storeInfo.areaChainName||"").split("/");return{provinceName:e[0],provinceId:this.provinceId,cityName:e[1],cityId:this.cityId,countryName:e[2],countyId:this.countyId}},imgs:function(){return console.log(this.storeInfo.imageUrl,!!this.storeInfo.imageUrl),this.storeInfo.imageUrl?this.storeInfo.imageUrl.split(","):[]}},beforeMount:function(){this.isNew||this.getStoreInfo()}},r={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"store-info"},[o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("门店信息")]),e._v(" "),o("el-form",{staticClass:"store-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"门店名称",prop:"name"}},[o("el-input",{model:{value:e.storeInfo.storeName,callback:function(t){e.$set(e.storeInfo,"storeName",t)},expression:"storeInfo.storeName"}},[o("template",{slot:"suffix"},[e._v(e._s(e.storeInfo.storeName?e.storeInfo.storeName.length:0)+"/20")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"所属分组",prop:"group"}},[o("el-input",{on:{focus:e.callSelector},model:{value:e.storeInfo.groupChainName,callback:function(t){e.$set(e.storeInfo,"groupChainName",t)},expression:"storeInfo.groupChainName"}},[o("i",{staticClass:"el-input__icon el-icon-arrow-down",attrs:{slot:"suffix"},slot:"suffix"})])],1),e._v(" "),o("el-form-item",{attrs:{label:"门店图片",prop:"imageUrls"}},[o("div",{staticClass:"member-upload-image"},[o("vue-gic-upload-image",{attrs:{projectName:"gic-web",wxFlag:"0",actionUrl:"/haoban-manage-web/upload-img",imageList:e.imgs,limitW:500,limitH:500,maxImageLength:5},on:{uploadOnSuccess:e.uploadOnSuccess,sortImg:e.sortImg,deleteImage:e.deleteImage}})],1)]),e._v(" "),o("el-form-item",{attrs:{label:"联系电话",prop:"phoneNumber"}},[o("el-input",{model:{value:e.storeInfo.phoneNumber,callback:function(t){e.$set(e.storeInfo,"phoneNumber",t)},expression:"storeInfo.phoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"营业时间",prop:"phoneNumber"}},[o("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",step:"00:05",end:"24:00"}},model:{value:e.storeInfo.openTime,callback:function(t){e.$set(e.storeInfo,"openTime",t)},expression:"storeInfo.openTime"}}),e._v("\n ~\n "),o("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",step:"00:05",end:"24:00",minTime:e.storeInfo.openTime}},model:{value:e.storeInfo.closeTime,callback:function(t){e.$set(e.storeInfo,"closeTime",t)},expression:"storeInfo.closeTime"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"门店类型"}},[o("el-radio-group",{model:{value:e.storeInfo.storeType,callback:function(t){e.$set(e.storeInfo,"storeType",t)},expression:"storeInfo.storeType"}},[o("el-radio",{attrs:{label:0}},[e._v("自营")]),e._v(" "),o("el-radio",{attrs:{label:1}},[e._v("联营")]),e._v(" "),o("el-radio",{attrs:{label:2}},[e._v("代理")]),e._v(" "),o("el-radio",{attrs:{label:3}},[e._v("代销")]),e._v(" "),o("el-radio",{attrs:{label:4}},[e._v("托管")])],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"门店地址"}},[o("vue-office-area",{attrs:{areaOptions:e.areaOptions,projectName:"haoban-web",postUrl:"/api-admin/dict-district-list"},on:{selected:e.selected}}),e._v(" "),o("el-input",{model:{value:e.areaOptions.postAddress,callback:function(t){e.$set(e.areaOptions,"postAddress",t)},expression:"areaOptions.postAddress"}},[o("template",{slot:"suffix"},[e._v(e._s((e.areaOptions.postAddress||"").length)+"/50")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"GPS坐标"}},[o("el-input",{staticClass:"m-r-10",model:{value:e.location,callback:function(t){e.location=t},expression:"location"}}),e._v(" "),o("a",{staticClass:"a-href",attrs:{href:"http://m.gpsspg.com/maps.htm",target:"_blank"}},[e._v("经纬度测试工具")])],1),e._v(" "),o("el-form-item",[o("template",{slot:"label"},[e._v("\n 门店代码\n "),o("i",{staticClass:"el-icon-question",staticStyle:{color:"#C0C4CC"}})]),e._v(" "),o("el-input",{model:{value:e.storeInfo.storeCode,callback:function(t){e.$set(e.storeInfo,"storeCode",t)},expression:"storeInfo.storeCode"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.storeCode||"").length)+"/20")])],2)],2)],1)],1),e._v(" "),o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("店长信息")]),e._v(" "),o("el-form",{staticClass:"store-manager-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"店长姓名",prop:"name"}},[o("el-input",{model:{value:e.storeInfo.managerName,callback:function(t){e.$set(e.storeInfo,"managerName",t)},expression:"storeInfo.managerName"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerName||"").length)+"/10")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[o("el-input",{model:{value:e.storeInfo.managerPhoneNumber,callback:function(t){e.$set(e.storeInfo,"managerPhoneNumber",t)},expression:"storeInfo.managerPhoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"店长性别"}},[o("el-radio-group",{model:{value:e.storeInfo.managerSex,callback:function(t){e.$set(e.storeInfo,"managerSex",t)},expression:"storeInfo.managerSex"}},[o("el-radio",{attrs:{label:"1"}},[e._v("男")]),e._v(" "),o("el-radio",{attrs:{label:"2"}},[e._v("女")])],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"店长代码"}},[o("el-input",{model:{value:e.storeInfo.managerCode,callback:function(t){e.$set(e.storeInfo,"managerCode",t)},expression:"storeInfo.managerCode"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerCode||"").length)+"/20")])],2)],1)],1)],1),e._v(" "),o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("经营信息")]),e._v(" "),o("el-form",{staticClass:"operate-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"特色服务"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.specialService,callback:function(t){e.$set(e.storeInfo,"specialService",t)},expression:"storeInfo.specialService"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.specialService||"").length)+"/20")])],1),e._v(" "),o("el-form-item",{attrs:{label:"人均消费"}},[o("el-input",{model:{value:e.storeInfo.personCost,callback:function(t){e.$set(e.storeInfo,"personCost",t)},expression:"storeInfo.personCost"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.personCost+"").length)+"/10")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"推荐商品"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.recommendGoods,callback:function(t){e.$set(e.storeInfo,"recommendGoods",t)},expression:"storeInfo.recommendGoods"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/100")])],1),e._v(" "),o("el-form-item",{attrs:{label:"品牌介绍"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.brandDes,callback:function(t){e.$set(e.storeInfo,"brandDes",t)},expression:"storeInfo.brandDes"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/200")])],1)],1)],1),e._v(" "),o("div",{staticClass:"handle-area"},[o("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)]),e._v(" "),o("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var n=o("VU/8")(a,r,!1,function(e){o("Ld+4")},null,null);t.default=n.exports}});
//# sourceMappingURL=28.205e590d90c109c1d2b2.js.map
\ No newline at end of file
webpackJsonp([29],{"7QvG":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={name:"administrativeFrame",components:{searchMenu:i("ATfr").a},data:function(){return{}},computed:{},methods:{},mounted:function(){}},a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"administrative-wrap"},[e("div",{staticClass:"inline-block administrative-wrap__left common-wrap__left"}),this._v(" "),e("search-menu"),this._v(" "),e("div",{staticClass:"inline-block administrative-wrap__right common-wrap__right"})],1)},staticRenderFns:[]};var r=i("VU/8")(n,a,!1,function(t){i("TZUj")},"data-v-22965699",null);e.default=r.exports},TZUj:function(t,e){}});
//# sourceMappingURL=29.a371dd516213209035ef.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/administrativeFrame1.vue","webpack:///./src/views/contacts/administrativeFrame1.vue?7b44","webpack:///./src/views/contacts/administrativeFrame1.vue"],"names":["administrativeFrame1","name","components","searchMenu","data","computed","methods","mounted","contacts_administrativeFrame1","render","_h","this","$createElement","_c","_self","staticClass","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"4GAaAA,GACAC,KAAA,sBACAC,YACAC,qBAAA,GAEAC,KALA,WAMA,UAIAC,YAGAC,WAGAC,QAhBA,cCVeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,wBAAkCF,EAAA,OAAYE,YAAA,6DAA9HJ,KAAqMK,GAAA,KAAAH,EAAA,eAArMF,KAAqMK,GAAA,KAAAH,EAAA,OAAsDE,YAAA,gEAAyE,IAE7UE,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpB,EACAQ,GATF,EAVA,SAAAa,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/29.a371dd516213209035ef.js","sourcesContent":["<template>\r\n <div class=\"administrative-wrap\">\r\n <div class=\"inline-block administrative-wrap__left common-wrap__left\">\r\n\r\n </div>\r\n <search-menu></search-menu>\r\n <div class=\"inline-block administrative-wrap__right common-wrap__right\">\r\n\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n import searchMenu from \"components/contacts/searchMenu\";\r\n export default {\r\n name: \"administrativeFrame\",\r\n components: {\r\n searchMenu\r\n },\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n };\r\n</script>\r\n<style lang=\"less\" scoped>\r\n .administrative-wrap {\r\n width: 100%;\r\n font-size: 0;\r\n\r\n &__left {\r\n width: 260px;\r\n height: 690px;\r\n vertical-align: top;\r\n font-size: 14px;\r\n background: rgba(238,241,248,1);\r\n border-radius: 2px;\r\n }\r\n\r\n &__right {\r\n width: calc(100% - 260px);\r\n min-height: 690px;\r\n padding: 24px;\r\n vertical-align: top;\r\n font-size: 14px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n }\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/administrativeFrame1.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"administrative-wrap\"},[_c('div',{staticClass:\"inline-block administrative-wrap__left common-wrap__left\"}),_vm._v(\" \"),_c('search-menu'),_vm._v(\" \"),_c('div',{staticClass:\"inline-block administrative-wrap__right common-wrap__right\"})],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-22965699\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/administrativeFrame1.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-22965699\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./administrativeFrame1.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!./administrativeFrame1.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./administrativeFrame1.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-22965699\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./administrativeFrame1.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-22965699\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/administrativeFrame1.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([27],{"5hU4":function(t,e){},VlR1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(a,n,!1,function(t){o("5hU4")},"data-v-4358450c",null);e.default=i.exports}}); webpackJsonp([29],{"5hU4":function(t,e){},VlR1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(a,n,!1,function(t){o("5hU4")},"data-v-4358450c",null);e.default=i.exports}});
//# sourceMappingURL=27.d248c303f517ff8d35ba.js.map //# sourceMappingURL=29.eb5cf13f6a449e408a16.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([28],{PyMm:function(e,t){},TGrv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"unemployee-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"unemployee",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("PyMm")},"data-v-39a5df26",null);t.default=r.exports}}); webpackJsonp([30],{PyMm:function(e,t){},TGrv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"unemployee-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"unemployee",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("PyMm")},"data-v-39a5df26",null);t.default=r.exports}});
//# sourceMappingURL=28.5d9e038c8c6ccec42433.js.map //# sourceMappingURL=30.dc7e0ea2ce04a4103341.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/unemployee.vue","webpack:///./src/views/contacts/unemployee.vue?782e","webpack:///./src/views/contacts/unemployee.vue"],"names":["contacts_unemployee","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"2HAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,qBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,aACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/28.5d9e038c8c6ccec42433.js","sourcesContent":["<template>\r\n <div class=\"unemployee-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"unemployee\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/unemployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"unemployee-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-39a5df26\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/unemployee.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-39a5df26\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./unemployee.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!./unemployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unemployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-39a5df26\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./unemployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-39a5df26\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/unemployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""} {"version":3,"sources":["webpack:///src/views/contacts/unemployee.vue","webpack:///./src/views/contacts/unemployee.vue?782e","webpack:///./src/views/contacts/unemployee.vue"],"names":["contacts_unemployee","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"2HAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,qBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,aACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/30.dc7e0ea2ce04a4103341.js","sourcesContent":["<template>\r\n <div class=\"unemployee-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"unemployee\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/unemployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"unemployee-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-39a5df26\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/unemployee.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-39a5df26\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./unemployee.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!./unemployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./unemployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-39a5df26\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./unemployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-39a5df26\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/unemployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
webpackJsonp([31],{AdJp:function(e,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var a=n("WSbm"),t=n("P9l9"),s={name:"employeeDetail",components:{employeeInfo:a.a},data:function(){return{managerMode:!1}},methods:{save:function(e){var o=this.$refs.emmployInfo.info;console.log(o,"ssss"),this.isNew?this.addEmployee(o,e):this.saveEmployeeInfo(o)},addEmployee:function(e,o){var n=this,a={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};console.log(e,a),Object(t.a)("/haoban-manage-web/emp/add",a).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(n.$message.success({message:"操作成功"}),1==o?n.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):n.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var o=this,n={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,employeeClerkId:o.$route.query.employeeClerkId,managerMode:1*e.managerMode};console.log(e,n),Object(t.a)("/haoban-manage-web/emp/update",n).then(function(e){console.log(e,"update result"),1==e.data.errorCode?o.$message.success({message:"操作成功"}):o.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),o.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},r={render:function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"employee-detail"},[n("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),n("div",{staticClass:"btn-boxs"},[n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),e._v(" "),e.isNew?n("el-button",{attrs:{type:"primary"},on:{click:function(o){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),n("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)],1)},staticRenderFns:[]};var m=n("VU/8")(s,r,!1,function(e){n("PLur")},null,null);o.default=m.exports},PLur:function(e,o){}});
//# sourceMappingURL=31.f556b5b114737326620a.js.map
\ No newline at end of file
webpackJsonp([32],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("4IAe")},null,null);n.default=u.exports},"4IAe":function(e,n){}});
//# sourceMappingURL=32.ac08444493d3f5224184.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?d464","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/32.ac08444493d3f5224184.js","sourcesContent":["<template>\r\n <div></div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"add-employee\" \r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\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-1c75bdd8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.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-1c75bdd8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.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!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"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!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([32],{qBnU:function(e,t){},"rs/A":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("3Xzz"),s=a("c4uw"),r=(a("Mk6G"),a("3E4D")),o=a("Ch4/"),n=a("PI0u"),i=a("P9l9"),c={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"添加成员",path:""}],ruleForm:{roleId:"",name:"企业管理员",peopleList:[{id:"1",name:"张三",img:"http://thirdwx.qlogo.cn/mmopen/j7nX4OeBsXRNyvh6micCywssVEYCaWiaicUZq5Vn2zWktWLAyRvEAH7icQmUhLze8rrQYpM5ptwZ2RL7cX0icyBbiavhYFNTIZhibKu/0"}],departList:[{id:"1",name:"张三张三"},{id:"2",name:"张三张三"},{id:"3",name:"张三张三"}],brandValue:["1","2","3","4"],brandOptions:[{label:"A品牌",value:"1"},{label:"b品牌",value:"2"},{label:"A品牌",value:"3"},{label:"b品牌",value:"4"}]},rules:{},treeSet:{isSelectPerson:!0,dialogVisible:!0,isSingle:!0},treeData:{},defaultSelection:[],defaultParent:[]}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e),!e)return!1;t.postSave(data,clerks)})},500),postSave:function(e,t){var a=this,l={data:e,roleId:a.ruleForm.roleId,clerks:t};Object(i.b)("/haoban-manage-web/save-clerk-role",l).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):r.a.showmsg("操作成功","success")}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},delField:function(e,t,a){this.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(t){t.value;a.splice(e,1)}).catch(function(){})},delDepart:function(e,t){t.splice(e,1)},showDialogLayer:function(){console.log(1)},handleSelectedList:function(e){console.log(e)},getBrandData:function(){var e=this;Object(i.b)("/haoban-manage-web/brand/list",{}).then(function(e){var t=e.data;1!=t.errorCode&&o.a.errorMsg(t)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getBrandData(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId)},components:{navCrumb:l.a,vueSelectEmployee:s.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"companyAddress-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"管理员角色",prop:"name"}},[a("el-input",{staticClass:"w-380",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"选择人员",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-wrap"},[e._l(e.ruleForm.peopleList,function(t,l){return[a("div",{staticClass:"people-cell"},[a("img",{attrs:{src:t.img}}),e._v(" "),a("p",[e._v(e._s(t.name))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),e.delField(l,t,e.ruleForm.peopleList)}}})])]}),e._v(" "),a("div",{staticClass:"people-cell"},[a("span",{staticClass:"add-icon",on:{click:function(t){t.stopPropagation(),e.showDialogLayer("people")}}},[a("i",{staticClass:"el-icon-plus"})])])],2)]),e._v(" "),a("el-form-item",{staticClass:"m-b-0",attrs:{label:"选择管理范围",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",[e._v("行政架构")]),e._v(" "),a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("depart")}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.ruleForm.departList,function(t,l){return[a("span",{key:l,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(l,e.ruleForm.departList)}}})])]})],2)])])]),e._v(" "),a("div",[e._v("门店架构")]),e._v(" "),a("div",{staticClass:"store-item-wrap"},[a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:e.ruleForm.brandValue,callback:function(t){e.$set(e.ruleForm,"brandValue",t)},expression:"ruleForm.brandValue"}},e._l(e.ruleForm.brandOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)])]),e._v(" "),a("el-form-item",{staticClass:"m-t-24"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var d=a("VU/8")(c,u,!1,function(e){a("qBnU")},"data-v-05e05a06",null);t.default=d.exports}});
//# sourceMappingURL=32.cc0d157c4257d56c3a12.js.map
\ No newline at end of file
webpackJsonp([30],{EeHb:function(e,t){},ys9I:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),s=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),l={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"更换超级管理员",path:""}],subNavText:"更换超级管理员,需要先验证当前超级管理员身份",active:0,ruleForm:{name:"11",phone:1334444444,code:""},rules:{name:[{required:!0,message:"请输入当前绑定账号",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},disableBtn:!1,newFormLoad:!1,newRuleForm:{name:""},newRules:{name:[{required:!0,message:"请输入手机号/姓名",trigger:"blur"}]}}},computed:{},methods:{sendCode:Object(s.a)(function(e){this.disableBtn=!0},500),postSendCode:function(){},submitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++>2&&t.active})},500),newSubmitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++})},500),submitFormBack:function(){this.active&&this.active--}},mounted:function(){},components:{navCrumb:r.a}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[a("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),a("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),a("el-step",{attrs:{title:"完成"}})],1),e._v(" "),a("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[a("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[a("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.phone,callback:function(t){e.$set(e.ruleForm,"phone",t)},expression:"ruleForm.phone"}}),a("el-button",{staticClass:"m-l-20 v-align-b",attrs:{type:"primary",disabled:e.disableBtn},on:{click:function(t){e.sendCode(e.ruleForm.phone)}}},[e._v("获取验证码")])],1),e._v(" "),a("el-form-item",{attrs:{label:"验证码",prop:"code"}},[a("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入验证码"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?a("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[a("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[a("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入手机号/姓名"},model:{value:e.newRuleForm.name,callback:function(t){e.$set(e.newRuleForm,"name",t)},expression:"newRuleForm.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?a("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),a("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon-outer"},[t("i",{staticClass:"el-icon-success"})])}]};var i=a("VU/8")(l,n,!1,function(e){a("EeHb")},"data-v-0652fa2b",null);t.default=i.exports}}); webpackJsonp([33],{EeHb:function(e,t){},ys9I:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),s=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u")),l={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"更换超级管理员",path:""}],subNavText:"更换超级管理员,需要先验证当前超级管理员身份",active:0,ruleForm:{name:"11",phone:1334444444,code:""},rules:{name:[{required:!0,message:"请输入当前绑定账号",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},disableBtn:!1,newFormLoad:!1,newRuleForm:{name:""},newRules:{name:[{required:!0,message:"请输入手机号/姓名",trigger:"blur"}]}}},computed:{},methods:{sendCode:Object(s.a)(function(e){this.disableBtn=!0},500),postSendCode:function(){},submitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++>2&&t.active})},500),newSubmitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++})},500),submitFormBack:function(){this.active&&this.active--}},mounted:function(){},components:{navCrumb:r.a}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[a("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),a("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),a("el-step",{attrs:{title:"完成"}})],1),e._v(" "),a("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[a("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[a("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.phone,callback:function(t){e.$set(e.ruleForm,"phone",t)},expression:"ruleForm.phone"}}),a("el-button",{staticClass:"m-l-20 v-align-b",attrs:{type:"primary",disabled:e.disableBtn},on:{click:function(t){e.sendCode(e.ruleForm.phone)}}},[e._v("获取验证码")])],1),e._v(" "),a("el-form-item",{attrs:{label:"验证码",prop:"code"}},[a("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入验证码"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?a("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[a("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[a("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入手机号/姓名"},model:{value:e.newRuleForm.name,callback:function(t){e.$set(e.newRuleForm,"name",t)},expression:"newRuleForm.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?a("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),a("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon-outer"},[t("i",{staticClass:"el-icon-success"})])}]};var i=a("VU/8")(l,n,!1,function(e){a("EeHb")},"data-v-0652fa2b",null);t.default=i.exports}});
//# sourceMappingURL=30.8cc42f4db73475194be9.js.map //# sourceMappingURL=33.cc83480adad875888455.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([31],{SKyE:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),n=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),o=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(t,r,a){e.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),s={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("h2",[e._v("企业地址设置")]),e._v(" "),r("p",{staticClass:"m-t-24"},[e._v("开启后手机端通讯录将显示,反之则不显示")]),e._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:e.ruleForm.switch,callback:function(t){e.$set(e.ruleForm,"switch",t)},expression:"ruleForm.switch"}})],1),e._v(" "),r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(o,s,!1,function(e){r("t65T")},"data-v-0630a336",null);t.default=l.exports},t65T:function(e,t){}}); webpackJsonp([34],{SKyE:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),n=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),o=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(t,r,a){e.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),s={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("h2",[e._v("企业地址设置")]),e._v(" "),r("p",{staticClass:"m-t-24"},[e._v("开启后手机端通讯录将显示,反之则不显示")]),e._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:e.ruleForm.switch,callback:function(t){e.$set(e.ruleForm,"switch",t)},expression:"ruleForm.switch"}})],1),e._v(" "),r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(o,s,!1,function(e){r("t65T")},"data-v-0630a336",null);t.default=l.exports},t65T:function(e,t){}});
//# sourceMappingURL=31.33792490132f8d659f1b.js.map //# sourceMappingURL=34.ed0ccf8391c05738bd40.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([35],{HPfM:function(e,t){},"rs/A":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3Xzz"),r=a("c4uw"),l=(a("Mk6G"),a("3E4D")),o=a("Ch4/"),n=a("PI0u"),i=a("P9l9"),c={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"添加成员",path:""}],ruleForm:{roleId:"",name:"企业管理员",peopleList:[],departList:[],brandValue:[],brandOptions:[]},rules:{},treeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!1},treeData:{},defaultSelection:[],onlyPerson:!1,selectType:""}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e),!e)return!1;t.postSave(data,clerks)})},500),postSave:function(e,t){var a=this,s={data:e,roleId:a.ruleForm.roleId,clerks:t};Object(i.b)("/haoban-manage-web/save-clerk-role",s).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):l.a.showmsg("操作成功","success")}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},delField:function(e,t,a){this.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(t){t.value;a.splice(e,1)}).catch(function(){})},delDepart:function(e,t){t.splice(e,1)},showDialogLayer:function(e,t){console.log(e,t),this.selectType=e,this.defaultSelection=t,this.onlyPerson="people"===e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0},this.getDepartData()},handleSelectedList:function(e){console.log(e);"people"===this.selectType?this.ruleForm.peopleList=e:this.ruleForm.departList=e},getDepartData:function(){var e=this;Object(i.b)("/haoban-manage-web/dept/deptListForCompany",{}).then(function(t){var a=t.data;if(1!=a.errorCode)o.a.errorMsg(a);else if(a.result){var s=[],r=[];1==t.data.errorCode&&(s=t.data.result.departmentList||[],r=t.data.result.searchList||[]),e.treeData={treeData:s,personData:r}}else e.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getBrandData:function(){var e=this;Object(i.b)("/haoban-manage-web/brand/list",{}).then(function(t){var a=t.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&a.result.length?e.ruleForm.brandOptions=a.result:e.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getBrandData(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId)},components:{navCrumb:s.a,vueSelectEmployee:r.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"companyAddress-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"管理员角色",prop:"name"}},[a("el-input",{staticClass:"w-380",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"选择人员",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-wrap"},[e._l(e.ruleForm.peopleList,function(t,s){return[a("div",{staticClass:"people-cell"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",[e._v(e._s(t.name))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),e.delField(s,t,e.ruleForm.peopleList)}}})])]}),e._v(" "),a("div",{staticClass:"people-cell"},[a("span",{staticClass:"add-icon",on:{click:function(t){t.stopPropagation(),e.showDialogLayer("people",e.ruleForm.peopleList)}}},[a("i",{staticClass:"el-icon-plus"})])])],2)]),e._v(" "),a("el-form-item",{staticClass:"m-b-0",attrs:{label:"选择管理范围",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",[e._v("行政架构")]),e._v(" "),a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("depart",e.ruleForm.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.ruleForm.departList,function(t,s){return[a("span",{key:s,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(s,e.ruleForm.departList)}}})])]})],2)])])]),e._v(" "),a("div",[e._v("门店架构")]),e._v(" "),a("div",{staticClass:"store-item-wrap"},[a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:e.ruleForm.brandValue,callback:function(t){e.$set(e.ruleForm,"brandValue",t)},expression:"ruleForm.brandValue"}},e._l(e.ruleForm.brandOptions,function(e){return a("el-option",{key:e.brandId,attrs:{label:e.name,value:e.brandId}})}))],1)])]),e._v(" "),a("el-form-item",{staticClass:"m-t-24"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData,onlyPerson:e.onlyPerson},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var d=a("VU/8")(c,u,!1,function(e){a("HPfM")},"data-v-00df45b5",null);t.default=d.exports}});
//# sourceMappingURL=35.b2f518a04806eb3eefbb.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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([37],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("//Fk"),a=n.n(o),r=n("7+uW"),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("6jtR")},null,null).exports,c=n("/ocq"),u=n("5tgt"),p=n.n(u);r.default.use(c.a);var m=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var d,l=[{path:"/login",name:"登录",component:p()("login","index")},{path:"/index",name:"index",component:p()("index","index")},{path:"/contacts",name:"通讯录",component:p()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:p()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:p()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:p()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:p()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:p()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:p()("contacts","addGroup")},{path:"/storeInfo",name:"编辑门店",component:p()("contacts","storeInfo")},{path:"/employee",name:"在职员工",component:p()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:p()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:p()("contacts","fileSet")},{path:"/shareContact",name:"共享通讯录",component:p()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录",component:p()("contacts","shareCode")}]},{path:"/enterpriseApp",name:"企业应用",component:p()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:p()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:p()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:p()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",component:p()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:p()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:p()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:p()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:p()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:p()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:p()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:p()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:p()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:p()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:m},{path:"/404",name:"error404",component:m},{path:"/500",name:"error500",component:m},{path:"*",redirect:"/404",hidden:!0}],f=new c.a({routes:l,scrollBehavior:function(){return{y:0}}}),v=n("zL8q"),h=n.n(v),g=n("Rf8U"),C=n.n(g),w=n("mtWM"),y=n.n(w),A=n("bOdI"),x=n.n(A),k=n("NYxO");r.default.use(k.a);var R=new k.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(d={},x()(d,"login",function(e,t){sessionStorage.token=t,e.token=t}),x()(d,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),x()(d,"title",function(e,t){e.title=t}),x()(d,"show",function(e,t){e.show=t}),d)}),I=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),S=n.n(I),j=n("tyqE"),F=n.n(j),P=n("pRVe"),O=n.n(P),T=n("SE7k"),q=n.n(T),D=n("XsK6"),z=n.n(D),E=n("/mr8"),X=n.n(E);r.default.use(z.a),r.default.use(X.a),r.default.use(q.a),r.default.use(O.a),r.default.use(F.a),r.default.use(S.a),r.default.config.productionTip=!1,r.default.use(h.a,{size:"large"}),r.default.use(C.a,y.a),r.default.axios.defaults.withCredentials=!0,r.default.axios.interceptors.request.use(function(e){return e},function(e){return console.log("requesterr"+e),a.a.reject(e)}),r.default.axios.interceptors.response.use(function(e){return console.log("main:",e),200==e.status&&1==e.data.errorCode&&console.log("main:",e),e},function(e){if(console.log(e),e.response)switch(e.response.status){case 401:case 500:v.Message.error("服务器500")}return a.a.reject(e.response.data)}),f.beforeEach(function(e,t,n){"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:i},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,12],"./contacts/addDepartment.vue":["HHRu",0,9],"./contacts/addEmployee.vue":["00Sv",32],"./contacts/addGroup.vue":["mPjx",0,20],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,31],"./contacts/employeeIo.vue":["Rwbg",25],"./contacts/fileSet.vue":["CSjr",23],"./contacts/index.vue":["41Rh",0,26],"./contacts/shareAddDepartment.vue":["q5Ri",0,8],"./contacts/shareCode.vue":["JsWW",0,22],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,6],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,28],"./contacts/unemployee.vue":["TGrv",30],"./enterpriseApp/index.vue":["da9f",27],"./errorPage/403.vue":["6XGN",15],"./errorPage/404.vue":["AejC",19],"./errorPage/500.vue":["FskK",16],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,18],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",24],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,11],"./setting/addAdmin.vue":["rs/A",0,35],"./setting/addAdminRole.vue":["fZsz",0,14],"./setting/companyAddress.vue":["SKyE",0,34],"./setting/companyCertify.vue":["3zYh",0,17],"./setting/index.vue":["VlR1",29],"./setting/replaceAdmin.vue":["ys9I",0,33],"./setting/setChildAdmin.vue":["VqB7",0,21],"./setting/staffDetails.vue":["Zyzf",0,4],"./setting/storePermission.vue":["Xwfy",0,13]};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.2cde10f4206394a8f2b1.js.map
\ No newline at end of file
webpackJsonp([34],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("//Fk"),o=n.n(a),r=n("7+uW"),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("6jtR")},null,null).exports,c=n("/ocq"),u=n("5tgt"),m=n.n(u);r.default.use(c.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 d,l=[{path:"/login",name:"登录",component:m()("login","index")},{path:"/index",name:"index",component:m()("index","index")},{path:"/contacts",name:"通讯录",component:m()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:m()("contacts","administrativeFrame")},{path:"/addDepartment",name:"添加部门",component:m()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:m()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:m()("contacts","storeFrame")},{path:"/employee",name:"在职员工",component:m()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:m()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:m()("contacts","fileSet")},{path:"/shareContact",name:"共享通讯录",component:m()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录",component:m()("contacts","shareCode")}]},{path:"/enterpriseApp",name:"企业应用",component:m()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",component:m()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:m()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:m()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",component:m()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:m()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:m()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:m()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:m()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:m()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:m()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:m()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:m()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:m()("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 c.a({routes:l,scrollBehavior:function(){return{y:0}}}),v=n("zL8q"),h=n.n(v),g=n("Rf8U"),C=n.n(g),w=n("mtWM"),y=n.n(w),A=n("bOdI"),x=n.n(A),k=n("NYxO");r.default.use(k.a);var R=new k.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(d={},x()(d,"login",function(e,t){sessionStorage.token=t,e.token=t}),x()(d,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),x()(d,"title",function(e,t){e.title=t}),x()(d,"show",function(e,t){e.show=t}),d)}),F=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),S=n.n(F),j=n("tyqE"),O=n.n(j),P=n("pRVe"),T=n.n(P),q=n("SE7k"),D=n.n(q),z=n("XsK6"),X=n.n(z),E=n("/mr8"),I=n.n(E);r.default.use(X.a),r.default.use(I.a),r.default.use(D.a),r.default.use(T.a),r.default.use(O.a),r.default.use(S.a),r.default.config.productionTip=!1,r.default.use(h.a,{size:"large"}),r.default.use(C.a,y.a),r.default.axios.defaults.withCredentials=!0,r.default.axios.interceptors.request.use(function(e){return e},function(e){return console.log("requesterr"+e),o.a.reject(e)}),r.default.axios.interceptors.response.use(function(e){return console.log("main:",e),200==e.status&&1==e.data.errorCode&&console.log("main:",e),e},function(e){if(console.log(e),e.response)switch(e.response.status){case 401:case 500:v.Message.error("服务器500")}return o.a.reject(e.response.data)}),f.beforeEach(function(e,t,n){"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:i},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",12],"./contacts/addDepartment.vue":["HHRu",0,9],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/administrativeFrame1.vue":["7QvG",0,29],"./contacts/employee.vue":["AdJp",0,23],"./contacts/fileSet.vue":["CSjr",21],"./contacts/index.vue":["41Rh",0,25],"./contacts/shareAddDepartment.vue":["q5Ri",0,8],"./contacts/shareCode.vue":["JsWW",0,24],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,6],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/unemployee.vue":["TGrv",28],"./enterpriseApp/index.vue":["da9f",26],"./errorPage/403.vue":["6XGN",14],"./errorPage/404.vue":["AejC",19],"./errorPage/500.vue":["FskK",15],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,18],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",22],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,11],"./setting/addAdmin.vue":["rs/A",0,32],"./setting/addAdminRole.vue":["fZsz",0,13],"./setting/companyAddress.vue":["SKyE",0,31],"./setting/companyCertify.vue":["3zYh",0,17],"./setting/index.vue":["VlR1",27],"./setting/replaceAdmin.vue":["ys9I",0,30],"./setting/setChildAdmin.vue":["VqB7",0,20],"./setting/staffDetails.vue":["Zyzf",0,4],"./setting/storePermission.vue":["Xwfy",0,16]};function o(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.317ff48347b7c2b6188e.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],n[d]&&u.push(n[d][0]),n[d]=0;for(o in f)Object.prototype.hasOwnProperty.call(f,o)&&(e[o]=f[o]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=r(r.s=t[i]);return b};var a={},n={35:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"86de71bdbee37a140899",1:"26fc7c6e9b4ccca95f46",2:"c450e469965792aa9d50",3:"a8dbc660f7e53b7ff169",4:"a9fe5bbba54e3a8f7eed",5:"ab32ce1d9319910a2150",6:"6c55462575317c6e7233",7:"b056002d4b0b422be491",8:"9c4dd759c252c2169185",9:"94a00b7a6fca780a5c17",10:"6f5c31a2b7aac33db795",11:"4cb90a5ae4766f99290b",12:"3e35015a33afea0a9e23",13:"63c53e4404e798df3f26",14:"ff5f6ae890efff6757f8",15:"5e7bf91cd5cac25ecade",16:"6058c431e3f901d06525",17:"96fcd0e27b3ce80b6bf5",18:"5d434a27df9a6807455c",19:"d7cf58cba6fd69a6a4a3",20:"150b78b26829fcbd5305",21:"e7a45043de1251231fa1",22:"b77da1ae0203574a8bc7",23:"006e1d4c66f8ed5a7f45",24:"fab36942fa1404cc67a5",25:"2b457a4de98cffdb6eeb",26:"5e1fbc9266cec8001e3b",27:"d248c303f517ff8d35ba",28:"5d9e038c8c6ccec42433",29:"a371dd516213209035ef",30:"8cc42f4db73475194be9",31:"33792490132f8d659f1b",32:"cc0d157c4257d56c3a12"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=d,f.appendChild(t),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.a24a7f491c7632b44c13.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 4d15c38364ef79a4ceee"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","35","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","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EACAJ,EAAAK,QAAA,KAEArB,EAAAsB,IACAN,EAAAO,aAAA,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAAk5BvE,GAAA,MAC19B,IAAAkC,EAAAsC,WAAAC,EAAA,MAEA,SAAAA,IAEA5C,EAAA6C,QAAA7C,EAAA8C,OAAA,KACAC,aAAA1C,GACA,IAAA2C,EAAAxE,EAAAL,GACA,IAAA6E,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAA9E,EAAA,aAEAK,EAAAL,QAAA+E,GAKA,OAfAlD,EAAA6C,QAAA7C,EAAA8C,OAAAF,EAaA/C,EAAAsD,YAAAnD,GAEAL,GAIAX,EAAAoE,EAAAtE,EAGAE,EAAAqE,EAAAnE,EAGAF,EAAAsE,EAAA,SAAAlE,EAAAmE,EAAAC,GACAxE,EAAAyE,EAAArE,EAAAmE,IACA7E,OAAAgF,eAAAtE,EAAAmE,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAxE,EAAA8E,EAAA,SAAAzE,GACA,IAAAmE,EAAAnE,KAAA0E,WACA,WAA2B,OAAA1E,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAsE,EAAAE,EAAA,IAAAA,GACAA,GAIAxE,EAAAyE,EAAA,SAAAO,EAAAC,GAAsD,OAAAvF,OAAAC,UAAAC,eAAAC,KAAAmF,EAAAC,IAGtDjF,EAAAyB,EAAA,KAGAzB,EAAAkF,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.a24a7f491c7632b44c13.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\t35: 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\":\"86de71bdbee37a140899\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"c450e469965792aa9d50\",\"3\":\"a8dbc660f7e53b7ff169\",\"4\":\"a9fe5bbba54e3a8f7eed\",\"5\":\"ab32ce1d9319910a2150\",\"6\":\"6c55462575317c6e7233\",\"7\":\"b056002d4b0b422be491\",\"8\":\"9c4dd759c252c2169185\",\"9\":\"94a00b7a6fca780a5c17\",\"10\":\"6f5c31a2b7aac33db795\",\"11\":\"4cb90a5ae4766f99290b\",\"12\":\"3e35015a33afea0a9e23\",\"13\":\"63c53e4404e798df3f26\",\"14\":\"ff5f6ae890efff6757f8\",\"15\":\"5e7bf91cd5cac25ecade\",\"16\":\"6058c431e3f901d06525\",\"17\":\"96fcd0e27b3ce80b6bf5\",\"18\":\"5d434a27df9a6807455c\",\"19\":\"d7cf58cba6fd69a6a4a3\",\"20\":\"150b78b26829fcbd5305\",\"21\":\"e7a45043de1251231fa1\",\"22\":\"b77da1ae0203574a8bc7\",\"23\":\"006e1d4c66f8ed5a7f45\",\"24\":\"fab36942fa1404cc67a5\",\"25\":\"2b457a4de98cffdb6eeb\",\"26\":\"5e1fbc9266cec8001e3b\",\"27\":\"d248c303f517ff8d35ba\",\"28\":\"5d9e038c8c6ccec42433\",\"29\":\"a371dd516213209035ef\",\"30\":\"8cc42f4db73475194be9\",\"31\":\"33792490132f8d659f1b\",\"32\":\"cc0d157c4257d56c3a12\"}[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 4d15c38364ef79a4ceee"],"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={38: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:"5410575f5b1060ed7715",1:"26fc7c6e9b4ccca95f46",2:"045022c6632ea7bad9f0",3:"445ae2d8fc6be6327841",4:"a9fe5bbba54e3a8f7eed",5:"256cfca78e969a1747b6",6:"349804be1153df746920",7:"30049819e23ed5f356ff",8:"9c4dd759c252c2169185",9:"94a00b7a6fca780a5c17",10:"6f5c31a2b7aac33db795",11:"4cb90a5ae4766f99290b",12:"6956507aaf7fbb079e1c",13:"0ad074de5ec9ba9e3027",14:"757c412d8dfb5a4b0ebd",15:"e5dfd86e41100dd837e6",16:"db6227c6cf2c2d48d7c4",17:"96fcd0e27b3ce80b6bf5",18:"5d434a27df9a6807455c",19:"d7cf58cba6fd69a6a4a3",20:"6629d2bd685aa8db01db",21:"4efe66c720c2923ee89d",22:"2c0ad5fe99b18d9bbd5f",23:"04fc6fb0fe4f062d2918",24:"833cd7c921488b0474a3",25:"91a26c3fb1886545f153",26:"391a12fdf8ee7a127fe9",27:"f165e74351dfed61353c",28:"205e590d90c109c1d2b2",29:"eb5cf13f6a449e408a16",30:"dc7e0ea2ce04a4103341",31:"f556b5b114737326620a",32:"ac08444493d3f5224184",33:"cc83480adad875888455",34:"ed0ccf8391c05738bd40",35:"b2f518a04806eb3eefbb"}[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}}([]);
//# sourceMappingURL=manifest.ab4656f021060e91e4f7.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap cd5a8b45858298150b54"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","38","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","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EACAJ,EAAAK,QAAA,KAEArB,EAAAsB,IACAN,EAAAO,aAAA,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAAs+B1E,GAAA,MAC9iC,IAAAkC,EAAAyC,WAAAC,EAAA,MAEA,SAAAA,IAEA/C,EAAAgD,QAAAhD,EAAAiD,OAAA,KACAC,aAAA7C,GACA,IAAA8C,EAAA3E,EAAAL,GACA,IAAAgF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAjF,EAAA,aAEAK,EAAAL,QAAAkF,GAKA,OAfArD,EAAAgD,QAAAhD,EAAAiD,OAAAF,EAaAlD,EAAAyD,YAAAtD,GAEAL,GAIAX,EAAAuE,EAAAzE,EAGAE,EAAAwE,EAAAtE,EAGAF,EAAAyE,EAAA,SAAArE,EAAAsE,EAAAC,GACA3E,EAAA4E,EAAAxE,EAAAsE,IACAhF,OAAAmF,eAAAzE,EAAAsE,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA3E,EAAAiF,EAAA,SAAA5E,GACA,IAAAsE,EAAAtE,KAAA6E,WACA,WAA2B,OAAA7E,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAyE,EAAAE,EAAA,IAAAA,GACAA,GAIA3E,EAAA4E,EAAA,SAAAO,EAAAC,GAAsD,OAAA1F,OAAAC,UAAAC,eAAAC,KAAAsF,EAAAC,IAGtDpF,EAAAyB,EAAA,KAGAzB,EAAAqF,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.ab4656f021060e91e4f7.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\t38: 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\":\"5410575f5b1060ed7715\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"045022c6632ea7bad9f0\",\"3\":\"445ae2d8fc6be6327841\",\"4\":\"a9fe5bbba54e3a8f7eed\",\"5\":\"256cfca78e969a1747b6\",\"6\":\"349804be1153df746920\",\"7\":\"30049819e23ed5f356ff\",\"8\":\"9c4dd759c252c2169185\",\"9\":\"94a00b7a6fca780a5c17\",\"10\":\"6f5c31a2b7aac33db795\",\"11\":\"4cb90a5ae4766f99290b\",\"12\":\"6956507aaf7fbb079e1c\",\"13\":\"0ad074de5ec9ba9e3027\",\"14\":\"757c412d8dfb5a4b0ebd\",\"15\":\"e5dfd86e41100dd837e6\",\"16\":\"db6227c6cf2c2d48d7c4\",\"17\":\"96fcd0e27b3ce80b6bf5\",\"18\":\"5d434a27df9a6807455c\",\"19\":\"d7cf58cba6fd69a6a4a3\",\"20\":\"6629d2bd685aa8db01db\",\"21\":\"4efe66c720c2923ee89d\",\"22\":\"2c0ad5fe99b18d9bbd5f\",\"23\":\"04fc6fb0fe4f062d2918\",\"24\":\"833cd7c921488b0474a3\",\"25\":\"91a26c3fb1886545f153\",\"26\":\"391a12fdf8ee7a127fe9\",\"27\":\"f165e74351dfed61353c\",\"28\":\"205e590d90c109c1d2b2\",\"29\":\"eb5cf13f6a449e408a16\",\"30\":\"dc7e0ea2ce04a4103341\",\"31\":\"f556b5b114737326620a\",\"32\":\"ac08444493d3f5224184\",\"33\":\"cc83480adad875888455\",\"34\":\"ed0ccf8391c05738bd40\",\"35\":\"b2f518a04806eb3eefbb\"}[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 cd5a8b45858298150b54"],"sourceRoot":""}
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<template> <template>
<div class="permiss-wrap"> <div class="permiss-wrap">
<el-form label-width="110px" :model="ruleForm"> <el-form label-width="110px" :model="ruleForm">
<el-form-item label="店员可见权限"> <el-form-item :label="permTitle+'可见权限'">
<el-radio v-model="ruleForm.radio" label="0">可见所有品牌门店架构和行政架构</el-radio> <el-radio v-model="ruleForm.radio" label="0">可见所有品牌门店架构和行政架构</el-radio>
</el-form-item> </el-form-item>
<div class="permiss-child-cell"> <div class="permiss-child-cell">
...@@ -50,6 +50,9 @@ export default { ...@@ -50,6 +50,9 @@ export default {
uploadLimit: { uploadLimit: {
type: Number, type: Number,
default: 2 default: 2
},
permTitle: {
type: String
} }
}, },
......
...@@ -116,6 +116,7 @@ export const constantRouterMap = [ ...@@ -116,6 +116,7 @@ export const constantRouterMap = [
// 审核中心 // 审核中心
path: '/reviewCenter', path: '/reviewCenter',
name: '审核中心', name: '审核中心',
redirect: 'unreview',
component: _import('reviewCenter','index'), component: _import('reviewCenter','index'),
children: [ children: [
{ {
......
...@@ -1265,11 +1265,15 @@ export default { ...@@ -1265,11 +1265,15 @@ export default {
document.getElementById("qrcode").innerHTML = ''; document.getElementById("qrcode").innerHTML = '';
that.qrcodeCase.clear(); // 先清除原有的 that.qrcodeCase.clear(); // 先清除原有的
} }
let qrObj = {
type: 'record',
data: text
}
that.qrcodeCase = new QRCode('qrcode', that.qrcodeCase = new QRCode('qrcode',
{ {
width: 210, width: 210,
height: 210, // 高度 height: 210, // 高度
text: text, // 二维码内容 // text: JSON.stringify(qrObj), // 二维码内容 //
//render: 'canvas', // 设置渲染方式(有两种方式 table和canvas,默认是canvas) // //render: 'canvas', // 设置渲染方式(有两种方式 table和canvas,默认是canvas) //
//background: '#f0f', //background: '#f0f',
//foreground: '#ff0' //foreground: '#ff0'
......
...@@ -165,11 +165,15 @@ export default { ...@@ -165,11 +165,15 @@ export default {
*/ */
qrcode (text) { qrcode (text) {
const that = this; const that = this;
let qrObj = {
type: 'web-login',
data: text
}
that.qrcodeCase = new QRCode('qrcode', that.qrcodeCase = new QRCode('qrcode',
{ {
width: 210, width: 210,
height: 210, // 高度 height: 210, // 高度
text: text, // 二维码内容 // text: JSON.stringify(qrObj), // 二维码内容 //
//render: 'canvas', // 设置渲染方式(有两种方式 table和canvas,默认是canvas) // //render: 'canvas', // 设置渲染方式(有两种方式 table和canvas,默认是canvas) //
//background: '#f0f', //background: '#f0f',
//foreground: '#ff0' //foreground: '#ff0'
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
<div class="flex w-380 flex-wrap"> <div class="flex w-380 flex-wrap">
<template v-for="(item,index) in ruleForm.peopleList"> <template v-for="(item,index) in ruleForm.peopleList">
<div class="people-cell"> <div class="people-cell">
<img :src="item.img"/> <img :src="item.headPic"/>
<p>{{item.name}}</p> <p>{{item.name}}</p>
<i class="el-icon-circle-close" @click.stop="delField(index,item,ruleForm.peopleList)"></i> <i class="el-icon-circle-close" @click.stop="delField(index,item,ruleForm.peopleList)"></i>
</div> </div>
</template> </template>
<div class="people-cell"> <div class="people-cell">
<span class="add-icon" @click.stop="showDialogLayer('people')"><i class="el-icon-plus"></i></span> <span class="add-icon" @click.stop="showDialogLayer('people',ruleForm.peopleList)"><i class="el-icon-plus"></i></span>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<el-button class="el-tag m-l-8 depart-cell" @click.stop="showDialogLayer('depart')"><i class="el-icon-plus"></i>添加字段</el-button> --> <el-button class="el-tag m-l-8 depart-cell" @click.stop="showDialogLayer('depart')"><i class="el-icon-plus"></i>添加字段</el-button> -->
<div>行政架构</div> <div>行政架构</div>
<div class="depart-item-wrap"> <div class="depart-item-wrap">
<div class="el-select el-select--large depart-item-content" @click="showDialogLayer('depart')"> <div class="el-select el-select--large depart-item-content" @click="showDialogLayer('depart',ruleForm.departList)">
<div class="el-select__tags" style="max-width: 181px;"> <div class="el-select__tags" style="max-width: 181px;">
<span> <span>
<template v-for="(item,index) in ruleForm.departList"> <template v-for="(item,index) in ruleForm.departList">
...@@ -47,9 +47,9 @@ ...@@ -47,9 +47,9 @@
<el-select v-model="ruleForm.brandValue" multiple placeholder="请选择"> <el-select v-model="ruleForm.brandValue" multiple placeholder="请选择">
<el-option <el-option
v-for="item in ruleForm.brandOptions" v-for="item in ruleForm.brandOptions"
:key="item.value" :key="item.brandId"
:label="item.label" :label="item.name"
:value="item.value"> :value="item.brandId">
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
:defaultSelection="defaultSelection" :defaultSelection="defaultSelection"
:treeSet="treeSet" :treeSet="treeSet"
:treeData="treeData" :treeData="treeData"
:onlyPerson="onlyPerson"
@handleSelectedList="handleSelectedList"> @handleSelectedList="handleSelectedList">
</vue-select-employee> </vue-select-employee>
...@@ -111,44 +112,32 @@ export default { ...@@ -111,44 +112,32 @@ export default {
roleId: '', roleId: '',
name: '企业管理员', name: '企业管理员',
peopleList: [ peopleList: [
{ // {
id: '1', // id: '1',
name: '张三', // name: '张三',
img: 'http://thirdwx.qlogo.cn/mmopen/j7nX4OeBsXRNyvh6micCywssVEYCaWiaicUZq5Vn2zWktWLAyRvEAH7icQmUhLze8rrQYpM5ptwZ2RL7cX0icyBbiavhYFNTIZhibKu/0' // headPic: 'http://thirdwx.qlogo.cn/mmopen/j7nX4OeBsXRNyvh6micCywssVEYCaWiaicUZq5Vn2zWktWLAyRvEAH7icQmUhLze8rrQYpM5ptwZ2RL7cX0icyBbiavhYFNTIZhibKu/0'
} // }
], ],
departList: [ departList: [
{ // {
id: '1', // id: '1',
name: '张三张三', // name: '张三张三',
}, // },
{ // {
id: '2', // id: '2',
name: '张三张三', // name: '张三张三',
}, // },
{ // {
id: '3', // id: '3',
name: '张三张三', // name: '张三张三',
} // }
], ],
brandValue: ['1','2','3','4'], brandValue: [],
brandOptions: [ brandOptions: [
{ // {
label: 'A品牌', // name: 'A品牌',
value: '1', // brandId: '1',
}, // }
{
label: 'b品牌',
value: '2',
},
{
label: 'A品牌',
value: '3',
},
{
label: 'b品牌',
value: '4',
}
] ]
}, },
rules: { rules: {
...@@ -156,14 +145,15 @@ export default { ...@@ -156,14 +145,15 @@ export default {
}, },
treeSet: { treeSet: {
isSelectPerson: true, isSelectPerson: true, // 控制只能选部门(false)
dialogVisible: true, dialogVisible: false, // 控制显示/隐藏
isSingle: true // 是否单选 isSingle: false // 是否单选
}, },
treeData: {}, treeData: {},
defaultSelection: [], defaultSelection: [],
defaultParent: [], onlyPerson: false, // 控制只能选人(true)
selectType: '',
} }
}, },
computed: { computed: {
...@@ -253,17 +243,84 @@ export default { ...@@ -253,17 +243,84 @@ export default {
/** /**
* 弹窗显示事件 * 弹窗显示事件
*/ */
showDialogLayer() { showDialogLayer(type,selData) {
const that = this; const that = this;
console.log(1) console.log(type,selData)
that.selectType = type;
that.defaultSelection = selData;
if (type==='people') {
that.onlyPerson = true;
}else {
that.onlyPerson = false;
}
that.treeSet = {
dialogVisible: true,
isSingle: false,
isSelectPerson: true
};
that.getDepartData();
}, },
/** /**
* 处理已选部门 * 处理已选部门
*/ */
handleSelectedList(group) { handleSelectedList(group) {
console.log(group); console.log(group);
const that = this;
if (that.selectType === 'people') {
that.ruleForm.peopleList = group
}else {
that.ruleForm.departList = group
}
},
/**
* 获取行政架构
*/
getDepartData() {
const that = this;
postRequest('/haoban-manage-web/dept/deptListForCompany',{})
.then((res) => {
// console.log(res,res.data,res.data.errorCode)
let resData = res.data;
if (resData.errorCode == 1) {
// showMsg.showmsg('操作成功','success')
if (!!resData.result) {
let treeData = [];
let personData = [];
if (res.data.errorCode == 1) {
treeData = res.data.result.departmentList || [];
personData = res.data.result.searchList || []
}
// _this.formatGroupData(treeData, personData);
that.treeData = {
treeData,
personData
};
}else {
that.$message.error({
duration: 1000,
message: '暂无数据'
})
}
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
}, },
/** /**
...@@ -277,7 +334,14 @@ export default { ...@@ -277,7 +334,14 @@ export default {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
// showMsg.showmsg('操作成功','success') // showMsg.showmsg('操作成功','success')
if (!!resData.result && !!resData.result.length ) {
that.ruleForm.brandOptions = resData.result
}else {
that.$message.error({
duration: 1000,
message: '暂无数据'
})
}
return; return;
} }
......
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