From 421b538fb8206f6347495e6b9a430f2d333aac3a Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Thu, 6 Jun 2024 22:33:46 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/footers/footers.vue | 16 ++++++++--------
main.js | 6 +++---
pages/projectEnd/projectIndex/projectIndex.vue | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/components/footers/footers.vue b/components/footers/footers.vue
index 5c672e28..510ab7ef 100644
--- a/components/footers/footers.vue
+++ b/components/footers/footers.vue
@@ -24,7 +24,7 @@
moduleIcon: 'footerIcon2',
plugin: 'mssage',
appShow: 1,
- isShow: true
+ isShow: false
}, {
appName: '首页',
moduleIcon2: 'tabIcon-index',
@@ -38,14 +38,14 @@
moduleIcon: 'submit',
plugin: 'submit',
appShow: 1,
- isShow: true
+ isShow: false
}, {
appName: '工作台',
moduleIcon2: 'workspace-n',
moduleIcon: 'workspace',
plugin: 'workspace',
appShow: 1,
- isShow: true
+ isShow: false
}, {
appName: '我的',
moduleIcon2: 'tabIcon-my2',
@@ -88,14 +88,14 @@
.accountType == 10) {
let findInfo = that.haveModuleList.find(item => item.modulePath ==
"/infoCenter/allInfo")
- if (!findInfo) {
- that.tabList[0].isShow = false
+ if (findInfo) {
+ that.tabList[0].isShow = true
}
let findWorkSpace = that.haveModuleList.find(item => item.modulePath ==
"/workSpace")
- if (!findWorkSpace) {
- that.tabList[2].isShow = false
- that.tabList[3].isShow = false
+ if (findWorkSpace) {
+ that.tabList[2].isShow = true
+ that.tabList[3].isShow = true
}
} else if (that.COMPANY == 'sanjiang') {
that.tabList.push({
diff --git a/main.js b/main.js
index 4d5447ae..87481197 100644
--- a/main.js
+++ b/main.js
@@ -38,7 +38,7 @@ if (process.env.NODE_ENV === 'development') {
console.log('开发环境')
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
- Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
+ // Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = ' http://192.168.34.221:28888/' //郭圣雄本地
@@ -83,7 +83,7 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://182.90.224.147:15551'//成润线上
// Vue.prototype.url_config = 'http://118.121.198.147:23232'//成润正式
// Vue.prototype.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试
- // Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信
+ Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信
} else {
@@ -133,7 +133,7 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://183.249.224.118:9000/'// 嘉兴项目
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:30250/#/'// 演示平台H5
// Vue.prototype.url_config = 'http://101.43.164.214:11111/'// 百色三标段
- Vue.prototype.url_config = 'http://8.136.222.164:8808'//中科安信
+ Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信
}
Vue.prototype.$formatDates = formatDates;
diff --git a/pages/projectEnd/projectIndex/projectIndex.vue b/pages/projectEnd/projectIndex/projectIndex.vue
index 4d0799da..837ce3a4 100644
--- a/pages/projectEnd/projectIndex/projectIndex.vue
+++ b/pages/projectEnd/projectIndex/projectIndex.vue
@@ -135,7 +135,7 @@
巡检点位置:{{ qrCode.position }}
-
+