Commit 29a8b1b7 by 无尘

update: 增加档案设置,调整通讯录结构

parent ab88b6af
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.d1dca825694e173c62d5231be1913da1.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.acf19b0332b38fb00e86.js></script><script type=text/javascript src=./static/js/vendor.35639e772416750dd7a5.js></script><script type=text/javascript src=./static/js/app.86bb00ad6e42b0614996.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.84ed4201ef67b7b875d3fb7b6d848424.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.c5d296c68d60b4d9ae02.js></script><script type=text/javascript src=./static/js/vendor.35639e772416750dd7a5.js></script><script type=text/javascript src=./static/js/app.0dde66fabafcdaae8003.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([14],{"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}}); webpackJsonp([15],{"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=14.1d74f7b247e8dd6ac194.js.map //# sourceMappingURL=15.e041c7ed9f836ff33a5d.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([19],{"/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([20],{"/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=19.fa30b19f8f6b906ab779.js.map //# sourceMappingURL=20.48c7dac836dc8f07b246.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([22],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("dqqc")},"data-v-12e12bd8",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},dqqc:function(t,s){}}); webpackJsonp([23],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("dqqc")},"data-v-12e12bd8",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},dqqc:function(t,s){}});
//# sourceMappingURL=22.6ebc92617843d8ddce0c.js.map //# sourceMappingURL=23.9f05cfc644dbcf58019a.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([24],{a7r0:function(e,t){},ys9I:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),l={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{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:a.a}},n={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[r("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),r("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),r("el-step",{attrs:{title:"完成"}})],1),e._v(" "),r("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[r("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(" "),r("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[r("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"}}),r("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(" "),r("el-form-item",{attrs:{label:"验证码",prop:"code"}},[r("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(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?r("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[r("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[r("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(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?r("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),r("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),r("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=r("VU/8")(l,n,!1,function(e){r("a7r0")},"data-v-e5b4489c",null);t.default=i.exports}});
//# sourceMappingURL=24.4cc402fc9009b4b3cd81.js.map
\ No newline at end of file
webpackJsonp([25],{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?s="/haoban-manage-web/dept/insert":(s="/haoban-manage-web/dept/update",o.groupId=n.$route.query.groupId),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("q+Iv")},null,null);t.default=i.exports},"q+Iv":function(e,t){}});
//# sourceMappingURL=25.351724ad5518f05ac68f.js.map
\ No newline at end of file
webpackJsonp([26],{DN0r:function(e,t){},da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var r=a("VU/8")(o,n,!1,function(e){a("DN0r")},"data-v-dce5fb1e",null);t.default=r.exports}}); webpackJsonp([25],{DN0r:function(e,t){},da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var r=a("VU/8")(o,n,!1,function(e){a("DN0r")},"data-v-dce5fb1e",null);t.default=r.exports}});
//# sourceMappingURL=26.3d02babfbfcf434aa4c5.js.map //# sourceMappingURL=25.3742aa0753861ce59d60.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([27],{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){}}); webpackJsonp([26],{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=27.51cc41904df7fcc441d9.js.map //# sourceMappingURL=26.21ec2065edd3463975f6.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([29],{VlR1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t,e)},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(a,n,!1,function(t){o("pjfd")},"data-v-b349d546",null);e.default=i.exports},pjfd:function(t,e){}}); webpackJsonp([28],{VlR1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t,e)},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(a,n,!1,function(t){o("pjfd")},"data-v-b349d546",null);e.default=i.exports},pjfd:function(t,e){}});
//# sourceMappingURL=29.27d15ec897475c04bd87.js.map //# sourceMappingURL=28.c31c41a5f488b74b6785.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([32],{"+lem":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"review-wrap"},[o("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(n,a,!1,function(e){o("Me48")},null,null);t.default=i.exports},Me48:function(e,t){}}); webpackJsonp([29],{"+lem":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"review-wrap"},[o("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(n,a,!1,function(e){o("Me48")},null,null);t.default=i.exports},Me48:function(e,t){}});
//# sourceMappingURL=32.9bd76de11c54651a4c4b.js.map //# sourceMappingURL=29.8e693baab289794d6d09.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([30],{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=30.06ae86a2d4e1c71bf6cb.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/30.06ae86a2d4e1c71bf6cb.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([31],{jUng:function(e,t){},mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),r=a("Ie7z"),o=a("P9l9"),s={name:"store-view-group-info",components:{navCrumb:n.a,vueSelectStore:r.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame"},{name:"添加子分组",path:""}],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,r={parentId:n.departInfo.parentId,name:n.departInfo.name},s="";n.isAddNew?s="/haoban-manage-web/dept/insert":(s="/haoban-manage-web/dept/update",r.groupId=n.$route.query.groupId),Object(o.a)(s,r).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(o.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}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"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)])])],1)},staticRenderFns:[]};var d=a("VU/8")(s,i,!1,function(e){a("jUng")},null,null);t.default=d.exports}});
//# sourceMappingURL=31.a3340ec2c1772ae0f3a6.js.map
\ No newline at end of file
webpackJsonp([32],{"1ixH":function(t,e){},"41Rh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"contact",components:{topNav:a("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag}}),this._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("1ixH")},null,null);e.default=s.exports}});
//# sourceMappingURL=32.44bd8a79ad00531bc588.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/index.vue","webpack:///./src/views/contacts/index.vue?e34c","webpack:///./src/views/contacts/index.vue"],"names":["contacts","name","components","topNav","data","projectName","collapseFlag","navpath","path","methods","toRouterView","val","console","log","this","$router","push","collapseTag","mounted","computed","views_contacts","render","_h","$createElement","_c","_self","staticClass","attrs","on","_v","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"mIAqBAA,GACAC,KAAA,UACAC,YACAC,iBAAA,GAEAC,KALA,WAMA,OACAC,YAAA,oBACAC,cAAA,EAEAC,UAEAN,KAAA,KACAO,KAAA,MAGAP,KAAA,MACAO,KAAA,KAGAP,KAAA,UAGAA,KAAA,WAKAQ,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAR,KAAAG,EAAAH,QAKAS,YAjBA,SAiBAN,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAO,QAnDA,aAsDAC,aCxEeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbR,KAAaS,eAA0BC,EAAvCV,KAAuCW,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOtB,YAA5IS,KAA4IT,aAA8BuB,IAAKX,YAA/KH,KAA+KG,YAAAP,aAA/KI,KAA+KJ,gBAA/KI,KAA8Oe,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,oBAAyBM,IAAA,YAAAH,OAAuBtB,YAAvVS,KAAuVT,YAAAC,aAAvVQ,KAAuVR,gBAAvVQ,KAAsZe,GAAA,KAAAL,EAAA,OAAwBE,YAAA,wBAAkCF,EAAA,OAAYE,YAAA,8BAAwCF,EAAA,cAAmBG,OAAO1B,KAAA,OAAA8B,KAAA,YAA+BP,EAAA,kCAEtkBQ,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEnC,EACAoB,GATF,EAVA,SAAAgB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/32.44bd8a79ad00531bc588.js","sourcesContent":["<template>\n <div class=\"contact-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"contact-wrap__body\">\n <!-- 公共左侧菜单插件 -->\n <vue-office-aside ref=\"leftMenus\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n <!-- 右侧 body -->\n <div class=\"contact-wrap__right\">\n <!-- <topNav :navpath=\"navpath\"></topNav> -->\n <div class=\"contact-wrap__right__body\">\n <transition name=\"fade\" mode=\"out-in\">\n <router-view></router-view>\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport topNav from 'components/nav/nav'\nexport default {\n name: \"contact\",\n components: {\n topNav\n },\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n // 面包屑导航数据\n navpath: [\n {\n name: '首页',\n path: '/'\n },\n {\n name: '通讯录',\n path: ''\n },\n {\n name: \"企业通讯录\"\n },\n {\n name: \"行政架构\"\n }\n ],\n }\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n\n },\n computed: {\n\n }\n}\n\n</script>\n<style lang=\"less\">\n .contact-wrap {\n position: relative;\n\n &__body {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n overflow: hidden;\n padding-top: 64px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow: auto;\n min-width: 1400px;\n background: #f5f7fa;\n }\n\n &__right {\n -ms-flex: 1;\n flex: 1;\n overflow: auto;\n width: 100%;\n\n &__body {\n /*padding: 24px;*/\n height: 100%;\n\n .right-content {\n padding: 24px;\n }\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__body\"},[_c('vue-office-aside',{ref:\"leftMenus\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right\"},[_c('div',{staticClass:\"contact-wrap__right__body\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-50666794\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-50666794\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-50666794\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([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")),s=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index"},{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}}),o={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")(s,o,!1,function(e){r("VtMa")},"data-v-3972aa67",null);t.default=l.exports},VtMa:function(e,t){}}); webpackJsonp([33],{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")),s=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index"},{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}}),o={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")(s,o,!1,function(e){r("VtMa")},"data-v-3972aa67",null);t.default=l.exports},VtMa:function(e,t){}});
//# sourceMappingURL=34.4b949992aa6a3b031bd0.js.map //# sourceMappingURL=33.0b559179e18233d8440b.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([34],{QrP4:function(e,t){},ys9I:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{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--},getCurrentUser:function(){var e=JSON.parse(localStorage.getItem("userInfo"));this.ruleForm.phone=e.phoneNumber}},mounted:function(){this.getCurrentUser()},components:{navCrumb:a.a}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[r("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),r("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),r("el-step",{attrs:{title:"完成"}})],1),e._v(" "),r("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[r("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(" "),r("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[r("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"}}),r("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(" "),r("el-form-item",{attrs:{label:"验证码",prop:"code"}},[r("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(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?r("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[r("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[r("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(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?r("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),r("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),r("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 o=r("VU/8")(n,l,!1,function(e){r("QrP4")},"data-v-37dd3e60",null);t.default=o.exports}});
//# sourceMappingURL=34.c0e612cc5246c5643213.js.map
\ No newline at end of file
webpackJsonp([35],{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=35.4f7bf495704756dd4367.js.map
\ No newline at end of file
webpackJsonp([38],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("gRxx")},null,null);a.default=c.exports},gRxx:function(t,a){}});
//# sourceMappingURL=38.a7a3bf825e2b928d65bf.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/index.vue","webpack:///./src/views/contacts/index.vue?fb97","webpack:///./src/views/contacts/index.vue"],"names":["contacts","name","components","topNav","data","projectName","collapseFlag","navpath","path","methods","toRouterView","val","console","log","this","$router","push","collapseTag","mounted","computed","views_contacts","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"4GAqBAA,GACAC,KAAA,UACAC,YACAC,iBAAA,GAEAC,KALA,WAMA,OACAC,YAAA,oBACAC,cAAA,EAEAC,UAEAN,KAAA,KACAO,KAAA,MAGAP,KAAA,MACAO,KAAA,KAGAP,KAAA,UAGAA,KAAA,WAKAQ,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAR,KAAAG,EAAAH,QAKAS,YAjBA,SAiBAN,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAO,QAnDA,aAsDAC,aCxEeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAR,KAAaS,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOvB,YAAAiB,EAAAjB,aAA8BwB,IAAKZ,YAAAK,EAAAL,YAAAP,aAAAY,EAAAZ,gBAA+DY,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,oBAAyBM,IAAA,YAAAH,OAAuBvB,YAAAiB,EAAAjB,YAAAC,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,wBAAkCF,EAAA,UAAeG,OAAOrB,QAAAe,EAAAf,WAAuBe,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,8BAAwCF,EAAA,cAAmBG,OAAO3B,KAAA,OAAA+B,KAAA,YAA+BP,EAAA,oCAE/nBQ,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpC,EACAoB,GATF,EAVA,SAAAiB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/38.a7a3bf825e2b928d65bf.js","sourcesContent":["<template>\n <div class=\"contact-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"contact-wrap__body\">\n <!-- 公共左侧菜单插件 -->\n <vue-office-aside ref=\"leftMenus\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n <!-- 右侧 body -->\n <div class=\"contact-wrap__right\">\n <topNav :navpath=\"navpath\"></topNav>\n <div class=\"contact-wrap__right__body\">\n <transition name=\"fade\" mode=\"out-in\">\n <router-view></router-view>\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport topNav from 'components/nav/nav'\nexport default {\n name: \"contact\",\n components: {\n topNav\n },\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n // 面包屑导航数据\n navpath: [\n {\n name: '首页',\n path: '/'\n },\n {\n name: '通讯录',\n path: ''\n },\n {\n name: \"企业通讯录\"\n },\n {\n name: \"行政架构\"\n }\n ],\n }\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n\n },\n computed: {\n\n }\n}\n\n</script>\n<style lang=\"less\">\n .contact-wrap {\n position: relative;\n\n &__body {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n overflow: hidden;\n padding-top: 64px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow: auto;\n min-width: 1400px;\n background: #f5f7fa;\n }\n\n &__right {\n -ms-flex: 1;\n flex: 1;\n overflow: auto;\n width: 100%;\n\n &__body {\n padding: 24px;\n\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__body\"},[_c('vue-office-aside',{ref:\"leftMenus\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right\"},[_c('topNav',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right__body\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-0a45e2c2\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0a45e2c2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0a45e2c2\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([38],{AdJp:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=n("3Xzz"),t=n("WSbm"),s=n("P9l9"),r={name:"employeeDetail",components:{navCrumb:o.a,employeeInfo:t.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"在职员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;console.log(a,"ssss"),this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var n=this,o={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};console.log(e,o),Object(s.a)("/haoban-manage-web/emp/add",o).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(n.$message.success({message:"操作成功"}),1==a?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 a=this,n={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};console.log(e,n),Object(s.a)("/haoban-manage-web/emp/update",n).then(function(e){console.log(e,"update result"),1==e.data.errorCode?a.$message.success({message:"操作成功"}):a.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),a.$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}}},m={render:function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"common-set-wrap"},[n("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[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(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),n("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(r,m,!1,function(e){n("xGFK")},null,null);a.default=i.exports},xGFK:function(e,a){}});
//# sourceMappingURL=38.d06fbe32a82e78baa8fd.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.
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