Commit ab88b6af by 无尘

update: 更新

parent 0c70700d
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.b56e26a62daf6897e199629f6e36ccdc.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.745501d33841477e3543.js></script><script type=text/javascript src=./static/js/vendor.524761e5c779827c0dbf.js></script><script type=text/javascript src=./static/js/app.7be7678aca89f494a26b.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.d1dca825694e173c62d5231be1913da1.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.acf19b0332b38fb00e86.js></script><script type=text/javascript src=./static/js/vendor.35639e772416750dd7a5.js></script><script type=text/javascript src=./static/js/app.86bb00ad6e42b0614996.js></script></body></html>
\ 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.
......@@ -341,6 +341,9 @@ input:focus {
.c-303133 {
color: #303133;
}
.m-l-10 {
margin-left: 10px;
}
.m-l-16 {
margin-left: 16px;
}
......
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"},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"},{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("GEoF")},"data-v-9878f7d4",null);e.default=u.exports},GEoF:function(t,e){},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.bc242ed255f709afd2d9.js.map
\ No newline at end of file
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},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=10.e5614fdf00cfebddcfc5.js.map
\ No newline at end of file
webpackJsonp([19],{"7pZf":function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),o=a("gBtx"),n=a.n(o),l=a("3Xzz"),c=a("P9l9"),r=a("3E4D"),d=a("Ch4/"),f=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");d.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(c.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?d.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),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("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")(f,u,!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(o){o.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,o={fields:t,type:e};Object(c.c)("/haoban-manage-web/record/employee-show-field-delete.json",o).then(function(t){var e=t.data;if(1==e.errorCode)return r.a.showmsg("删除成功","success"),void a.splice(i,1);d.a.errorMsg(e)}).catch(function(t){console.log(t),s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?d.a.errorMsg(i):i.result.forEach(function(a,i){1===n()(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},"wCe+":function(t,e){}});
//# sourceMappingURL=19.162799ced722283cb7fb.js.map
\ No newline at end of file
webpackJsonp([18],{"/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=18.bf72547d03e968bea528.js.map
\ No newline at end of file
webpackJsonp([19],{"/4Tr":function(t,s){},"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("2X9c"),a=i.n(e),n={name:"page500",data:function(){return{img_500:a.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("/4Tr")},"data-v-4bf06e19",null);s.default=c.exports}});
//# sourceMappingURL=19.fa30b19f8f6b906ab779.js.map
\ No newline at end of file
webpackJsonp([21],{"7pZf":function(t,e){},LnXH:function(t,e){},Zyzf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),o=a("gBtx"),n=a.n(o),l=a("3Xzz"),c=a("P9l9"),r=a("3E4D"),d=a("Ch4/"),f=(a("mw3O"),{name:"staff-detail-field",props:{showCustomDialog:{type:Boolean,default:!1},detailData:{type:Array,default:[]},dataType:{type:Number,default:1}},data:function(){return{repProjectName:"gic-web",customDialog:!1,fixData:["clerkName","clerkPhone","groupName","positionName"],fixDataStore:["clerkName","clerkPhone","groupName","positionName","clerkCode"],customData:[],checkList:[],baseUrl:""}},beforeMount:function(){var t=window.location.origin;console.log("当前host:",t),"-1"!=t.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=t},computed:{},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("customHandleConfirm","hide")},customConfirm:function(){this.checkList=this.customData.map(function(t){return t.checkList}).flat(),this.saveFields(this.dataType)},customChange:function(t){console.log(t)},saveFields:function(t){var e=this,a={fields:e.checkList,type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-save.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("添加成功","success"),void e.$emit("customHandleConfirm");d.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var a=t.filter(function(t){return e.fieldCode==t.parentCode});return a.length>0&&(e.children=a),0==e.parentCode});return e.sort(function(t,e){return t.sort-e.sort}),e.forEach(function(t,e){t.children.sort(function(t,e){return t.sort-e.sort})}),e},getAllFields:function(){var t=this;Object(c.c)("/haoban-manage-web/record/employee-find-system-template.json",{}).then(function(e){var a=e.data;1!=a.errorCode?d.a.errorMsg(a):t.handleAllFields(a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this.treeData(t);e.forEach(function(t,e){t.checkList=[]}),this.customData=e},handleDetailData:function(){var t=this;t.customData.forEach(function(e,a){e.checkList=[],e.children.forEach(function(a,i){t.checkList.includes(a.fieldCode)&&e.checkList.push(a.fieldCode),a.disable=1==t.dataType?t.fixData.includes(a.fieldCode):t.fixDataStore.includes(a.fieldCode)})})}},watch:{showCustomDialog:function(t,e){this.customDialog=t},detailData:function(t,e){this.checkList=t&&t.length?t:[],this.handleDetailData()}},mounted:function(){this.customDialog=this.showCustomDialog,this.getAllFields()}}),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("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")(f,u,!1,function(t){a("7pZf")},"data-v-42af9dfc",null).exports,h=(a("Mk6G"),a("PI0u"),{name:"staffDetails",data:function(){return{navpath:[{name:"首页",path:"/index"},{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(o){o.value;s.postDlField(e.fields,i,a,t)}).catch(function(){})},postDlField:function(t,e,a,i){var s=this,o={fields:t,type:e};Object(c.c)("/haoban-manage-web/record/employee-show-field-delete.json",o).then(function(t){var e=t.data;if(1==e.errorCode)return r.a.showmsg("删除成功","success"),void a.splice(i,1);d.a.errorMsg(e)}).catch(function(t){console.log(t),s.$message.error({duration:1e3,message:t.message})})},getSaveFields:function(t){var e=this;1===t?(e.adminStruct.fixedList=[],e.adminStruct.defineList=[]):(e.storeStruct.fixedList=[],e.storeStruct.defineList=[]);var a={type:t};Object(c.c)("/haoban-manage-web/record/employee-show-field-detail.json",a).then(function(a){var i=a.data;1!=i.errorCode?d.a.errorMsg(i):i.result.forEach(function(a,i){1===n()(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("LnXH")},"data-v-3903d5c3",null);e.default=v.exports}});
//# sourceMappingURL=21.fd50f1522a0f2d33b0a8.js.map
\ No newline at end of file
webpackJsonp([21],{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=21.b5c1a8410160395d1a49.js.map
\ No newline at end of file
webpackJsonp([22],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("dqqc")},"data-v-12e12bd8",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},dqqc:function(t,s){}});
//# sourceMappingURL=22.6ebc92617843d8ddce0c.js.map
\ No newline at end of file
webpackJsonp([22],{CbCS:function(e,t){},fZsz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),i=r.n(n),a=r("3Xzz"),l=r("l46T"),o=r("Mk6G"),u={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t="";"word"==this.getByType?(t=o.a.getByteVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getZhLen(this.itemValue)):(t=o.a.getCharVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getByteLen(this.itemValue)),this.$emit("update:inputValue",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=o.a.getZhLen(this.itemValue)}},mounted:function(){this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=o.a.getZhLen(this.inputValue)}},h={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"input-line-cell",style:{width:e.inputWidth+"px"}},[r("el-input",{style:{width:e.inputWidth+"px"},attrs:{placeholder:e.holder,type:"textarea",rows:3},on:{focus:function(t){e.inputFocus()}},nativeOn:{keyup:function(t){return r=t,e.toInput(r);var r}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),r("span",{staticClass:"tip"},[r("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var s=r("VU/8")(u,h,!1,function(e){r("CbCS")},"data-v-61f16316",null).exports,c=r("3E4D"),m=r("Ch4/"),d=r("PI0u"),f=r("P9l9"),g={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员角色",path:""}],showFlag:!1,ruleForm:{roleId:"",roleName:"企业管理员",remark:"角色说明",leftChecked:[],left:[],rightChecked:[],right:[],leftCheckedApp:[],leftApp:[],rightCheckedApp:[],rightApp:[]},rules:{roleName:[{required:!0,message:"请填写角色名称",trigger:"change"}],remark:[{required:!0,message:"请填写角色说明",trigger:"change"}],leftChecked:[{required:!0,message:"请选择菜单权限",trigger:"change"}]}}},computed:{},methods:{submitForm:Object(d.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e),!e)return!1;var r=[];t.ruleForm.left.forEach(function(e,t){e.check&&(r.push({rightId:e.rightId}),e.children&&e.children.length&&e.children.forEach(function(e,t){e.check&&r.push({rightId:e.rightId})}))}),console.log(t.ruleForm.left,r),t.postSave(r)})},500),postSave:function(e){var t=this,r={data:i()(e),roleId:t.ruleForm.roleId,roleName:t.ruleForm.roleName,remark:t.ruleForm.remark};Object(f.c)("/haoban-manage-web/save-role",r).then(function(e){var r=e.data;if(1==r.errorCode)return c.a.showmsg("操作成功","success"),void t.$router.push("/setChildAdmin");m.a.errorMsg(r)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getMenuList:function(){var e=this;Object(f.c)("/haoban-manage-web/menu-list",{}).then(function(t){var r=t.data;if(1==r.errorCode)return r.result?(e.ruleForm.left=e.treeData(r.result),e.ruleForm.left.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1})}),e.ruleForm.right=e.ruleForm.left[0].children?e.ruleForm.left[0].children:[],void(e.ruleForm.roleId&&e.getRoleDetail(e.ruleForm.roleId))):void e.$message.error({message:"菜单列表为空"});m.a.errorMsg(r)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){return e.filter(function(t){var r=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return r.length>0&&(t.children=r),-1==t.parentRightId})},getRoleDetail:function(e){var t=this,r={roleId:e};Object(f.c)("/haoban-manage-web/role-detail",r).then(function(e){var r=e.data;if(1!=r.errorCode)m.a.errorMsg(r);else{if(t.ruleForm.roleId=r.result.role.roleId,t.ruleForm.roleName=r.result.role.roleName,t.ruleForm.roleCode=r.result.role.roleCode,t.ruleForm.remark=r.result.role.remark,t.ruleForm.right.length){var n=t.ruleForm.right.map(function(e){return e.rightId}),i=[];r.result.menuRightList.forEach(function(e,t){n.includes(e.rightId)&&i.push(e.rightId)}),t.ruleForm.rightChecked=i}var a=t.treeData(r.result.menuRightList);t.ruleForm.leftChecked=a.map(function(e){return e.rightId});var l=r.result.menuRightList.map(function(e){return e.rightId});t.ruleForm.left.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1})})}}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},leftChange:function(e,t){var r=this;r.ruleForm.leftChecked=e;var n=e.includes(t[0]);function i(){r.ruleForm.right=[],r.ruleForm.left.forEach(function(e,i){e.rightId.includes(t[0])&&(e.check=!!n,e.children&&e.children.length&&e.children.forEach(function(e,t){r.ruleForm.right.push(e)}))})}e.includes(t[0]),i(),r.ruleForm.rightChecked=r.ruleForm.right.map(function(e){if(!0===e.check)return e.rightId})},rightChange:function(e,t){console.log(e,t);var r=e.includes(t[0]);this.ruleForm.rightChecked=e,this.ruleForm.left.forEach(function(e,n){e.children&&e.children.length&&e.children.forEach(function(e,n){e.rightId.includes(t[0])&&(e.check=!!r)})})},leftChangeApp:function(e,t){console.log(e,t)},rightChangeApp:function(e,t){console.log(e,t)}},mounted:function(){console.log(this.$route.query),this.getMenuList(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId,this.navpath[3].name="管理员角色","show"===this.$route.query.type&&(this.showFlag=!0))},components:{navCrumb:a.a,limitInput:l.a,limitTextarea:s}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.roleName,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"roleName",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"角色说明",prop:"remark"}},[r("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.remark,holder:"请输入角色说明",maxLength:50},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"remark",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"菜单权限",prop:"leftChecked"}},[r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["一级权限","二级权限"],"left-default-checked":e.ruleForm.leftChecked,data:e.ruleForm.left},on:{"left-check-change":e.leftChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])}),e._v(" "),r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["二级权限","二级权限"],"left-default-checked":e.ruleForm.rightChecked,data:e.ruleForm.right},on:{"left-check-change":e.rightChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{disabled:!!e.showFlag,type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var v=r("VU/8")(g,p,!1,function(e){r("vLzq")},"data-v-088c8c73",null);t.default=v.exports},vLzq:function(e,t){}});
//# sourceMappingURL=22.bc3deb2d39b27c824c6a.js.map
\ No newline at end of file
webpackJsonp([23],{CbCS:function(e,t){},YiVX:function(e,t){},fZsz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),i=r.n(n),a=r("3Xzz"),l=r("l46T"),o=r("Mk6G"),u={name:"limittextarea",props:{inputValue:{type:String,default:""},maxLength:{type:Number,default:10},inputWidth:{type:Number,default:500},getByType:{type:String,default:"word"},holder:{type:String,default:"请输入"}},data:function(){return{inputNum:0,limitLength:10,itemValue:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){console.log(e);var t="";"word"==this.getByType?(t=o.a.getByteVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getZhLen(this.itemValue)):(t=o.a.getCharVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=o.a.getByteLen(this.itemValue)),this.$emit("update:inputValue",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=o.a.getZhLen(this.itemValue)}},mounted:function(){this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=o.a.getZhLen(this.inputValue)}},h={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"input-line-cell",style:{width:e.inputWidth+"px"}},[r("el-input",{style:{width:e.inputWidth+"px"},attrs:{placeholder:e.holder,type:"textarea",rows:3},on:{focus:function(t){e.inputFocus()}},nativeOn:{keyup:function(t){return r=t,e.toInput(r);var r}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),r("span",{staticClass:"tip"},[r("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var s=r("VU/8")(u,h,!1,function(e){r("CbCS")},"data-v-61f16316",null).exports,c=r("3E4D"),m=r("Ch4/"),d=r("PI0u"),f=r("P9l9"),g={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"新增管理员角色",path:""}],showFlag:!1,ruleForm:{roleId:"",roleName:"企业管理员",remark:"角色说明",leftChecked:[],left:[],rightChecked:[],right:[],leftCheckedApp:[],leftApp:[],rightCheckedApp:[],rightApp:[]},rules:{roleName:[{required:!0,message:"请填写角色名称",trigger:"change"}],remark:[{required:!0,message:"请填写角色说明",trigger:"change"}],leftChecked:[{required:!0,message:"请选择菜单权限",trigger:"change"}]}}},computed:{},methods:{submitForm:Object(d.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e),!e)return!1;var r=[];t.ruleForm.left.forEach(function(e,t){e.check&&(r.push({rightId:e.rightId}),e.children&&e.children.length&&e.children.forEach(function(e,t){e.check&&r.push({rightId:e.rightId})}))}),console.log(t.ruleForm.left,r),t.postSave(r)})},500),postSave:function(e){var t=this,r={data:i()(e),roleId:t.ruleForm.roleId,roleName:t.ruleForm.roleName,remark:t.ruleForm.remark};Object(f.c)("/haoban-manage-web/save-role",r).then(function(e){var r=e.data;if(1==r.errorCode)return c.a.showmsg("操作成功","success"),void t.$router.push("/setChildAdmin");m.a.errorMsg(r)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getMenuList:function(){var e=this;Object(f.c)("/haoban-manage-web/menu-list",{}).then(function(t){var r=t.data;if(1==r.errorCode)return r.result?(e.ruleForm.left=e.treeData(r.result),e.ruleForm.left.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){e.key=e.rightId,e.label=e.rightName,e.check=!1})}),e.ruleForm.right=e.ruleForm.left[0].children?e.ruleForm.left[0].children:[],void(e.ruleForm.roleId&&e.getRoleDetail(e.ruleForm.roleId))):void e.$message.error({message:"菜单列表为空"});m.a.errorMsg(r)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){return e.filter(function(t){var r=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return r.length>0&&(t.children=r),-1==t.parentRightId})},getRoleDetail:function(e){var t=this,r={roleId:e};Object(f.c)("/haoban-manage-web/role-detail",r).then(function(e){var r=e.data;if(1!=r.errorCode)m.a.errorMsg(r);else{if(t.ruleForm.roleId=r.result.role.roleId,t.ruleForm.roleName=r.result.role.roleName,t.ruleForm.roleCode=r.result.role.roleCode,t.ruleForm.remark=r.result.role.remark,t.ruleForm.right.length){var n=t.ruleForm.right.map(function(e){return e.rightId}),i=[];r.result.menuRightList.forEach(function(e,t){n.includes(e.rightId)&&i.push(e.rightId)}),t.ruleForm.rightChecked=i}var a=t.treeData(r.result.menuRightList);t.ruleForm.leftChecked=a.map(function(e){return e.rightId});var l=r.result.menuRightList.map(function(e){return e.rightId});t.ruleForm.left.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1,e.children&&e.children.length&&e.children.forEach(function(e,t){l.includes(e.rightId)?e.check=!0:e.check=!1})})}}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},leftChange:function(e,t){var r=this;r.ruleForm.leftChecked=e;var n=e.includes(t[0]);function i(){r.ruleForm.right=[],r.ruleForm.left.forEach(function(e,i){e.rightId.includes(t[0])&&(e.check=!!n,e.children&&e.children.length&&e.children.forEach(function(e,t){r.ruleForm.right.push(e)}))})}e.includes(t[0]),i(),r.ruleForm.rightChecked=r.ruleForm.right.map(function(e){if(!0===e.check)return e.rightId})},rightChange:function(e,t){console.log(e,t);var r=e.includes(t[0]);this.ruleForm.rightChecked=e,this.ruleForm.left.forEach(function(e,n){e.children&&e.children.length&&e.children.forEach(function(e,n){e.rightId.includes(t[0])&&(e.check=!!r)})})},leftChangeApp:function(e,t){console.log(e,t)},rightChangeApp:function(e,t){console.log(e,t)}},mounted:function(){console.log(this.$route.query),this.getMenuList(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId,this.navpath[3].name="管理员角色","show"===this.$route.query.type&&(this.showFlag=!0))},components:{navCrumb:a.a,limitInput:l.a,limitTextarea:s}},p={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[r("limitInput",{attrs:{inputWidth:500,inputValue:e.ruleForm.roleName,holder:"请输入角色名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"roleName",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"角色说明",prop:"remark"}},[r("limitTextarea",{attrs:{inputWidth:500,inputValue:e.ruleForm.remark,holder:"请输入角色说明",maxLength:50},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"remark",t)}}})],1),e._v(" "),r("el-form-item",{attrs:{label:"菜单权限",prop:"leftChecked"}},[r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["一级权限","二级权限"],"left-default-checked":e.ruleForm.leftChecked,data:e.ruleForm.left},on:{"left-check-change":e.leftChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])}),e._v(" "),r("el-transfer",{staticClass:"el-transfer-check",attrs:{titles:["二级权限","二级权限"],"left-default-checked":e.ruleForm.rightChecked,data:e.ruleForm.right},on:{"left-check-change":e.rightChange},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.option;return r("span",{},[e._v(e._s(n.label))])}}])})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{disabled:!!e.showFlag,type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var v=r("VU/8")(g,p,!1,function(e){r("YiVX")},"data-v-083350f8",null);t.default=v.exports}});
//# sourceMappingURL=23.c1f690aa03bbbe9c38b8.js.map
\ No newline at end of file
webpackJsonp([23],{"6YN/":function(e,t){},"rs/A":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),s=a.n(r),o=a("3Xzz"),l=a("c4uw"),i=a("Ie7z"),n=(a("Mk6G"),a("3E4D")),c=a("Ch4/"),u=a("PI0u"),d=a("P9l9"),m={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"添加成员",path:""}],ruleForm:{roleId:"",roleName:"企业管理员",peopleList:[],departList:[],brandValue:[],brandOptions:[]},rules:{},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},treeData:{},defaultSelection:[],onlyPerson:!1,selectType:"",storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},submitForm:Object(u.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm.peopleList,t.ruleForm.brandValue),!e)return!1;var a=[];t.ruleForm.departList.forEach(function(e){a.push({groupId:e.groupId})}),t.ruleForm.brandValue.forEach(function(e){a.push({storeId:e.storeId})});var r=t.ruleForm.peopleList.map(function(e){return e.employeeClerkId}).join(",");t.postSave(a,r)})},500),postSave:function(e,t){var a=this,r={data:s()(e),roleId:a.ruleForm.roleId,clerkIds:t};Object(d.c)("/haoban-manage-web/save-clerk-role",r).then(function(e){var t=e.data;1!=t.errorCode?c.a.errorMsg(t):n.a.showmsg("添加成功","success")}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},delField:function(e,t,a){this.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(t){t.value;a.splice(e,1)}).catch(function(){})},delDepart:function(e,t){t.splice(e,1)},showDialogLayer:function(e,t){console.log(e,t),this.selectType=e,"store"!==e?(this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1},"people"===e?(this.onlyPerson=!0,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}):this.onlyPerson=!1,console.log(this.treeSet,this.onlyPerson),this.defaultSelection=t,this.treeData.hasOwnProperty("treeData")||this.getDepartData(t)):this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e);"people"===this.selectType?this.ruleForm.peopleList=e:"store"===this.selectType?this.ruleForm.brandValue=e:this.ruleForm.departList=e},getDepartData:function(e){var t=this;Object(d.c)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(a){var r=a.data;if(1!=r.errorCode)c.a.errorMsg(r);else if(r.result){var s=[],o=[];1==a.data.errorCode&&(s=a.data.result.departmentList||[],o=a.data.result.searchList||[]),t.treeData={treeData:s,personData:o},t.defaultSelection=e}else t.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getStoreData:function(){var e=this;Object(d.c)("/haoban-manage-web/dept/deptListForCompany",{}).then(function(t){var a=t.data;if(1!=a.errorCode)c.a.errorMsg(a);else if(a.result){var r=[],s=[];1==t.data.errorCode&&(r=t.data.result.departmentList||[],s=t.data.result.searchList||[]),e.treeData={treeData:r,personData:s},e.defaultSelection=selData}else e.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getBrandData:function(){var e=this;Object(d.c)("/haoban-manage-web/brand/list",{}).then(function(t){var a=t.data;1!=a.errorCode?c.a.errorMsg(a):a.result&&a.result.length?e.ruleForm.brandOptions=a.result:e.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getBrandData(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId),this.$route.query.hasOwnProperty("roleCode")&&(this.ruleForm.roleCode=this.$route.query.roleCode,this.ruleForm.roleName="admin"===this.$route.query.roleCode?"企业管理员":"子管理员")},components:{navCrumb:o.a,vueSelectEmployee:l.a,vueSelectStore:i.a}},p={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:"roleName"}},[a("el-input",{staticClass:"w-380",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.roleName,callback:function(t){e.$set(e.ruleForm,"roleName",t)},expression:"ruleForm.roleName"}})],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,r){return[a("div",{staticClass:"people-cell"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",[e._v(e._s(t.name))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),e.delField(r,t,e.ruleForm.peopleList)}}})])]}),e._v(" "),a("div",{staticClass:"people-cell"},[a("span",{staticClass:"add-icon",on:{click:function(t){t.stopPropagation(),e.showDialogLayer("people",e.ruleForm.peopleList)}}},[a("i",{staticClass:"el-icon-plus"})])])],2)]),e._v(" "),a("el-form-item",{staticClass:"m-b-0",attrs:{label:"选择管理范围",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",[e._v("行政架构")]),e._v(" "),a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("depart",e.ruleForm.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.ruleForm.departList,function(t,r){return[a("span",{key:r,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(r,e.ruleForm.departList)}}})])]})],2)])])]),e._v(" "),a("div",[e._v("门店架构")]),e._v(" "),"admin"==e.ruleForm.roleCode?a("div",{staticClass:"store-item-wrap"},[a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:e.ruleForm.brandValue,callback:function(t){e.$set(e.ruleForm,"brandValue",t)},expression:"ruleForm.brandValue"}},e._l(e.ruleForm.brandOptions,function(e){return a("el-option",{key:e.brandId,attrs:{label:e.name,value:e.brandId}})}))],1):e._e(),e._v(" "),"child_admin"==e.ruleForm.roleCode?a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("store",e.ruleForm.brandValue)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.ruleForm.brandValue,function(t,r){return[a("span",{key:r,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name||t.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(r,e.ruleForm.brandValue)}}})])]})],2)])])]):e._e()])]),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,onlyPerson:e.onlyPerson,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.storeTreeSet},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var h=a("VU/8")(m,p,!1,function(e){a("6YN/")},"data-v-f55adfa8",null);t.default=h.exports}});
//# sourceMappingURL=23.e207422c96e297aa5c23.js.map
\ No newline at end of file
webpackJsonp([24],{a7r0:function(e,t){},ys9I:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),l={name:"replaceAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"更换超级管理员",path:""}],subNavText:"更换超级管理员,需要先验证当前超级管理员身份",active:0,ruleForm:{name:"11",phone:1334444444,code:""},rules:{name:[{required:!0,message:"请输入当前绑定账号",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},disableBtn:!1,newFormLoad:!1,newRuleForm:{name:""},newRules:{name:[{required:!0,message:"请输入手机号/姓名",trigger:"blur"}]}}},computed:{},methods:{sendCode:Object(s.a)(function(e){this.disableBtn=!0},500),postSendCode:function(){},submitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++>2&&t.active})},500),newSubmitForm:Object(s.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.active++})},500),submitFormBack:function(){this.active&&this.active--}},mounted:function(){},components:{navCrumb:a.a}},n={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"replaceAdmin-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("el-steps",{attrs:{active:e.active,"finish-status":"success","align-center":""}},[r("el-step",{attrs:{title:"获取验证码"}}),e._v(" "),r("el-step",{attrs:{title:"绑定新的超级管理员"}}),e._v(" "),r("el-step",{attrs:{title:"完成"}})],1),e._v(" "),r("div",{staticClass:"w-514 replaceAdmin-wrap-form m-t-45"},[0==e.active?r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"当前绑定账号",prop:"name"}},[r("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"手机号",prop:"phone"}},[r("el-input",{staticClass:"w-280",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.phone,callback:function(t){e.$set(e.ruleForm,"phone",t)},expression:"ruleForm.phone"}}),r("el-button",{staticClass:"m-l-20 v-align-b",attrs:{type:"primary",disabled:e.disableBtn},on:{click:function(t){e.sendCode(e.ruleForm.phone)}}},[e._v("获取验证码")])],1),e._v(" "),r("el-form-item",{attrs:{label:"验证码",prop:"code"}},[r("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入验证码"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("下一步")])],1)],1):e._e(),e._v(" "),1==e.active?r("el-form",{ref:"newRuleForm",staticClass:"demo-ruleForm",attrs:{model:e.newRuleForm,rules:e.newRules,"label-width":"140px"}},[r("el-form-item",{attrs:{label:"新绑定超级管理员",prop:"name"}},[r("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入手机号/姓名"},model:{value:e.newRuleForm.name,callback:function(t){e.$set(e.newRuleForm,"name",t)},expression:"newRuleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.newFormLoad},on:{click:function(t){e.newSubmitForm("newRuleForm")}}},[e._v("提交")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.submitFormBack}},[e._v("上一步")])],1)],1):e._e(),e._v(" "),2==e.active?r("div",{staticClass:"replaceAdmin-wrap-success"},[e._m(0),e._v(" "),r("p",[e._v("操作成功")])]):e._e()],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon-outer"},[t("i",{staticClass:"el-icon-success"})])}]};var i=r("VU/8")(l,n,!1,function(e){r("a7r0")},"data-v-e5b4489c",null);t.default=i.exports}});
//# sourceMappingURL=24.4cc402fc9009b4b3cd81.js.map
\ No newline at end of file
webpackJsonp([25],{mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Ie7z"),r=a("P9l9"),o={name:"store-view-group-info",components:{vueSelectStore:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},disabled:!0,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{handleSelectedList:function(e){var t=e[0];console.log(t),this.departInfo.parentId=t?t.id:"",this.departInfo.parentName=t?t.label:""},callGroupSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var n=e,o={parentId:n.departInfo.parentId,name:n.departInfo.name},s="";n.isAddNew?s="/haoban-manage-web/dept/insert":(s="/haoban-manage-web/dept/update",o.groupId=n.$route.query.groupId),Object(r.a)(s,o).then(function(e){console.log(e),1==e.data.errorCode?(n.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(n.departInfo={name:"",parentName:"",parentId:""},n.disabled=!0,n.getGroupData()):window.history.go(-1)):n.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})},getGroupInfo:function(){var e=this,t={groupId:e.$route.query.groupId};Object(r.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){1==t.data.errorCode?e.departInfo={name:t.data.result.name,parentName:t.data.result.chainName,parentId:t.data.result.parentId}:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}},beforeMount:function(){this.isAddNew||this.getGroupInfo()},mounted:function(){this.disabled=!1},watch:{treeData:function(){this.disabled=!1}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell"},[a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"setting-cell"},[a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]),e._v(" "),a("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),a("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var i=a("VU/8")(o,s,!1,function(e){a("q+Iv")},null,null);t.default=i.exports},"q+Iv":function(e,t){}});
//# sourceMappingURL=25.351724ad5518f05ac68f.js.map
\ No newline at end of file
webpackJsonp([26],{DN0r:function(e,t){},da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var r=a("VU/8")(o,n,!1,function(e){a("DN0r")},"data-v-dce5fb1e",null);t.default=r.exports}});
//# sourceMappingURL=26.3d02babfbfcf434aa4c5.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/enterpriseApp/index.vue","webpack:///./src/views/enterpriseApp/index.vue?a382","webpack:///./src/views/enterpriseApp/index.vue"],"names":["enterpriseApp","name","data","projectName","collapseFlag","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","views_enterpriseApp","render","_h","$createElement","_c","_self","staticClass","attrs","on","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"2HAUA,IAAAA,GACAC,KAAA,aACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,IAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAP,aAAAI,IAGAQ,QAlCA,cCPeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbR,KAAaS,eAA0BC,EAAvCV,KAAuCW,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,qBAA0BG,OAAOrB,YAA/IQ,KAA+IR,aAA8BsB,IAAKV,YAAlLJ,KAAkLI,YAAAR,aAAlLI,KAAkLJ,gBAAlLI,KAAiPe,GAAA,KAAAL,EAAA,OAAwBE,YAAA,2BAAoC,IAEtTI,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE9B,EACAiB,GATF,EAVA,SAAAc,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/26.3d02babfbfcf434aa4c5.js","sourcesContent":["<template>\n <div class=\"enterprise-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"enterprise-wrap__body\">\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"enterprise\",\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n }\n },\n computed: {\n\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n\n },\n}\n\n</script>\n<style lang=\"less\" scoped>\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/enterpriseApp/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"enterprise-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"enterprise-wrap__body\"})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-dce5fb1e\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-dce5fb1e\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-dce5fb1e\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-dce5fb1e\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([24],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),r=a("MJLE"),n=a.n(r),o={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:""}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new n.a("qrcode",{width:245,height:245,text:e})},getShareBrands:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/get-all-shared-enterprise",{}).then(function(t){console.log(t,"shares"),1==t.data.errorCode?e.shares=t.data.result||[]:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],e.myEnterprise=t.data.result[0].exportEnterpriseName):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){console.log(e)}},beforeMount:function(){this.getShareRelation(),this.getShareBrands(),this.getCode()}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t.importEnterpriseId)}}},[e._v("取消共享")])])])}))])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(e){a("hh5o")},null,null);t.default=c.exports},hh5o:function(e,t){}});
//# sourceMappingURL=24.8ae2e8183cb94067ec31.js.map
\ No newline at end of file
webpackJsonp([27],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),r=a("MJLE"),n=a.n(r),o={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:""}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new n.a("qrcode",{width:245,height:245,text:e})},getShareBrands:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/get-all-shared-enterprise",{}).then(function(t){console.log(t,"shares"),1==t.data.errorCode?e.shares=t.data.result||[]:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],e.myEnterprise=t.data.result[0].exportEnterpriseName):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){console.log(e)}},beforeMount:function(){this.getShareRelation(),this.getShareBrands(),this.getCode()}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t.importEnterpriseId)}}},[e._v("取消共享")])])])}))])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(e){a("hh5o")},null,null);t.default=c.exports},hh5o:function(e,t){}});
//# sourceMappingURL=27.51cc41904df7fcc441d9.js.map
\ No newline at end of file
webpackJsonp([28],{VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),l=(a("PI0u"),a("P9l9")),s={name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",isAddAdmin:"",activeId:1,adminRole:[],roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:""},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminrole?roleId="+this.activeId+"&type="+e)},selectRole:function(e){this.activeId=e.roleId,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(e){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+e)},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(l.c)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.$message.error({duration:1e3,message:"暂无数据"}),e.tableData=[],!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(l.c)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},[e.isAddAdmin?a("div",{staticClass:"text-center"},[a("el-button",{on:{click:function(t){e.changeRoute("/addAdminrole")}}},[e._v("新增管理员角色")])],1):e._e(),e._v(" "),e._l(e.roleListData,function(t,i){return a("div",{key:i,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head"},[e._v(e._s(t.brandName))]),e._v(" "),a("ul",e._l(t.roleList,function(t,i){return a("li",{key:i,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])})],2),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between m-b-25"},[a("span",{staticClass:"font-20 color-303133"},[e._v(e._s(e.roleRightObj.roleName))]),e.isAddAdmin?e._e():a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v("查看权限")]),e.isAddAdmin?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("编辑权限")]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip "},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"admin"===e.roleRightObj.roleCode?"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个":"",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),e.isAddAdmin?a("div",{staticClass:"role-add m-t-27"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.toAddRole(e.roleRightObj.roleCode)}}},[e._v("添加成员")])],1):e._e(),e._v(" "),a("div",{class:["role-table",e.isAddAdmin?"":"m-t-27"]},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clerkPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var n=a("VU/8")(s,r,!1,function(e){a("XSFN")},"data-v-c34ded10",null);t.default=n.exports},XSFN:function(e,t){}});
//# sourceMappingURL=28.32b8173398aa07ccd7bf.js.map
\ No newline at end of file
webpackJsonp([25],{VlR1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t,e)},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(a,n,!1,function(t){o("pjfd")},"data-v-b349d546",null);e.default=i.exports},pjfd:function(t,e){}});
//# sourceMappingURL=25.121f35a02040f60c89dc.js.map
\ No newline at end of file
webpackJsonp([29],{VlR1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){console.log("获取当前路由:",t,e)},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"setting-wrap"},[o("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(a,n,!1,function(t){o("pjfd")},"data-v-b349d546",null);e.default=i.exports},pjfd:function(t,e){}});
//# sourceMappingURL=29.27d15ec897475c04bd87.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/index.vue","webpack:///./src/views/contacts/index.vue?a378","webpack:///./src/views/contacts/index.vue"],"names":["contacts","name","components","topNav","data","projectName","collapseFlag","navpath","path","methods","toRouterView","val","console","log","this","$router","push","collapseTag","mounted","computed","views_contacts","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"4GAqBAA,GACAC,KAAA,UACAC,YACAC,iBAAA,GAEAC,KALA,WAMA,OACAC,YAAA,oBACAC,cAAA,EAEAC,UAEAN,KAAA,KACAO,KAAA,MAGAP,KAAA,MACAO,KAAA,KAGAP,KAAA,UAGAA,KAAA,WAKAQ,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAR,KAAAG,EAAAH,QAKAS,YAjBA,SAiBAN,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAO,QAnDA,aAsDAC,aCxEeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAR,KAAaS,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOvB,YAAAiB,EAAAjB,aAA8BwB,IAAKZ,YAAAK,EAAAL,YAAAP,aAAAY,EAAAZ,gBAA+DY,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,oBAAyBM,IAAA,YAAAH,OAAuBvB,YAAAiB,EAAAjB,YAAAC,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,wBAAkCF,EAAA,UAAeG,OAAOrB,QAAAe,EAAAf,WAAuBe,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,8BAAwCF,EAAA,cAAmBG,OAAO3B,KAAA,OAAA+B,KAAA,YAA+BP,EAAA,oCAE/nBQ,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpC,EACAoB,GATF,EAVA,SAAAiB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/29.bd4cbe2ce0ac311f29cb.js","sourcesContent":["<template>\r\n <div class=\"contact-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"contact-wrap__body\">\r\n <!-- 公共左侧菜单插件 -->\r\n <vue-office-aside ref=\"leftMenus\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\r\n <!-- 右侧 body -->\r\n <div class=\"contact-wrap__right\">\r\n <topNav :navpath=\"navpath\"></topNav>\r\n <div class=\"contact-wrap__right__body\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport topNav from 'components/nav/nav'\r\nexport default {\r\n name: \"contact\",\r\n components: {\r\n topNav\r\n },\r\n data() {\r\n return {\r\n projectName: 'haoban-manage-web', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n // 面包屑导航数据\r\n navpath: [\r\n {\r\n name: '首页',\r\n path: '/'\r\n },\r\n {\r\n name: '通讯录',\r\n path: ''\r\n },\r\n {\r\n name: \"企业通讯录\"\r\n },\r\n {\r\n name: \"行政架构\"\r\n }\r\n ],\r\n }\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n\r\n },\r\n computed: {\r\n\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"less\">\r\n .contact-wrap {\r\n position: relative;\r\n\r\n &__body {\r\n display: -ms-flexbox;\r\n display: flex;\r\n width: 100%;\r\n overflow: hidden;\r\n padding-top: 64px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n overflow: auto;\r\n min-width: 1400px;\r\n background: #f5f7fa;\r\n }\r\n\r\n &__right {\r\n -ms-flex: 1;\r\n flex: 1;\r\n overflow: auto;\r\n width: 100%;\r\n\r\n &__body {\r\n padding: 24px;\r\n\r\n }\r\n }\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__body\"},[_c('vue-office-aside',{ref:\"leftMenus\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right\"},[_c('topNav',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right__body\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-55e67ae1\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-55e67ae1\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-55e67ae1\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([26],{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=26.b0077af7f571b44aac71.js.map
\ No newline at end of file
webpackJsonp([30],{CSjr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fileSet-wrap"})},staticRenderFns:[]};var r=n("VU/8")({name:"fileSet",data:function(){return{}},computed:{},methods:{},mounted:function(){}},a,!1,function(e){n("FV89")},"data-v-b11b7d9a",null);t.default=r.exports},FV89:function(e,t){}});
//# sourceMappingURL=30.06ae86a2d4e1c71bf6cb.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/fileSet.vue","webpack:///./src/views/contacts/fileSet.vue?448c","webpack:///./src/views/contacts/fileSet.vue"],"names":["contacts_fileSet","render","_h","this","$createElement","_self","_c","staticClass","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","data","computed","methods","mounted","ssrContext","__webpack_exports__"],"mappings":"sGAMA,ICHeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,OAAiBK,YAAA,kBAEzFC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFVAC,KAAA,UACAC,KAFA,WAGA,UAIAC,YAGAC,WAGAC,QAbA,cEaEhB,GATF,EAVA,SAAAiB,GACEP,EAAQ,SAaV,kBAEA,MAUeQ,EAAA,QAAAT,EAAiB","file":"static/js/26.b0077af7f571b44aac71.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/30.06ae86a2d4e1c71bf6cb.js","sourcesContent":["<template>\r\n <div class=\"fileSet-wrap\">\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"fileSet\",\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/fileSet.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fileSet-wrap\"})}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b11b7d9a\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./fileSet.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./fileSet.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b11b7d9a\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./fileSet.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b11b7d9a\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/fileSet.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/reviewCenter/index.vue","webpack:///./src/views/reviewCenter/index.vue?880a","webpack:///./src/views/reviewCenter/index.vue"],"names":["reviewCenter","name","data","projectName","collapseFlag","contentHeight","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","document","documentElement","clientHeight","body","views_reviewCenter","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAuBA,IAAAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,EACAC,cAAA,QAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAQ,QAnCA,WAoCAL,KACAP,eAAAa,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UCzDeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,gBAA0BF,EAAA,qBAA0BG,OAAO3B,YAAAqB,EAAArB,aAA8B4B,IAAKf,YAAAQ,EAAAR,YAAAR,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,oBAAyBS,IAAA,YAAAN,OAAuB3B,YAAAqB,EAAArB,YAAAC,aAAAoB,EAAApB,iBAA+D,GAAAoB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAO7B,KAAA,OAAAoC,KAAA,YAA+BV,EAAA,gCAEnrBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzC,EACAsB,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/30.3e19ed99226cacf49f81.js","sourcesContent":["<template>\r\n <div class=\"review-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"setting-wrap__body\">\r\n <div id=\"content\" class=\"content\">\r\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\r\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\r\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\r\n </div>\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <!-- 缓存已经填好内容的页面 -->\r\n <!-- <keep-alive include=\"editGroupGrade\"> -->\r\n <router-view></router-view>\r\n <!-- </keep-alive > -->\r\n </transition>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"reviewed\",\r\n data() {\r\n return {\r\n projectName: 'haoban-manage-web', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n contentHeight: '0px', //页面内容高度\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n const that = this\r\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px';\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" >\r\n.setting-wrap__body{\r\n .content{\r\n padding-top: 64px;\r\n /* height: calc(100% - 64px);\r\n overflow-y: auto;*/\r\n min-width: 1400px;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n\r\n .content-body {\r\n display: flex;\r\n overflow: hidden;\r\n\r\n .common-set-wrap {\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n overflow-y: auto;\r\n\r\n .right-content {\r\n /*width: 100%;*/\r\n padding: 24px;\r\n min-height: calc(100% - 240px);\r\n\r\n .right-box {\r\n background: #fff;\r\n padding: 24px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.el-table__body-wrapper .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-4ed2ae7a\",\"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-4ed2ae7a\\\",\\\"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-4ed2ae7a\\\",\\\"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([31],{LD75:function(e,t){},mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Ie7z"),r=a("P9l9"),o={name:"store-view-group-info",components:{vueSelectStore:n.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},disabled:!0,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{handleSelectedList:function(e){var t=e[0];console.log(t),this.departInfo.parentId=t?t.id:"",this.departInfo.parentName=t?t.label:""},callGroupSelector:function(){this.$refs.storeSelector.treeSet.dialogVisible=!0},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var n=e,o={parentId:n.departInfo.parentId,name:n.departInfo.name},s="";n.isAddNew?s="/haoban-manage-web/dept/insert":(s="/haoban-manage-web/dept/update",o.groupId=n.$route.query.groupId),Object(r.a)(s,o).then(function(e){console.log(e),1==e.data.errorCode?(n.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(n.departInfo={name:"",parentName:"",parentId:""},n.disabled=!0,n.getGroupData()):window.history.go(-1)):n.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})},getGroupInfo:function(){var e=this,t={groupId:e.$route.query.groupId};Object(r.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){1==t.data.errorCode?e.departInfo={name:t.data.result.name,parentName:t.data.result.chainName,parentId:t.data.result.parentId}:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}},beforeMount:function(){this.isAddNew||this.getGroupInfo()},mounted:function(){this.disabled=!1},watch:{treeData:function(){this.disabled=!1}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell"},[a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"setting-cell"},[a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]),e._v(" "),a("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),a("vue-select-store",{ref:"storeSelector",on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var i=a("VU/8")(o,s,!1,function(e){a("LD75")},null,null);t.default=i.exports}});
//# sourceMappingURL=31.07cc6a59a2406e467877.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:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"review-wrap"},[o("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(n,a,!1,function(e){o("Dgsm")},null,null);t.default=i.exports},Dgsm:function(e,t){}});
//# sourceMappingURL=30.3e19ed99226cacf49f81.js.map
\ No newline at end of file
webpackJsonp([32],{"+lem":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"review-wrap"},[o("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),o("div",{staticClass:"setting-wrap__body"},[o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:e.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[o("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=o("VU/8")(n,a,!1,function(e){o("Me48")},null,null);t.default=i.exports},Me48:function(e,t){}});
//# sourceMappingURL=32.9bd76de11c54651a4c4b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/reviewCenter/index.vue","webpack:///./src/views/reviewCenter/index.vue?2551","webpack:///./src/views/reviewCenter/index.vue"],"names":["reviewCenter","name","data","projectName","collapseFlag","contentHeight","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","document","documentElement","clientHeight","body","views_reviewCenter","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","id","style","height","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAuBA,IAAAA,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,EACAC,cAAA,QAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAQ,QAnCA,WAoCAL,KACAP,eAAAa,SAAAC,gBAAAC,cAAAF,SAAAG,KAAAD,cAAA,UCzDeE,GADEC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,gBAA0BF,EAAA,qBAA0BG,OAAO3B,YAAAqB,EAAArB,aAA8B4B,IAAKf,YAAAQ,EAAAR,YAAAR,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,OAAYE,YAAA,UAAAC,OAA6BG,GAAA,aAAgBN,EAAA,OAAYE,YAAA,eAAAK,OAAmCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,OAAYE,YAAA,YAAAK,OAAgCC,OAAAX,EAAAnB,iBAA4BsB,EAAA,oBAAyBS,IAAA,YAAAN,OAAuB3B,YAAAqB,EAAArB,YAAAC,aAAAoB,EAAApB,iBAA+D,GAAAoB,EAAAQ,GAAA,KAAAL,EAAA,cAAmCG,OAAO7B,KAAA,OAAAoC,KAAA,YAA+BV,EAAA,gCAEnrBW,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzC,EACAsB,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/32.9bd76de11c54651a4c4b.js","sourcesContent":["<template>\n <div class=\"review-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"setting-wrap__body\">\n <div id=\"content\" class=\"content\">\n <div class=\"content-body\" :style=\"{height: contentHeight}\">\n <div class=\"left-menu\" :style=\"{height: contentHeight}\">\n <vue-office-aside ref=\"asideMenu\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n </div>\n <transition name=\"fade\" mode=\"out-in\">\n <!-- 缓存已经填好内容的页面 -->\n <!-- <keep-alive include=\"editGroupGrade\"> -->\n <router-view></router-view>\n <!-- </keep-alive > -->\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"reviewed\",\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n contentHeight: '0px', //页面内容高度\n }\n },\n computed: {\n\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n const that = this\n that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 64 +'px';\n },\n}\n\n</script>\n<style lang=\"less\" >\n.setting-wrap__body{\n .content{\n padding-top: 64px;\n /* height: calc(100% - 64px);\n overflow-y: auto;*/\n min-width: 1400px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\n .content-body {\n display: flex;\n overflow: hidden;\n\n .common-set-wrap {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n\n .right-content {\n /*width: 100%;*/\n padding: 24px;\n min-height: calc(100% - 240px);\n\n .right-box {\n background: #fff;\n padding: 24px;\n }\n }\n }\n }\n }\n}\n\n.el-table__body-wrapper .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-6cfbab5e\",\"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-6cfbab5e\\\",\\\"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-6cfbab5e\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/reviewCenter/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([32],{"738z":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("elmV"),s=a("P9l9"),l={name:"employee-io",components:{uploadExcelComponent:i.a},data:function(){var t=window.location.origin;return-1!=t.indexOf("localhost")&&(t="http://www.gicdev.com"),{type:"import",fileList:[],url:t+"/haoban-manage-web/record/record-template-file-upload",logList:[],loading:!0,pageSize:20,currentPage:1,total:0,tempList:[]}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getErrorNote()},handleCurrentChange:function(t){this.currentPage=t,this.getErrorNote()},resetList:function(t){this.fileList=[],"note"==t&&this.getErrorNote()},getErrorNote:function(){var t=this,e={departmentId:t.$route.query.departmentId,importCode:t.$route.query.importCode,pageNum:t.currentPage,pageSize:t.pageSize};Object(s.a)("/haoban-manage-web/record/find-error-log",e).then(function(e){console.log(e),1==e.data.errorCode?(console.log(e.data),t.total=e.data.result.totalCount,t.logList=e.data.result.result,t.formatData(e.data.result.template,e.data.result.page.result)):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},formatData:function(t,e){var a=[];t.forEach(function(t){a.push({fieldCode:t.fieldCode,fieldName:t.fieldName})}),this.tempList=a,this.logList=e,this.loading=!1},handleRemove:function(t,e){console.log(t,e)},handlePreview:function(t){console.log(t)},uploadSuccess:function(){this.fileList=[],this.type="note",this.getErrorNote()},submitUpload:function(t){this.$refs[t].submit()},getChange:function(t,e){console.log(t,e),this.fileList=e}},beforeMount:function(){"note"==this.type&&this.getErrorNote()}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"io-container"},[t._m(0),t._v(" "),a("el-radio-group",{staticClass:"m-t-20",on:{change:t.resetList},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"import"}},[t._v("导入员工档案")]),t._v(" "),a("el-radio-button",{attrs:{label:"export"}},[t._v("导出/修改员工档案")]),t._v(" "),a("el-radio-button",{attrs:{label:"note"}},[t._v("错误记录")])],1),t._v(" "),"import"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("下载模板\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"http://www.gicdev.com/haoban-manage-web/record/export-record-template.json"}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传员工档案\n "),a("div",{staticClass:"d-u-btn m-t-20"},[a("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("upload")}}},[t._v("上传")])],1)]):"export"==t.type?a("div",{staticClass:"handle-area import"},[a("div",{staticClass:"step-div",staticStyle:{"margin-bottom":"90px"}},[a("span",{staticClass:"ft-large"},[t._v("①")]),t._v("导出员工档案\n "),a("a",{staticClass:"d-u-btn",attrs:{href:"http://www.gicdev.com/haoban-manage-web/record/export-record-template.json"}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai m-l-5"})])],1)]),t._v(" "),a("div",{staticClass:"step-div"},[a("span",{staticClass:"ft-large"},[t._v("②")]),t._v("上传更新后的员工档案\n "),a("div",{staticClass:"d-u-btn m-t-20"},[a("el-upload",{ref:"uploadEdit",staticClass:"upload-demo",attrs:{action:t.url,"on-success":t.uploadSuccess,"on-change":t.getChange,multiple:!1,"file-list":t.fileList,"auto-upload":!1}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件格式必须为xls或xlsx格式")])],1)],1)]),t._v(" "),a("div",{staticClass:"up-btn-div"},[a("el-button",{attrs:{type:"primary",disabled:0==t.fileList.length},on:{click:function(e){t.submitUpload("uploadEdit")}}},[t._v("上传")])],1)]):a("div",{staticClass:"error-log import"},[a("div",{staticClass:"title-area"},[a("div",{staticClass:"tip"}),t._v(" "),a("a",{attrs:{href:"http://www.gicdev.com/haoban-manage-web/record//error-log-export?importCode="+t.$route.query.importCode}},[a("el-button",{attrs:{type:"primary"}},[t._v("导出错误记录")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"m-t-20",staticStyle:{width:"100%"},attrs:{data:t.logList,height:"400"}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),a("el-table-column",{attrs:{width:"200",prop:"fieldValue",label:"字段值"}}),t._v(" "),a("el-table-column",{attrs:{width:"200",prop:"fieldName",label:"字段名"}}),t._v(" "),a("el-table-column",{attrs:{width:"200",prop:"failReason",label:"错误原因"}}),t._v(" "),t._l(t.tempList,function(t){return[a("el-table-column",{key:t.fieldCode,attrs:{width:"200",label:t.fieldName,prop:t.fieldCode}})]})],2),t._v(" "),a("el-pagination",{staticClass:"pagination",attrs:{background:"","page-sizes":[20,40,60,80],"page-size":t.pageSize,"current-page":t.currentPage,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"tip-area"},[a("li",{staticClass:"tip"},[t._v("姓名必须和好办企业通讯录中的员工姓名保持一致,手机号必须为员工注册好办的手机号")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("员工档案导入时,直接以手机号去做匹配,通讯录中不存在的将无法导入(模板中配置的部门、职位、code,这些字段信息请保持与企业通讯录中一致,这几个字段的信息将不会修改通讯录的信息,直接取该成员对应的通讯录的字段信息)")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("如果想要新增字段,可在后台档案设置中增加,再导入模板")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("字段类型为图片上传、多选的字段无法导入、导出")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("确保导入的表头字段和后台配置表头字段的名称一致(模板下载时间不可修改)")]),t._v(" "),a("li",{staticClass:"tip"},[t._v("由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入")])])}]};var r=a("VU/8")(l,o,!1,function(t){a("BOfd")},null,null);e.default=r.exports},BOfd:function(t,e){}});
//# sourceMappingURL=32.e739da2715718cebe52c.js.map
\ No newline at end of file
webpackJsonp([34],{SKyE:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),n=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),s=(r("P9l9"),{name:"companyAddress",data:function(){var e=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(t,r,a){e.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(n.a)(function(e){this.$refs[e].validate(function(e){if(console.log(e),!e)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("h2",[e._v("企业地址设置")]),e._v(" "),r("p",{staticClass:"m-t-24"},[e._v("开启后手机端通讯录将显示,反之则不显示")]),e._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:e.ruleForm.switch,callback:function(t){e.$set(e.ruleForm,"switch",t)},expression:"ruleForm.switch"}})],1),e._v(" "),r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1)]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(s,o,!1,function(e){r("VtMa")},"data-v-3972aa67",null);t.default=l.exports},VtMa:function(e,t){}});
//# sourceMappingURL=34.4b949992aa6a3b031bd0.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/setting/companyAddress.vue","webpack:///./src/views/setting/companyAddress.vue?c315","webpack:///./src/views/setting/companyAddress.vue"],"names":["companyAddress","name","data","_this","this","navpath","path","ruleForm","switch","rules","validator","rule","value","callback","replace","Error","trigger","computed","methods","submitForm","Object","js_public","formName","$refs","validate","valid","console","log","postSave","mounted","components","navCrumb","nav","setting_companyAddress","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","ref","model","label-width","label","prop","$$v","$set","expression","placeholder","type","on","click","$event","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kKA+BAA,cACAC,KAAA,iBACAC,KAFA,WAEA,IAAAC,EAAAC,KAQA,OAEAC,UAEAJ,KAAA,KACAK,KAAA,WAGAL,KAAA,KACAK,KAAA,oBAGAL,KAAA,OACAK,KAAA,oBAGAL,KAAA,OACAK,KAAA,KAIAC,UACAC,QAAA,EACAP,KAAA,IAEAQ,OACAR,OACAS,UAlCA,SAAAC,EAAAC,EAAAC,GACAV,EAAAI,SAAAC,QAAA,IAAAI,EAAAE,QAAA,OACAD,EAAA,IAAAE,MAAA,UAEAF,KA8BAG,QAAA,YAMAC,YAGAC,SAIAC,WAAAC,OAAAC,EAAA,EAAAD,CAAA,SAAAE,GACAlB,KACAmB,MAAAD,GAAAE,SAAA,SAAAC,GAEA,GADAC,QAAAC,IAAAF,IACAA,EAGA,YAGA,KAKAG,SAnBA,cAyBAC,QAvEA,aA0EAC,YACAC,SAAAC,EAAA,KCvGeC,GADEC,OAFjB,WAA0B,IAAAC,EAAA/B,KAAagC,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,wCAAkDF,EAAA,aAAkBG,OAAOpC,QAAA8B,EAAA9B,WAAuB8B,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,MAAAH,EAAAO,GAAA,YAAAP,EAAAO,GAAA,KAAAJ,EAAA,KAAkDE,YAAA,WAAqBL,EAAAO,GAAA,yBAAAP,EAAAO,GAAA,KAAAJ,EAAA,WAA4DK,IAAA,WAAAH,YAAA,gBAAAC,OAAkDG,MAAAT,EAAA5B,SAAAE,MAAA0B,EAAA1B,MAAAoC,cAAA,WAA8DP,EAAA,gBAAqBG,OAAOK,MAAA,OAAAC,KAAA,YAAgCT,EAAA,aAAkBM,OAAOhC,MAAAuB,EAAA5B,SAAA,OAAAM,SAAA,SAAAmC,GAAqDb,EAAAc,KAAAd,EAAA5B,SAAA,SAAAyC,IAAsCE,WAAA,sBAA+B,GAAAf,EAAAO,GAAA,KAAAJ,EAAA,gBAAqCG,OAAOK,MAAA,IAAAC,KAAA,UAA2BT,EAAA,YAAiBE,YAAA,QAAAC,OAA2BU,YAAA,SAAsBP,OAAQhC,MAAAuB,EAAA5B,SAAA,KAAAM,SAAA,SAAAmC,GAAmDb,EAAAc,KAAAd,EAAA5B,SAAA,OAAAyC,IAAoCE,WAAA,oBAA6B,GAAAf,EAAAO,GAAA,KAAAJ,EAAA,gBAAAA,EAAA,aAAqDG,OAAOW,KAAA,WAAiBC,IAAKC,MAAA,SAAAC,GAAyBpB,EAAAhB,WAAA,gBAA6BgB,EAAAO,GAAA,sBAAAP,EAAAO,GAAA,KAAAJ,EAAA,uBAElmCkB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE3D,EACAiC,GATF,EAVA,SAAA2B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/34.4b949992aa6a3b031bd0.js","sourcesContent":["<template>\r\n <div class=\"companyAddress-wrap common-set-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <h2>企业地址设置</h2>\r\n <p class=\"m-t-24\">开启后手机端通讯录将显示,反之则不显示</p>\r\n <el-form :model=\"ruleForm\" :rules=\"rules\" ref=\"ruleForm\" label-width=\"100px\" class=\"demo-ruleForm\">\r\n <el-form-item label=\"企业地址\" prop=\"switch\">\r\n <el-switch v-model=\"ruleForm.switch\"></el-switch>\r\n </el-form-item>\r\n <el-form-item label=\" \" prop=\"name\" class=\"\">\r\n <el-input v-model=\"ruleForm.name\" placeholder=\"请输入地址\" class=\"w-380\"></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"submitForm('ruleForm')\">保存</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </div>\r\n <vue-gic-footer></vue-gic-footer>\r\n </div>\r\n</template>\r\n<script>\r\nimport navCrumb from '@/components/nav/nav.vue';\r\n\r\nimport strLength from '@/common/js/strlen';\r\nimport showMsg from '@/common/js/showmsg';\r\nimport errMsg from '@/common/js/error';\r\nimport { _debounce } from \"@/common/js/public\";\r\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\r\nexport default {\r\n name: \"companyAddress\",\r\n data() {\r\n const nameValid = (rule, value, callback) => {\r\n if (!!this.ruleForm.switch && value.replace(/\\s/g) == '') {\r\n callback(new Error('请输入地址'));\r\n } else {\r\n callback();\r\n }\r\n };\r\n return {\r\n // 面包屑参数\r\n navpath: [\r\n {\r\n name: '首页',\r\n path: '/index'\r\n },\r\n {\r\n name: '设置',\r\n path: '/companyAddress'\r\n },\r\n {\r\n name: '企业设置',\r\n path: '/companyAddress'\r\n },\r\n {\r\n name: '企业地址',\r\n path: ''\r\n }\r\n ],\r\n\r\n ruleForm: {\r\n switch: false,\r\n name: ''\r\n },\r\n rules: {\r\n name: [\r\n {validator: nameValid, trigger: 'blur' } //required: true,\r\n ],\r\n }\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n /**\r\n * 保存\r\n */\r\n submitForm: _debounce(function(formName) {\r\n const that = this;\r\n that.$refs[formName].validate((valid) => {\r\n console.log(valid)\r\n if (valid) {\r\n\r\n } else {\r\n return false;\r\n }\r\n });\r\n },500),\r\n\r\n /**\r\n * 保存---api\r\n */\r\n postSave() {\r\n const that = this;\r\n\r\n }\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n components: {\r\n navCrumb\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\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 min-height: 500px;\r\n\r\n h2 {\r\n font-size: 16px;\r\n color: #303133;\r\n }\r\n\r\n p {\r\n font-size: 14px;\r\n color: #909399;\r\n }\r\n\r\n .m-t-24 {\r\n margin-top: 24px;\r\n }\r\n\r\n .w-380 {\r\n width: 380px;\r\n }\r\n }\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/companyAddress.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"companyAddress-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('h2',[_vm._v(\"企业地址设置\")]),_vm._v(\" \"),_c('p',{staticClass:\"m-t-24\"},[_vm._v(\"开启后手机端通讯录将显示,反之则不显示\")]),_vm._v(\" \"),_c('el-form',{ref:\"ruleForm\",staticClass:\"demo-ruleForm\",attrs:{\"model\":_vm.ruleForm,\"rules\":_vm.rules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"企业地址\",\"prop\":\"switch\"}},[_c('el-switch',{model:{value:(_vm.ruleForm.switch),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"switch\", $$v)},expression:\"ruleForm.switch\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\" \",\"prop\":\"name\"}},[_c('el-input',{staticClass:\"w-380\",attrs:{\"placeholder\":\"请输入地址\"},model:{value:(_vm.ruleForm.name),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"name\", $$v)},expression:\"ruleForm.name\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.submitForm('ruleForm')}}},[_vm._v(\"保存\")])],1)],1)],1)]),_vm._v(\" \"),_c('vue-gic-footer')],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-3972aa67\",\"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/companyAddress.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-3972aa67\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./companyAddress.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!./companyAddress.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./companyAddress.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3972aa67\\\",\\\"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!./companyAddress.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-3972aa67\"\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/companyAddress.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([33],{AdJp:function(e,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var a=n("WSbm"),t=n("P9l9"),s={name:"employeeDetail",components:{employeeInfo:a.a},data:function(){return{managerMode:!1}},methods:{save:function(e){var o=this.$refs.emmployInfo.info;console.log(o,"ssss"),this.isNew?this.addEmployee(o,e):this.saveEmployeeInfo(o)},addEmployee:function(e,o){var n=this,a={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};console.log(e,a),Object(t.a)("/haoban-manage-web/emp/add",a).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(n.$message.success({message:"操作成功"}),1==o?n.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):n.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var o=this,n={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,employeeClerkId:o.$route.query.employeeClerkId,managerMode:1*e.managerMode};console.log(e,n),Object(t.a)("/haoban-manage-web/emp/update",n).then(function(e){console.log(e,"update result"),1==e.data.errorCode?o.$message.success({message:"操作成功"}):o.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),o.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},r={render:function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"employee-detail"},[n("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),n("div",{staticClass:"btn-boxs"},[n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),e._v(" "),e.isNew?n("el-button",{attrs:{type:"primary"},on:{click:function(o){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),n("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)],1)},staticRenderFns:[]};var m=n("VU/8")(s,r,!1,function(e){n("PLur")},null,null);o.default=m.exports},PLur:function(e,o){}});
//# sourceMappingURL=33.482aacb47cc3b9bb0733.js.map
\ No newline at end of file
webpackJsonp([35],{AdJp:function(e,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var a=n("WSbm"),t=n("P9l9"),s={name:"employeeDetail",components:{employeeInfo:a.a},data:function(){return{managerMode:!1}},methods:{save:function(e){var o=this.$refs.emmployInfo.info;console.log(o,"ssss"),this.isNew?this.addEmployee(o,e):this.saveEmployeeInfo(o)},addEmployee:function(e,o){var n=this,a={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};console.log(e,a),Object(t.a)("/haoban-manage-web/emp/add",a).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(n.$message.success({message:"操作成功"}),1==o?n.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):n.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var o=this,n={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,employeeClerkId:o.$route.query.employeeClerkId,managerMode:1*e.managerMode};console.log(e,n),Object(t.a)("/haoban-manage-web/emp/update",n).then(function(e){console.log(e,"update result"),1==e.data.errorCode?o.$message.success({message:"操作成功"}):o.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),o.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},r={render:function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"employee-detail"},[n("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),n("div",{staticClass:"btn-boxs"},[n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),e._v(" "),e.isNew?n("el-button",{attrs:{type:"primary"},on:{click:function(o){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),n("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)],1)},staticRenderFns:[]};var m=n("VU/8")(s,r,!1,function(e){n("PLur")},null,null);o.default=m.exports},PLur:function(e,o){}});
//# sourceMappingURL=35.4f7bf495704756dd4367.js.map
\ No newline at end of file
webpackJsonp([35],{VqB7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),l=(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",isAddAdmin:"",activeId:1,adminRole:[],roleListData:[],roleRightObj:{roleName:"超级管理员",tip:"企业的创建者,拥有企业的所有权限,只会有一个",roleCode:""},tableData:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},toRoleDetail:function(e){this.changeRoute("/addAdminrole?roleId="+this.activeId+"&type="+e)},selectRole:function(e){this.activeId=e.roleId,this.roleRightObj=e,this.getRoleUsers()},toAddRole:function(e){this.changeRoute("/addAdmin?roleId="+this.activeId+"&roleCode="+e)},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(l.c)("/haoban-manage-web/role-user-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.result?(e.tableData=a.result.result,void(e.total=a.result.totalCount)):(e.$message.error({duration:1e3,message:"暂无数据"}),e.tableData=[],!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(l.c)("/haoban-manage-web/role-list",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.isAddAdmin=a.result.isAddAdmin,e.roleListData=a.result.roleList||[],void(a.result&&a.result.roleList.length&&(e.activeId=e.roleListData[0].roleList[0].roleId,e.roleRightObj=e.roleListData[0].roleList[0],e.getRoleUsers()));o.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px",this.getRoles()},components:{navCrumb:i.a}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:e.boxHeight}},[e.isAddAdmin?a("div",{staticClass:"text-center"},[a("el-button",{on:{click:function(t){e.changeRoute("/addAdminrole")}}},[e._v("新增管理员角色")])],1):e._e(),e._v(" "),e._l(e.roleListData,function(t,i){return a("div",{key:i,staticClass:"m-t-20"},[a("div",{staticClass:"role-cell-head"},[e._v(e._s(t.brandName))]),e._v(" "),a("ul",e._l(t.roleList,function(t,i){return a("li",{key:i,class:["role-cell",t.roleId==e.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),e.selectRole(t)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),e._v(e._s(t.roleName))])}))])})],2),e._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between m-b-25"},[a("span",{staticClass:"font-20 color-303133"},[e._v(e._s(e.roleRightObj.roleName))]),e.isAddAdmin?e._e():a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("show")}}},[e._v("查看权限")]),e.isAddAdmin?a("span",{staticClass:"font-14 color-1890ff pinter",on:{click:function(t){e.toRoleDetail("edit")}}},[e._v("编辑权限")]):e._e()]),e._v(" "),"master_admin"===e.roleRightObj.roleCode||"admin"===e.roleRightObj.roleCode?a("div",{staticClass:"role-tip "},[a("el-alert",{attrs:{title:"master_admin"===e.roleRightObj.roleCode?"企业的创建者,拥有企业的所有权限,只会有一个":"admin"===e.roleRightObj.roleCode?"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个":"",type:"info",closable:!1,"show-icon":""}})],1):e._e(),e._v(" "),e.isAddAdmin?a("div",{staticClass:"role-add m-t-27"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.toAddRole(e.roleRightObj.roleCode)}}},[e._v("添加成员")])],1):e._e(),e._v(" "),a("div",{class:["role-table",e.isAddAdmin?"":"m-t-27"]},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"clerkName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clerkPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"groupName",label:"部门"}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var n=a("VU/8")(s,r,!1,function(e){a("ZkDu")},"data-v-26f50573",null);t.default=n.exports},ZkDu:function(e,t){}});
//# sourceMappingURL=35.9f261ebb2eaf5a623de8.js.map
\ No newline at end of file
webpackJsonp([36],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("4IAe")},null,null);n.default=u.exports},"4IAe":function(e,n){}});
//# sourceMappingURL=36.50394c564f02d0020d82.js.map
\ No newline at end of file
webpackJsonp([37],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("4IAe")},null,null);n.default=u.exports},"4IAe":function(e,n){}});
//# sourceMappingURL=37.a0f44cfd120df62011c9.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?d464","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/36.50394c564f02d0020d82.js","sourcesContent":["<template>\r\n <div></div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"add-employee\" \r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-1c75bdd8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?d464","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/37.a0f44cfd120df62011c9.js","sourcesContent":["<template>\r\n <div></div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"add-employee\" \r\n};\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-1c75bdd8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1c75bdd8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([37],{"7Q11":function(e,t){},da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(e){a("7Q11")},"data-v-16c9a8fa",null);t.default=s.exports}});
//# sourceMappingURL=37.f0f5cfddc9cd88a9bdb3.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/enterpriseApp/index.vue","webpack:///./src/views/enterpriseApp/index.vue?b850","webpack:///./src/views/enterpriseApp/index.vue"],"names":["enterpriseApp","name","data","projectName","collapseFlag","computed","methods","toRouterView","val","console","log","this","$router","push","path","collapseTag","mounted","views_enterpriseApp","render","_h","$createElement","_c","_self","staticClass","attrs","on","_v","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"6HAUA,IAAAA,GACAC,KAAA,aACAC,KAFA,WAGA,OACAC,YAAA,oBACAC,cAAA,IAGAC,YAGAC,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAC,KAAAN,EAAAM,QAKAC,YAjBA,SAiBAP,GAEAC,QAAAC,IAAAF,GADAG,KAEAP,aAAAI,IAGAQ,QAlCA,cCPeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbR,KAAaS,eAA0BC,EAAvCV,KAAuCW,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,qBAA0BG,OAAOrB,YAA/IQ,KAA+IR,aAA8BsB,IAAKV,YAAlLJ,KAAkLI,YAAAR,aAAlLI,KAAkLJ,gBAAlLI,KAAiPe,GAAA,KAAAL,EAAA,OAAwBE,YAAA,2BAAoC,IAEtTI,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE9B,EACAiB,GATF,EAVA,SAAAc,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/37.f0f5cfddc9cd88a9bdb3.js","sourcesContent":["<template>\r\n <div class=\"enterprise-wrap\">\r\n <!-- 公共头部菜单插件 -->\r\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\r\n <div class=\"enterprise-wrap__body\">\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n name: \"enterprise\",\r\n data() {\r\n return {\r\n projectName: 'haoban-manage-web', // 当前项目名\r\n collapseFlag: false, // 折叠参数\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n // 处理路由跳转\r\n toRouterView(val) {\r\n var that = this;\r\n // 模拟检查数据\r\n // //有两个参数\r\n //{\r\n // name:,\r\n // path:\r\n //}\r\n console.log(val);\r\n that.$router.push({\r\n path: val.path\r\n })\r\n },\r\n\r\n // 折叠事件\r\n collapseTag(val) {\r\n var that = this;\r\n console.log(val);\r\n that.collapseFlag = val\r\n },\r\n },\r\n mounted() {\r\n\r\n },\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/enterpriseApp/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"enterprise-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"enterprise-wrap__body\"})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-16c9a8fa\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-16c9a8fa\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-16c9a8fa\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-16c9a8fa\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/enterpriseApp/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([38],{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=38.948c1bd122950cd7f7ca.js.map
\ No newline at end of file
webpackJsonp([29],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("vXWo")},null,null);a.default=c.exports},vXWo:function(t,a){}});
//# sourceMappingURL=29.bd4cbe2ce0ac311f29cb.js.map
\ No newline at end of file
webpackJsonp([38],{"41Rh":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={name:"contact",components:{topNav:e("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){},computed:{}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"leftMenus",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}}),t._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("topNav",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]};var c=e("VU/8")(o,n,!1,function(t){e("gRxx")},null,null);a.default=c.exports},gRxx:function(t,a){}});
//# sourceMappingURL=38.a7a3bf825e2b928d65bf.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/index.vue","webpack:///./src/views/contacts/index.vue?fb97","webpack:///./src/views/contacts/index.vue"],"names":["contacts","name","components","topNav","data","projectName","collapseFlag","navpath","path","methods","toRouterView","val","console","log","this","$router","push","collapseTag","mounted","computed","views_contacts","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","_v","ref","mode","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"4GAqBAA,GACAC,KAAA,UACAC,YACAC,iBAAA,GAEAC,KALA,WAMA,OACAC,YAAA,oBACAC,cAAA,EAEAC,UAEAN,KAAA,KACAO,KAAA,MAGAP,KAAA,MACAO,KAAA,KAGAP,KAAA,UAGAA,KAAA,WAKAQ,SAEAC,aAFA,SAEAC,GAQAC,QAAAC,IAAAF,GAPAG,KAQAC,QAAAC,MACAR,KAAAG,EAAAH,QAKAS,YAjBA,SAiBAN,GAEAC,QAAAC,IAAAF,GADAG,KAEAR,aAAAK,IAGAO,QAnDA,aAsDAC,aCxEeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAR,KAAaS,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,qBAA0BG,OAAOvB,YAAAiB,EAAAjB,aAA8BwB,IAAKZ,YAAAK,EAAAL,YAAAP,aAAAY,EAAAZ,gBAA+DY,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,uBAAiCF,EAAA,oBAAyBM,IAAA,YAAAH,OAAuBvB,YAAAiB,EAAAjB,YAAAC,aAAAgB,EAAAhB,gBAA+DgB,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,wBAAkCF,EAAA,UAAeG,OAAOrB,QAAAe,EAAAf,WAAuBe,EAAAQ,GAAA,KAAAL,EAAA,OAAwBE,YAAA,8BAAwCF,EAAA,cAAmBG,OAAO3B,KAAA,OAAA+B,KAAA,YAA+BP,EAAA,oCAE/nBQ,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpC,EACAoB,GATF,EAVA,SAAAiB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/38.a7a3bf825e2b928d65bf.js","sourcesContent":["<template>\n <div class=\"contact-wrap\">\n <!-- 公共头部菜单插件 -->\n <vue-office-header :projectName=\"projectName\" @collapseTag=\"collapseTag\" @toRouterView=\"toRouterView\"></vue-office-header>\n <div class=\"contact-wrap__body\">\n <!-- 公共左侧菜单插件 -->\n <vue-office-aside ref=\"leftMenus\" :projectName=\"projectName\" :collapseFlag=\"collapseFlag\"></vue-office-aside>\n <!-- 右侧 body -->\n <div class=\"contact-wrap__right\">\n <topNav :navpath=\"navpath\"></topNav>\n <div class=\"contact-wrap__right__body\">\n <transition name=\"fade\" mode=\"out-in\">\n <router-view></router-view>\n </transition>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport topNav from 'components/nav/nav'\nexport default {\n name: \"contact\",\n components: {\n topNav\n },\n data() {\n return {\n projectName: 'haoban-manage-web', // 当前项目名\n collapseFlag: false, // 折叠参数\n // 面包屑导航数据\n navpath: [\n {\n name: '首页',\n path: '/'\n },\n {\n name: '通讯录',\n path: ''\n },\n {\n name: \"企业通讯录\"\n },\n {\n name: \"行政架构\"\n }\n ],\n }\n },\n methods: {\n // 处理路由跳转\n toRouterView(val) {\n var that = this;\n // 模拟检查数据\n // //有两个参数\n //{\n // name:,\n // path:\n //}\n console.log(val);\n that.$router.push({\n path: val.path\n })\n },\n\n // 折叠事件\n collapseTag(val) {\n var that = this;\n console.log(val);\n that.collapseFlag = val\n },\n },\n mounted() {\n\n },\n computed: {\n\n }\n}\n\n</script>\n<style lang=\"less\">\n .contact-wrap {\n position: relative;\n\n &__body {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n overflow: hidden;\n padding-top: 64px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow: auto;\n min-width: 1400px;\n background: #f5f7fa;\n }\n\n &__right {\n -ms-flex: 1;\n flex: 1;\n overflow: auto;\n width: 100%;\n\n &__body {\n padding: 24px;\n\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact-wrap\"},[_c('vue-office-header',{attrs:{\"projectName\":_vm.projectName},on:{\"collapseTag\":_vm.collapseTag,\"toRouterView\":_vm.toRouterView}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__body\"},[_c('vue-office-aside',{ref:\"leftMenus\",attrs:{\"projectName\":_vm.projectName,\"collapseFlag\":_vm.collapseFlag}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right\"},[_c('topNav',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"contact-wrap__right__body\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-0a45e2c2\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0a45e2c2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0a45e2c2\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([39],{"NI/W":function(e,t){},"rs/A":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),s=a.n(r),o=a("3Xzz"),l=a("c4uw"),i=a("Ie7z"),n=(a("Mk6G"),a("3E4D")),c=a("Ch4/"),u=a("PI0u"),d=a("P9l9"),m={name:"addAdminRole",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:"/setChildAdmin"},{name:"添加成员",path:""}],ruleForm:{roleId:"",roleName:"企业管理员",peopleList:[],departList:[],brandValue:[],brandOptions:[]},rules:{},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},treeData:{},defaultSelection:[],onlyPerson:!1,selectType:"",storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},submitForm:Object(u.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(console.log(e,t.ruleForm.peopleList,t.ruleForm.brandValue),!e)return!1;var a=[];t.ruleForm.departList.forEach(function(e){a.push({groupId:e.groupId})}),t.ruleForm.brandValue.forEach(function(e){a.push({storeId:e.storeId})});var r=t.ruleForm.peopleList.map(function(e){return e.employeeClerkId}).join(",");t.postSave(a,r)})},500),postSave:function(e,t){var a=this,r={data:s()(e),roleId:a.ruleForm.roleId,clerkIds:t};Object(d.c)("/haoban-manage-web/save-clerk-role",r).then(function(e){var t=e.data;if(1==t.errorCode)return n.a.showmsg("添加成功","success"),void a.changeRoute("/setChildAdmin");c.a.errorMsg(t)}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},delField:function(e,t,a){this.$alert("确定要删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(t){t.value;a.splice(e,1)}).catch(function(){})},delDepart:function(e,t){t.splice(e,1)},showDialogLayer:function(e,t){console.log(e,t),this.selectType=e,"store"!==e?(this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1},"people"===e?(this.onlyPerson=!0,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}):this.onlyPerson=!1,console.log(this.treeSet,this.onlyPerson),this.defaultSelection=t,this.treeData.hasOwnProperty("treeData")||this.getDepartData(t)):this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e);"people"===this.selectType?this.ruleForm.peopleList=e:"store"===this.selectType?this.ruleForm.brandValue=e:this.ruleForm.departList=e},getDepartData:function(e){var t=this;Object(d.c)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(a){var r=a.data;if(1!=r.errorCode)c.a.errorMsg(r);else if(r.result){var s=[],o=[];1==a.data.errorCode&&(s=a.data.result.departmentList||[],o=a.data.result.searchList||[]),t.treeData={treeData:s,personData:o},t.defaultSelection=e}else t.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},getStoreData:function(){var e=this;Object(d.c)("/haoban-manage-web/dept/deptListForCompany",{}).then(function(t){var a=t.data;if(1!=a.errorCode)c.a.errorMsg(a);else if(a.result){var r=[],s=[];1==t.data.errorCode&&(r=t.data.result.departmentList||[],s=t.data.result.searchList||[]),e.treeData={treeData:r,personData:s},e.defaultSelection=selData}else e.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})},getBrandData:function(){var e=this;Object(d.c)("/haoban-manage-web/brand/list",{}).then(function(t){var a=t.data;1!=a.errorCode?c.a.errorMsg(a):a.result&&a.result.length?e.ruleForm.brandOptions=a.result:e.$message.error({duration:1e3,message:"暂无数据"})}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getBrandData(),this.$route.query.hasOwnProperty("roleId")&&(this.ruleForm.roleId=this.$route.query.roleId),this.$route.query.hasOwnProperty("roleCode")&&(this.ruleForm.roleCode=this.$route.query.roleCode,this.ruleForm.roleName="admin"===this.$route.query.roleCode?"企业管理员":"子管理员")},components:{navCrumb:o.a,vueSelectEmployee:l.a,vueSelectStore:i.a}},p={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:"roleName"}},[a("el-input",{staticClass:"w-380",attrs:{disabled:"",placeholder:""},model:{value:e.ruleForm.roleName,callback:function(t){e.$set(e.ruleForm,"roleName",t)},expression:"ruleForm.roleName"}})],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,r){return[a("div",{staticClass:"people-cell"},[a("img",{attrs:{src:t.headPic}}),e._v(" "),a("p",[e._v(e._s(t.name))]),e._v(" "),a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){a.stopPropagation(),e.delField(r,t,e.ruleForm.peopleList)}}})])]}),e._v(" "),a("div",{staticClass:"people-cell"},[a("span",{staticClass:"add-icon",on:{click:function(t){t.stopPropagation(),e.showDialogLayer("people",e.ruleForm.peopleList)}}},[a("i",{staticClass:"el-icon-plus"})])])],2)]),e._v(" "),a("el-form-item",{staticClass:"m-b-0",attrs:{label:"选择管理范围",prop:"name"}},[a("div",{staticClass:"flex w-380 flex-column item-cell-select"},[a("div",[e._v("行政架构")]),e._v(" "),a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("depart",e.ruleForm.departList)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.ruleForm.departList,function(t,r){return[a("span",{key:r,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(r,e.ruleForm.departList)}}})])]})],2)])])]),e._v(" "),a("div",[e._v("门店架构")]),e._v(" "),"admin"==e.ruleForm.roleCode?a("div",{staticClass:"store-item-wrap"},[a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:e.ruleForm.brandValue,callback:function(t){e.$set(e.ruleForm,"brandValue",t)},expression:"ruleForm.brandValue"}},e._l(e.ruleForm.brandOptions,function(e){return a("el-option",{key:e.brandId,attrs:{label:e.name,value:e.brandId}})}))],1):e._e(),e._v(" "),"child_admin"==e.ruleForm.roleCode?a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",on:{click:function(t){e.showDialogLayer("store",e.ruleForm.brandValue)}}},[a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[e._l(e.ruleForm.brandValue,function(t,r){return[a("span",{key:r,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.name||t.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(r,e.ruleForm.brandValue)}}})])]})],2)])])]):e._e()])]),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,onlyPerson:e.onlyPerson,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.storeTreeSet},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var h=a("VU/8")(m,p,!1,function(e){a("NI/W")},"data-v-05a87256",null);t.default=h.exports}});
//# sourceMappingURL=39.33b9374378276c1525eb.js.map
\ No newline at end of file
webpackJsonp([39],{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=39.6f46ba30b434a161849b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/setting/companyAddress.vue","webpack:///./src/views/setting/companyAddress.vue?6715","webpack:///./src/views/setting/companyAddress.vue"],"names":["companyAddress","name","data","_this","this","navpath","path","relocation","ruleForm","switch","rules","validator","rule","value","callback","replace","Error","trigger","computed","methods","submitForm","Object","js_public","formName","$refs","validate","valid","console","log","postSave","mounted","components","navCrumb","nav","setting_companyAddress","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","ref","model","label-width","label","prop","$$v","$set","expression","placeholder","type","on","click","$event","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kKA+BAA,cACAC,KAAA,iBACAC,KAFA,WAEA,IAAAC,EAAAC,KAQA,OAEAC,UAEAJ,KAAA,KACAK,KAAA,SACAC,YAAA,IAGAN,KAAA,KACAK,KAAA,oBAGAL,KAAA,OACAK,KAAA,oBAGAL,KAAA,OACAK,KAAA,KAIAE,UACAC,QAAA,EACAR,KAAA,IAEAS,OACAT,OACAU,UAnCA,SAAAC,EAAAC,EAAAC,GACAX,EAAAK,SAAAC,QAAA,IAAAI,EAAAE,QAAA,OACAD,EAAA,IAAAE,MAAA,UAEAF,KA+BAG,QAAA,YAMAC,YAGAC,SAIAC,WAAAC,OAAAC,EAAA,EAAAD,CAAA,SAAAE,GACAnB,KACAoB,MAAAD,GAAAE,SAAA,SAAAC,GAEA,GADAC,QAAAC,IAAAF,IACAA,EAGA,YAGA,KAKAG,SAnBA,cAyBAC,QAxEA,aA2EAC,YACAC,SAAAC,EAAA,KCxGeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAhC,KAAaiC,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,wCAAkDF,EAAA,aAAkBG,OAAOrC,QAAA+B,EAAA/B,WAAuB+B,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,MAAAH,EAAAO,GAAA,YAAAP,EAAAO,GAAA,KAAAJ,EAAA,KAAkDE,YAAA,WAAqBL,EAAAO,GAAA,yBAAAP,EAAAO,GAAA,KAAAJ,EAAA,WAA4DK,IAAA,WAAAH,YAAA,gBAAAC,OAAkDG,MAAAT,EAAA5B,SAAAE,MAAA0B,EAAA1B,MAAAoC,cAAA,WAA8DP,EAAA,gBAAqBG,OAAOK,MAAA,OAAAC,KAAA,YAAgCT,EAAA,aAAkBM,OAAOhC,MAAAuB,EAAA5B,SAAA,OAAAM,SAAA,SAAAmC,GAAqDb,EAAAc,KAAAd,EAAA5B,SAAA,SAAAyC,IAAsCE,WAAA,sBAA+B,GAAAf,EAAAO,GAAA,KAAAJ,EAAA,gBAAqCG,OAAOK,MAAA,IAAAC,KAAA,UAA2BT,EAAA,YAAiBE,YAAA,QAAAC,OAA2BU,YAAA,SAAsBP,OAAQhC,MAAAuB,EAAA5B,SAAA,KAAAM,SAAA,SAAAmC,GAAmDb,EAAAc,KAAAd,EAAA5B,SAAA,OAAAyC,IAAoCE,WAAA,oBAA6B,GAAAf,EAAAO,GAAA,KAAAJ,EAAA,gBAAAA,EAAA,aAAqDG,OAAOW,KAAA,WAAiBC,IAAKC,MAAA,SAAAC,GAAyBpB,EAAAhB,WAAA,gBAA6BgB,EAAAO,GAAA,sBAAAP,EAAAO,GAAA,KAAAJ,EAAA,uBAElmCkB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE5D,EACAkC,GATF,EAVA,SAAA2B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/39.6f46ba30b434a161849b.js","sourcesContent":["<template>\r\n <div class=\"companyAddress-wrap common-set-wrap\">\r\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\r\n <div class=\"right-content\">\r\n <div class=\"right-box\">\r\n <h2>企业地址设置</h2>\r\n <p class=\"m-t-24\">开启后手机端通讯录将显示,反之则不显示</p>\r\n <el-form :model=\"ruleForm\" :rules=\"rules\" ref=\"ruleForm\" label-width=\"100px\" class=\"demo-ruleForm\">\r\n <el-form-item label=\"企业地址\" prop=\"switch\">\r\n <el-switch v-model=\"ruleForm.switch\"></el-switch>\r\n </el-form-item>\r\n <el-form-item label=\" \" prop=\"name\" class=\"\">\r\n <el-input v-model=\"ruleForm.name\" placeholder=\"请输入地址\" class=\"w-380\"></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"submitForm('ruleForm')\">保存</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </div>\r\n <vue-gic-footer></vue-gic-footer>\r\n </div>\r\n</template>\r\n<script>\r\nimport navCrumb from '@/components/nav/nav.vue';\r\n\r\nimport strLength from '@/common/js/strlen';\r\nimport showMsg from '@/common/js/showmsg';\r\nimport errMsg from '@/common/js/error';\r\nimport { _debounce } from \"@/common/js/public\";\r\nimport { getRequest, postRequest, postJson, postForm } from '@/api/api';\r\nexport default {\r\n name: \"companyAddress\",\r\n data() {\r\n const nameValid = (rule, value, callback) => {\r\n if (!!this.ruleForm.switch && value.replace(/\\s/g) == '') {\r\n callback(new Error('请输入地址'));\r\n } else {\r\n callback();\r\n }\r\n };\r\n return {\r\n // 面包屑参数\r\n navpath: [\r\n {\r\n name: '首页',\r\n path: '/index',\r\n relocation: true\r\n },\r\n {\r\n name: '设置',\r\n path: '/companyAddress'\r\n },\r\n {\r\n name: '企业设置',\r\n path: '/companyAddress'\r\n },\r\n {\r\n name: '企业地址',\r\n path: ''\r\n }\r\n ],\r\n\r\n ruleForm: {\r\n switch: false,\r\n name: ''\r\n },\r\n rules: {\r\n name: [\r\n {validator: nameValid, trigger: 'blur' } //required: true,\r\n ],\r\n }\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n },\r\n methods: {\r\n /**\r\n * 保存\r\n */\r\n submitForm: _debounce(function(formName) {\r\n const that = this;\r\n that.$refs[formName].validate((valid) => {\r\n console.log(valid)\r\n if (valid) {\r\n\r\n } else {\r\n return false;\r\n }\r\n });\r\n },500),\r\n\r\n /**\r\n * 保存---api\r\n */\r\n postSave() {\r\n const that = this;\r\n\r\n }\r\n\r\n },\r\n mounted() {\r\n\r\n },\r\n components: {\r\n navCrumb\r\n }\r\n}\r\n\r\n</script>\r\n<style lang=\"less\" scoped>\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 min-height: 500px;\r\n\r\n h2 {\r\n font-size: 16px;\r\n color: #303133;\r\n }\r\n\r\n p {\r\n font-size: 14px;\r\n color: #909399;\r\n }\r\n\r\n .m-t-24 {\r\n margin-top: 24px;\r\n }\r\n\r\n .w-380 {\r\n width: 380px;\r\n }\r\n }\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/setting/companyAddress.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"companyAddress-wrap common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('h2',[_vm._v(\"企业地址设置\")]),_vm._v(\" \"),_c('p',{staticClass:\"m-t-24\"},[_vm._v(\"开启后手机端通讯录将显示,反之则不显示\")]),_vm._v(\" \"),_c('el-form',{ref:\"ruleForm\",staticClass:\"demo-ruleForm\",attrs:{\"model\":_vm.ruleForm,\"rules\":_vm.rules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"企业地址\",\"prop\":\"switch\"}},[_c('el-switch',{model:{value:(_vm.ruleForm.switch),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"switch\", $$v)},expression:\"ruleForm.switch\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\" \",\"prop\":\"name\"}},[_c('el-input',{staticClass:\"w-380\",attrs:{\"placeholder\":\"请输入地址\"},model:{value:(_vm.ruleForm.name),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"name\", $$v)},expression:\"ruleForm.name\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.submitForm('ruleForm')}}},[_vm._v(\"保存\")])],1)],1)],1)]),_vm._v(\" \"),_c('vue-gic-footer')],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-0630a336\",\"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/companyAddress.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-0630a336\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./companyAddress.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!./companyAddress.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./companyAddress.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0630a336\\\",\\\"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!./companyAddress.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-0630a336\"\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/companyAddress.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment