Commit 750e63d9 by 无尘

update: 更新设置

parent 0f58bd57
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.f04cfb86fcb409da810d12bd16b83f3a.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.836cc8935ba84a47d2d1.js></script><script type=text/javascript src=./static/js/vendor.7bc7944cf0eee932433b.js></script><script type=text/javascript src=./static/js/app.fd798dae49c438d21c2e.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.bc1ed1e05d4f19178855f4a20b8641d3.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.ef3e894ec2da639a1044.js></script><script type=text/javascript src=./static/js/vendor.cf10e9899b18d3222cd3.js></script><script type=text/javascript src=./static/js/app.c7f9791f0ae1a8534b7f.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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([10],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},Bb8h:function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(console.log(t),!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("Bb8h")},"data-v-72608135",null);e.default=u.exports},IyOB:function(t,e){},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),i=n.getMonth()+1,l=n.getDate();return s+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(n,s,!1,function(t){a("IyOB")},"data-v-17b2eb2d",null);e.a=i.exports}});
//# sourceMappingURL=10.6f5c31a2b7aac33db795.js.map
\ No newline at end of file
webpackJsonp([10],{"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=10.140397a466fe9e24c029.js.map
\ No newline at end of file
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([13],{"/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=13.ea914025f2f420709f17.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}});
//# sourceMappingURL=15.5e7bf91cd5cac25ecade.js.map
\ No newline at end of file
webpackJsonp([16],{"3zYh":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=r("l46T"),i=r("//Fk"),l=r.n(i),s=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=r("PI0u"),u=(r("P9l9"),{name:"single-upload",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return console.log("当前host:",e),t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage-web/upload-img",console.log(this.upUrl),this.upUrl},handleAvatarSuccess:function(e,t,r){console.log("上传成功回调:",e,r),0==e.errorCode?this.$emit("update:imgSrc",e.result[0].qcloudImageUrl):s.a.errorMsg(e)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type||"image/gif"===e.type||"image/bmg"===e.type,r=e.size/1024/1024<this.uploadLimit;return t||this.$message.error("上传头像图片只能是 JPG 格式!"),r||this.$message.error("上传头像图片大小不能超过 "+this.uploadLimit+"MB!"),t&&r&&new l.a(function(t,r){var a=new FileReader;a.onload=function(e){var r=new Image;r.onload=function(){var e=this.width,r=this.height;console.log(e,r),t()},r.src=e.target.result,console.log("上传成功:",e.target.result)},a.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}},mounted:function(){}}),m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"single-upload-wrap"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?r("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):r("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),"businessCard"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("上传营业执照复印件加盖公章,手写“仅用于好办认证”字样;照片搜索信息要求清晰可见,内容真实有效,不得做任何修改;支持jpp、jpeg、bmg、gif、png格式,大小不超过8M。")]):e._e(),e._v(" "),"idPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),"authPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("点击可以"),r("a",{staticClass:"color-1890ff",attrs:{href:"#/"}},[e._v("下载授权书")]),e._v("模板,支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),r("vue-gic-img-preview",{attrs:{imgUrl:e.imgUrl,imgShowFlag:e.imgShowFlag},on:{hideImage:e.hideImage}})],1)},staticRenderFns:[]};var c=r("VU/8")(u,m,!1,function(e){r("jUj7")},"data-v-0c127da0",null).exports,d={name:"companyCertify",data:function(){return{projectName:"",postUrl:"/api-admin/dict-district-list",navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{name:"",region:"",addressDetail:"",registNum:"",cardType:"0",qcloudImageUrl:"",idPhoto:"",authPhoto:"",status:0},rules:{name:[{required:!0,message:"请输入企业名称",trigger:"blur"}],addressDetail:[{required:!0,message:"请输入详细地址",trigger:"blur"}],registNum:[{required:!0,message:"请输入营业执照注册号",trigger:"blur"}],region:[{required:!0,message:"请选择地区",trigger:"blur"}],cardType:[{required:!0,message:"请选择证件类型",trigger:"blur"}],qcloudImageUrl:[{required:!0,message:"请上传营业执照",trigger:"blur"}],idPhoto:[{required:!0,message:"请上传照片",trigger:"blur"}],authPhoto:[{required:!0,message:"请上传授权书",trigger:"blur"}]},areaOptions:{provinceName:"",provinceId:"",cityName:"",cityId:"",countryName:"",countyId:""},upUrl:"upload-img",baseUrl:""}},computed:{},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e,this.upUrl=this.baseUrl+"/api-plug/upload-img?wxFlag=1"},methods:{selected:function(e){console.log(e);e.country?(this.ruleForm.region=e,console.log(e.areaId),this.ruleForm.areaId=e.areaId):this.ruleForm.region=""},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm),!e)return!1})},500),postSave:function(){},submitReview:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postReview:function(){}},mounted:function(){},components:{navCrumb:a.a,limitInput:o.a,singleUpload:c}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyCertify-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"企业名称",prop:"name"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入企业名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"city-area",attrs:{label:"所在地区",prop:"region"}},[r("vue-office-area",{attrs:{projectName:e.projectName,postUrl:e.postUrl,areaOptions:e.areaOptions},on:{selected:e.selected}})],1),e._v(" "),r("el-form-item",{attrs:{label:"详细地址",prop:"addressDetail"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.addressDetail,holder:"请输入详细地址",maxLength:40},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"addressDetail",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"营业执照注册号",prop:"registNum"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.registNum,holder:"请输入营业执照注册号",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"registNum",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"证件类型",prop:"cardType"}},[r("div",[r("el-radio",{attrs:{label:"0"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("多证合一营业执照(原“注册号”字样,调整为18位的“统一社会信用代码”)")])],1),e._v(" "),r("div",[r("el-radio",{attrs:{label:"1"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("普通营业执照(仍然标识为15位的“注册号”)")])],1)]),e._v(" "),r("el-form-item",{attrs:{label:"营业执照",prop:"qcloudImageUrl"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.qcloudImageUrl,uploadLimit:8,field:"businessCard"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"qcloudImageUrl",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手持证件照片",prop:"idPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.idPhoto,field:"idPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"idPhoto",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"授权书",prop:"authPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.authPhoto,field:"authPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"authPhoto",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"status-item",attrs:{label:"状态",prop:"status"}},[0==e.ruleForm.status?r("el-tag",{attrs:{type:"danger"}},[r("i",{staticClass:"el-icon-error"}),e._v("审核失败")]):e._e(),e._v(" "),1==e.ruleForm.status?r("el-tag",{attrs:{type:"success"}},[r("i",{staticClass:"el-icon-success"}),e._v("审核成功")]):e._e(),e._v(" "),2==e.ruleForm.status?r("el-tag",[r("i",{}),e._v("审核中")]):e._e()],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitReview("ruleForm")}}},[e._v("提交审核")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var g=r("VU/8")(d,p,!1,function(e){r("hZUM")},"data-v-78c744e0",null);t.default=g.exports},hZUM:function(e,t){},jUj7:function(e,t){}});
//# sourceMappingURL=16.541a671ae6f34f7e9a28.js.map
\ No newline at end of file
webpackJsonp([17],{JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("//Fk"),s=a.n(o),n=a("mvHQ"),i=a.n(n),c=a("P9l9"),r=(a("3E4D"),a("Ch4/")),l={name:"custom-dialog",props:{showCustomDialog:{type:Boolean,default:!1},customType:{type:String,default:""}},data:function(){return{repProjectName:"gic-web",customDialog:!1,customData:[],checkList:[]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm")},customConfirm:function(){if(!this.checkList.length)return this.$message.error({duration:1e3,message:"请选择操作"}),!1;this.setData(this.checkList)},customChange:function(t){console.log(t)},setData:function(t){var e=this,a={viewIdList:i()(t)},o="data"==e.customType?"/haoban-manage-web/home/set-display-enterprise-data":"/haoban-manage-web/home/set-display-quick-entry";Object(c.b)(o,a).then(function(t){console.log(t,t.data,t.data.errorCode);var a=t.data;1!=a.errorCode?r.a.errorMsg(a):e.$emit("customHandleConfirm")}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getCardList:function(){var t=this,e={all:!0};"data"==t.customType&&(e.fetchData=!1);var a="data"==t.customType?"/haoban-manage-web/home/find-enterprise-data":"/haoban-manage-web/home/find-quick-entry";t.checkList=[],Object(c.b)(a,e).then(function(e){console.log(e,e.data,e.data.errorCode);var a=e.data;if(1==a.errorCode){var o=[];return a.result.forEach(function(e,a){e.homeDisplay&&("data"==t.customType?o.push(e.dataViewId):o.push(e.settingViewId))}),t.customData=a.result,void(t.checkList=o)}r.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},customType:function(t,e){t&&this.getCardList()}},mounted:function(){console.log("传递的参数对象:",this.showCustomDialog);this.customDialog=this.showCustomDialog}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"自定义展示指标",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("请选择您想在首页展示的快捷操作,最多勾选8,已经勾选了"),a("span",[t._v(t._s(t.checkList.length))]),t._v("个")])]),t._v(" "),a("div",{staticClass:"custom-dialog__checkbox"},[a("el-checkbox-group",{attrs:{max:8},on:{change:t.customChange},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},["data"===t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.dataViewId,attrs:{label:e.dataViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e(),t._v(" "),"data"!=t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.settingViewId,attrs:{label:e.settingViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e()],2)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var d={name:"index",data:function(){return{projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",bannerList:[],companyObj:{},dataOverview:[],entryData:[]}},methods:{changeRoute:function(t){this.$router.push(t)},toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t},showDialogLayer:function(t){this.showCustomDialog=!0,this.customType=t},customHandleConfirm:function(t){this.showCustomDialog=!1,"data"===this.customType?this.getDataOverview():this.getEntryData()},toCertify:function(t){1!=t&&this.changeRoute("/companyCertify")},getBannerData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-advertisement",{}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.bannerList=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getEnterpriseData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.companyObj=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getDataOverview:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-data",{all:!1,fetchData:!0}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.dataOverview=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getEntryData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-quick-entry",{all:!1}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.entryData=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",s.a.all([this.getBannerData(),this.getDataOverview(),this.getEntryData(),this.getEnterpriseData()])},components:{customDialog:a("VU/8")(l,u,!1,function(t){a("XS2D")},"data-v-0a839dc0",null).exports}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-swiper"},[a("el-carousel",{attrs:{trigger:"click",height:"250px",arrow:"never",autoplay:!1}},t._l(t.bannerList,function(t,e){return a("el-carousel-item",{key:e},[a("a",{staticClass:"index-swiper-bg",style:{backgroundImage:"url("+t.imgUrl+")"},attrs:{href:1==t.linkType?"#"+t.linkUrl:t.linkUrl,target:"_blank"}})])}))],1),t._v(" "),a("div",{staticClass:"index-company flex flex-row m-t-24"},[a("div",{staticClass:"index-company-left m-r-24 border-box radius-2"},[a("div",{staticClass:"index-company-logo"},[a("img",{attrs:{src:t.companyObj.logoUrl,alt:"log"}})]),t._v(" "),a("div",{staticClass:"index-company-name color-303133"},[t._v(t._s(t.companyObj.enterpriseName))]),t._v(" "),a("ul",[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("账户余额")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.balance))])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业编码")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.enterpriseCode))])]),t._v(" "),a("li",{staticClass:"flex flex-between",on:{click:function(e){t.toCertify(t.companyObj.authenticationStatus)}}},[a("span",[t._v("企业认证")]),a("span",{class:[1==t.companyObj.authenticationStatus?"authActive":0==t.companyObj.authenticationStatus?"unAuth":2==t.companyObj.authenticationStatus?"auth-ing":"auth-fail"]},[1==t.companyObj.authenticationStatus||0==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-renzheng p-r-6 "}):t._e(),t._v(" "),2==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng1 p-r-6 "}):t._e(),t._v(" "),3==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng2 p-r-6 "}):t._e(),t._v("\n "+t._s(1==t.companyObj.authenticationStatus?"已认证":0==t.companyObj.authenticationStatus?"未认证":2==t.companyObj.authenticationStatus?"认证中":"认证失败"))])]),t._v(" "),t._m(0)])]),t._v(" "),a("div",{staticClass:"index-company-right radius-2"},[a("div",{staticClass:"index-company-right__head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16"},[t._v("数据概览")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("data")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-company-right__body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.dataOverview,function(e,o){return a("li",{key:o},[a("div",{staticClass:"color-606266 font-16 data-name"},[t._v(t._s(e.fieldTitle))]),t._v(" "),a("div",{staticClass:"color-303133 font-30 data-num"},[t._v(t._s(e.fieldData))])])}))])])]),t._v(" "),a("div",{staticClass:"index-entry m-t-24 radius-2"},[a("div",{staticClass:"index-entry-head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16"},[t._v("快捷入口")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("entry")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-entry-body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.entryData,function(e,o){return a("li",{key:o,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){t.changeRoute(e.fieldUrl)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.fieldIconBgColor}},[a("i",{class:["iconfont",e.fieldIconUrl]})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-20"},[t._v(t._s(e.fieldTitle))])])}))])])]),t._v(" "),a("vue-gic-footer")],1),t._v(" "),a("custom-dialog",{attrs:{customType:t.customType,showCustomDialog:t.showCustomDialog},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"flex flex-between"},[e("span",[this._v("帮助手册")]),e("a",{attrs:{href:"../../assets/1.pdf",download:"帮助手册.pdf"}},[e("span",{staticClass:"color-1890ff"},[this._v("立即下载"),e("i",{staticClass:"el-icon-arrow-right"})])])])}]};var h=a("VU/8")(d,m,!1,function(t){a("kaZT")},"data-v-619f1d47",null);e.default=h.exports},XS2D:function(t,e){},kaZT:function(t,e){}});
//# sourceMappingURL=17.8a99d0468a58f743de02.js.map
\ No newline at end of file
webpackJsonp([17],{"+YHa":function(e,t){},"3zYh":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=r("l46T"),i=r("//Fk"),l=r.n(i),s=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=r("PI0u"),u=(r("P9l9"),{name:"single-upload",props:{imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:Number,default:2}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return console.log("当前host:",e),t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage-web/upload-img",console.log(this.upUrl),this.upUrl},handleAvatarSuccess:function(e,t,r){console.log("上传成功回调:",e,r),0==e.errorCode?this.$emit("update:imgSrc",e.result[0].qcloudImageUrl):s.a.errorMsg(e)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type||"image/gif"===e.type||"image/bmg"===e.type,r=e.size/1024/1024<this.uploadLimit;return t||this.$message.error("上传头像图片只能是 JPG 格式!"),r||this.$message.error("上传头像图片大小不能超过 "+this.uploadLimit+"MB!"),t&&r&&new l.a(function(t,r){var a=new FileReader;a.onload=function(e){var r=new Image;r.onload=function(){var e=this.width,r=this.height;console.log(e,r),t()},r.src=e.target.result,console.log("上传成功:",e.target.result)},a.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}},mounted:function(){}}),m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"single-upload-wrap"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?r("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):r("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),"businessCard"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("上传营业执照复印件加盖公章,手写“仅用于好办认证”字样;照片搜索信息要求清晰可见,内容真实有效,不得做任何修改;支持jpp、jpeg、bmg、gif、png格式,大小不超过8M。")]):e._e(),e._v(" "),"idPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),"authPhoto"==e.field?r("p",{staticClass:"upload-tip w-500"},[e._v("点击可以"),r("a",{staticClass:"color-1890ff",attrs:{href:"#/"}},[e._v("下载授权书")]),e._v("模板,支持jpg、jpeg、pdf、bmg、gif格式照片,大小不超过2M,只能上传一张,再次上传覆盖前一张")]):e._e(),e._v(" "),r("vue-gic-img-preview",{attrs:{imgUrl:e.imgUrl,imgShowFlag:e.imgShowFlag},on:{hideImage:e.hideImage}})],1)},staticRenderFns:[]};var c=r("VU/8")(u,m,!1,function(e){r("5BzU")},"data-v-2e25d91c",null).exports,d={name:"companyCertify",data:function(){return{projectName:"",postUrl:"/api-admin/dict-district-list",navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{name:"",region:"",addressDetail:"",registNum:"",cardType:"0",qcloudImageUrl:"",idPhoto:"",authPhoto:"",status:0},rules:{name:[{required:!0,message:"请输入企业名称",trigger:"blur"}],addressDetail:[{required:!0,message:"请输入详细地址",trigger:"blur"}],registNum:[{required:!0,message:"请输入营业执照注册号",trigger:"blur"}],region:[{required:!0,message:"请选择地区",trigger:"blur"}],cardType:[{required:!0,message:"请选择证件类型",trigger:"blur"}],qcloudImageUrl:[{required:!0,message:"请上传营业执照",trigger:"blur"}],idPhoto:[{required:!0,message:"请上传照片",trigger:"blur"}],authPhoto:[{required:!0,message:"请上传授权书",trigger:"blur"}]},areaOptions:{provinceName:"",provinceId:"",cityName:"",cityId:"",countryName:"",countyId:""},upUrl:"upload-img",baseUrl:""}},computed:{},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e,this.upUrl=this.baseUrl+"/api-plug/upload-img?wxFlag=1"},methods:{selected:function(e){console.log(e);e.country?(this.ruleForm.region=e,console.log(e.areaId),this.ruleForm.areaId=e.areaId):this.ruleForm.region=""},submitForm:Object(n.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm),!e)return!1})},500),postSave:function(){},submitReview:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postReview:function(){}},mounted:function(){},components:{navCrumb:a.a,limitInput:o.a,singleUpload:c}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyCertify-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"企业名称",prop:"name"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.name,holder:"请输入企业名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"name",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"city-area",attrs:{label:"所在地区",prop:"region"}},[r("vue-office-area",{attrs:{projectName:e.projectName,postUrl:e.postUrl,areaOptions:e.areaOptions},on:{selected:e.selected}})],1),e._v(" "),r("el-form-item",{attrs:{label:"详细地址",prop:"addressDetail"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.addressDetail,holder:"请输入详细地址",maxLength:40},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"addressDetail",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"营业执照注册号",prop:"registNum"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.registNum,holder:"请输入营业执照注册号",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"registNum",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"证件类型",prop:"cardType"}},[r("div",[r("el-radio",{attrs:{label:"0"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("多证合一营业执照(原“注册号”字样,调整为18位的“统一社会信用代码”)")])],1),e._v(" "),r("div",[r("el-radio",{attrs:{label:"1"},model:{value:e.ruleForm.cardType,callback:function(t){e.$set(e.ruleForm,"cardType",t)},expression:"ruleForm.cardType"}},[e._v("普通营业执照(仍然标识为15位的“注册号”)")])],1)]),e._v(" "),r("el-form-item",{attrs:{label:"营业执照",prop:"qcloudImageUrl"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.qcloudImageUrl,uploadLimit:8,field:"businessCard"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"qcloudImageUrl",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手持证件照片",prop:"idPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.idPhoto,field:"idPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"idPhoto",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"授权书",prop:"authPhoto"}},[r("single-upload",{attrs:{imgSrc:e.ruleForm.authPhoto,field:"authPhoto"},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"authPhoto",t)}}})],1),e._v(" "),r("el-form-item",{staticClass:"status-item",attrs:{label:"状态",prop:"status"}},[0==e.ruleForm.status?r("el-tag",{attrs:{type:"danger"}},[r("i",{staticClass:"el-icon-error"}),e._v("审核失败")]):e._e(),e._v(" "),1==e.ruleForm.status?r("el-tag",{attrs:{type:"success"}},[r("i",{staticClass:"el-icon-success"}),e._v("审核成功")]):e._e(),e._v(" "),2==e.ruleForm.status?r("el-tag",[r("i",{}),e._v("审核中")]):e._e()],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitReview("ruleForm")}}},[e._v("提交审核")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var g=r("VU/8")(d,p,!1,function(e){r("+YHa")},"data-v-71c16732",null);t.default=g.exports},"5BzU":function(e,t){}});
//# sourceMappingURL=17.96fcd0e27b3ce80b6bf5.js.map
\ No newline at end of file
webpackJsonp([18],{"4eQH":function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("//Fk"),s=a.n(o),n=a("mvHQ"),i=a.n(n),c=a("P9l9"),r=(a("3E4D"),a("Ch4/")),l={name:"custom-dialog",props:{showCustomDialog:{type:Boolean,default:!1},customType:{type:String,default:""}},data:function(){return{repProjectName:"gic-web",customDialog:!1,customData:[],checkList:[]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm")},customConfirm:function(){if(!this.checkList.length)return this.$message.error({duration:1e3,message:"请选择操作"}),!1;this.setData(this.checkList)},customChange:function(t){console.log(t)},setData:function(t){var e=this,a={viewIdList:i()(t)},o="data"==e.customType?"/haoban-manage-web/home/set-display-enterprise-data":"/haoban-manage-web/home/set-display-quick-entry";Object(c.b)(o,a).then(function(t){console.log(t,t.data,t.data.errorCode);var a=t.data;1!=a.errorCode?r.a.errorMsg(a):e.$emit("customHandleConfirm")}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getCardList:function(){var t=this,e={all:!0};"data"==t.customType&&(e.fetchData=!1);var a="data"==t.customType?"/haoban-manage-web/home/find-enterprise-data":"/haoban-manage-web/home/find-quick-entry";t.checkList=[],Object(c.b)(a,e).then(function(e){console.log(e,e.data,e.data.errorCode);var a=e.data;if(1==a.errorCode){var o=[];return a.result.forEach(function(e,a){e.homeDisplay&&("data"==t.customType?o.push(e.dataViewId):o.push(e.settingViewId))}),t.customData=a.result,void(t.checkList=o)}r.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},customType:function(t,e){t&&this.getCardList()}},mounted:function(){console.log("传递的参数对象:",this.showCustomDialog);this.customDialog=this.showCustomDialog}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"自定义展示指标",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("请选择您想在首页展示的快捷操作,最多勾选8,已经勾选了"),a("span",[t._v(t._s(t.checkList.length))]),t._v("个")])]),t._v(" "),a("div",{staticClass:"custom-dialog__checkbox"},[a("el-checkbox-group",{attrs:{max:8},on:{change:t.customChange},model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},["data"===t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.dataViewId,attrs:{label:e.dataViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e(),t._v(" "),"data"!=t.customType?t._l(t.customData,function(e){return a("el-checkbox",{key:e.settingViewId,attrs:{label:e.settingViewId,name:"type"}},[t._v(t._s(e.fieldTitle))])}):t._e()],2)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var d={name:"index",data:function(){return{projectName:"gic-clique",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",bannerList:[],companyObj:{},dataOverview:[],entryData:[]}},methods:{changeRoute:function(t){this.$router.push(t)},toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t},showDialogLayer:function(t){this.showCustomDialog=!0,this.customType=t},customHandleConfirm:function(t){this.showCustomDialog=!1,"data"===this.customType?this.getDataOverview():this.getEntryData()},toCertify:function(t){1!=t&&this.changeRoute("/companyCertify")},getBannerData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-advertisement",{}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.bannerList=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getEnterpriseData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.companyObj=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getDataOverview:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-enterprise-data",{all:!1,fetchData:!0}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.dataOverview=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getEntryData:function(){var t=this;Object(c.a)("/haoban-manage-web/home/find-quick-entry",{all:!1}).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):t.entryData=a.result}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",s.a.all([this.getBannerData(),this.getDataOverview(),this.getEntryData(),this.getEnterpriseData()])},components:{customDialog:a("VU/8")(l,u,!1,function(t){a("bpuK")},"data-v-1e320f12",null).exports}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-swiper"},[a("el-carousel",{attrs:{trigger:"click",height:"250px",arrow:"never",autoplay:!1}},t._l(t.bannerList,function(t,e){return a("el-carousel-item",{key:e},[a("a",{staticClass:"index-swiper-bg",style:{backgroundImage:"url("+t.imgUrl+")"},attrs:{href:1==t.linkType?"#"+t.linkUrl:t.linkUrl,target:"_blank"}})])}))],1),t._v(" "),a("div",{staticClass:"index-company flex flex-row m-t-24"},[a("div",{staticClass:"index-company-left m-r-24 border-box radius-2"},[a("div",{staticClass:"index-company-logo"},[a("img",{attrs:{src:t.companyObj.logoUrl,alt:"log"}})]),t._v(" "),a("div",{staticClass:"index-company-name color-303133"},[t._v(t._s(t.companyObj.enterpriseName))]),t._v(" "),a("ul",[a("li",{staticClass:"flex flex-between"},[a("span",[t._v("账户余额")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.balance))])]),t._v(" "),a("li",{staticClass:"flex flex-between"},[a("span",[t._v("企业编码")]),a("span",{staticClass:"color-303133 font-16"},[t._v(t._s(t.companyObj.enterpriseCode))])]),t._v(" "),a("li",{staticClass:"flex flex-between",on:{click:function(e){t.toCertify(t.companyObj.authenticationStatus)}}},[a("span",[t._v("企业认证")]),a("span",{class:[1==t.companyObj.authenticationStatus?"authActive":0==t.companyObj.authenticationStatus?"unAuth":2==t.companyObj.authenticationStatus?"auth-ing":"auth-fail"]},[1==t.companyObj.authenticationStatus||0==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-renzheng p-r-6 "}):t._e(),t._v(" "),2==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng1 p-r-6 "}):t._e(),t._v(" "),3==t.companyObj.authenticationStatus?a("i",{staticClass:"iconfont icon-qiyerenzheng2 p-r-6 "}):t._e(),t._v("\n "+t._s(1==t.companyObj.authenticationStatus?"已认证":0==t.companyObj.authenticationStatus?"未认证":2==t.companyObj.authenticationStatus?"认证中":"认证失败"))])]),t._v(" "),t._m(0)])]),t._v(" "),a("div",{staticClass:"index-company-right radius-2"},[a("div",{staticClass:"index-company-right__head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16"},[t._v("数据概览")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("data")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-company-right__body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.dataOverview,function(e,o){return a("li",{key:o},[a("div",{staticClass:"color-606266 font-16 data-name"},[t._v(t._s(e.fieldTitle))]),t._v(" "),a("div",{staticClass:"color-303133 font-30 data-num"},[t._v(t._s(e.fieldData))])])}))])])]),t._v(" "),a("div",{staticClass:"index-entry m-t-24 radius-2"},[a("div",{staticClass:"index-entry-head flex flex-between border-box border-b-e4e7e7"},[a("span",{staticClass:"color-303133 font-16"},[t._v("快捷入口")]),a("span",{staticClass:"auto-define",on:{click:function(e){t.showDialogLayer("entry")}}},[a("i",{staticClass:"iconfont icon-zidingyi color-909399"})])]),t._v(" "),a("div",{staticClass:"index-entry-body p-24 border-box"},[a("ul",{staticClass:"flex flex-row flex-wrap"},t._l(t.entryData,function(e,o){return a("li",{key:o,staticClass:"flex flex-align-center border-box flex",on:{click:function(a){t.changeRoute(e.fieldUrl)}}},[a("span",{staticClass:"square-item flex flex-align-center flex-pack-center",style:{background:e.fieldIconBgColor}},[a("i",{class:["iconfont",e.fieldIconUrl]})]),t._v(" "),a("span",{staticClass:"color-303133 font-16 p-l-20"},[t._v(t._s(e.fieldTitle))])])}))])])]),t._v(" "),a("vue-gic-footer")],1),t._v(" "),a("custom-dialog",{attrs:{customType:t.customType,showCustomDialog:t.showCustomDialog},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"flex flex-between"},[e("span",[this._v("帮助手册")]),e("a",{attrs:{href:"../../assets/1.pdf",download:"帮助手册.pdf"}},[e("span",{staticClass:"color-1890ff"},[this._v("立即下载"),e("i",{staticClass:"el-icon-arrow-right"})])])])}]};var h=a("VU/8")(d,m,!1,function(t){a("4eQH")},"data-v-f7427b6e",null);e.default=h.exports},bpuK:function(t,e){}});
//# sourceMappingURL=18.5d434a27df9a6807455c.js.map
\ No newline at end of file
webpackJsonp([15],{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=15.060041aba9e230b11664.js.map
\ No newline at end of file
webpackJsonp([19],{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=19.d7cf58cba6fd69a6a4a3.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){}});
//# sourceMappingURL=20.150b78b26829fcbd5305.js.map
\ No newline at end of file
webpackJsonp([20],{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("u2qW")},"data-v-7303c195",null);e.default=i.exports},u2qW:function(t,e){}});
//# sourceMappingURL=20.c35833201b444beb20f4.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/setting/index.vue","webpack:///./src/views/setting/index.vue?8bf5","webpack:///./src/views/setting/index.vue"],"names":["setting","name","data","projectName","contentHeight","collapseFlag","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","pathName","window","location","hash","split","$route","document","documentElement","clientHeight","body","views_setting","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sGAuBA,IAAAA,GACAC,KAAA,UACAC,KAFA,WAGA,OACAC,YAAA,aACAC,cAAA,MACAC,cAAA,IAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAP,aAAAI,IAGAQ,QAnCA,WAoCAL,KAEAM,SAAAC,OAAAC,SAAAC,KAAAC,MAAA,QACAZ,QAAAC,IAAA,YAHAC,KAGAM,SAAAN,KAAAW,OAAAR,MAHAH,KAKAR,eAAAoB,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UC7DeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAlB,KAAamB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOjC,YAAA2B,EAAA3B,aAA8BkC,IAAKrB,YAAAc,EAAAd,YAAAR,aAAAsB,EAAAtB,gBAA+DsB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAA1B,iBAA4B6B,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAA1B,iBAA4B6B,EAAA,oBAAyBS,IAAA,YAAAN,OAAuBjC,YAAA2B,EAAA3B,YAAAE,aAAAyB,EAAAzB,iBAA+D,GAAAyB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAOnC,KAAA,OAAA0C,KAAA,YAA+BV,EAAA,gCAEprBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE/C,EACA4B,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/20.c35833201b444beb20f4.js","sourcesContent":["<template>\r\n <div class=\"setting-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"setting-wrap__body\">\r\n <div id=\"content\" class=\"content\">\r\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\r\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\r\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\r\n </div>\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <!-- 缓存已经填好内容的页面 -->\r\n <!-- <keep-alive include=\"editGroupGrade\"> -->\r\n <router-view></router-view>\r\n <!-- </keep-alive > -->\r\n </transition>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"setting\",\r\n data() {\r\n return {\r\n projectName: 'gic-clique',\r\n contentHeight: '0px', //页面内容高度\r\n collapseFlag: false, // 折叠参数\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n const that = this;\r\n //获取项目名 pathname (路由的hash)\r\n that.pathName = window.location.hash.split('/')[1];\r\n console.log(\"pathname:\",that.pathName,this.$route.path)\r\n\r\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px'\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n.setting-wrap__body{\r\n .content{\r\n padding-top: 64px;\r\n /* height: calc(100% - 64px);\r\n overflow-y: auto;*/\r\n min-width: 1400px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n\r\n .content-body {\r\n display: flex;\r\n overflow: hidden;\r\n\r\n .common-set-wrap {\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n overflow-y: auto;\r\n\r\n .right-content {\r\n /*width: 100%;*/\r\n padding: 24px;\r\n min-height: calc(100% - 240px);\r\n\r\n .right-box {\r\n background: #fff;\r\n padding: 24px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n/*.content-body .left-menu {\r\n -ms-flex: 0 0 200px;\r\n flex: 0 0 200px;\r\n width: 200px;\r\n height: 100%;\r\n background: #020b21;\r\n transition: all .2s ease;\r\n position: fixed;\r\n z-index: 5;\r\n}*/\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"setting-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"setting-wrap__body\"},[_c('div',{staticClass:\"content\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"content-body\",style:({height: _vm.contentHeight})},[_c('div',{staticClass:\"left-menu\",style:({height: _vm.contentHeight})},[_c('vue-office-aside',{ref:\"asideMenu\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}})],1),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7303c195\",\"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/setting/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-7303c195\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7303c195\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7303c195\"\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/setting/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([18],{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=18.8afde91fc06e8d8fae7d.js.map
\ 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){}});
//# sourceMappingURL=21.e7a45043de1251231fa1.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/18.8afde91fc06e8d8fae7d.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/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":""}
\ 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){}});
//# sourceMappingURL=22.b77da1ae0203574a8bc7.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/reviewCenter/index.vue","webpack:///./src/views/reviewCenter/index.vue?af94","webpack:///./src/views/reviewCenter/index.vue"],"names":["reviewCenter","name","data","projectName","collapseFlag","contentHeight","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","document","documentElement","clientHeight","body","views_reviewCenter","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAuBA,IAAAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,YAAA,aACAC,cAAA,EACAC,cAAA,QAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAQ,QAnCA,WAoCAL,KACAP,eAAAa,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UCzDeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,gBAA0BF,EAAA,qBAA0BG,OAAO3B,YAAAqB,EAAArB,aAA8B4B,IAAKf,YAAAQ,EAAAR,YAAAR,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,oBAAyBS,IAAA,YAAAN,OAAuB3B,YAAAqB,EAAArB,YAAAC,aAAAoB,EAAApB,iBAA+D,GAAAoB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAO7B,KAAA,OAAAoC,KAAA,YAA+BV,EAAA,gCAEnrBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzC,EACAsB,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/22.b77da1ae0203574a8bc7.js","sourcesContent":["<template>\n <div class=\"review-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"setting-wrap__body\">\n <div id=\"content\" class=\"content\">\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n </div>\n <transition name=\"fade\" mode=\"out-in\">\n <!-- 缓存已经填好内容的页面 -->\n <!-- <keep-alive include=\"editGroupGrade\"> -->\n <router-view></router-view>\n <!-- </keep-alive > -->\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"reviewed\",\n data() {\n return {\n projectName: 'gic-clique', // 当前项目名\n collapseFlag: false, // 折叠参数\n contentHeight: '0px', //页面内容高度\n }\n },\n computed: {\n\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n const that = this\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px';\n },\n}\n\n</script>\n<style lang=\"less\" >\n.setting-wrap__body{\n .content{\n padding-top: 64px;\n /* height: calc(100% - 64px);\n overflow-y: auto;*/\n min-width: 1400px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .content-body {\n display: flex;\n overflow: hidden;\n\n .common-set-wrap {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n\n .right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n background: #fff;\n padding: 24px;\n }\n }\n }\n }\n }\n}\n\n.el-table__empty-block {\n height: 256px;\n}\n\n.el-table__empty-text{\n width: auto;\n margin-bottom:80px;\n &::before{\n content: ' ';\n display: block;\n width: 60px;\n height: 60px;\n background: url(../../assets/no-data_icon.png) no-repeat center;\n margin: 0px auto 22px auto;\n }\n}\n\n.el-table__empty-text {\n margin-bottom: 0;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"review-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"setting-wrap__body\"},[_c('div',{staticClass:\"content\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"content-body\",style:({height: _vm.contentHeight})},[_c('div',{staticClass:\"left-menu\",style:({height: _vm.contentHeight})},[_c('vue-office-aside',{ref:\"asideMenu\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}})],1),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-81622b2a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-81622b2a\\\",\\\"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-81622b2a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([19],{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=19.e57d4d199a8baedf8160.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
webpackJsonp([23],{"N+Xy":function(e,t){},"rs/A":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("3Xzz"),r=(a("Mk6G"),a("3E4D")),s=a("Ch4/"),l=a("PI0u"),n=a("P9l9"),i={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:"张三"}]},rules:{}}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},submitForm:Object(l.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,o={data:e,roleId:a.ruleForm.roleId,clerks:t};Object(n.b)("/haoban-manage-web/save-clerk-role",o).then(function(e){var t=e.data;1!=t.errorCode?s.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(){})},showDialogLayer:function(){console.log(1)}},mounted:function(){this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId)},components:{navCrumb:o.a}},c={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,o){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(o,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-wrap"},[e._l(e.ruleForm.departList,function(t,o){return[a("el-tag",{staticClass:"depart-cell"},[e._v(e._s(t.name)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),e.delField(o,t,e.ruleForm.departList)}}})])]}),e._v(" "),a("el-button",{staticClass:"el-tag m-l-8 depart-cell",on:{click:function(t){t.stopPropagation(),e.showDialogLayer("depart")}}},[a("i",{staticClass:"el-icon-plus"}),e._v("添加字段")])],2)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("VU/8")(i,c,!1,function(e){a("N+Xy")},"data-v-47dc616d",null);t.default=u.exports}});
//# sourceMappingURL=23.66ce6295fdc6476e9fc0.js.map
\ 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([21],{"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=21.9670c17d9d5cfe905c94.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){}});
//# sourceMappingURL=25.2b457a4de98cffdb6eeb.js.map
\ No newline at end of file
webpackJsonp([22],{"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=22.3bbb580d048f65cb2914.js.map
\ 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}});
//# sourceMappingURL=26.5e1fbc9266cec8001e3b.js.map
\ No newline at end of file
webpackJsonp([26],{Kqbd:function(e,t){},VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),n=(a("PI0u"),a("P9l9")),s={name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",activeId:1,adminRole:[],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(n.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);o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getRoles:function(){var e=this;Object(n.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()));o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},l={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(" "),a("div",{staticClass:"m-t-20"},[a("ul",e._l(e.adminRole,function(t,i){return a("li",{key:i,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t.roleId)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])]),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 r=a("VU/8")(s,l,!1,function(e){a("Kqbd")},"data-v-07beb47b",null);t.default=r.exports}});
//# sourceMappingURL=26.a8edf1591aaa869ce0c6.js.map
\ No newline at end of file
webpackJsonp([27],{Gfms:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"shareContact-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"shareContact",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(t){n("U+Fe")},"data-v-0686826c",null);e.default=r.exports},"U+Fe":function(t,e){}});
//# sourceMappingURL=27.0e36ae9e3824eafd2bdb.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/shareContact.vue","webpack:///./src/views/contacts/shareContact.vue?c6a1","webpack:///./src/views/contacts/shareContact.vue"],"names":["contacts_shareContact","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,uBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,eACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/27.0e36ae9e3824eafd2bdb.js","sourcesContent":["<template>\r\n <div class=\"shareContact-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"shareContact\",\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/shareContact.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shareContact-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-0686826c\",\"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/shareContact.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-0686826c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./shareContact.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!./shareContact.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./shareContact.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0686826c\\\",\\\"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!./shareContact.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-0686826c\"\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/shareContact.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([27],{"rs/A":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("3Xzz"),s=a("c4uw"),o=(a("Mk6G"),a("3E4D")),r=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?r.a.errorMsg(t):o.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)}},mounted:function(){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("tLVn")},"data-v-483241d3",null);t.default=d.exports},tLVn:function(e,t){}});
//# sourceMappingURL=27.c7f85eb9ed40d3db86c5.js.map
\ No newline at end of file
webpackJsonp([28],{"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=28.c4eec2daec6f3a5a70f8.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/setting/index.vue","webpack:///./src/views/setting/index.vue?543f","webpack:///./src/views/setting/index.vue"],"names":["setting","name","data","projectName","contentHeight","collapseFlag","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","pathName","window","location","hash","split","$route","document","documentElement","clientHeight","body","views_setting","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"6HAuBA,IAAAA,GACAC,KAAA,UACAC,KAFA,WAGA,OACAC,YAAA,aACAC,cAAA,MACAC,cAAA,IAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAP,aAAAI,IAGAQ,QAnCA,WAoCAL,KAEAM,SAAAC,OAAAC,SAAAC,KAAAC,MAAA,QACAZ,QAAAC,IAAA,YAHAC,KAGAM,SAAAN,KAAAW,OAAAR,MAHAH,KAKAR,eAAAoB,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UC7DeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAlB,KAAamB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOjC,YAAA2B,EAAA3B,aAA8BkC,IAAKrB,YAAAc,EAAAd,YAAAR,aAAAsB,EAAAtB,gBAA+DsB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAA1B,iBAA4B6B,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAA1B,iBAA4B6B,EAAA,oBAAyBS,IAAA,YAAAN,OAAuBjC,YAAA2B,EAAA3B,YAAAE,aAAAyB,EAAAzB,iBAA+D,GAAAyB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAOnC,KAAA,OAAA0C,KAAA,YAA+BV,EAAA,gCAEprBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE/C,EACA4B,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/28.c4eec2daec6f3a5a70f8.js","sourcesContent":["<template>\n <div class=\"setting-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"setting-wrap__body\">\n <div id=\"content\" class=\"content\">\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n </div>\n <transition name=\"fade\" mode=\"out-in\">\n <!-- 缓存已经填好内容的页面 -->\n <!-- <keep-alive include=\"editGroupGrade\"> -->\n <router-view></router-view>\n <!-- </keep-alive > -->\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"setting\",\n data() {\n return {\n projectName: 'gic-clique',\n contentHeight: '0px', //页面内容高度\n collapseFlag: false, // 折叠参数\n }\n },\n computed: {\n\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n const that = this;\n //获取项目名 pathname (路由的hash)\n that.pathName = window.location.hash.split('/')[1];\n console.log(\"pathname:\",that.pathName,this.$route.path)\n\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px'\n },\n}\n\n</script>\n<style lang=\"less\" scoped>\n.setting-wrap__body{\n .content{\n padding-top: 64px;\n /* height: calc(100% - 64px);\n overflow-y: auto;*/\n min-width: 1400px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .content-body {\n display: flex;\n overflow: hidden;\n\n .common-set-wrap {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n\n .right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n background: #fff;\n padding: 24px;\n }\n }\n }\n }\n }\n}\n/*.content-body .left-menu {\n -ms-flex: 0 0 200px;\n flex: 0 0 200px;\n width: 200px;\n height: 100%;\n background: #020b21;\n transition: all .2s ease;\n position: fixed;\n z-index: 5;\n}*/\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"setting-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"setting-wrap__body\"},[_c('div',{staticClass:\"content\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"content-body\",style:({height: _vm.contentHeight})},[_c('div',{staticClass:\"left-menu\",style:({height: _vm.contentHeight})},[_c('vue-office-aside',{ref:\"asideMenu\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}})],1),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4358450c\",\"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/setting/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-4358450c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4358450c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-4358450c\"\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/setting/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([24],{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=24.00ebc2e44128f7fbad8e.js.map
\ No newline at end of file
webpackJsonp([29],{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=29.084b68bd50ee5df0283c.js.map
\ 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/24.00ebc2e44128f7fbad8e.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
{"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/29.084b68bd50ee5df0283c.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
webpackJsonp([3],{"7pZf":function(t,e){},"8sHD":function(t,e,a){var i=a("kM2E"),s=a("KpO7");i(i.S+i.F*(Number.parseInt!=s),"Number",{parseInt:s})},KpO7:function(t,e,a){var i=a("7KvD").parseInt,s=a("mnVu").trim,n=a("hyta"),o=/^[-+]?0[xX]/;t.exports=8!==i(n+"08")||22!==i(n+"0x16")?function(t,e){var a=s(String(t),3);return i(a,e>>>0||(o.test(a)?16:10))}:i},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),n=a("gBtx"),o=a.n(n),l=a("3Xzz"),c=a("P9l9"),r=a("3E4D"),d=a("Ch4/"),u=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(c.b)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");d.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(c.b)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?d.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"员工个人详情页展示字段设置",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=a("VU/8")(u,f,!1,function(t){a("7pZf")},"data-v-42af9dfc",null).exports,h=(a("Mk6G"),a("PI0u"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(n){n.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,n={fields:t,type:e};Object(c.b)("/haoban-manage-web/record/employee-show-field-delete.json",n).then(function(t){var e=t.data;if(1==e.errorCode)return r.a.showmsg("删除成功","success"),void a.splice(i,1);d.a.errorMsg(e)}).catch(function(t){console.log(t),s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(c.b)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?d.a.errorMsg(i):i.result.forEach(function(a,i){1===o()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:m}}),p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var v=a("VU/8")(h,p,!1,function(t){a("wCe+")},"data-v-d18cb370",null);e.default=v.exports},gBtx:function(t,e,a){t.exports={default:a("qrpI"),__esModule:!0}},hyta:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},mnVu:function(t,e,a){var i=a("kM2E"),s=a("52gC"),n=a("S82l"),o=a("hyta"),l="["+o+"]",c=RegExp("^"+l+l+"*"),r=RegExp(l+l+"*$"),d=function(t,e,a){var s={},l=n(function(){return!!o[t]()||"​…"!="​…"[t]()}),c=s[t]=l?e(u):o[t];a&&(s[a]=c),i(i.P+i.F*l,"String",s)},u=d.trim=function(t,e){return t=String(s(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(r,"")),t};t.exports=d},qrpI:function(t,e,a){a("8sHD"),t.exports=a("FeBl").Number.parseInt},"wCe+":function(t,e){}});
//# sourceMappingURL=3.dd74d5987c2f3d860fb5.js.map
\ No newline at end of file
webpackJsonp([30],{"+lem":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={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,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("J1lA")},null,null);t.default=i.exports},J1lA:function(e,t){}});
//# sourceMappingURL=30.97ade3808abebffe350e.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/reviewCenter/index.vue","webpack:///./src/views/reviewCenter/index.vue?b0fd","webpack:///./src/views/reviewCenter/index.vue"],"names":["reviewCenter","name","data","projectName","collapseFlag","contentHeight","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","document","documentElement","clientHeight","body","views_reviewCenter","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAuBA,IAAAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,YAAA,aACAC,cAAA,EACAC,cAAA,QAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAQ,QAnCA,WAoCAL,KACAP,eAAAa,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UCzDeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,gBAA0BF,EAAA,qBAA0BG,OAAO3B,YAAAqB,EAAArB,aAA8B4B,IAAKf,YAAAQ,EAAAR,YAAAR,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,oBAAyBS,IAAA,YAAAN,OAAuB3B,YAAAqB,EAAArB,YAAAC,aAAAoB,EAAApB,iBAA+D,GAAAoB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAO7B,KAAA,OAAAoC,KAAA,YAA+BV,EAAA,gCAEnrBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzC,EACAsB,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/30.97ade3808abebffe350e.js","sourcesContent":["<template>\r\n <div class=\"review-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"setting-wrap__body\">\r\n <div id=\"content\" class=\"content\">\r\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\r\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\r\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\r\n </div>\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <!-- 缓存已经填好内容的页面 -->\r\n <!-- <keep-alive include=\"editGroupGrade\"> -->\r\n <router-view></router-view>\r\n <!-- </keep-alive > -->\r\n </transition>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"reviewed\",\r\n data() {\r\n return {\r\n projectName: 'gic-clique', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n contentHeight: '0px', //页面内容高度\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n const that = this\r\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px';\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" >\r\n.setting-wrap__body{\r\n .content{\r\n padding-top: 64px;\r\n /* height: calc(100% - 64px);\r\n overflow-y: auto;*/\r\n min-width: 1400px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n\r\n .content-body {\r\n display: flex;\r\n overflow: hidden;\r\n\r\n .common-set-wrap {\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n overflow-y: auto;\r\n\r\n .right-content {\r\n /*width: 100%;*/\r\n padding: 24px;\r\n min-height: calc(100% - 240px);\r\n\r\n .right-box {\r\n background: #fff;\r\n padding: 24px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.el-table__empty-block {\r\n height: 256px;\r\n}\r\n\r\n.el-table__empty-text{\r\n width: auto;\r\n margin-bottom:80px;\r\n &::before{\r\n content: ' ';\r\n display: block;\r\n width: 60px;\r\n height: 60px;\r\n background: url(../../assets/no-data_icon.png) no-repeat center;\r\n margin: 0px auto 22px auto;\r\n }\r\n}\r\n\r\n.el-table__empty-text {\r\n margin-bottom: 0;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/reviewCenter/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"review-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"setting-wrap__body\"},[_c('div',{staticClass:\"content\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"content-body\",style:({height: _vm.contentHeight})},[_c('div',{staticClass:\"left-menu\",style:({height: _vm.contentHeight})},[_c('vue-office-aside',{ref:\"asideMenu\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}})],1),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-02e9136b\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-02e9136b\\\",\\\"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-02e9136b\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([25],{"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=25.deed1078cc03aad96148.js.map
\ No newline at end of file
webpackJsonp([30],{"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=30.e35316c46e0638f5e4d3.js.map
\ No newline at end of file
webpackJsonp([28],{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=28.e7f9437d7012aa113184.js.map
\ No newline at end of file
webpackJsonp([31],{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=31.18bd3eea3260158f6cc9.js.map
\ No newline at end of file
webpackJsonp([29],{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=29.53b7436ec5d1c6141f72.js.map
\ No newline at end of file
webpackJsonp([32],{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=32.0b9ebb8ceba95e7d7e58.js.map
\ No newline at end of file
webpackJsonp([4],{"7pZf":function(t,e){},"8sHD":function(t,e,a){var i=a("kM2E"),s=a("KpO7");i(i.S+i.F*(Number.parseInt!=s),"Number",{parseInt:s})},KpO7:function(t,e,a){var i=a("7KvD").parseInt,s=a("mnVu").trim,n=a("hyta"),o=/^[-+]?0[xX]/;t.exports=8!==i(n+"08")||22!==i(n+"0x16")?function(t,e){var a=s(String(t),3);return i(a,e>>>0||(o.test(a)?16:10))}:i},ZwM5:function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),n=a("gBtx"),o=a.n(n),l=a("3Xzz"),c=a("P9l9"),r=a("3E4D"),d=a("Ch4/"),u=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(c.b)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");d.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(c.b)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?d.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"员工个人详情页展示字段设置",visible:t.customDialog,width:"761px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"custom-dialog__title"},[a("p",{staticClass:"custom-dialog__p"},[t._v("tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加")])]),t._v(" "),a("div",{staticClass:"custom-dialog-body"},[t._l(t.customData,function(e,i){return[a("div",{key:i,staticClass:"detail-field-cell flex"},[a("div",{staticClass:"detail-field-left"},[t._v(t._s(e.fieldName))]),t._v(" "),a("div",{staticClass:"detail-field-right flex"},[a("el-checkbox-group",{staticClass:"flex flex-wrap",on:{change:t.customChange},model:{value:e.checkList,callback:function(a){t.$set(e,"checkList",a)},expression:"item.checkList"}},t._l(e.children,function(e,i){return a("el-checkbox",{key:e.fieldCode,attrs:{label:e.fieldCode,disabled:e.disable,name:"type"}},[t._v("\n "+t._s(e.fieldName)+"\n ")])}))],1)])]})],2),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.customCancel}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.customConfirm}},[t._v("确 定")])],1)])],1)},staticRenderFns:[]};var m=a("VU/8")(u,f,!1,function(t){a("7pZf")},"data-v-42af9dfc",null).exports,h=(a("Mk6G"),a("PI0u"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"员工详细字段",path:""}],fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],adminStruct:{name:"行政架构通讯录员工详情字段",fixedList:[],defineList:[]},storeStruct:{name:"门店架构通讯录员工详情字段",fixedList:[],defineList:[]},showCustomDialog:!1,detailData:[],dataType:null}},computed:{},methods:{showDialogLayer:function(t){this.showCustomDialog=!0,this.dataType=t,this.detailData=1===t?this.adminStruct.fixedList.map(function(t){return t.fields}).concat(this.adminStruct.defineList.map(function(t){return t.fields})):this.storeStruct.fixedList.map(function(t){return t.fields}).concat(this.storeStruct.defineList.map(function(t){return t.fields}))},customHandleConfirm:function(t){if(this.showCustomDialog=!1,t)return!1;this.getSaveFields(this.dataType)},delField:function(t,e,a,i){var s=this;s.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(n){n.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,n={fields:t,type:e};Object(c.b)("/haoban-manage-web/record/employee-show-field-delete.json",n).then(function(t){var e=t.data;if(1==e.errorCode)return r.a.showmsg("删除成功","success"),void a.splice(i,1);d.a.errorMsg(e)}).catch(function(t){console.log(t),s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(c.b)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?d.a.errorMsg(i):i.result.forEach(function(a,i){1===o()(t)?e.fixData.includes(a.fields)?e.adminStruct.fixedList.push(a):e.adminStruct.defineList.push(a):e.fixDataStore.includes(a.fields)?e.storeStruct.fixedList.push(a):e.storeStruct.defineList.push(a)})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){s.a.all([this.getSaveFields(1),this.getSaveFields(2)])},components:{navCrumb:l.a,staffDetailField:m}}),p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"staffDetails-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.adminStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.adminStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.adminStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.adminStruct.defineList,1)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)]),t._v(" "),a("div",{staticClass:"staffDetails-cell"},[a("h2",{staticClass:"m-b-25"},[t._v(t._s(t.storeStruct.name))]),t._v(" "),a("div",{staticClass:"staffDetails-cell-fixed"},[t._l(t.storeStruct.fixedList,function(e,i){return[a("el-button",{staticClass:"staffDetails-cell-btn",attrs:{disabled:""}},[t._v(t._s(e.fieldName))])]})],2),t._v(" "),a("div",{staticClass:"staffDetails-cell-add"},[t._l(t.storeStruct.defineList,function(e,i){return[a("el-tag",{staticClass:"staffDetails-cell-btn"},[t._v(t._s(e.fieldName)+" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),t.delField(i,e,t.storeStruct.defineList,2)}}})])]}),t._v(" "),a("el-button",{staticClass:"el-tag m-l-8 staffDetails-cell-btn",on:{click:function(e){e.stopPropagation(),t.showDialogLayer(2)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加字段")])],2)])])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("staff-detail-field",{attrs:{detailData:t.detailData,showCustomDialog:t.showCustomDialog,dataType:t.dataType},on:{customHandleConfirm:t.customHandleConfirm}})],1)},staticRenderFns:[]};var v=a("VU/8")(h,p,!1,function(t){a("ZwM5")},"data-v-0a2f80b2",null);e.default=v.exports},gBtx:function(t,e,a){t.exports={default:a("qrpI"),__esModule:!0}},hyta:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},mnVu:function(t,e,a){var i=a("kM2E"),s=a("52gC"),n=a("S82l"),o=a("hyta"),l="["+o+"]",c=RegExp("^"+l+l+"*"),r=RegExp(l+l+"*$"),d=function(t,e,a){var s={},l=n(function(){return!!o[t]()||"​…"!="​…"[t]()}),c=s[t]=l?e(u):o[t];a&&(s[a]=c),i(i.P+i.F*l,"String",s)},u=d.trim=function(t,e){return t=String(s(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(r,"")),t};t.exports=d},qrpI:function(t,e,a){a("8sHD"),t.exports=a("FeBl").Number.parseInt}});
//# sourceMappingURL=4.a9fe5bbba54e3a8f7eed.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.
webpackJsonp([7],{"2FlR":function(t,e,a){t.exports=a.p+"static/img/test.50e4091.png"},Bb8h:function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Zx22"),i=(a("3E4D"),a("Ch4/")),l=(a("Mk6G"),a("PI0u")),o=a("P9l9"),r={name:"reviewed",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.getTableList()},searchEnterFun:function(t){if(console.log(t),!String(t.target.value).trim())return!1;this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t;this.$route.fullPath;this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.showStoreDialog=!0,this.storeChangeData=t},getTableList:function(t){var e=this,a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(o.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(l.b)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);i.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v(t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),0==e.row.auditingType?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")]):t._e()],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("Bb8h")},"data-v-72608135",null);e.default=u.exports},Zx22:function(t,e,a){"use strict";a("P9l9"),a("3E4D"),a("Ch4/"),a("mw3O");var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:Object}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}],rightData:[{src:a("2FlR")},{src:a("2FlR")},{src:a("2FlR")}]}},beforeMount:function(){},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),i=n.getMonth()+1,l=n.getDate();return s+e+a(i)+e+a(l)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){}},mounted:function(){}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店环境图变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.leftData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column flex-space-between"},[t._l(t.rightData,function(t){return[a("img",{attrs:{src:t.src,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var i=a("VU/8")(n,s,!1,function(t){a("zq2K")},"data-v-458dae70",null);e.a=i.exports},zq2K:function(t,e){}});
//# sourceMappingURL=7.1446ae883311d3fa83fa.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.
webpackJsonp([8],{I3G8:function(e,t){},VkSY:function(e,t){},n7j5:function(e,t,a){"use strict";a("0xDb");var i={name:"select-area",components:{vueSelectEmployee:a("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}}},data:function(){return{testList:[],treeSet:{isSelectPerson:!0,dialogVisible:!1},butList:[],vipList:[],groupData:{}}},methods:{delCurrent:function(e,t){var a=this[t];console.log(a.indexOf(e)),a.splice(a.indexOf(e),1)},handleSelectedList:function(e){console.log(e),this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}},watch:{treeData:function(e){console.log(e),this.groupData=e}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"select-area"},[a("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),a("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,i){return[t.employeeClerkId?a("li",{key:i+"_"+t.employeeClerkId,staticClass:"item person-item"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"butList")}}})]):a("li",{key:i+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"butList")}}})])]}),e._v(" "),a("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[a("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),e._m(0),e._v(" "),a("ul",{staticClass:"particular-list"},[e._l(e.vipList,function(t,i){return[t.employeeClerkId?a("li",{key:i+"_"+t.employeeClerkId,staticClass:"item person-item"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"vipList")}}})]):a("li",{key:i+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.delCurrent(t,"vipList")}}})])]}),e._v(" "),a("li",{staticClass:"item J_add-btn",on:{click:e.callSelector}},[a("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"setting-name"},[this._v("\n 允许指定部门/人员可见\n "),t("a",{staticClass:"J_add a-href"},[t("i",{staticClass:"el-icon-plus"}),this._v("添加")]),this._v(" "),t("a",{staticClass:"a-href J_check-detail"},[this._v("查看详情")])])}]};var s={name:"permissionSetting",components:{selectArea:a("VU/8")(i,n,!1,function(e){a("VkSY")},null,null).exports},props:{visibleApartList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!0,visibleSelf:!1}},methods:{switchPermission:function(e,t,a){e&&(this[a]=!e)},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},computed:{vaList:function(){return this.visibleApartList},vsList:function(){return this.visibleSpecialLsit},osaList:function(){return this.onlySelfApartList}}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"jurisdiction-setting"},[a("div",{staticClass:"only-visivble-there permission-div"},[e._v("\n 本部门员工仅可见本部门员工\n "),a("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}}),e._v(" "),e.visibleThere?a("div",{staticClass:"particular-setting"},[a("select-area",{attrs:{treeData:e.treeData},on:{callPerSelector:e.callPerSelector}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"only-visivble-self permission-div"},[e._v("\n 本部门员工仅可见自己\n "),a("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}})],1)])},staticRenderFns:[]};var l=a("VU/8")(s,r,!1,function(e){a("y6IP")},null,null);t.a=l.exports},q5Ri:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("n7j5"),n=a("c4uw"),s=a("P9l9"),r={name:"addDepartment",components:{permissionSetting:i.a,vueSelectEmployee:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(s.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var a=t.data.result.chainName.split("/"),i=a.length;e.departInfo.parentName=1==i?"":a[i-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],console.log(this.$route.query.departmentId),this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e),this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var i=e,n={parentId:i.departInfo.parentId,name:i.departInfo.name};Object(s.a)("/haoban-manage-web/dept/insert",n).then(function(e){console.log(e),1==e.data.errorCode?(i.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(i.departInfo={name:"",parentName:"",parentId:""},i.disabled=!0,i.getGroupData()):window.history.go(-1)):i.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(s.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var a=[],i=[];1==t.data.errorCode&&(a=t.data.result.departmentList||[],i=t.data.result.searchList||[]),e.treeData={treeData:a,personData:i},e.disabled=!1}).catch(function(e){console.log(e,"error")})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell depart-info"},[a("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),a("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=a("VU/8")(r,l,!1,function(e){a("I3G8")},null,null);t.default=o.exports},y6IP:function(e,t){}});
//# sourceMappingURL=8.9c4dd759c252c2169185.js.map
\ No newline at end of file
webpackJsonp([9],{HHRu:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("n7j5"),s=i("c4uw"),n=i("P9l9"),r={name:"addDepartment",components:{permissionSetting:a.a,vueSelectEmployee:s.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(n.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var i=t.data.result.chainName.split("/"),a=i.length;e.departInfo.parentName=1==a?"":i[a-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],console.log(this.$route.query.departmentId),this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e),this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(i){if(!i)return!1;var a=e,s={parentId:a.departInfo.parentId,name:a.departInfo.name};Object(n.a)("/haoban-manage-web/dept/insert",s).then(function(e){console.log(e),1==e.data.errorCode?(a.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(a.departInfo={name:"",parentName:"",parentId:""},a.disabled=!0,a.getGroupData()):window.history.go(-1)):a.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(n.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var i=[],a=[];1==t.data.errorCode&&(i=t.data.result.departmentList||[],a=t.data.result.searchList||[]),e.treeData={treeData:i,personData:a},e.disabled=!1}).catch(function(e){console.log(e,"error")})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"add-department-container"},[i("div",{staticClass:"setting-cell depart-info"},[i("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),i("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[i("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[i("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[i("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(" "),e.isAddNew?e._e():i("div",{staticClass:"setting-cell"},[i("p",{staticClass:"title"},[e._v("权限设置")]),e._v(" "),i("permission-setting",{attrs:{visibleApartList:e.testList,visibleSpecialLsit:e.testList,onlySelfApartList:e.testList,treeData:e.treeData},on:{callPerSelector:e.callPerSelector}})],1),e._v(" "),i("div",{staticClass:"setting-cell"},[i("div",{staticClass:"btn-area"},[i("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]),e._v(" "),i("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),i("vue-select-employee",{attrs:{changed:e.changed,onlyPerson:e.onlyPerson,onlyGroup:e.onlyGroup,defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=i("VU/8")(r,l,!1,function(e){i("Ylwv")},null,null);t.default=o.exports},VkSY:function(e,t){},Ylwv:function(e,t){},n7j5:function(e,t,i){"use strict";i("0xDb");var a={name:"select-area",components:{vueSelectEmployee:i("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}}},data:function(){return{testList:[],treeSet:{isSelectPerson:!0,dialogVisible:!1},butList:[],vipList:[],groupData:{}}},methods:{delCurrent:function(e,t){var i=this[t];console.log(i.indexOf(e)),i.splice(i.indexOf(e),1)},handleSelectedList:function(e){console.log(e),this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}},watch:{treeData:function(e){console.log(e),this.groupData=e}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"select-area"},[i("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[i("img",{attrs:{src:t.headPic}}),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[i("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),e._m(0),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.vipList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[i("img",{attrs:{src:t.headPic}}),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"vipList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"vipList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:e.callSelector}},[i("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"setting-name"},[this._v("\n 允许指定部门/人员可见\n "),t("a",{staticClass:"J_add a-href"},[t("i",{staticClass:"el-icon-plus"}),this._v("添加")]),this._v(" "),t("a",{staticClass:"a-href J_check-detail"},[this._v("查看详情")])])}]};var n={name:"permissionSetting",components:{selectArea:i("VU/8")(a,s,!1,function(e){i("VkSY")},null,null).exports},props:{visibleApartList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!0,visibleSelf:!1}},methods:{switchPermission:function(e,t,i){e&&(this[i]=!e)},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},computed:{vaList:function(){return this.visibleApartList},vsList:function(){return this.visibleSpecialLsit},osaList:function(){return this.onlySelfApartList}}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"jurisdiction-setting"},[i("div",{staticClass:"only-visivble-there permission-div"},[e._v("\n 本部门员工仅可见本部门员工\n "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}}),e._v(" "),e.visibleThere?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData},on:{callPerSelector:e.callPerSelector}})],1):e._e()],1),e._v(" "),i("div",{staticClass:"only-visivble-self permission-div"},[e._v("\n 本部门员工仅可见自己\n "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}})],1)])},staticRenderFns:[]};var l=i("VU/8")(n,r,!1,function(e){i("y6IP")},null,null);t.a=l.exports},y6IP:function(e,t){}});
//# sourceMappingURL=9.94a00b7a6fca780a5c17.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment