fix: BUG修改

This commit is contained in:
kun 2024-06-06 22:33:46 +08:00
parent 8078bc723d
commit 421b538fb8
3 changed files with 12 additions and 12 deletions

View File

@ -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({

View File

@ -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;

View File

@ -135,7 +135,7 @@
<view class="position"> 巡检点位置{{ qrCode.position }}</view>
</view>
</uni-popup>
<footers :activeTab="'projectEnd'" v-if="accountType == 5 || accountType == 6 || accountType == 10"></footers>
<footers :activeTab="'projectEnd'" v-if="(accountType == 5 || accountType == 6 || accountType == 10) && projectDetail.projectSn"></footers>
<levitatedsphere :x="100" :y="80"></levitatedsphere>
</view>
</template>