This commit is contained in:
parent
ae381c832b
commit
c1cd245889
47
config.js
47
config.js
|
|
@ -1,25 +1,28 @@
|
||||||
// 应用全局配置
|
// 产线
|
||||||
// module.exports = {
|
module.exports = {
|
||||||
// // baseUrl:'/prod-api',
|
// http://192.168.0.14:19999
|
||||||
// loginBaseUrl:'http://112.29.103.165:1616',
|
loginBaseUrl:'http://112.29.103.165:1616',
|
||||||
// // baseUrl:'http://192.168.0.14:2900',
|
baseUrl:'http://112.29.103.165:1616/exam',
|
||||||
// baseUrl:'http://192.168.0.137:2900',
|
// login: 'http://112.29.103.165:1616',
|
||||||
// // loginUrl: 'http://112.29.103.165:1616',
|
login: 'http://112.29.103.165:1616/exam/exam-auth/',
|
||||||
// login: 'http://192.168.0.137:19200',
|
// 图片展示基础地址
|
||||||
// // 图片展示基础地址
|
fileUrl:'http://112.29.103.165:1616/exam-file/',
|
||||||
// fileUrl:'http://192.168.0.137:2909/exam-file/',
|
// 上传文件地址
|
||||||
// // 上传文件地址
|
uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64',
|
||||||
// uploadUrl: 'http://192.168.0.137:2909/exam-file/file/uploadBase64',
|
bmwUrl: 'http://112.29.103.165:1616/exam-bmw',
|
||||||
// bmwUrl: 'http://192.168.0.137:2911/exam-bmw',
|
// 体检-基础路径
|
||||||
// // 应用信息
|
tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager',
|
||||||
// appInfo: {
|
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
|
||||||
// // 应用名称
|
// 应用信息
|
||||||
// name: "作业管控智慧平台",
|
appInfo: {
|
||||||
// // 应用版本
|
// 应用名称
|
||||||
// version: "1.1.0",
|
name: "作业管控智慧平台",
|
||||||
// }
|
// 应用版本
|
||||||
// }
|
version: "1.1.0",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 测试环境
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// baseUrl:'/prod-api',
|
// baseUrl:'/prod-api',
|
||||||
// http://192.168.0.14:19999
|
// http://192.168.0.14:19999
|
||||||
|
|
@ -37,7 +40,7 @@ module.exports = {
|
||||||
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
|
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
|
||||||
// 体检-基础路径
|
// 体检-基础路径
|
||||||
// tjBaseUrl: 'http://192.168.0.14:20000/AppPeaManager',
|
// tjBaseUrl: 'http://192.168.0.14:20000/AppPeaManager',
|
||||||
tjBaseUrl: 'http://192.168.2.147:20000/AppPeaManager',
|
tjBaseUrl: 'http://192.168.2.147:18089/AppPeaManager',
|
||||||
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
|
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
|
||||||
|
|
||||||
//实名制移动端-登录接口
|
//实名制移动端-登录接口
|
||||||
|
|
|
||||||
3
main.js
3
main.js
|
|
@ -4,6 +4,7 @@ import store from './store'
|
||||||
|
|
||||||
// #ifndef VUE3
|
// #ifndef VUE3
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
|
import config from './config.js'
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
// Vue.prototype.$api = $api
|
// Vue.prototype.$api = $api
|
||||||
Vue.prototype.$store = store
|
Vue.prototype.$store = store
|
||||||
|
|
@ -27,7 +28,7 @@ Vue.use(uView)
|
||||||
Vue.prototype.$verificationToken = function () {
|
Vue.prototype.$verificationToken = function () {
|
||||||
console.log('验证Token-->')
|
console.log('验证Token-->')
|
||||||
uni.request({
|
uni.request({
|
||||||
url: 'http://192.168.0.14:19999/exam-bmw/users/current',
|
url: config.bmwUrl + '/users/current',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
header: {
|
header: {
|
||||||
Authorization: uni.getStorageSync('access_token')
|
Authorization: uni.getStorageSync('access_token')
|
||||||
|
|
|
||||||
86
pages.json
86
pages.json
|
|
@ -198,42 +198,6 @@
|
||||||
"navigationBarTitleText": "消息详情"
|
"navigationBarTitleText": "消息详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "pages/HealthExaminationApp/index/index",
|
|
||||||
"style": {
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/HealthExaminationApp/appointment/appointment",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "体检预约"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/HealthExaminationApp/report/report",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "体检报告"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/HealthExaminationApp/report/pdfView",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "体检报告"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/HealthExaminationApp/myAppointment/myAppointment",
|
|
||||||
"style": {
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/HealthExaminationApp/jobAppointment/jobAppointment",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "职业预约"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path" : "pages/YNEduApp/index/notices",
|
"path" : "pages/YNEduApp/index/notices",
|
||||||
"style" :
|
"style" :
|
||||||
|
|
@ -241,6 +205,14 @@
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/YNEduApp/learnProj/imageStudy",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : "图片学习"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
////实名制二期-移动端
|
////实名制二期-移动端
|
||||||
{//首页
|
{//首页
|
||||||
"path": "pages/realName/index/index",
|
"path": "pages/realName/index/index",
|
||||||
|
|
@ -328,16 +300,42 @@
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"path" : "pages/YNEduApp/learnProj/imageStudy",
|
"path": "pages/HealthExaminationApp/index/index",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationStyle": "custom"
|
||||||
"navigationBarTitleText" : "图片学习"
|
}
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/HealthExaminationApp/appointment/appointment",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "体检预约"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/HealthExaminationApp/report/report",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "体检报告"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/HealthExaminationApp/report/pdfView",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "体检报告"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/HealthExaminationApp/myAppointment/myAppointment",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/HealthExaminationApp/jobAppointment/jobAppointment",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "职业预约"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/HealthExaminationApp/myAppointment/bookSuccessfully",
|
"path" : "pages/HealthExaminationApp/myAppointment/bookSuccessfully",
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,6 @@ export default {
|
||||||
this.$verificationToken()
|
this.$verificationToken()
|
||||||
uni.request({
|
uni.request({
|
||||||
url: config.baseUrl + '/exam-student/personalCenter/getStudyAndCer',
|
url: config.baseUrl + '/exam-student/personalCenter/getStudyAndCer',
|
||||||
// url: 'http://192.168.0.137:2900' + '/exam-student/personalCenter/getStudyAndCer',
|
|
||||||
method: 'post',
|
method: 'post',
|
||||||
header: {
|
header: {
|
||||||
Authorization: uni.getStorageSync('access_token')
|
Authorization: uni.getStorageSync('access_token')
|
||||||
|
|
|
||||||
|
|
@ -165,8 +165,8 @@
|
||||||
// globalConfig: getApp().globalData.config,
|
// globalConfig: getApp().globalData.config,
|
||||||
selectTab: 1,
|
selectTab: 1,
|
||||||
loginForm: {
|
loginForm: {
|
||||||
phone: '18700000002', // 18955734761 18700000001
|
phone: '', // 18955734761 18700000001 17681010134 15955147005
|
||||||
pd: 'YNsbd@123456',//YNsbd@123456
|
pd: '',//YNsbd@123456 Lv@200018
|
||||||
},
|
},
|
||||||
loginForm0: {
|
loginForm0: {
|
||||||
phone: this.$store.state.user.phone,
|
phone: this.$store.state.user.phone,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue