This commit is contained in:
parent
37f3819604
commit
3d042118a5
|
|
@ -39,20 +39,20 @@ module.exports = {
|
||||||
uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
|
uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
|
||||||
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
|
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
|
||||||
// 体检-基础路径
|
// 体检-基础路径
|
||||||
tjBaseUrl: 'http://192.168.0.14:19100/AppPeaManager',
|
tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager',
|
||||||
// tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
|
// tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
|
||||||
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
|
tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
|
||||||
|
|
||||||
//实名制移动端-登录接口
|
//实名制移动端-登录接口
|
||||||
realLoginUrl:'http://192.168.0.14:9200/',
|
realLoginUrl:'http://192.168.0.14:9200/',
|
||||||
//实名制移动端-移动
|
//实名制移动端-移动
|
||||||
realAppUrl:'http://192.168.0.14:1913/app',
|
realAppUrl:'http://192.168.0.14:1913/app',
|
||||||
//实名制移动端-安培
|
//实名制移动端-安培
|
||||||
realExamUrl:'http://192.168.0.14:1910',
|
realExamUrl:'http://192.168.0.14:1910',
|
||||||
//实名制移动端-文件
|
//实名制移动端-文件
|
||||||
realFileUrl:'http://192.168.0.14:1909/file/',
|
realFileUrl:'http://192.168.0.14:1909/file/',
|
||||||
|
|
||||||
// 应用信息
|
// 应用信息
|
||||||
appInfo: {
|
appInfo: {
|
||||||
// 应用名称
|
// 应用名称
|
||||||
name: "作业管控智慧平台",
|
name: "作业管控智慧平台",
|
||||||
|
|
|
||||||
|
|
@ -236,7 +236,7 @@
|
||||||
}, 500)
|
}, 500)
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: req.msg,
|
title: '系统异常,请联系管理员',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -244,7 +244,7 @@
|
||||||
fail: err => {
|
fail: err => {
|
||||||
console.log('🚀 ~ gotoYy ~ err:', err)
|
console.log('🚀 ~ gotoYy ~ err:', err)
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.msg,
|
title: '系统异常,请联系管理员',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -264,7 +264,6 @@
|
||||||
// uni.setStorageSync('tjToken', res.data.token)
|
// uni.setStorageSync('tjToken', res.data.token)
|
||||||
uni.setStorageSync('realNameToken', res.data.data.access_token)
|
uni.setStorageSync('realNameToken', res.data.data.access_token)
|
||||||
uni.setStorageSync('realNameUser', res.data.data.loginUser.sysUser)
|
uni.setStorageSync('realNameUser', res.data.data.loginUser.sysUser)
|
||||||
uni.removeStorageSync('hasChosenPro')
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/realName/index/index'
|
url: '/pages/realName/index/index'
|
||||||
|
|
@ -309,7 +308,7 @@
|
||||||
}, 500)
|
}, 500)
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.data.message,
|
title: '系统异常,请联系管理员',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -317,7 +316,7 @@
|
||||||
fail: err => {
|
fail: err => {
|
||||||
console.log('🚀 ~ gotoYy ~ err:', err)
|
console.log('🚀 ~ gotoYy ~ err:', err)
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.errMsg,
|
title: '系统异常,请联系管理员',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue