fix: BUG修改

This commit is contained in:
kun 2024-05-20 13:41:06 +08:00
parent 3c7f065acc
commit 605be55903
4 changed files with 35 additions and 28 deletions

View File

@ -19,7 +19,7 @@
"type" : "uniCloud"
},
{
"playground" : "standard",
"playground" : "custom",
"type" : "uni-app:app-android"
},
{

47
App.vue
View File

@ -163,28 +163,31 @@
console.log('888====================', msg)
console.log('777====================', payload)
// let msgData = msg.payload;
setTimeout(() => {
// uni.navigateTo({
// url: payload
// })
// console.log(msgData)
// if(msgData.type == 10){ //
// uni.navigateTo({
// url: '/pages/projectEnd/safeSame/details?id='+msgData.data.id+'&type=' + msgData.data.status
// })
// } else if(msgData.type == 11){ //
// uni.navigateTo({
// url: '/pages/projectEnd/qualityManage/details?id='+msgData.data.id+'&type=' + msgData.data.status
// })
// } else if(msgData.type == 8){ // AI
// uni.navigateTo({
// url: "/pages/alarmPage/disposition/disposition?item="+ encodeURIComponent(JSON.stringify(msgData.data))
// });
// }
uni.navigateTo({
url: '/pages/messageCenter/messageCenter'
})
}, 1000)
uni.navigateTo({
url: '/pages/messageCenter/messageCenter'
})
// setTimeout(() => {
// uni.navigateTo({
// url: payload
// })
// console.log(msgData)
// if(msgData.type == 10){ //
// uni.navigateTo({
// url: '/pages/projectEnd/safeSame/details?id='+msgData.data.id+'&type=' + msgData.data.status
// })
// } else if(msgData.type == 11){ //
// uni.navigateTo({
// url: '/pages/projectEnd/qualityManage/details?id='+msgData.data.id+'&type=' + msgData.data.status
// })
// } else if(msgData.type == 8){ // AI
// uni.navigateTo({
// url: "/pages/alarmPage/disposition/disposition?item="+ encodeURIComponent(JSON.stringify(msgData.data))
// });
// }
// uni.navigateTo({
// url: '/pages/messageCenter/messageCenter'
// })
// }, 1000)
}, false);
// #endif
},

View File

@ -37,16 +37,16 @@ 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/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)
// Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址
// Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址
Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址
Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址
// Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址
// Vue.prototype.work_url = 'http://139.9.66.234:5173' // 工作流地址
// Vue.prototype.work_url = 'http://192.168.34.126:5173' // 工作流地址
// Vue.prototype.url_config = 'http://8.142.139.165:7080/' // 湖里

View File

@ -62,10 +62,14 @@ export default {
plus.push.getClientInfoAsync((info) => {
const clientid = info["clientid"];
console.log(clientid, "cidcidcidcidcid")
_this.clientid = clientid
});
plus.push.addEventListener('click', function(msg) {
uni.navigateTo({
url: '/pages/messageCenter/messageCenter'
})
}, false);
// #endif
if (uni.getStorageSync('userInfo')) {
let userInfo = JSON.parse(uni.getStorageSync('userInfo'));