Commit 5b341fbe by 无尘

fix: 修改 提到的 bug

parent e0ec7f7e
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.71b15ab49468f1a0556c7cde6e8de943.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.3932f918ddd3dad645d2.js></script><script type=text/javascript src=./static/js/vendor.907e093428953c324a31.js></script><script type=text/javascript src=./static/js/app.39d135a70f56929ab2dd.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.741b61e7306d7b5930c9cdb4dcfd809b.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.893aa7d0d5f360b19998.js></script><script type=text/javascript src=./static/js/vendor.907e093428953c324a31.js></script><script type=text/javascript src=./static/js/app.29e94afecc0bddf35217.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
@import './public.css'; @import './public.css';
.arrowico{
.arrowico {
position: absolute; position: absolute;
transition: all .5s; transition: all .5s;
.icoposition(0px,25px); .icoposition(0px, 25px);
} }
.icoposition(@right: right,@top: top){
.icoposition(@right: right, @top: top) {
right: @right; right: @right;
top: @top; top: @top;
} }
...@@ -22,6 +24,7 @@ ...@@ -22,6 +24,7 @@
width: 260px; width: 260px;
} }
} }
.pass-form-dialog { .pass-form-dialog {
/deep/ .el-dialog { /deep/ .el-dialog {
min-width: 425px; min-width: 425px;
...@@ -31,89 +34,114 @@ ...@@ -31,89 +34,114 @@
padding: 0 20px; padding: 0 20px;
}*/ }*/
} }
.commom-container { .commom-container {
background: #fff; background: #fff;
} }
.common-frame-container { .common-frame-container {
display: flex; display: flex;
.common-right-container { .common-right-container {
height: 690px; /*height: 690px;*/
background: #fff; background: #fff;
flex: 1; flex: 1;
padding: 0 24px; padding: 0 24px;
.common-right-header { .common-right-header {
height: 70px; height: 70px;
line-height: 70px; line-height: 70px;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: #606266; color: #606266;
.title-span { .title-span {
color: #303133; color: #303133;
font-size: 20px; font-size: 20px;
} }
.handle-area { .handle-area {
float: right; float: right;
.hurdle { .hurdle {
width:1px; width: 1px;
height:16px; height: 16px;
display: inline-block; display: inline-block;
background: #DCDFE6; background: #DCDFE6;
margin: 0; margin: 0;
vertical-align: sub; vertical-align: sub;
} }
.no-bdr-btn { .no-bdr-btn {
background: none; background: none;
color: #409EFF; color: #409EFF;
border: none; border: none;
} }
.el-button.is-disabled, .el-button.is-disabled:hover, .el-button.is-disabled:focus {
.el-button.is-disabled,
.el-button.is-disabled:hover,
.el-button.is-disabled:focus {
background: none; background: none;
color: #c0c4cc; color: #c0c4cc;
} }
} }
} }
.tab-div { .tab-div {
margin-bottom: 20px; margin-bottom: 20px;
} }
.common-right-button-box { .common-right-button-box {
padding: 8px 15px; padding: 8px 15px;
background: #EBEEF5; background: #EBEEF5;
font-size: 0; font-size: 0;
.el-select--small { .el-select--small {
width: 120px; width: 120px;
margin-right: 10px; margin-right: 10px;
} }
.el-button { .el-button {
margin-right: 8px; margin-right: 8px;
} }
} }
.pagination { .pagination {
margin-top: 30px; margin: 24px 0;
text-align: right; text-align: right;
} }
.diy-table { .diy-table {
.diy-header { .diy-header {
display: flex; display: flex;
.name { .name {
width: 130px; width: 130px;
} }
.phone, .position {
.phone,
.position {
width: 125px; width: 125px;
} }
.status { .status {
width: 100px; width: 100px;
} }
} }
.clerk-obj-li { .clerk-obj-li {
display: flex; display: flex;
padding: 10px 0; padding: 10px 0;
margin-bottom: 25px; margin-bottom: 25px;
line-height: 32px; line-height: 32px;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.clerk-name { .clerk-name {
width: 130px; width: 130px;
.manager { .manager {
display: inline-block; display: inline-block;
width: 30px; width: 30px;
...@@ -121,17 +149,21 @@ ...@@ -121,17 +149,21 @@
line-height: 16px; line-height: 16px;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
background:rgba(247,203,39,1); background: rgba(247, 203, 39, 1);
border-radius:2px; border-radius: 2px;
color: #fff; color: #fff;
font-size: 10px; font-size: 10px;
} }
} }
.clerk-phone, .clerk-position {
.clerk-phone,
.clerk-position {
width: 125px; width: 125px;
} }
.clerk-status { .clerk-status {
width: 100px; width: 100px;
.status-icon { .status-icon {
width: 34px; width: 34px;
height: 32px; height: 32px;
...@@ -140,6 +172,7 @@ ...@@ -140,6 +172,7 @@
background: #ECF5FF; background: #ECF5FF;
border: 1px solid #D9ECFF; border: 1px solid #D9ECFF;
border-radius: 4px; border-radius: 4px;
&.is-active { &.is-active {
color: #409EFF; color: #409EFF;
} }
...@@ -154,51 +187,65 @@ ...@@ -154,51 +187,65 @@
flex: 1; flex: 1;
height: 690px; height: 690px;
overflow: auto; overflow: auto;
.info-cell { .info-cell {
margin-bottom: 24px; margin-bottom: 24px;
background: #fff; background: #fff;
padding-bottom: 24px; padding-bottom: 24px;
>.title { >.title {
line-height: 55px; line-height: 55px;
text-indent: 32px; text-indent: 32px;
border-bottom: 1px solid #E4E7ED; border-bottom: 1px solid #E4E7ED;
} }
.info-form { .info-form {
padding: 24px 60px 0; padding: 24px 60px 0;
.el-form-item:last-child { .el-form-item:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.el-input, .el-textarea, .counter {
.el-input,
.el-textarea,
.counter {
width: 500px; width: 500px;
&.el-date-editor { &.el-date-editor {
width: 150px; width: 150px;
} }
} }
.area-container { .area-container {
.el-select { .el-select {
width: 163px; width: 163px;
} }
.el-input { .el-input {
width: 160px; width: 160px;
} }
} }
.img-list { .img-list {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
width: 500px; width: 500px;
.img-li { .img-li {
width:148px; width: 148px;
height:148px; height: 148px;
border-radius:6px; border-radius: 6px;
margin-right: 12px; margin-right: 12px;
margin-bottom: 10px; margin-bottom: 10px;
position: relative; position: relative;
&.J_add-img { &.J_add-img {
text-align: center; text-align: center;
line-height: 150px; line-height: 150px;
border:1px solid rgba(192,204,218,1); border: 1px solid rgba(192, 204, 218, 1);
font-size: 23px; font-size: 23px;
color: #909399; color: #909399;
.tip { .tip {
position: absolute; position: absolute;
font-size: 13px; font-size: 13px;
...@@ -209,6 +256,7 @@ ...@@ -209,6 +256,7 @@
width: 100%; width: 100%;
} }
} }
.J_del-img { .J_del-img {
position: absolute; position: absolute;
font-size: 20px; font-size: 20px;
...@@ -217,20 +265,21 @@ ...@@ -217,20 +265,21 @@
right: -10px; right: -10px;
cursor: pointer; cursor: pointer;
} }
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius:6px; border-radius: 6px;
} }
} }
} }
} }
} }
.handle-area { .handle-area {
background:rgba(255,255,255,1); background: rgba(255, 255, 255, 1);
height: 57px; height: 57px;
line-height: 57px; line-height: 57px;
text-align: center; text-align: center;
} }
} }
...@@ -354,6 +354,10 @@ input:focus { ...@@ -354,6 +354,10 @@ input:focus {
margin-left: 16px; margin-left: 16px;
} }
.m-t-8 {
margin-top: 8px;
}
.m-t-10 { .m-t-10 {
margin-top: 10px; margin-top: 10px;
} }
...@@ -406,10 +410,38 @@ input:focus { ...@@ -406,10 +410,38 @@ input:focus {
font-size: 0; font-size: 0;
} }
.font-12 {
font-size: 12px;
}
.font-14 {
font-size: 14px;
}
.font-16 {
font-size: 16px;
}
.font-20 {
font-size: 20px;
}
.font-w-500 { .font-w-500 {
font-weight: 500; font-weight: 500;
} }
.color-606266 {
color: #606266;
}
.color-909399 {
color: #909399;
}
.line-h-1 {
line-height: 1;
}
.w-130 { .w-130 {
width: 130px; width: 130px;
} }
......
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],{DSbw:function(e,t){},I3G8:function(e,t){},LaUy:function(e,t){},n7j5:function(e,t,i){"use strict";i("0xDb");var a={name:"select-area",components:{vueSelectEmployee:i("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}},butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{delCurrent:function(e,t){var i=this[t];i.splice(i.indexOf(e),1)},handleSelectedList:function(e){this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"select-area"},[i("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[t.headPic?i("img",{attrs:{src:t.headPic}}):i("div",{staticClass:"replace-head-img"},[i("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[i("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),i("div",{staticClass:"setting-name"},[e._v("\n 允许指定部门/人员可见\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.specialList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[t.headPic?i("img",{attrs:{src:t.headPic}}):i("div",{staticClass:"replace-head-img"},[i("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"specialList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"specialList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("special",e.specialList)}}},[i("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[]};var n={name:"permissionSetting",components:{selectArea:i("VU/8")(a,s,!1,function(e){i("LaUy")},null,null).exports},props:{butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}},selfButList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}},departInfo:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!1,visibleSelf:!1}},methods:{switchPermission:function(e,t,i){e&&(this[i]=!e),this.visibleSelf?this.departInfo.type=2:this.visibleThere?this.departInfo.type=1:this.departInfo.type=""},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},mounted:function(){var e=this.departInfo.type;this.visibleThere=!(1!=e),this.visibleSelf=!(2!=e)},watch:{departInfo:{handler:function(e,t){var i=e.type;this.visibleThere=!(1!=i),this.visibleSelf=!(2!=i)},deep:!0}}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"jurisdiction-setting"},[i("div",{staticClass:"only-visivble-there permission-div"},[i("div",{staticClass:"permission-div-title"},[i("span",[e._v("本部门员工仅可见本部门员工")]),e._v(" "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}})],1),e._v(" "),e.visibleThere?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData,butList:e.butList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()]),e._v(" "),i("div",{staticClass:"only-visivble-self permission-div"},[i("div",{staticClass:"permission-div-title"},[i("span",[e._v("本部门员工仅可见自己")]),e._v(" "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}})],1),e._v(" "),e.visibleSelf?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData,butList:e.selfButList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()])])},staticRenderFns:[]};var l=i("VU/8")(n,r,!1,function(e){i("DSbw")},null,null);t.a=l.exports},q5Ri:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("n7j5"),s=i("c4uw"),n=i("P9l9"),r={name:"addDepartment",components:{permissionSetting:a.a,vueSelectEmployee:s.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(n.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var i=t.data.result.chainName.split("/"),a=i.length;e.departInfo.parentName=1==a?"":i[a-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],console.log(this.$route.query.departmentId),this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e),this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(i){if(!i)return!1;var a=e,s={parentId:a.departInfo.parentId,name:a.departInfo.name};Object(n.a)("/haoban-manage-web/dept/insert",s).then(function(e){console.log(e),1==e.data.errorCode?(a.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(a.departInfo={name:"",parentName:"",parentId:""},a.disabled=!0,a.getGroupData()):window.history.go(-1)):a.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(n.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var i=[],a=[];1==t.data.errorCode&&(i=t.data.result.departmentList||[],a=t.data.result.searchList||[]),e.treeData={treeData:i,personData:a},e.disabled=!1}).catch(function(e){console.log(e,"error")})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"add-department-container"},[i("div",{staticClass:"setting-cell depart-info"},[i("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),i("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[i("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[i("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[i("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),i("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=i("VU/8")(r,l,!1,function(e){i("I3G8")},null,null);t.default=o.exports}});
//# sourceMappingURL=10.7208d93b0fb81a57a978.js.map
\ No newline at end of file
webpackJsonp([30],{"2w+n":function(e,a){},AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("3Xzz"),o=t("WSbm"),s=t("P9l9"),r={name:"employeeDetail",components:{navCrumb:n.a,employeeInfo:o.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"添加员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;console.log(a,"ssss"),this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/add",n).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},i={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var m=t("VU/8")(r,i,!1,function(e){t("2w+n")},null,null);a.default=m.exports}}); webpackJsonp([29],{"2w+n":function(e,a){},AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("3Xzz"),o=t("WSbm"),s=t("P9l9"),r={name:"employeeDetail",components:{navCrumb:n.a,employeeInfo:o.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"添加员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;console.log(a,"ssss"),this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/add",n).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},i={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var m=t("VU/8")(r,i,!1,function(e){t("2w+n")},null,null);a.default=m.exports}});
//# sourceMappingURL=30.dfc5fb7b5dccd13e8595.js.map //# sourceMappingURL=29.3d2f67e201fb157fb15d.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([31],{SKyE:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n=(r("P9l9"),{name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(e,r,a){t.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[r("h2",{staticClass:"font-w-500"},[t._v("企业地址设置")]),t._v(" "),r("p",{staticClass:"m-t-24"},[t._v("开启后手机端通讯录将显示,反之则不显示")]),t._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[r("el-form-item",{staticClass:"m-t-22",attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:t.ruleForm.switch,callback:function(e){t.$set(t.ruleForm,"switch",e)},expression:"ruleForm.switch"}})],1),t._v(" "),t.ruleForm.switch?r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1):t._e(),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保 存")])],1)],1)],1)]),t._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(n,o,!1,function(t){r("nKKR")},"data-v-68bc0177",null);e.default=l.exports},nKKR:function(t,e){}}); webpackJsonp([30],{SKyE:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n=(r("P9l9"),{name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(e,r,a){t.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[r("h2",{staticClass:"font-w-500"},[t._v("企业地址设置")]),t._v(" "),r("p",{staticClass:"m-t-24"},[t._v("开启后手机端通讯录将显示,反之则不显示")]),t._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[r("el-form-item",{staticClass:"m-t-22",attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:t.ruleForm.switch,callback:function(e){t.$set(t.ruleForm,"switch",e)},expression:"ruleForm.switch"}})],1),t._v(" "),t.ruleForm.switch?r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1):t._e(),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保 存")])],1)],1)],1)]),t._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(n,o,!1,function(t){r("nKKR")},"data-v-68bc0177",null);e.default=l.exports},nKKR:function(t,e){}});
//# sourceMappingURL=31.562d854f2b4a616d84bd.js.map //# sourceMappingURL=30.a9e98de26f049b159f2b.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([33],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("0+Q1")},null,null);t.default=i.exports},"0+Q1":function(e,t){}}); webpackJsonp([32],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("0+Q1")},null,null);t.default=i.exports},"0+Q1":function(e,t){}});
//# sourceMappingURL=33.5126db7b83c4f72562a8.js.map //# sourceMappingURL=32.e0dcc7cfee4fd78f294f.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([34],{"2Rhp":function(t,e){},VlR1:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={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){this.$refs.asideMenu.refreshRoute()},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,a=t._self._c||e;return a("div",{staticClass:"setting-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"setting-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{height:t.contentHeight}},[a("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])])],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("2Rhp")},"data-v-5487f964",null);e.default=s.exports}}); webpackJsonp([33],{"2Rhp":function(t,e){},VlR1:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={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){this.$refs.asideMenu.refreshRoute()},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,a=t._self._c||e;return a("div",{staticClass:"setting-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"setting-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{height:t.contentHeight}},[a("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])])],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("2Rhp")},"data-v-5487f964",null);e.default=s.exports}});
//# sourceMappingURL=34.9ad4c6a749a5d4232443.js.map //# sourceMappingURL=33.74ac82b84ddd0a61f0c5.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([35],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),n=a("MJLE"),r=a.n(n),i={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},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 r.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},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.shares.length>0&&(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){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(s.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(console.log(a,"cancel"),1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},o={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"},on:{click:e.downloadCode}},[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(" "),e.shares.length>0?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)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)},staticRenderFns:[]};var c=a("VU/8")(i,o,!1,function(e){a("kjeW")},null,null);t.default=c.exports},kjeW:function(e,t){}}); webpackJsonp([34],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),n=a("MJLE"),r=a.n(n),i={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},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 r.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},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.shares.length>0&&(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){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(s.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(console.log(a,"cancel"),1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},o={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"},on:{click:e.downloadCode}},[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(" "),e.shares.length>0?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)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)},staticRenderFns:[]};var c=a("VU/8")(i,o,!1,function(e){a("kjeW")},null,null);t.default=c.exports},kjeW:function(e,t){}});
//# sourceMappingURL=35.5e1e586066edecce2f29.js.map //# sourceMappingURL=34.d29c59b220221af0352b.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([9],{DSbw:function(e,t){},I3G8:function(e,t){},LaUy:function(e,t){},n7j5:function(e,t,i){"use strict";i("0xDb");var a={name:"select-area",components:{vueSelectEmployee:i("c4uw").a},props:{treeData:{type:Object,default:function(){return{}}},butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{delCurrent:function(e,t){var i=this[t];i.splice(i.indexOf(e),1)},handleSelectedList:function(e){this.butList=e},callSelector:function(e,t){this.$emit("callPerSelector",e,t)}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"select-area"},[i("div",{staticClass:"setting-name"},[e._v("\n 个别员工不设置该权限\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.butList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[t.headPic?i("img",{attrs:{src:t.headPic}}):i("div",{staticClass:"replace-head-img"},[i("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"butList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("but",e.butList)}}},[i("i",{staticClass:"el-icon-plus"})])],2),e._v(" "),i("div",{staticClass:"setting-name"},[e._v("\n 允许指定部门/人员可见\n ")]),e._v(" "),i("ul",{staticClass:"particular-list"},[e._l(e.specialList,function(t,a){return[t.employeeClerkId?i("li",{key:a+"_"+t.employeeClerkId,staticClass:"item person-item"},[t.headPic?i("img",{attrs:{src:t.headPic}}):i("div",{staticClass:"replace-head-img"},[i("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),i("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"specialList")}}})]):i("li",{key:a+"_"+t.groupId,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),i("i",{staticClass:"el-icon-circle-close",on:{click:function(i){e.delCurrent(t,"specialList")}}})])]}),e._v(" "),i("li",{staticClass:"item J_add-btn",on:{click:function(t){e.callSelector("special",e.specialList)}}},[i("i",{staticClass:"el-icon-plus"})])],2)])},staticRenderFns:[]};var n={name:"permissionSetting",components:{selectArea:i("VU/8")(a,s,!1,function(e){i("LaUy")},null,null).exports},props:{butList:{type:Array,default:function(){return[]}},specialList:{type:Array,default:function(){return[]}},selfButList:{type:Array,default:function(){return[]}},visibleSpecialLsit:{type:Array,default:function(){return[]}},onlySelfApartList:{type:Array,default:function(){return[]}},treeData:{type:Object,default:function(){return{}}},departInfo:{type:Object,default:function(){return{}}}},data:function(){return{visibleThere:!1,visibleSelf:!1}},methods:{switchPermission:function(e,t,i){e&&(this[i]=!e),this.visibleSelf?this.departInfo.type=2:this.visibleThere?this.departInfo.type=1:this.departInfo.type=""},callPerSelector:function(e,t){this.$emit("callPerSelector",e,t)}},mounted:function(){var e=this.departInfo.type;this.visibleThere=!(1!=e),this.visibleSelf=!(2!=e)},watch:{departInfo:{handler:function(e,t){var i=e.type;this.visibleThere=!(1!=i),this.visibleSelf=!(2!=i)},deep:!0}}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"jurisdiction-setting"},[i("div",{staticClass:"only-visivble-there permission-div"},[i("div",{staticClass:"permission-div-title"},[i("span",[e._v("本部门员工仅可见本部门员工")]),e._v(" "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleThere,"visibleThere","visibleSelf")}},model:{value:e.visibleThere,callback:function(t){e.visibleThere=t},expression:"visibleThere"}})],1),e._v(" "),e.visibleThere?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData,butList:e.butList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()]),e._v(" "),i("div",{staticClass:"only-visivble-self permission-div"},[i("div",{staticClass:"permission-div-title"},[i("span",[e._v("本部门员工仅可见自己")]),e._v(" "),i("el-switch",{attrs:{"active-color":"#409EFF","inactive-color":"#DCDFE6"},on:{change:function(t){e.switchPermission(e.visibleSelf,"visibleSelf","visibleThere")}},model:{value:e.visibleSelf,callback:function(t){e.visibleSelf=t},expression:"visibleSelf"}})],1),e._v(" "),e.visibleSelf?i("div",{staticClass:"particular-setting"},[i("select-area",{attrs:{treeData:e.treeData,butList:e.selfButList,specialList:e.specialList},on:{callPerSelector:e.callPerSelector}})],1):e._e()])])},staticRenderFns:[]};var l=i("VU/8")(n,r,!1,function(e){i("DSbw")},null,null);t.a=l.exports},q5Ri:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("n7j5"),s=i("c4uw"),n=i("P9l9"),r={name:"addDepartment",components:{permissionSetting:a.a,vueSelectEmployee:s.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},testList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},treeData:{},disabled:!0,defaultSelection:[],defaultParent:[],selectorType:"parent",changed:"parent",onlyPerson:!1,onlyGroup:[]}},methods:{getDepartInfo:function(){var e=this,t={groupId:e.$route.query.departmentId};Object(n.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){if(1==t.data.errorCode){e.departInfo.name=t.data.result.name,e.departInfo.parentId=t.data.result.parentId;var i=t.data.result.chainName.split("/"),a=i.length;e.departInfo.parentName=1==a?"":i[a-2],e.defaultParent=[{label:e.departInfo.parentName,id:t.data.result.parentId,groupId:t.data.result.parentId}]}else e.$message.error({duration:1e3,message:t.data.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},callGroupSelector:function(){this.selectorType="parent",this.defaultSelection=this.defaultParent,this.onlyPerson=!1,this.onlyGroup=[],this.changed="parent",this.treeSet={dialogVisible:!0,isSingle:!0,isSelectPerson:!1}},callPerSelector:function(e,t){this.selectorType=e,this.defaultSelection=t,this.onlyPerson=!0,this.onlyGroup=[this.$route.query.departmentId],console.log(this.$route.query.departmentId),this.changed=e,this.treeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!0}},handleSelectedList:function(e){console.log(e),this.departInfo.parentId=e?e.id:"",this.departInfo.parentName=e?e.label:""},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(i){if(!i)return!1;var a=e,s={parentId:a.departInfo.parentId,name:a.departInfo.name};Object(n.a)("/haoban-manage-web/dept/insert",s).then(function(e){console.log(e),1==e.data.errorCode?(a.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(a.departInfo={name:"",parentName:"",parentId:""},a.disabled=!0,a.getGroupData()):window.history.go(-1)):a.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})})},getGroupData:function(){var e=this;Object(n.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var i=[],a=[];1==t.data.errorCode&&(i=t.data.result.departmentList||[],a=t.data.result.searchList||[]),e.treeData={treeData:i,personData:a},e.disabled=!1}).catch(function(e){console.log(e,"error")})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},beforeMount:function(){this.getGroupData(),this.isAddNew||this.getDepartInfo()},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)}}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"add-department-container"},[i("div",{staticClass:"setting-cell depart-info"},[i("p",{staticClass:"title"},[e._v("部门信息")]),e._v(" "),i("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[i("el-form-item",{attrs:{label:"部门名称",prop:"name"}},[i("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[i("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1)],1)],1),e._v(" "),i("vue-select-employee",{attrs:{defaultSelection:e.defaultSelection,treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var o=i("VU/8")(r,l,!1,function(e){i("I3G8")},null,null);t.default=o.exports}});
//# sourceMappingURL=9.613dbf16070163a588fe.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var d,b,o,i=0,u=[];i<f.length;i++)b=f[i],a[b]&&u.push(a[b][0]),a[b]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var f={},a={44:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"e06c6bd616d9281023b2",1:"26fc7c6e9b4ccca95f46",2:"dfa36a7bbc4c28615e8f",3:"090aab8a9ecbc8d748b5",4:"fa159c8959c329e1566e",5:"83326270dfef0233c90a",6:"1d7830b4d55d08cb5ead",7:"fbeb3db819eec7392fd8",8:"1f9cc69f1d1455b4395a",9:"613dbf16070163a588fe",10:"784f45d2c0512adb5503",11:"76cc622bb85535654fee",12:"ff8b949463a1e4281bc8",13:"01693b96cf028e56cf1a",14:"6041281e059c0a18aff9",15:"0d7a82402ede2cbfa574",16:"b0d2cc6fca689f99e4e2",17:"1c3793ca54eeb21da7c0",18:"9247370e2d3b5ea2195b",19:"7f1c8393b3bfef00b45d",20:"a67936fc14930635fda5",21:"52f0406512b49c4c4921",22:"39f5e1d81ccacdc34ac8",23:"9f05cfc644dbcf58019a",24:"f87968cd1809bd537de5",25:"41900b7b606ec81d1b49",26:"30beb66a68cf4670017a",27:"94b3fc65a52004cfda55",28:"ce30294345c96cf957b1",29:"89fb6199de5dd6a40235",30:"dfc5fb7b5dccd13e8595",31:"562d854f2b4a616d84bd",32:"88203aee3f1e9e84db0d",33:"5126db7b83c4f72562a8",34:"9ad4c6a749a5d4232443",35:"5e1e586066edecce2f29",36:"cc0d98bf5720b38d1e77",37:"a0f44cfd120df62011c9",38:"bffc9417838d0b109405",39:"7eee96327266740f3019",40:"6ff12ea562cf0ae0f1ea",43:"13848f214bb993c20004"}[e]+".js";var d=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(d);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return t.onerror=t.onload=b,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var d,o,b,i=0,u=[];i<f.length;i++)o=f[i],a[o]&&u.push(a[o][0]),a[o]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(c&&c(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var f={},a={44:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"589895e663cf279b4342",1:"26fc7c6e9b4ccca95f46",2:"2f3abb3dc9d5f6a07536",3:"ccac42aa68ce473d908d",4:"ea8a5364035991b7a178",5:"83326270dfef0233c90a",6:"1d7830b4d55d08cb5ead",7:"fbeb3db819eec7392fd8",8:"1f9cc69f1d1455b4395a",9:"3466da9dc5776679b270",10:"7208d93b0fb81a57a978",11:"a637d7388af1e84b5565",12:"ff8b949463a1e4281bc8",13:"01693b96cf028e56cf1a",14:"6041281e059c0a18aff9",15:"9c4eb83d3a7630e2becd",16:"b0d2cc6fca689f99e4e2",17:"1c3793ca54eeb21da7c0",18:"9247370e2d3b5ea2195b",19:"7f1c8393b3bfef00b45d",20:"a67936fc14930635fda5",21:"52f0406512b49c4c4921",22:"39f5e1d81ccacdc34ac8",23:"9f05cfc644dbcf58019a",24:"f87968cd1809bd537de5",25:"41900b7b606ec81d1b49",26:"30beb66a68cf4670017a",27:"94b3fc65a52004cfda55",28:"ce30294345c96cf957b1",29:"3d2f67e201fb157fb15d",30:"a9e98de26f049b159f2b",31:"5cf0182fc424e8606c89",32:"e0dcc7cfee4fd78f294f",33:"74ac82b84ddd0a61f0c5",34:"d29c59b220221af0352b",35:"3a1287481845f3ab0f96",36:"6ec2d4074c84f920def4",37:"a0f44cfd120df62011c9",38:"bffc9417838d0b109405",39:"7eee96327266740f3019",40:"6ff12ea562cf0ae0f1ea",43:"13848f214bb993c20004"}[e]+".js";var d=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(d);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return t.onerror=t.onload=o,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.3932f918ddd3dad645d2.js.map //# sourceMappingURL=manifest.893aa7d0d5f360b19998.js.map
\ No newline at end of file \ No newline at end of file
<template> <template>
<div class="employee-table"> <div class="employee-table">
<el-table <el-table
height="495" :height="employeeList.length? tableH:'auto'"
:data="employeeList" :data="employeeList"
@selection-change="selectMember" @selection-change="selectMember"
@row-click="linkToDetail" > @row-click="linkToDetail" >
...@@ -48,6 +48,11 @@ export default { ...@@ -48,6 +48,11 @@ export default {
} }
} }
}, },
data() {
return {
tableH: window.screen.availHeight - 440 - 180,
}
},
methods: { methods: {
/** /**
* table选择员工 * table选择员工
......
...@@ -100,7 +100,8 @@ export default { ...@@ -100,7 +100,8 @@ export default {
disabled: "disabled" disabled: "disabled"
}, },
menuData: [], menuData: [],
defaultOpen: [] defaultOpen: [],
defaultId: '', // 默认选择的 id
}; };
}, },
methods: { methods: {
...@@ -128,8 +129,11 @@ export default { ...@@ -128,8 +129,11 @@ export default {
* 树形菜单选择 * 树形菜单选择
*/ */
handleNodeClick(obj, node) { handleNodeClick(obj, node) {
const that = this;
if (obj.id != that.defaultId) {
document.querySelector('.el-tree-node').classList.remove("is-current"); document.querySelector('.el-tree-node').classList.remove("is-current");
this.$emit("handleTreeSelection", obj, node, 'node'); }
that.$emit("handleTreeSelection", obj, node, 'node');
}, },
/** /**
...@@ -172,10 +176,12 @@ export default { ...@@ -172,10 +176,12 @@ export default {
}, },
watch: { watch: {
treeData(newArr, old) { treeData(newArr, old) {
const that = this;
let obj = formatTreeData(newArr); let obj = formatTreeData(newArr);
this.defaultOpen = obj.defaultOpen; that.defaultOpen = obj.defaultOpen;
this.menuData = obj.menuArr; that.menuData = obj.menuArr;
this.$nextTick(function(){ that.$nextTick(function(){
that.defaultId = !!that.menuData.length? that.menuData[0].id : '';
document.querySelector('.el-tree-node').classList.add("is-current"); document.querySelector('.el-tree-node').classList.add("is-current");
}) })
} }
...@@ -189,7 +195,6 @@ export default { ...@@ -189,7 +195,6 @@ export default {
overflow-x: auto; overflow-x: auto;
width: 260px; width: 260px;
background: #eef1f8; background: #eef1f8;
height: 690px;
padding: 20px 0; padding: 20px 0;
box-sizing: border-box; box-sizing: border-box;
...@@ -208,9 +213,12 @@ export default { ...@@ -208,9 +213,12 @@ export default {
text-align: center; text-align: center;
margin-top: 20px; margin-top: 20px;
.el-icon-question { .el-icon-info {
color: #C0C4CC; color: #C0C4CC;
cursor: pointer; cursor: pointer;
&:hover {
color: #000;
}
} }
} }
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="btn-box"> <div class="btn-box">
<el-button type="primary" @click="saveFn">保存</el-button> <el-button type="primary" @click="saveFn"> </el-button>
<el-button type="primary" @click="saveFn(1)" v-if="isAddnew">保存并继续添加</el-button> <el-button type="primary" @click="saveFn(1)" v-if="isAddnew">保存并继续添加</el-button>
<el-button @click="cancel"></el-button> <el-button @click="cancel"></el-button>
</div> </div>
<vue-select-store ref="storeSelector" @handleSelectedList="handleSelectedList" :treeSet="treeSet" selectType="store"></vue-select-store> <vue-select-store ref="storeSelector" @handleSelectedList="handleSelectedList" :treeSet="treeSet" selectType="store"></vue-select-store>
</div> </div>
......
...@@ -2,11 +2,7 @@ ...@@ -2,11 +2,7 @@
<div> <div>
<div class="sf-right-button-box common-right-button-box"> <div class="sf-right-button-box common-right-button-box">
<el-select v-model="storeType" @change="selectByType" size="small"> <el-select v-model="storeType" @change="selectByType" size="small">
<el-option <el-option v-for="(type, index) in typeArr" :key="type" :label="type" :value="index">
v-for="(type, index) in typeArr"
:key="type"
:label="type"
:value="index">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="storeStatus" @change="selectByStatus" size="small"> <el-select v-model="storeStatus" @change="selectByStatus" size="small">
...@@ -14,17 +10,16 @@ ...@@ -14,17 +10,16 @@
<el-option label="正常" :value="1"></el-option> <el-option label="正常" :value="1"></el-option>
<el-option label="停业整顿" :value="3"></el-option> <el-option label="停业整顿" :value="3"></el-option>
</el-select> </el-select>
<el-button style="vertical-align: middle;" class="J_show-children" size="small"><el-checkbox class="m-r-10" v-model="showChildMember" @change="setChildMemberShow"></el-checkbox><a class="a-href">显示子成员</a></el-button> <el-button style="vertical-align: middle;" class="J_show-children" size="small">
<el-checkbox class="m-r-10" v-model="showChildMember" @change="setChildMemberShow"></el-checkbox><a class="a-href">显示子成员</a>
</el-button>
</div> </div>
<el-table <el-table
ref="clerkViewTable" ref="clerkViewTable"
class="diy-table" class="diy-table"
height="445" :height="tableData.length? tableH:'auto'"
:data="tableData"> :data="tableData">
<el-table-column <el-table-column label="门店" width="300">
label="门店"
width="125"
>
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
<p class="m-b-10">{{scope.row.storeName}}</p> <p class="m-b-10">{{scope.row.storeName}}</p>
...@@ -32,19 +27,15 @@ ...@@ -32,19 +27,15 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="门店code" prop="storeCode" width="300"></el-table-column>
label="门店code" <el-table-column >
prop="storeCode"
width="125"
></el-table-column>
<el-table-column>
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<ul class="diy-header"> <ul class="diy-header">
<li class="name">姓名</li> <li class="name">姓名</li>
<li class="phone">手机号</li> <li class="phone">手机号</li>
<li class="position">职位</li> <li class="position">职位</li>
<li class="status">状态</li> <li class="status">状态</li>
<li>操作</li> <li style="width: 200px;">操作</li>
</ul> </ul>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -79,16 +70,17 @@ export default { ...@@ -79,16 +70,17 @@ export default {
props: { props: {
tableData: { tableData: {
type: Array, type: Array,
default() { default () {
return []; return [];
} }
} }
}, },
data() { data() {
return { return {
tableH: window.screen.availHeight - 440 - 180 - 70,
storeType: 0, storeType: 0,
typeArr: ["全部类型", "自营", "联营", "代理(加盟)", "代销", "托管"], typeArr: ["全部类型", "自营", "联营", "代理(加盟)", "代销", "托管"],
storeStatus:"", storeStatus: "",
showChildMember: false showChildMember: false
}; };
}, },
...@@ -118,7 +110,7 @@ export default { ...@@ -118,7 +110,7 @@ export default {
managerId: exMananger.employeeClerkId managerId: exMananger.employeeClerkId
}; };
getRequest("/haoban-manage-web/emp/setManager", params) getRequest("/haoban-manage-web/emp/setManager", params)
.then (res => { .then(res => {
if (res.data.errorCode == 1) { if (res.data.errorCode == 1) {
exMananger.isManager = 0; exMananger.isManager = 0;
clerk.isManager = 1; clerk.isManager = 1;
...@@ -148,7 +140,7 @@ export default { ...@@ -148,7 +140,7 @@ export default {
selectByType(type) { selectByType(type) {
let storeType = ""; let storeType = "";
if (type != 0) { if (type != 0) {
storeType = type*1 - 1; storeType = type * 1 - 1;
} }
this.$emit("selectByType", storeType); this.$emit("selectByType", storeType);
}, },
...@@ -194,5 +186,5 @@ export default { ...@@ -194,5 +186,5 @@ export default {
} }
} }
}; };
</script>
</script>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</el-form> </el-form>
</div> </div>
<div class="handle-area"> <div class="handle-area">
<el-button type="primary" @click="save">保存</el-button> <el-button type="primary" @click="save"> </el-button>
</div> </div>
<vue-select-store ref="storeSelector" @handleSelectedList="handleSelectedList" :treeSet="treeSet" :selectType="selectType" :forbidenList="[storeInfo.storeGroupId]"></vue-select-store> <vue-select-store ref="storeSelector" @handleSelectedList="handleSelectedList" :treeSet="treeSet" :selectType="selectType" :forbidenList="[storeInfo.storeGroupId]"></vue-select-store>
</div> </div>
......
...@@ -6,50 +6,26 @@ ...@@ -6,50 +6,26 @@
</a> </a>
<a :href="'#/storeIo?importCode=store&departmentId='+departmentId+'&showChildMember='+showChildMember*1+'&brandId='+brandId"><el-button>批量导入/导出</el-button></a> <a :href="'#/storeIo?importCode=store&departmentId='+departmentId+'&showChildMember='+showChildMember*1+'&brandId='+brandId"><el-button>批量导入/导出</el-button></a>
<el-button type="danger" plain @click="delStores" :disabled="disabledDel">批量删除</el-button> <el-button type="danger" plain @click="delStores" :disabled="disabledDel">批量删除</el-button>
<el-button class="J_show-children" size="small"><el-checkbox class="m-r-10" v-model="showChildMember" @change="setChildMemberShow"></el-checkbox><a class="a-href">显示子成员</a></el-button> <el-button class="J_show-children" size="small">
<el-checkbox class="m-r-10" v-model="showChildMember" @change="setChildMemberShow">显示子成员</el-checkbox><a class="a-href"></a>
</el-button>
</div> </div>
<el-table <el-table
ref="table1" ref="table1"
height="445" :height="tableData.length? tableH:'auto'"
:data="tableData" :data="tableData"
@selection-change="selectMember"> @selection-change="selectMember">
<el-table-column <el-table-column type="selection" width="42"></el-table-column>
type="selection" <el-table-column label="门店" prop="storeName" width="140"></el-table-column>
width="42" <el-table-column label="代码" prop="storeCode" width="140"></el-table-column>
></el-table-column> <el-table-column label="类型" prop="storeType" width="100">
<el-table-column
label="门店"
prop="storeName"
width="140"
></el-table-column>
<el-table-column
label="代码"
prop="storeCode"
width="140"
></el-table-column>
<el-table-column
label="类型"
prop="storeType"
width="100"
>
<template slot-scope="scope"> <template slot-scope="scope">
{{typeArr[scope.row.storeType * 1 + 1]}} {{typeArr[scope.row.storeType * 1 + 1]}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="地区" prop="areaChainName" :show-overflow-tooltip="true"></el-table-column>
label="地区" <el-table-column label="所属分组" prop="departmentName" :show-overflow-tooltip="true"></el-table-column>
prop="areaChainName" <el-table-column label="操作" width="120">
:show-overflow-tooltip="true"
></el-table-column>
<el-table-column
label="所属分组"
prop="departmentName"
:show-overflow-tooltip="true"
></el-table-column>
<el-table-column
label="操作"
width="120"
>
<template slot-scope="scope"> <template slot-scope="scope">
<a class="a-href m-r-20" :href="'#/storeInfo?storeId='+scope.row.storeId">编辑</a> <a class="a-href m-r-20" :href="'#/storeInfo?storeId='+scope.row.storeId">编辑</a>
<a class="a-href" @click="delStores(scope.row, true)">删除</a> <a class="a-href" @click="delStores(scope.row, true)">删除</a>
...@@ -65,7 +41,7 @@ export default { ...@@ -65,7 +41,7 @@ export default {
props: { props: {
tableData: { tableData: {
type: Array, type: Array,
default() { default () {
return []; return [];
} }
}, },
...@@ -80,6 +56,7 @@ export default { ...@@ -80,6 +56,7 @@ export default {
}, },
data() { data() {
return { return {
tableH: window.screen.availHeight - 440 - 180 - 70,
selectedList: [], selectedList: [],
showChildMember: false, // 是否显示子成员 showChildMember: false, // 是否显示子成员
typeArr: ["全部类型", "自营", "联营", "代理(加盟)", "代销", "托管"], typeArr: ["全部类型", "自营", "联营", "代理(加盟)", "代销", "托管"],
...@@ -143,13 +120,30 @@ export default { ...@@ -143,13 +120,30 @@ export default {
}, },
computed: { computed: {
disabledDel() { disabledDel() {
return this.selectedList.length < 1 ; return this.selectedList.length < 1;
} }
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.J_show-children {
&.el-button {
vertical-align: top;
margin-left: 0;
padding: 0 15px;
line-height: 32px;
height: 32px;
}
</style> .el-checkbox {
vertical-align: -1px;
&.is-checked {
.el-checkbox__label {
color: #409eff;
}
}
}
}
</style>
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
}, },
inputValue: function(newData,oldData){ inputValue: function(newData,oldData){
const that = this; const that = this;
that.itemValue = newData that.itemValue = newData || '';
that.inputNum = strLength.getZhLen(that.itemValue) that.inputNum = strLength.getZhLen(that.itemValue)
}, },
}, },
......
...@@ -524,7 +524,7 @@ export default { ...@@ -524,7 +524,7 @@ export default {
.fixed-footer { .fixed-footer {
position: fixed; position: fixed;
left: 224px; left: 200px;
bottom: 0; bottom: 0;
right: 0; right: 0;
margin-bottom: 0; margin-bottom: 0;
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
:employeeList="employeeList" :employeeList="employeeList"
@selectMember="selectMember"> @selectMember="selectMember">
</employee-list> </employee-list>
<div class="pagination"> <div class="pagination" v-if="!!employeeList.length">
<el-pagination <el-pagination
background background
:page-sizes="[20, 40, 60, 80]" :page-sizes="[20, 40, 60, 80]"
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
</div> </div>
</div> </div>
</div> </div>
<vue-gic-footer></vue-gic-footer>
</div> </div>
</template> </template>
<script> <script>
...@@ -293,7 +294,6 @@ export default { ...@@ -293,7 +294,6 @@ export default {
display: flex; display: flex;
.af-right-container { .af-right-container {
height: 690px;
background: #fff; background: #fff;
flex: 1; flex: 1;
padding: 0 24px; padding: 0 24px;
...@@ -360,7 +360,7 @@ export default { ...@@ -360,7 +360,7 @@ export default {
} }
.pagination { .pagination {
margin-top: 30px; margin: 24px 0;
text-align: right; text-align: right;
} }
......
<template> <template>
<div class="common-set-wrap"> <div class="common-set-wrap">
<nav-crumb :navpath="navpath"></nav-crumb> <nav-crumb :navpath="navpath"></nav-crumb>
<div class="right-content"> <div class="right-content" :style="{'height': windowH}">
<div class="right-box"> <div class="right-box">
<div class="store-estrutura-container common-frame-container"> <div class="store-estrutura-container common-frame-container" :style="{height: windowH}">
<search-menu <search-menu
ref="searchMenu" ref="searchMenu"
:storeFrame="true" :storeFrame="true"
...@@ -16,30 +16,32 @@ ...@@ -16,30 +16,32 @@
<template slot="buttonBox"> <template slot="buttonBox">
<div class="slot-button"> <div class="slot-button">
<el-button @click="addBrand" :disabled="disableBtn">新建品牌</el-button> <el-button @click="addBrand" :disabled="disableBtn">新建品牌</el-button>
<el-popover <el-popover placement="right" width="200" content="若您的企业为集团企业,可通过新建品牌,不同品牌的门店可以创建在不同的品牌下面" trigger="hover"><i class="el-icon-info" slot="reference"></i>
placement="right"
width="550"
content="若您的企业为集团企业,可通过新建品牌,不同品牌的门店可以创建在不同的品牌下面"
trigger="hover">
<i class="el-icon-question" slot="reference"></i>
</el-popover> </el-popover>
</div> </div>
</template> </template>
</search-menu> </search-menu>
<clerk-info v-if="showEmployee == 'employee'" :perId="perId"></clerk-info> <clerk-info v-if="showEmployee == 'employee'" :perId="perId"></clerk-info>
<store-info ref="store_info" v-else-if="showEmployee == 'store'" :storeInfo="storeInfo"></store-info> <store-info ref="store_info" v-else-if="showEmployee == 'store'" :storeInfo="storeInfo"></store-info>
<div class="sf-right-container common-right-container" <div class="sf-right-container common-right-container" v-else v-loading="loading">
v-else
v-loading="loading">
<div class="sf-right-header common-right-header"> <div class="sf-right-header common-right-header">
<span class="title-span">{{groupInfo.groupName}}({{total}}家)</span> <span class="title-span">{{groupInfo.groupName}}({{total}}家)</span>
<span class="id-span">部门ID: {{groupInfo.departmentId}}</span> <span class="id-span">部门ID: {{groupInfo.departmentId}}</span>
<span class="handle-area"> <span class="handle-area">
<el-button @click="addSon" class="no-bdr-btn" :disabled="groupInfo.hasPression != 1">添加子分组</el-button> <el-button
<!-- <template v-if="groupInfo.level != 0"> --> class="no-bdr-btn"
<span class="hurdle"></span> :disabled="groupInfo.hasPression != 1"
<el-button @click="goToEdit(groupInfo.level)" :href="'#/addGroup?level='+groupInfo.level+'&groupId='+groupInfo.departmentId" :disabled="groupInfo.hasPression != 1" class="no-bdr-btn">编辑</el-button> @click="addSon">
<!-- </template> --> 添加子分组
</el-button><span
class="hurdle">
</span><el-button
:href="'#/addGroup?level='+groupInfo.level+'&groupId='+groupInfo.departmentId"
:disabled="groupInfo.hasPression != 1"
class="no-bdr-btn"
@click="goToEdit(groupInfo.level)">
编辑
</el-button>
</span> </span>
</div> </div>
<div class="tab-div"> <div class="tab-div">
...@@ -51,13 +53,26 @@ ...@@ -51,13 +53,26 @@
<el-button type="primary" icon="el-icon-delete">回收站({{recycleList.length}})</el-button> <el-button type="primary" icon="el-icon-delete">回收站({{recycleList.length}})</el-button>
</a> </a>
</div> </div>
<div>
<template v-if="tableView == 1"> <template v-if="tableView == 1">
<store-view :tableData="storeList" @setChildMemberShow="setChildMemberShow" :departmentId="groupInfo.departmentId" :brandId="groupInfo.brandId" @getStoreList="getStoreList"></store-view> <store-view
:tableData="storeList"
:departmentId="groupInfo.departmentId"
:brandId="groupInfo.brandId"
@setChildMemberShow="setChildMemberShow"
@getStoreList="getStoreList">
</store-view>
</template> </template>
<template v-else> <template v-else>
<clerk-view :tableData="storeList" @setChildMemberShow="setChildMemberShow" @selectByStatus="selectByStatus" @selectByType="selectByType"></clerk-view> <clerk-view
:tableData="storeList"
@setChildMemberShow="setChildMemberShow"
@selectByStatus="selectByStatus"
@selectByType="selectByType">
</clerk-view>
</template> </template>
<div class="pagination"> </div>
<div class="pagination" v-if="!!storeList.length">
<el-pagination <el-pagination
background background
@size-change="handleSizeChange" @size-change="handleSizeChange"
...@@ -74,6 +89,7 @@ ...@@ -74,6 +89,7 @@
</div> </div>
</div> </div>
</div> </div>
<vue-gic-footer></vue-gic-footer>
</div> </div>
</template> </template>
<script> <script>
...@@ -101,8 +117,7 @@ export default { ...@@ -101,8 +117,7 @@ export default {
data() { data() {
return { return {
// 面包屑参数 // 面包屑参数
navpath: [ navpath: [{
{
name: '首页', name: '首页',
path: '/index' path: '/index'
}, },
...@@ -115,6 +130,9 @@ export default { ...@@ -115,6 +130,9 @@ export default {
path: '' path: ''
} }
], ],
windowH: (window.screen.availHeight - 440) + 'px',
tableH: window.screen.availHeight - 440 - 180 + 'px',
boxHeight: window.screen.availHeight + 'px',
menuData: [], menuData: [],
searchResult: {}, searchResult: {},
loading: true, loading: true,
...@@ -171,12 +189,12 @@ export default { ...@@ -171,12 +189,12 @@ export default {
}, },
// 跳转添加子部门页面 // 跳转添加子部门页面
addSon() { addSon() {
location.href = '#/addGroup?addnew=1&groupId='+this.groupInfo.departmentId; location.href = '#/addGroup?addnew=1&groupId=' + this.groupInfo.departmentId;
}, },
// 跳转编辑部门页面 // 跳转编辑部门页面
goToEdit(level) { goToEdit(level) {
let type = level == 0 ? "brand" : "group"; let type = level == 0 ? "brand" : "group";
location.href = '#/addGroup?groupId='+this.groupInfo.departmentId+'&type='+type; location.href = '#/addGroup?groupId=' + this.groupInfo.departmentId + '&type=' + type;
}, },
addSuccess() { addSuccess() {
this.getGroupData(); this.getGroupData();
...@@ -187,7 +205,7 @@ export default { ...@@ -187,7 +205,7 @@ export default {
*/ */
handleStoreSelection(store) { handleStoreSelection(store) {
let that = this; let that = this;
let params = {storeId: store.storeId}; let params = { storeId: store.storeId };
getRequest("/haoban-manage-web/store/findStoreById", params) getRequest("/haoban-manage-web/store/findStoreById", params)
.then(res => { .then(res => {
console.log(res, "storeInfo"); console.log(res, "storeInfo");
...@@ -232,33 +250,34 @@ export default { ...@@ -232,33 +250,34 @@ export default {
* 获取树形分组数据 * 获取树形分组数据
*/ */
getGroupData() { getGroupData() {
let _this = this; let that = this;
let params = { let params = {
isStoreGroup: 1 isStoreGroup: 1
}; };
getRequest("/haoban-manage-web/dept/deptList", params) getRequest("/haoban-manage-web/dept/deptList", params)
.then(res => { .then(res => {
if (res.data.errorCode == 1) { if (res.data.errorCode == 1) {
_this.menuData = res.data.result || []; that.menuData = res.data.result || [];
res.data.result.some(li => { res.data.result.some(item => {
if (li.level == 0) { if (item.level == 0) {
_this.groupInfo.departmentId = li.groupId; that.groupInfo.departmentId = item.groupId;
_this.groupInfo.groupName = li.name; that.groupInfo.groupName = item.name;
that.groupInfo.hasPression = item.hasPression;
} }
return li.level == 0; return item.level == 0;
}); });
_this.getStoreList(); that.getStoreList();
} else { } else {
_this.menuData = []; that.menuData = [];
_this.loading = false; that.loading = false;
_this.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: res.data.message message: res.data.message
}); });
} }
}) })
.catch(e => { .catch(e => {
_this.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: e.message message: e.message
}); });
...@@ -349,5 +368,5 @@ export default { ...@@ -349,5 +368,5 @@ export default {
this.disableBtn = false; this.disableBtn = false;
} }
}; };
</script>
</script>
@import './public.css'; @import './public.css';
.arrowico{
.arrowico {
position: absolute; position: absolute;
transition: all .5s; transition: all .5s;
.icoposition(0px,25px); .icoposition(0px, 25px);
} }
.icoposition(@right: right,@top: top){
.icoposition(@right: right, @top: top) {
right: @right; right: @right;
top: @top; top: @top;
} }
...@@ -22,6 +24,7 @@ ...@@ -22,6 +24,7 @@
width: 260px; width: 260px;
} }
} }
.pass-form-dialog { .pass-form-dialog {
/deep/ .el-dialog { /deep/ .el-dialog {
min-width: 425px; min-width: 425px;
...@@ -31,89 +34,114 @@ ...@@ -31,89 +34,114 @@
padding: 0 20px; padding: 0 20px;
}*/ }*/
} }
.commom-container { .commom-container {
background: #fff; background: #fff;
} }
.common-frame-container { .common-frame-container {
display: flex; display: flex;
.common-right-container { .common-right-container {
height: 690px; /*height: 690px;*/
background: #fff; background: #fff;
flex: 1; flex: 1;
padding: 0 24px; padding: 0 24px;
.common-right-header { .common-right-header {
height: 70px; height: 70px;
line-height: 70px; line-height: 70px;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: #606266; color: #606266;
.title-span { .title-span {
color: #303133; color: #303133;
font-size: 20px; font-size: 20px;
} }
.handle-area { .handle-area {
float: right; float: right;
.hurdle { .hurdle {
width:1px; width: 1px;
height:16px; height: 16px;
display: inline-block; display: inline-block;
background: #DCDFE6; background: #DCDFE6;
margin: 0; margin: 0;
vertical-align: sub; vertical-align: sub;
} }
.no-bdr-btn { .no-bdr-btn {
background: none; background: none;
color: #409EFF; color: #409EFF;
border: none; border: none;
} }
.el-button.is-disabled, .el-button.is-disabled:hover, .el-button.is-disabled:focus {
.el-button.is-disabled,
.el-button.is-disabled:hover,
.el-button.is-disabled:focus {
background: none; background: none;
color: #c0c4cc; color: #c0c4cc;
} }
} }
} }
.tab-div { .tab-div {
margin-bottom: 20px; margin-bottom: 20px;
} }
.common-right-button-box { .common-right-button-box {
padding: 8px 15px; padding: 8px 15px;
background: #EBEEF5; background: #EBEEF5;
font-size: 0; font-size: 0;
.el-select--small { .el-select--small {
width: 120px; width: 120px;
margin-right: 10px; margin-right: 10px;
} }
.el-button { .el-button {
margin-right: 8px; margin-right: 8px;
} }
} }
.pagination { .pagination {
margin-top: 30px; margin: 24px 0;
text-align: right; text-align: right;
} }
.diy-table { .diy-table {
.diy-header { .diy-header {
display: flex; display: flex;
.name { .name {
width: 130px; width: 130px;
} }
.phone, .position {
.phone,
.position {
width: 125px; width: 125px;
} }
.status { .status {
width: 100px; width: 100px;
} }
} }
.clerk-obj-li { .clerk-obj-li {
display: flex; display: flex;
padding: 10px 0; padding: 10px 0;
margin-bottom: 25px; margin-bottom: 25px;
line-height: 32px; line-height: 32px;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.clerk-name { .clerk-name {
width: 130px; width: 130px;
.manager { .manager {
display: inline-block; display: inline-block;
width: 30px; width: 30px;
...@@ -121,17 +149,21 @@ ...@@ -121,17 +149,21 @@
line-height: 16px; line-height: 16px;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
background:rgba(247,203,39,1); background: rgba(247, 203, 39, 1);
border-radius:2px; border-radius: 2px;
color: #fff; color: #fff;
font-size: 10px; font-size: 10px;
} }
} }
.clerk-phone, .clerk-position {
.clerk-phone,
.clerk-position {
width: 125px; width: 125px;
} }
.clerk-status { .clerk-status {
width: 100px; width: 100px;
.status-icon { .status-icon {
width: 34px; width: 34px;
height: 32px; height: 32px;
...@@ -140,6 +172,7 @@ ...@@ -140,6 +172,7 @@
background: #ECF5FF; background: #ECF5FF;
border: 1px solid #D9ECFF; border: 1px solid #D9ECFF;
border-radius: 4px; border-radius: 4px;
&.is-active { &.is-active {
color: #409EFF; color: #409EFF;
} }
...@@ -154,51 +187,65 @@ ...@@ -154,51 +187,65 @@
flex: 1; flex: 1;
height: 690px; height: 690px;
overflow: auto; overflow: auto;
.info-cell { .info-cell {
margin-bottom: 24px; margin-bottom: 24px;
background: #fff; background: #fff;
padding-bottom: 24px; padding-bottom: 24px;
>.title { >.title {
line-height: 55px; line-height: 55px;
text-indent: 32px; text-indent: 32px;
border-bottom: 1px solid #E4E7ED; border-bottom: 1px solid #E4E7ED;
} }
.info-form { .info-form {
padding: 24px 60px 0; padding: 24px 60px 0;
.el-form-item:last-child { .el-form-item:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.el-input, .el-textarea, .counter {
.el-input,
.el-textarea,
.counter {
width: 500px; width: 500px;
&.el-date-editor { &.el-date-editor {
width: 150px; width: 150px;
} }
} }
.area-container { .area-container {
.el-select { .el-select {
width: 163px; width: 163px;
} }
.el-input { .el-input {
width: 160px; width: 160px;
} }
} }
.img-list { .img-list {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
width: 500px; width: 500px;
.img-li { .img-li {
width:148px; width: 148px;
height:148px; height: 148px;
border-radius:6px; border-radius: 6px;
margin-right: 12px; margin-right: 12px;
margin-bottom: 10px; margin-bottom: 10px;
position: relative; position: relative;
&.J_add-img { &.J_add-img {
text-align: center; text-align: center;
line-height: 150px; line-height: 150px;
border:1px solid rgba(192,204,218,1); border: 1px solid rgba(192, 204, 218, 1);
font-size: 23px; font-size: 23px;
color: #909399; color: #909399;
.tip { .tip {
position: absolute; position: absolute;
font-size: 13px; font-size: 13px;
...@@ -209,6 +256,7 @@ ...@@ -209,6 +256,7 @@
width: 100%; width: 100%;
} }
} }
.J_del-img { .J_del-img {
position: absolute; position: absolute;
font-size: 20px; font-size: 20px;
...@@ -217,20 +265,21 @@ ...@@ -217,20 +265,21 @@
right: -10px; right: -10px;
cursor: pointer; cursor: pointer;
} }
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius:6px; border-radius: 6px;
} }
} }
} }
} }
} }
.handle-area { .handle-area {
background:rgba(255,255,255,1); background: rgba(255, 255, 255, 1);
height: 57px; height: 57px;
line-height: 57px; line-height: 57px;
text-align: center; text-align: center;
} }
} }
...@@ -354,6 +354,10 @@ input:focus { ...@@ -354,6 +354,10 @@ input:focus {
margin-left: 16px; margin-left: 16px;
} }
.m-t-8 {
margin-top: 8px;
}
.m-t-10 { .m-t-10 {
margin-top: 10px; margin-top: 10px;
} }
...@@ -406,10 +410,38 @@ input:focus { ...@@ -406,10 +410,38 @@ input:focus {
font-size: 0; font-size: 0;
} }
.font-12 {
font-size: 12px;
}
.font-14 {
font-size: 14px;
}
.font-16 {
font-size: 16px;
}
.font-20 {
font-size: 20px;
}
.font-w-500 { .font-w-500 {
font-weight: 500; font-weight: 500;
} }
.color-606266 {
color: #606266;
}
.color-909399 {
color: #909399;
}
.line-h-1 {
line-height: 1;
}
.w-130 { .w-130 {
width: 130px; width: 130px;
} }
......
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