修改首页tab不显示bug

This commit is contained in:
Vce 2024-04-15 09:53:37 +08:00
parent e1a107321f
commit f17c36e405
15 changed files with 17 additions and 15 deletions

View File

@ -75,7 +75,9 @@
// this.globalData.siteUrl = 'http://182.90.224.147:15551'//线
// this.globalData.siteUrl = 'http://101.43.164.214:45022/'//
// this.globalData.siteUrl = 'http://183.249.224.118:9000/'//
this.globalData.siteUrl = 'http://jxj.zhgdyun.com:30250/#/'// H5
// this.globalData.siteUrl = 'http://jxj.zhgdyun.com:30250/#/'// H5
this.globalData.siteUrl = 'http://47.93.215.234:9809/'//
}
}
var systemInfo;

View File

@ -1,5 +1,5 @@
<template>
<view class="footerBox" :class="userInfo.accountType==5||userInfo.accountType==6?'footerBox2':''">
<view class="footerBox" :class="userInfo.accountType==5||userInfo.accountType==6 || userInfo.accountType==10?'footerBox2':''">
<view @click="tabClick(item.plugin)" class="footerItem" :class="activeTab==item.plugin?'active':''"
v-for="(item,index) in tabList" v-if="item.appShow==1" :key="index">
<image class="tabIcon tabIcon1" :src="'/static/'+item.moduleIcon2+'.png'"></image>
@ -25,7 +25,7 @@
},
mounted() {
this.userInfo = JSON.parse(uni.getStorageSync('userInfo'))
if (this.userInfo.accountType == 5 || this.userInfo.accountType == 6) {
if (this.userInfo.accountType == 5 || this.userInfo.accountType == 6 || this.userInfo.accountType == 10) {
this.tabList.push({
appName: '首页',
moduleIcon2: 'tabIcon-index',

View File

@ -228,7 +228,7 @@
break;
}
if (that.userInfo.accountType == 5 || that.userInfo.accountType == 6) {
if (that.userInfo.accountType == 5 || that.userInfo.accountType == 6 || that.userInfo.accountType == 10) {
// this.getProjectDetail()
} else {

View File

@ -269,7 +269,7 @@
break;
}
if (that.userInfo.accountType == 5 || that.userInfo.accountType == 6) {
if (that.userInfo.accountType == 5 || that.userInfo.accountType == 6 || that.userInfo.accountType == 10) {
// this.getProjectDetail()
} else {
this.getAreaList(type);

View File

@ -250,6 +250,7 @@
methods: {
//
selectedDefaultProject(obj) {
console.log(obj.list,888999)
if (obj.list && obj.list.length > 0) {
obj.list.map((item) => {
this.selectedDefaultProject(item);
@ -675,7 +676,6 @@
all.forEach((element, index) => {
all[index].operation = false;
res.result.menuList.forEach((element2) => {
console.log(element2, 77888)
if (element2.moduleId == element.moduleId) {
all[index].operation = true;
}

View File

@ -483,7 +483,7 @@
break;
}
if (that.userInfo.accountType == 5 || that.userInfo.accountType == 6) {
if (that.userInfo.accountType == 5 || that.userInfo.accountType == 6 || that.userInfo.accountType == 10) {
this.getProjectDetail()
} else {
this.loadData(type);

Binary file not shown.

View File

@ -1 +1 @@
https://app.liuyingyong.cn/build/download/3601d2a0-ee99-11ee-b725-9bd565eb9663
https://app.liuyingyong.cn/build/download/54fe7570-fa76-11ee-bc76-6555e1e90f55

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long