更新代码

This commit is contained in:
zhangmanman
2021-09-23 10:18:51 +08:00
parent f7fc27944d
commit ec3c9428b3
29 changed files with 26009 additions and 21844 deletions

View File

@@ -82,14 +82,6 @@
},
onShow(){
this.getIndex()
// 获取员工管理列表
if(this.$store.state.token != ''){
if(!this.employee) {
employeesTool().then(res=>{
this.toolList = res.permission
})
}
}
},
methods: {
// 首页数据
@@ -111,14 +103,23 @@
faith : res.integrity
}
this.workbench = {
identity: res.identity_time,
grade : res.identity_sign,
top : res.top,
middle : res.middle,
order : res.order
}
this.employee = res.is_employee
this.loding = false
// 若为员工身份-则调取员工管理信息
if(res.is_employee) {
employeesTool().then(res=>{
this.toolList = res.permission
})
}
}).catch(err =>{
console.log(err)
uni.showToast({
title: err.message,
icon : 'none'
@@ -128,7 +129,6 @@
// 查询企业认证状态
getAppliesQuery(){
appliesQuery().then(res=>{
console.log(res)
this.appliesState = res
this.loding = false
}).catch(err => {
@@ -215,7 +215,7 @@
.statusBar-box{
min-height: 90rpx;
position: relative;
padding: $padding ($padding + 200) $padding ($padding + 88);
padding: $padding $padding $padding ($padding + 88);
color: white;
.logo{
position: absolute;
@@ -228,12 +228,13 @@
box-shadow: 0 4rpx 15rpx rgba(109,1,0,.8);
}
.company{
margin-left: 30rpx;
width: calc(100% - 94rpx);
padding-left: 30rpx;
box-sizing: border-box;
.name{
line-height: 40rpx;
@extend .nowrap;
font-size: $title-size;
display: flex;
.name-img {
width: 30rpx;
height: 30rpx;